Hi,

Try adding -Djava.rmi.server.hostname to run.sh
this will tell rmi to use hostnames not ip address.
Let me know if you get this to work.

Regards,
Adrian


>From: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [JBoss-user] bind JBOSS failed
>Date: Mon, 14 Jan 2002 14:54:54 +0100
>
>
>
>
>Hi all,
>
>I want to run 2 Jboss2.4.4 on one maschine (myserver=185.25.15.15), and I 
>don't
>want to use different Ports.
>I have configured the interface on this maschine with two new IP Adresses
>(jboss1=185.25.15.106 und jboss2=185.25.15.105).
>
>nslookup, ping etc. works fine.
>
>After the installation of jboss I try to bind him on the domain "jboss1".
>I changed the configuration:
> > change: conf/default/jboss.jcml
>   add to service=Webserver: <attribute 
>name="BindAddress">jboss1</attribute>
>   add to service=Naming: <attribute name="BindAddress">jboss1</attribute>
>   add to HtmlAdapterServer:     <attribute 
>name="BindAddress">jboss1</attribute>
>
> > change: conf/default/standardjboss.xml
>   add  <RMIServerSocketAddr>jboss1</RMIServerSocketAddr>
>  every where a port is defined.
>
>After that I startet Jboss and everthing looks fine. When running netstat 
>The
>Bindings seems to work:
>185.25.15.106.8083         *.*                0      0 24576      0 LISTEN
>185.25.15.106.1099         *.*                0      0 24576      0 LISTEN
>  185.25.15.106.4444         *.*                0      0 24576      0 
>LISTEN
>...
>
>(I made the same with  jboss2 and can start it too.)
>
>I have writen an SessionBean without any configuration changes. Just
>auto-deployed it ...
>
>BUT: When I try to connect from my client to the NamingService on 
>jboss1:1099 I
>get the following error:
>
>     [junit] testSetCustomerNumber
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,55 sec
>     [junit] Running de.mycompany.portal.framework.AccessTest
>     [junit] ... try to connect to jboss1:1099
>     [junit] ... got Context
>     [junit] ... got Referenz
>     [junit] AccessHome
>     [junit] ... narrow Home: AccessHome
>     [junit] java.rmi.ConnectException: Connection refused to host: 
>185.25.15.15;
>
>This looks like the Naming Service could be reached, but the NamingService
>responds the HOSTNAME (myserver) not the domain it is bind at.
>
>Have I made an configuration error or is there an bug in the namingservice?
>
>thanxs in advance for any help ...
>      Michael Meyer
>
>
>
>_______________________________________________
>JBoss-user mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-user




_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to