Here's my problem: I have a multi-homed host, which for the problem description, has two IP interfaces, which I'll call (A) and (B) for brevity. On this host runs my JBoss 4.0.2 AS with the JMS service. If I understand everything that I've uncovered so far, UILServerILService creates a socket on which it listens for client connections. This socket is bound to an IP address, which I assume gets bound to either (A) or (B). Let's say that this server socket gets bound to (A). I then change (A) to (A'). The server socket is no longer valid and there is now no way for my program to both send or receive messages. I took a look at the source for UILServerILService and noticed that there are two APIs, startService() and stopService(), which I figure I could call to restart the UILServerILService in the event of an IP change affecting the JMS service socket. Question now is:
- Can I re-start the JMS service using startService() and stopService()? Is this a valid approach since I want to avoid a re-start of JBoss? If so, how can I get a handle to the UILServerILService to allow me to invoke these two APIs? Thanks, Terry View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919236#3919236 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919236 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
