I have a third-party tool that runs as a stand-alone Java application that uses the JNDI port although it's not accessing or supplying JNDI connections. This is not related to the problem with non-no-arg InitialContexts because it has not been running while JBoss is running. It's a known issue with that product. What might be helpful is that attempting to start JBoss fails when the program is running, even though JBoss was launced with a --host that does not conflict with the default hostname. There is no RMI listener when it runs but this is what shows up for JNDI: c:\workspace\apps>netstat -na | grep 1099 TCP 0.0.0.0:1099 0.0.0.0:0 LISTENING So why would that conflict with JBoss running with --host foobar?
-----Original Message----- From: Rod Macpherson on behalf of Rod Macpherson Sent: Sun 12/7/2003 7:43 PM To: [EMAIL PROTECTED] Cc: Subject: RE: [JBoss-user] Multihome JBoss Issue Running multiple instances and netstat shows a 1098 and 1099 listener on each host so that looks good. One caveat is that running the same configuration twice generates complains about the DefaultDS. That is reasonable but it should be noted. So the only outstanding problem is the use of JNDI properties to create InitialContext objects. In the multihome configuration you have to use the no-arg InitialContext. No bind errors but datasource whines: run -c foo --host bar run -c bar --host foo No problem: run -c foo --host bar run -c baz --host foo No problem, three distinct listeners show up for 1099 and 1098 run -c foo --host bar run -c baz --host foo run -c default --host sandbox -----Original Message----- From: Scott M Stark [mailto:[EMAIL PROTECTED] Sent: Sun 12/7/2003 11:14 AM To: [EMAIL PROTECTED] Cc: Subject: Re: [JBoss-user] Multihome JBoss Issue Which says the rmi stub is bound to 1.1.1.21 (could be 1.2.11.21 and the mail is munging the address?). If this is not the sandbox host address, then it needs to be overriden using the java.rmi.server.hostname system property. This need to be looked into further as the --host value should be setting the bind address of the rmi stub as well. What does netstat -an | egrep '(1099|1098)' show on this box? xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx Rod Macpherson wrote: > Here's the gook. > > C:\ Telnet sandbox 1099 > > ¼fsr?java.rmi.MarshalledObject|+?ùfcn>??I?hashlocBytest?[BobjBytesq~?xpë?°Tur?[B¼=?°Ta?xp)¼fthttp://sandbox:8083/q~q > ~uq~?+¼fsr org.jnp.server.NamingServer_Stub??xrjava.rmi.server.RemoteStubT¦_+ïße?xr?java.rmi.server.RemoteObject+a¦æ > a3?? > xpw3 > UnicastRef1.1.1.21?J?¢v0·?üOÇx > > Connection to host lost. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
<<winmail.dat>>