|
From: Shashidhar G. M. <Sha...@ar...> - 2012-07-11 10:01:18
|
Hi Leif, Also check the below link. It says that we can use -host option instead of -b. I have tried that as well but it still gives the same error. https://community.jboss.org/thread/56654?tstart=0 Thanks & Regards Shashidhar ________________________________ From: Shashidhar Gaurav Misra Sent: Wednesday, July 11, 2012 3:26 PM To: 'wra...@li...' Subject: RE: [Wrapper-user] Binding Jboss with a single interface using wrapper Hi Leif, Thanks for a quick response:). I am using Jboss 4.2.3 and as per my understanding the issue is with Jboss 3.2. Thanks & Regards Shashidhar ________________________________ From: Leif Mortenson [mailto:lei...@ta...] Sent: Wednesday, July 11, 2012 2:55 PM To: wra...@li... Subject: Re: [Wrapper-user] Binding Jboss with a single interface using wrapper Shashidhar, This is actually a JBoss issue and doesn't really have anything to do with the Java Service Wrapper. A quick Google search found this page: https://community.jboss.org/message/210444 Cheers, Leif On Wed, Jul 11, 2012 at 6:18 PM, Shashidhar Gaurav Misra <Sha...@ar...<mailto:Sha...@ar...>> wrote: Hi, I am using Java service wrapper for starting Jboss as a service on Linux. My Linux machine has multiple interfaces, now I want that my Jboss should be binded with one particular interface, however looks like it is binding to all interfaces In my wrapper.conf I have specified the following line # Application parameters. Add parameters as needed starting from 1 wrapper.app.parameter.1=org.jboss.Main wrapper.app.parameter.2=-b wrapper.app.parameter.3=hostname The OS hostname is something else and it not the hostname with which I want to bind the Jboss. However when I am commenting out the OS hostname (PC hostname) the Jboss fails to boot up and it gives the below error. | Caused by: java.lang.RuntimeException: Exception creating identity: hostname1: hostname1 INFO | jvm 1 | 2012/07/11 04:05:36 | at org.jboss.remoting.ident.Identity.get(Identity.java:211) INFO | jvm 1 | 2012/07/11 04:05:36 | at org.jboss.remoting.network.NetworkRegistry.preRegister(NetworkRegistry.java:268) INFO | jvm 1 | 2012/07/11 04:05:36 | at org.jboss.mx.server.AbstractMBeanInvoker.invokePreRegister(AbstractMBeanInvoker.java:966 My concern is that when I am binding to hostname then why the Jboss fails to boot up when hostname1 is not defined in /etc/hosts? Any suggestions? Thanks & Regards Shashidhar =============================================================================== Please refer to http://www.aricent.com/legal/email_disclaimer.html for important disclosures regarding this electronic communication. =============================================================================== |