Failed to deploy conf/jboss-service.xml when starting the JBoss application server
Issue
- SARDeployer fails for
jboss-service.xmlwith deployment exception. - Application Server fails to start because it is unable to deploy the
$JBOSS\_HOME/server/$SERVER\_DIR/conf/jboss-service.xml -
Exception:
Caused by: java.lang.RuntimeException: Exception creating identity: java.net.UnknownHostException: some_host_name: some_host_name at java.net.InetAddress.getLocalHost(InetAddress.java:1353) at org.jboss.remoting.ident.Identity.get(Identity.java:205) at org.jboss.remoting.network.NetworkRegistry.preRegister(NetworkRegistry.java:268 -
[Server] Failed to start -
boot.logcontains:WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='jboss.remoting:service=NetworkRegistry', Class=org.jboss.remoting.network.NetworkRegistry (org.jboss.remoting.network.NetworkRegistry@451ef443)] -
Exception:
Caused by: java.lang.RuntimeException: Exception creating identity: myserver: myserver at org.jboss.remoting.ident.Identity.get(Identity.java:211) at org.jboss.remoting.network.NetworkRegistry.preRegister(NetworkRegistry.java:268) at org.jboss.mx.server.AbstractMBeanInvoker.invokePreRegister(AbstractMBeanInvoker.java:966)
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 4.x
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.