|
From: Shashidhar G. M. <Sha...@ar...> - 2012-07-11 09:19:16
|
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. =============================================================================== |