"Has anyone mastered the intricacies of JBoss shutdown for multiple
IPs?"

I kill the process. Does shutdown accept the --host switch? If not that
should be added as a feature request for symmetry if nothing else.

-----Original Message-----
From: Benjamin Cox [mailto:[EMAIL PROTECTED] 
Sent: Sunday, January 11, 2004 2:29 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Shutdown multiple instances


Hello,

We're using JBoss 3.2.0, and am trying to use multiple instances 
listening on different IPs.  We set up a different IP on the same box 
for each instance (via an ifconfig alias), and gave each a hostname 
based on the name of the user who would be developing on that instance.

For instance, bjc.mydomain.com for user bjc.  We've also added these 
hostnames to our DNS, and they are resolving correctly.

We have tried quite a few things, and looked around a lot, both in the 
for-pay docs and on the web, but have not yet been able to make one 
particular instance of JBoss shutdown.

The things we have tried so far are listed at the bottom, as well as the

results of each one.  We really have no idea where to look next;  is 
there anyone out there who can shed some light on this?  Has anyone 
mastered the intricacies of JBoss shutdown for multiple IPs?

Thanks in advance,

  Ben Cox && Tim Ruppert
 
Note - ###.###.###.### denotes an IP address.

These two:

  * 
http://bjc.mydomain.com:8080/jmx-console/HtmlAdaptor?action=invokeOpByNa
me&name=jboss.system&type=server&methodName=shutdown
   * 
http://###.###.###.###:8080/jmx-console/HtmlAdaptor?action=invokeOpByNam
e&name=jboss.system&type=server&methodName=shutdown

both produce a javax.management.MalformedObjectNameException: missing
domain

These two:

   * shutdown.sh bjc.mydomain.com 8080
   * shutdown.sh ###.###.###.### 8080

both produce a javax.naming.CommunicationException: Failed to connect to

server: localhost:1099.

These five:

   * shutdown.sh -Djava.naming.provider.url=jnp://bjc.mydomain.com:1099
   * shutdown.sh -Djava.naming.provider.url=rmi://bjc.mydomain.com:1098
   * shutdown.sh -Djava.naming.provider.url=jnp://###.###.###.###:1099
   * shutdown.sh --server=bjc.mydomain.com
   * shutdown.sh --server=###.###.###.###

all produce a java.rmi.ConnectException: Connection refused to host: 
###.###.###.###

except that the last number is wrong:  it's the original IP of the box.

Could JBoss be ignoring the alias on some level?



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to