11 Replies Latest reply on Oct 18, 2007 9:57 AM by light me

    jboss 4.2.1 GA install problem

    light me Newbie

      I have downloaded jboss-4.2.1.GA.zip and installed in fedora core 6. The other supporting packages that installed for jboss are
      jdk-1_5_0_13-linux-i586.rpm on /usr/java/jdk-1_5_0_13
      java-1.5.0-sun-compat-1.5.0.13-1jpp.i586.rpm
      ant version 1.6.5 installed by deafult

      but I am not able to run jboss successfully.I do see some posts that says log4j.jar is the problem. there are two defferent version of log4j.jar found one is /usr/jboss-4.2.1.GA/lib/log4j.jar version 1.2.14 and the other one is 1.2.13 at /usr/share/java/log4j.jar. I removed the file /usr/share/java/log4j.jar but still jboss not running. please help me to solve this problem

      the run output is here
      =======================================================
      JBoss Bootstrap Environment
      JBOSS_HOME: /usr/jboss-4.2.1.GA
      JAVA: /usr/lib/jvm/jre-1.5.0-sun/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/jboss-4.2.1.GA/bin/run.jar
      =========================================================================

      08:05:41,843 INFO [Server] Starting JBoss (MX MicroKernel)...
      08:05:41,845 INFO [Server] Release ID: JBoss [Trinity] 4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)
      08:05:41,847 INFO [Server] Home Dir: /usr/jboss-4.2.1.GA
      08:05:41,847 INFO [Server] Home URL: file:/usr/jboss-4.2.1.GA/
      08:05:41,849 INFO [Server] Patch URL: null
      08:05:41,849 INFO [Server] Server Name: default
      08:05:41,849 INFO [Server] Server Home Dir: /usr/jboss-4.2.1.GA/server/default
      08:05:41,850 INFO [Server] Server Home URL: file:/usr/jboss-4.2.1.GA/server/default/
      08:05:41,850 INFO [Server] Server Log Dir: /usr/jboss-4.2.1.GA/server/default/log
      08:05:41,850 INFO [Server] Server Temp Dir: /usr/jboss-4.2.1.GA/server/default/tmp
      08:05:41,851 INFO [Server] Root Deployment Filename: jboss-service.xml
      08:05:43,654 INFO [ServerInfo] Java version: 1.5.0_13,Sun Microsystems Inc.
      08:05:43,655 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_13-b05,Sun Microsystems Inc.
      08:05:43,655 INFO [ServerInfo] OS-System: Linux 2.6.18-1.2798.fc6,i386
      08:05:45,529 INFO [Server] Core system initialized
      08:06:07,729 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='jboss.remoting:service=NetworkRegistry', Class=org.jboss.remoting.network.NetworkRegistry (org.jboss.remoting.network.NetworkRegistry@e35bb7)]
      08:06:07,774 ERROR [MainDeployer] Could not create deployment: file:/usr/jboss-4.2.1.GA/server/default/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:585)
      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:585)
      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:595)
      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:449)
      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 o
      ---------
      -----
      ----
      ... 56 more
      08:06:18,202 INFO [Server] Runtime shutdown hook called, forceHalt: true
      08:06:18,202 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
      08:06:18,296 INFO [Server] Shutdown complete
      Shutdown complete
      Halting VM

      Thanks,
      light

        • 1. Re: jboss 4.2.1 GA install problem
          Peter Johnson Master

          If you scan the forum for this error, you will find that in every case (at least that I can remember) where this error showed up, the only way around it was to re-install JBossAS.

          For your description, it appears that you used yum or an RPM to install JBossAS. If so, instead try downloading the binary zip file from http://labs.jboss.com/jbossas/downloads/, unzipping it, and running bin/run.sh from there.

          Also, I would be interested in the exact steps you did to install JBossAS.

          • 2. Re: jboss 4.2.1 GA install problem
            light me Newbie

            I have downloaded jboss ( jboss-4.2.1.GA.zip) from the link http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=16942&release_id=523619
            and extracted it to the location /usr. And then run the command /usr/jboss-4.2.1.GA/bin/run.sh. This is the only steps I have done for the installation. Could you pls tell me anything missing in the intall process.

            thanks,
            light

            • 3. Re: jboss 4.2.1 GA install problem
              Peter Johnson Master

              Were you logged in as root when you extract the zip contents? Are you logged in as root when you run it?

              Also, try setting JAVA_HOME to the JDK, and not to the JRE. On my system it is at /usr/java/jdk1.5.0_13

              Did you install the JVM using yum? Perhaps you should try downloading and installing the JVM from the sun web site.

              • 4. Re: jboss 4.2.1 GA install problem
                light me Newbie

                thanks for helping me to solve this issue,
                To install jboss I login as root and cd to /usr location

                the below steps I have done to install jdk and jboss
                1. download packages
                jdk-1_5_0_13-linux-i586-rpm.bin
                java-1.5.0-sun-compat-1.5.0.13-1jpp.i586.rpm
                jboss-4.2.1.GA.zip

                1. steps to install jdk 5
                chmod a+x jdk-1_5_0_13-linux-i586-rpm.bin
                ./jdk-1_5_0_13-linux-i586-rpm.bin [jdk-1_5_0_13 installed at /usr/java/jdk-1_5_0_13]

                3. install sun compat package using rpm
                rpm -ivh java-1.5.0-sun-compat-1.5.0.13-1jpp.i586.rpm

                4. extract jboss-4.2.1.GA.zip to /usr location
                5. run the script run.sh from /usr/jboss-4.2.1.GA/bin
                ./run.sh

                still I am getting the error as before

                Now I removed jdk 1.4.2 that comes with fedora core and again installed a fresh copy of jdk 5 from sun's site and changed the JAVA_HOME to /usr/java/jdk1.5.0_13 but still no luck.
                =================================================
                JBoss Bootstrap Environment
                JBOSS_HOME: /usr/jboss-4.2.1.GA
                JAVA: /usr/java/jdk1.5.0_13/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/jboss-4.2.1.GA/bin/run.jar:/usr/java/jdk1.5.0_13/lib/tools.jar
                =========================================================================
                06:39:48,614 INFO [Server] Starting JBoss (MX MicroKernel)...
                06:39:48,615 INFO [Server] Release ID: JBoss [Trinity] 4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)
                06:39:48,617 INFO [Server] Home Dir: /usr/jboss-4.2.1.GA
                06:39:48,618 INFO [Server] Home URL: file:/usr/jboss-4.2.1.GA/
                06:39:48,619 INFO [Server] Patch URL: null
                06:39:48,619 INFO [Server] Server Name: default
                06:39:48,619 INFO [Server] Server Home Dir: /usr/jboss-4.2.1.GA/server/default
                06:39:48,620 INFO [Server] Server Home URL: file:/usr/jboss-4.2.1.GA/server/default/
                06:39:48,620 INFO [Server] Server Log Dir: /usr/jboss-4.2.1.GA/server/default/log
                06:39:48,621 INFO [Server] Server Temp Dir: /usr/jboss-4.2.1.GA/server/default/tmp
                06:39:48,621 INFO [Server] Root Deployment Filename: jboss-service.xml
                06:39:49,326 INFO [ServerInfo] Java version: 1.5.0_13,Sun Microsystems Inc.
                06:39:49,326 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_13-b05,Sun Microsystems Inc.
                06:39:49,326 INFO [ServerInfo] OS-System: Linux 2.6.18-1.2798.fc6,i386
                06:39:50,723 INFO [Server] Core system initialized
                06:39:56,552 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='jboss.remoting:service=NetworkRegistry', Class=org.jboss.remoting.network.NetworkRegistry (org.jboss.remoting.network.NetworkRegistry@9a8a68)]
                06:39:56,603 ERROR [MainDeployer] Could not create deployment: file:/usr/jboss-4.2.1.GA/server/default/conf/jboss-service.xml
                org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.InvocationTargetException)

                thanks,
                light

                • 5. Re: jboss 4.2.1 GA install problem
                  Peter Johnson Master

                  Are you also running as root? Also, what is the rest of the stack trace - there is a nested exception and I would like to see what it is about.

                  By the way, I have never installed the sun compat package, not sure what it contains.

                  • 6. Re: jboss 4.2.1 GA install problem
                    light me Newbie

                    Yes, I am running the Jboss as root.
                    Here the output of the run scrip;
                    =========================================================================
                    JBoss Bootstrap Environment
                    JBOSS_HOME: /usr/jboss-4.2.1.GA
                    JAVA: /usr/java/jdk1.5.0_13/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/jboss-4.2.1.GA/bin/run.jar:/usr/java/jdk1.5.0_13/lib/tools.jar
                    =========================================================================

                    11:23:37,517 INFO [Server] Starting JBoss (MX MicroKernel)...
                    11:23:37,519 INFO [Server] Release ID: JBoss [Trinity] 4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)
                    11:23:37,520 INFO [Server] Home Dir: /usr/jboss-4.2.1.GA
                    11:23:37,521 INFO [Server] Home URL: file:/usr/jboss-4.2.1.GA/
                    11:23:37,522 INFO [Server] Patch URL: null
                    11:23:37,522 INFO [Server] Server Name: default
                    11:23:37,523 INFO [Server] Server Home Dir: /usr/jboss-4.2.1.GA/server/default
                    11:23:37,523 INFO [Server] Server Home URL: file:/usr/jboss-4.2.1.GA/server/default/
                    11:23:37,523 INFO [Server] Server Log Dir: /usr/jboss-4.2.1.GA/server/default/log
                    11:23:37,524 INFO [Server] Server Temp Dir: /usr/jboss-4.2.1.GA/server/default/tmp
                    11:23:37,524 INFO [Server] Root Deployment Filename: jboss-service.xml
                    11:23:38,316 INFO [ServerInfo] Java version: 1.5.0_13,Sun Microsystems Inc.
                    11:23:38,316 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_13-b05,Sun Microsystems Inc.
                    11:23:38,316 INFO [ServerInfo] OS-System: Linux 2.6.18-1.2798.fc6,i386
                    11:23:39,622 INFO [Server] Core system initialized
                    11:23:50,758 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='jboss.remoting:service=NetworkRegistry', Class=org.jboss.remoting.network.NetworkRegistry (org.jboss.remoting.network.NetworkRegistry@1038de7)]
                    11:23:50,832 ERROR [MainDeployer] Could not create deployment: file:/usr/jboss-4.2.1.GA/server/default/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:585)
                    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:585)
                    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:595)
                    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:449)
                    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@1038de7)]
                    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:585)
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                    ... 51 more
                    Caused by: java.lang.RuntimeException: Exception creating identity: localhost.localdomain: localhost.localdomain
                    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
                    Failed to boot JBoss:
                    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:585)
                    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:585)
                    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:595)
                    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:449)
                    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@1038de7)]
                    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:585)
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                    ... 51 more
                    Caused by: java.lang.RuntimeException: Exception creating identity: localhost.localdomain: localhost.localdomain
                    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
                    11:23:51,112 INFO [Server] Runtime shutdown hook called, forceHalt: true
                    11:23:51,112 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
                    11:23:51,120 INFO [Server] Shutdown complete
                    Shutdown complete
                    Halting VM

                    thanks,
                    light

                    • 7. Re: jboss 4.2.1 GA install problem
                      Peter Johnson Master

                      Here is the key:

                      Caused by: java.lang.RuntimeException: Exception creating identity: localhost.localdomain: localhost.localdomain


                      Please post your /etc/hosts file.


                      • 8. Re: jboss 4.2.1 GA install problem
                        light me Newbie

                        Thank you verymuch, The hosts entry was
                        ::1 localhost.localdomain localhost
                        now I changed the entry to
                        192.168.0.1 localhost.localdomain localhost

                        Is my changes are correct? or Do I need to do any more changes?

                        Now I am getting the result as
                        =========================================================================
                        JBoss Bootstrap Environment
                        JBOSS_HOME: /usr/jboss-4.2.1.GA
                        JAVA: /usr/java/jdk1.5.0_13/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/jboss-4.2.1.GA/bin/run.jar:/usr/java/jdk1.5.0_13/lib/tools.jar
                        =========================================================================
                        11:55:37,062 INFO [Server] Starting JBoss (MX MicroKernel)...
                        11:55:37,064 INFO [Server] Release ID: JBoss [Trinity] 4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)
                        11:55:37,066 INFO [Server] Home Dir: /usr/jboss-4.2.1.GA
                        11:55:37,066 INFO [Server] Home URL: file:/usr/jboss-4.2.1.GA/
                        11:55:37,067 INFO [Server] Patch URL: null
                        11:55:37,068 INFO [Server] Server Name: default
                        11:55:37,068 INFO [Server] Server Home Dir: /usr/jboss-4.2.1.GA/server/default
                        11:55:37,068 INFO [Server] Server Home URL: file:/usr/jboss-4.2.1.GA/server/default/
                        11:55:37,069 INFO [Server] Server Log Dir: /usr/jboss-4.2.1.GA/server/default/log
                        11:55:37,069 INFO [Server] Server Temp Dir: /usr/jboss-4.2.1.GA/server/default/tmp
                        11:55:37,070 INFO [Server] Root Deployment Filename: jboss-service.xml
                        11:55:37,612 INFO [ServerInfo] Java version: 1.5.0_13,Sun Microsystems Inc.
                        11:55:37,612 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_13-b05,Sun Microsystems Inc.
                        11:55:37,612 INFO [ServerInfo] OS-System: Linux 2.6.18-1.2798.fc6,i386
                        11:55:39,004 INFO [Server] Core system initialized
                        11:55:45,928 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
                        11:55:45,933 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
                        11:55:47,487 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
                        11:55:47,487 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
                        11:55:47,983 INFO [TransactionManagerService] Starting recovery manager
                        11:55:48,207 INFO [TransactionManagerService] Recovery manager started
                        11:55:48,207 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
                        11:55:59,946 INFO [EJB3Deployer] Starting java:comp multiplexer
                        11:56:04,253 INFO [ServiceEndpointManager] jbossws-1.2.1.GA (build=200704151756)
                        11:56:07,454 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.5.0_13/jre/lib/i386/server:/usr/java/jdk1.5.0_13/jre/lib/i386:/usr/java/jdk1.5.0_13/jre/../lib/i386
                        11:56:07,814 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
                        11:56:07,816 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
                        11:56:07,817 INFO [Catalina] Initialization processed in 642 ms
                        11:56:07,817 INFO [StandardService] Starting service jboss.web
                        11:56:07,820 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.0.GA
                        11:56:07,905 INFO [Catalina] Server startup in 87 ms
                        11:56:08,186 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
                        11:56:10,183 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
                        11:56:11,745 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp52137jbossws-context-exp.war/
                        11:56:12,128 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
                        11:56:17,082 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
                        11:56:20,338 INFO [MailService] Mail Service bound to java:/Mail
                        11:56:20,699 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
                        11:56:20,781 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
                        11:56:21,593 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
                        11:56:21,686 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
                        11:56:21,890 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
                        11:56:21,969 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
                        11:56:21,984 INFO [QuartzResourceAdapter] start quartz!!!
                        11:56:22,876 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
                        11:56:22,928 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
                        11:56:22,933 INFO [RAMJobStore] RAMJobStore initialized.
                        11:56:22,933 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
                        11:56:22,934 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
                        11:56:22,934 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
                        11:56:23,822 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
                        11:56:24,843 INFO [A] Bound to JNDI name: queue/A
                        11:56:24,846 INFO [B] Bound to JNDI name: queue/B
                        11:56:24,849 INFO [C] Bound to JNDI name: queue/C
                        11:56:24,853 INFO [D] Bound to JNDI name: queue/D
                        11:56:24,856 INFO [ex] Bound to JNDI name: queue/ex
                        11:56:24,912 INFO [testTopic] Bound to JNDI name: topic/testTopic
                        11:56:24,932 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
                        11:56:24,935 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
                        11:56:24,953 INFO [testQueue] Bound to JNDI name: queue/testQueue
                        11:56:25,043 INFO [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093
                        11:56:25,122 INFO [DLQ] Bound to JNDI name: queue/DLQ
                        11:56:25,466 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
                        11:56:25,727 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
                        11:56:28,666 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
                        11:56:28,728 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
                        11:56:28,752 INFO [Server] JBoss (MX MicroKernel) [4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] Started in 51s:679ms

                        • 9. Re: jboss 4.2.1 GA install problem
                          Peter Johnson Master

                          /etc/hosts should contain:

                          127.0.0.1 localhost locahost.localdomian
                          192.168.0.1 the-name-of-your-pc


                          But the output looks good, notice the last message:

                          11:56:28,752 INFO [Server] JBoss (MX MicroKernel) [4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] Started in 51s:679ms

                          That means it is running. Also two lines up there is:

                          1:56:28,666 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080

                          That is the IP address and port for HTTP.

                          Now open a browser and point it at http://127.0.0.1:8080.


                          • 10. Re: jboss 4.2.1 GA install problem
                            light me Newbie

                            Thanks Peter, It is running fine now.
                            Have a great day!!!

                            light.

                            • 11. Re: jboss 4.2.1 GA install problem
                              light me Newbie

                              Thanks Peter, It is working fine now.
                              Have a great day!!!

                              light.