|
From: Leif M. <lei...@ta...> - 2012-07-11 09:49:18
|
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...> 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**** > > > |