5 Replies Latest reply on Nov 20, 2003 6:56 PM by 2cat

    what should I do now?

    2cat Newbie

      I deleted my Jboss3.0.8-tomcat4.1.24 for it throws many exceptions which is caused by moving some folders.
      I setup it renewedly, but it throws the same exceptions when it ran.
      what should I do now?
      Help me, please.

        • 1. Re: what should I do now?
          Jon Barnett Master

          It would help if you showed some of the exceptions and perhaps showed what the startup environment is like. JAVA, JBOSS_HOME, CLASSPATH
          e.g.

          ================================================================================
           JBoss Bootstrap Environment
          
           JBOSS_HOME: /usr/local/JBoss-3.2.2
          
           JAVA: /usr/local/IBMJava2-141/bin/java
          
           JAVA_OPTS: -Xmx64m -dsa -da -Djava.awt.headless=true -Djava.io.tmpdir=/jetty -Dprogram.name=run.sh
          
           CLASSPATH: /usr/local/JBoss-3.2.2/bin/run.jar:/usr/local/IBMJava2-141/lib/tools.jar
          
          ================================================================================



          • 2. Re: what should I do now?
            2cat Newbie

            -----------------------------------
            Jboss bootstrap Environment

            JBOSS_HOME:C:\jboss-3.0.8_tomcat-4.1.24\bin\\..]
            JAVA:c:\jdk14\bin\java
            JAVA_OPTS:-Dprogram.name=run.bat
            CLASSPATH: ;c:\jdk14\lib\tools.jar;C:\jboss-3.0.8_tomcat-4.1.24\bin\\run.jar
            ----------------------------------------------
            2003-11-20 14:49:12,029 ERROR [org.jboss.naming.NamingService] Starting failed
            javax.naming.NamingException: Error accessing repository: Cannot connect to ORB
            at com.sun.enterprise.naming.EJBCtx.(EJBCtx.java:51)
            at com.sun.enterprise.naming.EJBInitialContextFactory.getInitialContext(EJBInitialContextFactory.java:62)
            at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
            at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
            at javax.naming.InitialContext.init(InitialContext.java:219)
            at javax.naming.InitialContext.(InitialContext.java:175)
            at org.jboss.naming.NamingService.startService(NamingService.java:173)
            at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
            at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:413)
            at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
            at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
            at $Proxy2.start(Unknown Source)
            at org.jboss.deployment.SARDeployer.start(SARDeployer.java:232)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:575)
            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:324)
            at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
            at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:324)
            at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
            at org.jboss.Main.boot(Main.java:148)
            at org.jboss.Main$1.run(Main.java:381)
            at java.lang.Thread.run(Thread.java:536)
            2003-11-20 14:49:12,049 WARN [org.jboss.system.ServiceController] Problem starting service jboss:service=Naming
            javax.naming.NamingException: Error accessing repository: Cannot connect to ORB
            at com.sun.enterprise.naming.EJBCtx.(EJBCtx.java:51)
            at com.sun.enterprise.naming.EJBInitialContextFactory.getInitialContext(EJBInitialContextFactory.java:62)
            at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
            at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
            at javax.naming.InitialContext.init(InitialContext.java:219)
            at javax.naming.InitialContext.(InitialContext.java:175)
            at org.jboss.naming.NamingService.startService(NamingService.java:173)
            at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
            at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:413)
            at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

            • 3. Re: what should I do now?
              2cat Newbie

              -----------------------------------
              Jboss bootstrap Environment

              JBOSS_HOME:C:\jboss-3.0.8_tomcat-4.1.24\bin\\..]
              JAVA:c:\jdk14\bin\java
              JAVA_OPTS:-Dprogram.name=run.bat
              CLASSPATH: ;c:\jdk14\lib\tools.jar;C:\jboss-3.0.8_tomcat-4.1.24\bin\\run.jar
              ----------------------------------------------
              2003-11-20 14:49:12,029 ERROR [org.jboss.naming.NamingService] Starting failed
              javax.naming.NamingException: Error accessing repository: Cannot connect to ORB
              at com.sun.enterprise.naming.EJBCtx.(EJBCtx.java:51)
              at com.sun.enterprise.naming.EJBInitialContextFactory.getInitialContext(EJBInitialContextFactory.java:62)
              at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
              at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
              at javax.naming.InitialContext.init(InitialContext.java:219)
              at javax.naming.InitialContext.(InitialContext.java:175)
              at org.jboss.naming.NamingService.startService(NamingService.java:173)
              at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
              at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
              at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
              at $Proxy0.start(Unknown Source)
              at org.jboss.system.ServiceController.start(ServiceController.java:413)
              at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
              at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
              at $Proxy2.start(Unknown Source)
              at org.jboss.deployment.SARDeployer.start(SARDeployer.java:232)
              at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:575)
              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:324)
              at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
              at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:324)
              at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
              at org.jboss.Main.boot(Main.java:148)
              at org.jboss.Main$1.run(Main.java:381)
              at java.lang.Thread.run(Thread.java:536)
              2003-11-20 14:49:12,049 WARN [org.jboss.system.ServiceController] Problem starting service jboss:service=Naming
              javax.naming.NamingException: Error accessing repository: Cannot connect to ORB
              at com.sun.enterprise.naming.EJBCtx.(EJBCtx.java:51)
              at com.sun.enterprise.naming.EJBInitialContextFactory.getInitialContext(EJBInitialContextFactory.java:62)
              at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
              at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
              at javax.naming.InitialContext.init(InitialContext.java:219)
              at javax.naming.InitialContext.(InitialContext.java:175)
              at org.jboss.naming.NamingService.startService(NamingService.java:173)
              at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
              at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
              at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
              at $Proxy0.start(Unknown Source)
              at org.jboss.system.ServiceController.start(ServiceController.java:413)
              at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

              • 4. Re: what should I do now?
                Jon Barnett Master

                It sounds like you have a j2ee.jar somewhere in your JDK/JVM lib directories. You need to remove it as JBoss provides its own.

                • 5. Re: what should I do now?
                  2cat Newbie

                  you are right.
                  I very very thank you.
                  you saved me from hell.