|
|
| Author |
Message |
|
| Guest |
Posted: Tue Nov 20, 2007 5:35 am |
|
|
|
Guest
|
I'm attempting to get some of my code running on a JVM to connect to
my erlang cluster using the jinterface package. On a single computer,
I have the following two erlang sessions running happily in different
terminals:
=========
erl -setcookie foo -sname real
Erlang (BEAM) emulator version 5.5.5 [source] [async-threads:0] [hipe]
[kernel-poll:false]
Eshell V5.5.5 (abort with ^G)
(real@macbeth)1>
==========
rl -setcookie foo -sname test
Erlang (BEAM) emulator version 5.5.5 [source] [async-threads:0] [hipe]
[kernel-poll:false]
Eshell V5.5.5 (abort with ^G)
(test@macbeth)2> node().
test@macbeth
(test@macbeth)10> net_adm:ping('test@macbeth').
pong
(test@macbeth)11> net_adm:ping('real@macbeth').
pong
(test@macbeth)12> net_adm:ping('blah@macbeth').
pang
==========
So, the erlang nodes seem happy to talk to each other (at least ping
works). So, in my JVM I'm trying to create a connection to the same
cluster (using JRuby for an interactive session):
===========
CLASSPATH=/usr/lib/erlang/lib/jinterface-1.3/priv/OtpErlang.jar:$CLASSPATH jirb
irb(main):001:0> require 'java'
=> true
irb(main):003:0> import 'com.ericsson.otp.erlang.OtpNode'
=> ["com.ericsson.otp.erlang.OtpNode"]
irb(main):004:0> OtpNode.new('blah', 'foo')
NativeException: java.io.IOException: Nameserver not responding on
localhost when publishing blah
from OtpEpmd.java:327:in `com.ericsson.otp.erlang.OtpEpmd.r3_publish'
from OtpEpmd.java:119:in `com.ericsson.otp.erlang.OtpEpmd.publishPort'
from OtpNode.java:645:in
`com.ericsson.otp.erlang.OtpNode$Acceptor.publishPort'
from OtpNode.java:638:in
`com.ericsson.otp.erlang.OtpNode$Acceptor.<init>'
from OtpNode.java:136:in `com.ericsson.otp.erlang.OtpNode.init'
...
=========
So, it seems to think epmd isn't there. Erlang processes have no
trouble connecting, so I'm wondering if I need to set some
environmental variable to tell the JVM where epmd is listening, or
what. Any ideas?
My java -version is:
java version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed mode)
And I'm running under Gentoo Linux kernel 2.6.21.
_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions
Post recived from mailinglist |
|
|
| Back to top |
|
| vladdu |
Posted: Tue Nov 20, 2007 7:51 am |
|
|
|
User
Joined: 28 Feb 2005
Posts: 397
Location: Gothenburg, Sweden
|
Hi!
On Nov 20, 2007 6:28 AM, tsuraan <tsuraan@gmail.com> wrote:
> (real@macbeth)1>
...
> NativeException: java.io.IOException: Nameserver not responding on
> localhost when publishing blah
Maybe this is the issue? The Java node looks on localhost and the
others on macbeth? Check your .hosts file and the network interfaces
setup.
You can debug the jinterface side by defining -DOtpConnection.trace=4
and epmd by starting it manually (after killing the existing one) with
"epmd -d -d -d" in another console.
best regards,
Vlad
_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Tue Nov 20, 2007 3:40 pm |
|
|
|
Guest
|
> Maybe this is the issue? The Java node looks on localhost and the
> others on macbeth? Check your .hosts file and the network interfaces
> setup.
Yup, hosts it was; I used to have functional DNS here, but my
firewall's under construction so I don't anymore; I forgot that erlang
liked having names be useful
>
> You can debug the jinterface side by defining -DOtpConnection.trace=4
> and epmd by starting it manually (after killing the existing one) with
> "epmd -d -d -d" in another console.
Thanks for the advice!
_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions
Post recived from mailinglist |
|
|
| Back to top |
|
| wuji |
Posted: Sat Aug 18, 2012 8:19 am |
|
|
|
User
Joined: 10 Aug 2012
Posts: 654
|
incoln residents," the city's mayor said in a statement.Among those those red bottom shoes those present at the vigil were members of Lincoln's gay
*beep* community."Someone hurt someone in my family – my LGBT LGBT [h1]cheap Ralph Lauren Polo[/h1] LGBT family," one person told ABC's KLKN.Some residents fear this
be a setback for the local gay and *beep* community, community, cheap Ralph Lauren Polo community, one that that only two months prior saw local
approve a measure that would ensure fair treatment of gay gay cheap designer *beep* gay and transgendered residents in housing and job applications."Another reason
difficult to come out in Lincoln," wrote one commenter on on [h1]discount designer *beep*[/h1] on Outlinc's Facebook page, a local non-profit organization that supports
community's LGBT community."Many in our community are understandably experiencing a a Christian Louboutin Outlet a great deal of sadness, anger, and confusion," said Tyler
President of Outlinc, in a statement on the organization's homepage.Jeffrey homepage.Jeffrey [h2]cheap replica *beep*[/h2] homepage.Jeffrey Stern Murder-For-Hire Charges Dropped Murder Charges Against Houston Attorney
Stern Have Been DroppedBy KEVIN DOLAKJuly 24, 2012 Charges Charges cheap designer *beep* Charges of soliciting murder have been dropped against prominent Houston |
|
|
| Back to top |
|
| mbtshoes88 |
Posted: Tue Sep 18, 2012 8:39 am |
|
|
|
User
Joined: 18 Sep 2012
Posts: 30
|
| Combine it with black or brown Cheap Armani Watches shoes, even white if you want to look different. Replica Armani Watches Standard blue generally means navy blue and Emporio Armani not any other paler shades of blue that will look odd. Classic Gray: Can be worn for different occasions and this will make even ladies turn their heads to notice you. Grays also look imposing Cheap Armani Shoes with different stripes and patterns classic gray suits are the hallmark of a gentleman. Cheap Georgio Armani Basic Black: The favorite suit of many well-dressed men and goes well Armani Online with a good white shirt. If you Armani Outlet can afford only one suit, Armani Suits then prefer this versatile Basis Black. As a fourth choice, you can select any of the above three with pinstripes. Cheap Armani Online Men Cheap Armani of average physical build Cheap Emporio Armani can choose either single-breasted or double-breasted Georgio Armani jackets. Double-breasted jackets are intended for slim men so that their leanness is not too visible and single-breasted jackets are meant for the stout to somewhat hide their obesity. Choose the jacket style Armani Sale that best suits your build. fmzds120823 The jackets must be of perfect fit and cause no wrinkles when you button them up. As far as possible, shoulder pads should be avoided and your tailor should guide you in Cheap Armani Suits this regard. You must now choose a trouser style although most men do not attach much Cheap Amarni EA7 importance to trousers and accept any pants that come with a jacket. When you discuss trousers, you need to worry about waist, drape, belt-loops, posterior-hugging, crotch-dangling, and whether or not you need a watch pocket. The best way to judge a pair of pants is to ask “Will I be able to wear these pants without the jacket and still look fine?” If the answer is Cheap Armani Outlet yes, then the pant is of perfect style and fit. Sometimes it is good to heed to the advice of a salesman and buy two pants for the same jacket. The idea is you can alternate pants with the jacket so they wear evenly over time. There may be occasions you may wear the pants minus Armani Shirts the jacket, it Cheap Armani Sale is always prudent to have a back-up pair. |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|