5 Replies Latest reply on Oct 20, 2008 5:24 AM by Mohammad EL-Maghraby

    Whats I need to run jboss-4.2.3.GA on Fedora 9

    Mohammad EL-Maghraby Newbie

      Dear Sir,
      please, can you help me,

      My problem is is can't run Jboss server “jboss-4.2.3.GAâ€�, these steps I do it:
      1- I installed JDK5 update 16, and the steps is:
      a. Make the download executable with this command
      chmod 755 jdk-1_5_0_16-linux-amd64-rpm.bin
      b. Execute the installater
      ./jdk-1_5_0_16-linux-amd64-rpm.bin
      c. A license agreement will appear on your screen displayed through the more command. Simply press the enter key until you get to the end, or just press the q key to skip right to the end
      d. At the end of the agreement, type yes to agree to it and continue with the install.
      e. The JDK will unpack and install itself.
      f. The install routine installs the files into the directory /usr/java/jdk1.6.0_07. It also creates two links in that directory named default and latest.
      But, I didn't know the last step, it is:
      g. Add the JDK to the PATH for all users by editing the /etc/profile file and place the following two lines at the bottom of your file:
      JAVA_HOME=/usr/java/default; export JAVA_HOME
      PATH=$JAVA_HOME/bin:$PATH; export PATH
      But after install JDK5 update 16 , when I type in terminal java -version the answer is

      java version "1.6.0"
       OpenJDK Runtime Environment (build 1.6.0-b09)
       OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode)

      -------------------------
      but I don't know if the JDK5 update 16 is installed correctly or no, How I can know that it, by mean is there command line or tools to be sure from the installation JDK5 update 16
      Then,
      I start to run jboss-4.2.0.GA but the error came, it is:

      [root@Server bin]# ./run.sh
      Boss Bootstrap Environment
      
       JBOSS_HOME: /usr/lib/jboss/jboss-4.2.3.GA
      
       JAVA: java
      
       JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true
      
       CLASSPATH: /usr/lib/jboss/jboss-4.2.3.GA/bin/run.jar
      
      =========================================================================
      
      13:27:33,674 INFO [Server] Starting JBoss (MX MicroKernel)...
      13:27:33,675 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)
      13:27:33,676 INFO [Server] Home Dir: /usr/lib/jboss/jboss-4.2.3.GA
      13:27:33,676 INFO [Server] Home URL: file:/usr/lib/jboss/jboss-4.2.3.GA/
      13:27:33,677 INFO [Server] Patch URL: null
      13:27:33,677 INFO [Server] Server Name: default
      13:27:33,677 INFO [Server] Server Home Dir: /usr/lib/jboss/jboss-4.2.3.GA/server/default
      13:27:33,677 INFO [Server] Server Home URL: file:/usr/lib/jboss/jboss-4.2.3.GA/server/default/
      13:27:33,677 INFO [Server] Server Log Dir: /usr/lib/jboss/jboss-4.2.3.GA/server/default/log
      13:27:33,677 INFO [Server] Server Temp Dir: /usr/lib/jboss/jboss-4.2.3.GA/server/default/tmp
      13:27:33,678 INFO [Server] Root Deployment Filename: jboss-service.xml
      13:27:44,309 INFO [ServerInfo] Java version: 1.6.0,Sun Microsystems Inc.
      13:27:44,309 INFO [ServerInfo] Java VM: OpenJDK 64-Bit Server VM 1.6.0-b09,Sun Microsystems Inc.
      13:27:44,310 INFO [ServerInfo] OS-System: Linux 2.6.25-14.fc9.x86_64,amd64
      13:27:44,916 INFO [Server] Core system initialized
      13:27:52,630 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='jboss.remoting:service=NetworkRegistry', Class=org.jboss.remoting.network.NetworkRegistry (org.jboss.remoting.network.NetworkRegistry@1dd49247)]
      13:27:52,658 ERROR [MainDeployer] Could not create deployment: file:/usr/lib/jboss/jboss-4.2.3.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:57)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:616)
       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:251)
       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:57)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:616)
       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:636)
      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@1dd49247)]
       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:43)
       at java.lang.reflect.Method.invoke(Method.java:616)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       ... 51 more
      Caused by: java.lang.RuntimeException: Exception creating identity: Server: Server
       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:57)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:616)
       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:251)
       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:57)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:616)
       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:636)
      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@1dd49247)]
       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:43)
       at java.lang.reflect.Method.invoke(Method.java:616)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       ... 51 more
      Caused by: java.lang.RuntimeException: Exception creating identity: Server: Server
       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
      13:27:52,688 INFO [Server] Runtime shutdown hook called, forceHalt: true
      13:27:52,688 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
      13:27:52,693 INFO [Server] Shutdown complete
      Shutdown complete
      Halting VM


      Please help me I'm in big problem in my work.
      Thanks .
      Regards

        • 1. Re: Whats I need to run jboss-4.2.3.GA on Fedora 9
          erasmo2 marciano2 Master

          How do you start JBoss?

          Try

          ./run.sh default
          


          • 2. Re: Whats I need to run jboss-4.2.3.GA on Fedora 9
            Peter Johnson Master

            I looks like you did install JDK 1.6 and not 1.5. I am not sure why, when you started with the 1.5 rpm you ended up with the 1.6 JDK. I have installed both 1.6 and 1.5 and never seen that. (However, I have never installed the 64-bit JDK using the RPM, only using the BIN download.)

            Anyway, you can try this.

            First, it appears that JAVA_HOME is not set, or not set correctly. Are you sure that /opt/java/default exists? You can tell if it set by the third line of the output line:

            JAVA: java


            If JAVA_HOME is set properly, you should see something like this:

            JAVA: /usr/java/jdk1.6.0_07/bin/java


            Second, there is a version of JBossAS 4.2.3 specifically for JDKJ 1.6 - download jboss-4.2.3.GA-jdk6.zip and unpack it.

            Third, make sure your account has full access rights to the directory into which you placed JBossAS. You currently have it in /usr/lib, which usually is restricted to root access. Personally, I would place it in /opt/jboss-4.2.3.GA, and use chmod to change ownership.

            Then try running run.sh again.

            (By the way, running "java -version" is not sufficnet to tell which version you will use. Instead, run "$JAVA_HOME/bin/java -version" This will pick up the same JDK that run.sh will use. Also, it appears that currently you are using the OpenJDK:

            13:27:44,309 INFO [ServerInfo] Java version: 1.6.0,Sun Microsystems Inc.
            13:27:44,309 INFO [ServerInfo] Java VM: OpenJDK 64-Bit Server VM 1.6.0-b09,Sun Microsystems Inc.


            I have used this successfully to run JBossAS. So I would bet that your directory access rights are incorrect.)

            • 3. Re: Whats I need to run jboss-4.2.3.GA on Fedora 9
              Mohammad EL-Maghraby Newbie

              Hi, Thank you very much mr. erasmomarciano for your suggestions

              after i wrote "./run.sh defualt", result came

              [root@Server bin]# ./run.sh default
              =========================================================================
              
               JBoss Bootstrap Environment
              
               JBOSS_HOME: /usr/lib/jboss/jboss4.2.3.GA
              
               JAVA: java
              
               JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true
              
               CLASSPATH: /usr/lib/jboss/jboss4.2.3.GA/bin/run.jar
              
              =========================================================================
              
              run.sh: unused non-option argument: default
              13:25:11,391 INFO [Server] Starting JBoss (MX MicroKernel)...
              13:25:11,391 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)
              13:25:11,392 INFO [Server] Home Dir: /usr/lib/jboss/jboss4.2.3.GA
              13:25:11,392 INFO [Server] Home URL: file:/usr/lib/jboss/jboss4.2.3.GA/
              13:25:11,393 INFO [Server] Patch URL: null
              13:25:11,393 INFO [Server] Server Name: default
              13:25:11,393 INFO [Server] Server Home Dir: /usr/lib/jboss/jboss4.2.3.GA/server/default
              13:25:11,393 INFO [Server] Server Home URL: file:/usr/lib/jboss/jboss4.2.3.GA/server/default/
              13:25:11,393 INFO [Server] Server Log Dir: /usr/lib/jboss/jboss4.2.3.GA/server/default/log
              13:25:11,393 INFO [Server] Server Temp Dir: /usr/lib/jboss/jboss4.2.3.GA/server/default/tmp
              13:25:11,394 INFO [Server] Root Deployment Filename: jboss-service.xml
              13:25:12,239 INFO [ServerInfo] Java version: 1.6.0,Sun Microsystems Inc.
              13:25:12,239 INFO [ServerInfo] Java VM: OpenJDK 64-Bit Server VM 1.6.0-b09,Sun Microsystems Inc.
              13:25:12,239 INFO [ServerInfo] OS-System: Linux 2.6.25-14.fc9.x86_64,amd64
              13:25:12,868 INFO [Server] Core system initialized
              13:25:15,409 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='jboss.remoting:service=NetworkRegistry', Class=org.jboss.remoting.network.NetworkRegistry (org.jboss.remoting.network.NetworkRegistry@3c24c4a3)]
              13:25:15,433 ERROR [MainDeployer] Could not create deployment: file:/usr/lib/jboss/jboss4.2.3.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:57)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
               at java.lang.reflect.Method.invoke(Method.java:616)
               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:251)
               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:57)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
               at java.lang.reflect.Method.invoke(Method.java:616)
               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:636)
              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@3c24c4a3)]
               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:43)
               at java.lang.reflect.Method.invoke(Method.java:616)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
               ... 51 more
              Caused by: java.lang.RuntimeException: Exception creating identity: Server: Server
               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:57)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
               at java.lang.reflect.Method.invoke(Method.java:616)
               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:251)
               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:57)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
               at java.lang.reflect.Method.invoke(Method.java:616)
               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:636)
              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@3c24c4a3)]
               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:43)
               at java.lang.reflect.Method.invoke(Method.java:616)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
               ... 51 more
              Caused by: java.lang.RuntimeException: Exception creating identity: Server: Server
               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
              13:25:15,443 INFO [Server] Runtime shutdown hook called, forceHalt: true
              13:25:15,443 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
              13:25:15,453 INFO [Server] Shutdown complete
              Shutdown complete
              Halting VM
              [root@Server bin]#
              
              

              please look this in front of upper result
              run.sh: unused non-option argument: default


              Any help would be greatly appreciated

              • 4. Re: Whats I need to run jboss-4.2.3.GA on Fedora 9
                jaikiran pai Master

                 

                Caused by: java.lang.RuntimeException: Exception creating identity: Server: Server


                Your etc/hosts file looks suspect. See these previous discussions about the same issue http://www.jboss.com/index.html?module=bb&op=viewtopic&t=124173

                • 5. Re: Whats I need to run jboss-4.2.3.GA on Fedora 9
                  Mohammad EL-Maghraby Newbie

                  Hi for all

                  Geat,Great,Great
                  yesssssssssssss
                  The problem is solved
                  Many Thank for erasmomarciano, PeterJ and jaikiran
                  the solution is:
                  open hosts File in etc and replace all the words "Localhost or Localhost6 " to the machine name show in JBoss log in

                  Caused by: java.lang.RuntimeException: Exception creating identity: your machine name: your machine name
                  

                  explain by another method in
                  http://chiralsoftware.com/blog/JBoss-Application-Server-with-Java-6-ab298ea104a78da7.html