This is one of the very weirdest and very easy problem I have seen while trying to start a JBOSS server.
I checked every single thing, might it be JDK version, permissions on the files and directories and every other thing, but I didn’t find anything. When I tries to start the JBOSS server, the logs looks something like this:

=========================================================================
JBoss Bootstrap Environment

JBOSS_HOME: /usr/local/jboss

JAVA: /usr/local/jdk1.6.0_06/bin/java

JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true

CLASSPATH: /usr/local/jboss/bin/run.jar:/usr/local/jdk1.6.0_06/lib/tools.jar

=========================================================================

22:58:05,055 INFO [Server] Starting JBoss (MX MicroKernel)...
22:58:05,056 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)
22:58:05,058 INFO [Server] Home Dir: /usr/local/jboss-4.2.3.GA
22:58:05,058 INFO [Server] Home URL: file:/usr/local/jboss-4.2.3.GA/
22:58:05,058 INFO [Server] Patch URL: null
22:58:05,058 INFO [Server] Server Name: default
22:58:05,059 INFO [Server] Server Home Dir: /usr/local/jboss-4.2.3.GA/server/default
22:58:05,059 INFO [Server] Server Home URL: file:/usr/local/jboss-4.2.3.GA/server/default/
22:58:05,059 INFO [Server] Server Log Dir: /usr/local/jboss-4.2.3.GA/server/default/log
22:58:05,059 INFO [Server] Server Temp Dir: /usr/local/jboss-4.2.3.GA/server/default/tmp
22:58:05,059 INFO [Server] Root Deployment Filename: jboss-service.xml
22:58:05,331 INFO [ServerInfo] Java version: 1.6.0_06,Sun Microsystems Inc.
22:58:05,331 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 10.0-b22,Sun Microsystems Inc.
22:58:05,331 INFO [ServerInfo] OS-System: Linux 2.6.22.18-0.2-default,amd64
22:58:05,607 INFO [Server] Core system initialized
17:11:59,434 DEBUG [SARDeployer] create operation failed for package file:/usr/local/jboss/server/messaging/conf/jboss-service.xml
org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.InvocationTargetException)
        at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
        at org.jboss.system.ServiceController.install(ServiceController.java:226)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy4.install(Unknown Source)
        at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
        at org.jboss.Main.boot(Main.java:200)
        at org.jboss.Main$1.run(Main.java:508)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.reflect.InvocationTargetException
        at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1451)
        at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1350)
        at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:345)
        at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
        at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451)
        at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
        ... 36 more
Caused by: javax.management.MBeanException
        at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:180)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417)
        ... 41 more
Caused by: javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='jboss.remoting:service=NetworkRegistry', Class=org.jboss.remoting.network.NetworkRegistry (org.jboss.remoting.network.NetworkRegistry@34d507e9)]
        at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:713)
        at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:211)
        at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        ... 51 more
Caused by: java.lang.RuntimeException: Exception creating identity: jboss: jboss
        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)
        at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBeanInvoker.java:489)
        at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:654)
        at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:697)
        ... 56 more
17:11:59,436 DEBUG [SARDeployer] Unregistering service UCL=jmx.loading:UCL=177f409c
17:11:59,437 DEBUG [UnifiedLoaderRepository3] UnifiedLoaderRepository removed(true) org.jboss.mx.loading.UnifiedClassLoader3@177f409c{ url=null ,addedOrder=2}
17:11:59,442 ERROR [MainDeployer] Could not create deployment: file:/usr/local/jboss/server/messaging/conf/jboss-service.xml
org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.InvocationTargetException)
        at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
        at org.jboss.system.ServiceController.install(ServiceController.java:226)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy4.install(Unknown Source)
        at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
        at org.jboss.Main.boot(Main.java:200)
        at org.jboss.Main$1.run(Main.java:508)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.reflect.InvocationTargetException
        at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1451)
        at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1350)
        at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:345)
        at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
        at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451)
        at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
        ... 36 more
Caused by: javax.management.MBeanException
        at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:180)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417)
        ... 41 more
Caused by: javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='jboss.remoting:service=NetworkRegistry', Class=org.jboss.remoting.network.NetworkRegistry (org.jboss.remoting.network.NetworkRegistry@34d507e9)]
        at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:713)
        at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:211)
        at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        ... 51 more
Caused by: java.lang.RuntimeException: Exception creating identity: jboss: jboss
        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)
        at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBeanInvoker.java:489)
        at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:654)
        at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:697)
        ... 56 more
17:11:59,443 DEBUG [Server] Failed to start
org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.InvocationTargetException)
        at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
        at org.jboss.system.ServiceController.install(ServiceController.java:226)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy4.install(Unknown Source)
        at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
        at org.jboss.Main.boot(Main.java:200)
        at org.jboss.Main$1.run(Main.java:508)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.reflect.InvocationTargetException
        at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1451)
        at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1350)
        at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:345)
        at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
        at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451)
        at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
        ... 36 more
Caused by: javax.management.MBeanException
        at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:180)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417)
        ... 41 more
Caused by: javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='jboss.remoting:service=NetworkRegistry', Class=org.jboss.remoting.network.NetworkRegistry (org.jboss.remoting.network.NetworkRegistry@34d507e9)]
        at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:713)
        at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:211)
        at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        ... 51 more
Caused by: java.lang.RuntimeException: Exception creating identity: jboss: jboss
        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)
        at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBeanInvoker.java:489)
        at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:654)
        at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:697)
        ... 56 more
