Sorry - you are right. I was thinking of the multi-user/different port implementation - how we do it here. We have multiple instances, but each uses its own set of ports.
-----Original Message-----
From: Alexander Sparkowsky [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 31, 2002 3:47 AM
To: [EMAIL PROTECTED]
Subject: AW: [JBoss-user] Problems binding Jboss to multiple interfaces
Mike,
I allready looked at the mail archive but wasn't able to find something
like that (what makes me wondering).
Why does the JNDI server has to be bind to port != 1099? I thought to be
able to use the same ports on both IP addresses. Otherwise I don't see
any advantages in using different IPs.
Alex
--
Alexander Sparkowsky, Berlin, Germany
-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] Im Auftrag von Finn,
Michael
Gesendet: Mittwoch, 30. Oktober 2002 18:56
An: '[EMAIL PROTECTED]'
Betreff: RE: [JBoss-user] Problems binding Jboss to multiple interfaces
Alex,
I doubt it would make a difference, if I understand the problem. You
have two JBoss installs; and each is configured to run on a separate IP?
The first server comes up OK, but the 2nd one croaks when it tries to
bind for JNDI/JNP? Assuming so,
Make sure:
1) Your virtual address is in your hosts table (/etc/hosts or whatever)
2) In jboss.jcml, you added an attribute called BindAddress in the MBean
config for JNDI:
<mbean code="org.jboss.naming.NamingService"
name="DefaultDomain:service=Naming">
<attribute name="Port">not1099</attribute>
<attribute name="BindAddress">your.virtual.host.name</attribute>
</mbean>
It looks like JNP binds by hostname (does a getHostByName() off the
BindAddress attribute value), so try host name rather than IP.
Go to mail-archive.com and search jboss-user for this issue. I am pretty
sure it has come up in the past.
Mike
-----Original Message-----
From: Alexander Sparkowsky [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 30, 2002 11:51 AM
To: [EMAIL PROTECTED]
Subject: AW: [JBoss-user] Problems binding Jboss to multiple interfaces
Mike,
I'm getting the first exception when jboss tries to bind the JNDI
listener (port 1099).
Would it be better to use Jboss 3.x for multi-ip-server? Or will I run
into the same problems?
Alex
--
Alexander Sparkowsky, Berlin, Germany
-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] Im Auftrag von Finn,
Michael
Gesendet: Mittwoch, 30. Oktober 2002 16:17
An: '[EMAIL PROTECTED]'
Betreff: RE: [JBoss-user] Problems binding Jboss to multiple interfaces
Alex,
I assume you are using 2.4? Make sure you change the bind IP for *all*
services. Sounds like you missed some (I don't think everything is in
jboss.jcml). Also, if memory serves, you cannot make the HTML JMX
adaptor (default port 8082) explicitly listen to an IP (no such
attribute exists for the MBean, and no such config parm exists for the
implementation -which is Sun's). That may be the one giving you
problems.
http(8080),rmi(4444),webserver(8083),jmx/html(8082),jndi(1099),hsql(1476
) - if you use it
Mike
-----Original Message-----
From: Alexander Sparkowsky [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 30, 2002 9:07 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Problems binding Jboss to multiple interfaces
Hi,
I'm trying to start two jboss instances on one server. If established a
virtual interface for a second ip address.
I added this address in jboss.properties and jboss.jcml for JNDI and
Classloading using <attribute name="BindAddress">....</attribute>
When I start my second Jboss I tells me that the address is allready in
use.
Then I entered a random ip-address to see if I used the right tags and
got the message that this address is unknown. So I think that I found
the right places to set the Address.
Any advice?
Thanks,
Alex
--
Alexander Sparkowsky, Berlin, Germany
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
