Failed to deploy conf/jboss-service.xml when starting the JBoss application server

Solution Verified - Updated -

Issue

  • SARDeployer fails for jboss-service.xml with 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.log contains:

    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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.