17:11:59,451 INFO  [Server] Runtime shutdown hook called, forceHalt: true
17:11:59,451 INFO  [Server] JBoss SHUTDOWN: Undeploying all packages
17:11:59,451 DEBUG [MainDeployer] Undeploying file:/usr/local/jboss/server/messaging/conf/jboss-service.xml, isShutdown=true
17:11:59,452 DEBUG [SARDeployer] undeploying document file:/usr/local/jboss/server/messaging/conf/jboss-service.xml
17:11:59,452 DEBUG [RepositoryClassLoader] Unregistering cl=org.jboss.mx.loading.UnifiedClassLoader3@177f409c{ url=null ,addedOrder=2}
17:11:59,452 DEBUG [UnifiedLoaderRepository3] UnifiedLoaderRepository removed(false) org.jboss.mx.loading.UnifiedClassLoader3@177f409c{ url=null ,addedOrder=2}
17:11:59,452 DEBUG [DeploymentInfo] Cleaned Deployment: file:/usr/local/jboss/server/messaging/tmp/deploy/tmp7968168043080187461jboss-service.xml
17:11:59,452 DEBUG [MainDeployer] Undeployed file:/usr/local/jboss/server/messaging/conf/jboss-service.xml
17:11:59,452 DEBUG [MainDeployer] Undeployed 1 deployed packages
17:11:59,452 DEBUG [Server] Shutting down all services
17:11:59,452 DEBUG [ServiceController] Stopping 9 services
17:11:59,452 DEBUG [ServiceController] stopping service: jboss.system:service=ServiceDeployer
17:11:59,453 DEBUG [ServiceController] stopping dependent services for: jboss.system:service=ServiceDeployer dependent services are: []
17:11:59,453 DEBUG [SARDeployer] Stopping jboss.system:service=ServiceDeployer
17:11:59,453 DEBUG [MainDeployer] Removing deployer: org.jboss.deployment.SARDeployer@671381e7
17:11:59,453 DEBUG [SARDeployer] Stopped jboss.system:service=ServiceDeployer
17:11:59,453 DEBUG [ServiceController] destroying service: jboss.system:service=ServiceDeployer
17:11:59,453 DEBUG [ServiceController] destroying dependent services for: jboss.system:service=ServiceDeployer dependent services are: []
17:11:59,453 DEBUG [SARDeployer] Destroying jboss.system:service=ServiceDeployer
17:11:59,453 DEBUG [SARDeployer] Destroyed jboss.system:service=ServiceDeployer
17:11:59,453 DEBUG [ServiceController] removing service: jboss.system:service=ServiceDeployer
17:11:59,454 DEBUG [ServiceController] removing jboss.system:service=ServiceDeployer from server
17:11:59,454 DEBUG [ServiceController] stopping service: jboss.system:service=JARDeployer
17:11:59,454 DEBUG [ServiceController] stopping dependent services for: jboss.system:service=JARDeployer dependent services are: []
17:11:59,454 DEBUG [JARDeployer] Stopping jboss.system:service=JARDeployer
17:11:59,454 DEBUG [JARDeployer] Stopped jboss.system:service=JARDeployer
17:11:59,454 DEBUG [ServiceController] destroying service: jboss.system:service=JARDeployer
17:11:59,454 DEBUG [ServiceController] destroying dependent services for: jboss.system:service=JARDeployer dependent services are: []
17:11:59,454 DEBUG [JARDeployer] Destroying jboss.system:service=JARDeployer
17:11:59,454 DEBUG [JARDeployer] Destroyed jboss.system:service=JARDeployer
17:11:59,454 DEBUG [ServiceController] removing service: jboss.system:service=JARDeployer
17:11:59,454 DEBUG [ServiceController] removing jboss.system:service=JARDeployer from server
17:11:59,455 DEBUG [ServiceController] stopping service: jboss.system:service=MainDeployer
17:11:59,455 DEBUG [ServiceController] stopping dependent services for: jboss.system:service=MainDeployer dependent services are: []
17:11:59,455 DEBUG [MainDeployer] Stopping jboss.system:service=MainDeployer
17:11:59,455 DEBUG [MainDeployer] Stopped jboss.system:service=MainDeployer
17:11:59,455 DEBUG [ServiceController] destroying service: jboss.system:service=MainDeployer
17:11:59,455 DEBUG [ServiceController] destroying dependent services for: jboss.system:service=MainDeployer dependent services are: []
17:11:59,455 DEBUG [MainDeployer] Destroying jboss.system:service=MainDeployer
17:11:59,455 DEBUG [MainDeployer] Destroyed jboss.system:service=MainDeployer
17:11:59,455 DEBUG [ServiceController] removing service: jboss.system:service=MainDeployer
17:11:59,455 DEBUG [ServiceController] removing jboss.system:service=MainDeployer from server
17:11:59,455 DEBUG [ServiceController] Stopped 3 services
17:11:59,456 DEBUG [Server] Deleting server tmp/deploy directory
17:11:59,456 INFO  [Server] Shutdown complete

Solution:

The solution for this problem is very simple, you just need to put a small entry of your hostname in the /etc/hosts file and then it will work. Check the hostname of your machine with “hostname” command and put that entry in /etc/hosts file.

For ex: I gave “jboss” as the hostname to my server, then I should have entries like this in my /etc/hosts file:

127.0.0.1 localhost localhost.localdomain <strong>jboss</strong>
::1 localhost localhost.localdomain <strong>jboss</strong>

Hope this helped.

If you enjoyed this post, make sure you subscribe to my RSS feed!!!!

No related content found.