3 Replies Latest reply on Jan 24, 2003 3:14 AM by George

    jboss startup problem

    George Newbie

      hello, i am using JBoss-3.0.4_Tomcat-4.1.12 and jdk1.4 on win 2k machine. When i start jboss and give http://localhost:8080/jmx-console/ i can see JMS view agent but when i try http://localhost:8082 it gives page cannotbe displayed error. It also gives java exceptions listed below.I will be grateful if anyone could help me i am new to Jboss.

      thans a lot
      George
      __________________________________________________________

      03:02:37,515 INFO [MainDeployer] Deployed package: file:/C:/jboss/server/all/de
      ploy/ejb-management.jar
      03:02:37,535 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss
      /server/all/deploy/jbossweb-ejb.jar
      03:02:38,136 ERROR [EJBDeployer] Verfiy failed
      java.lang.NoClassDefFoundError: org/mortbay/j2ee/session/interfaces/CMPStateHome

      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)
      at java.lang.Class.getConstructor0(Class.java:1762)
      at java.lang.Class.getConstructor(Class.java:1002)
      at org.jboss.verifier.strategy.AbstractVerifier.hasDefaultConstructor(Ab
      stractVerifier.java:529)
      at org.jboss.verifier.strategy.EJBVerifier20.verifyCMPEntityBean(EJBVeri
      fier20.java:1874)
      at org.jboss.verifier.strategy.EJBVerifier20.checkBmpOrCmp2Entity(EJBVer
      ifier20.java:169)
      at org.jboss.verifier.strategy.EJBVerifier20.checkEntity(EJBVerifier20.j
      ava:139)
      at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:129)
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:343)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:760)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:620)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:585)
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy4.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:435)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDe
      ploymentScanner.java:656)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:507)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
      bstractDeploymentScanner.java:261)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
      65)
      at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:978)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:398)
      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy3.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:249)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:807)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:621)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:585)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:569)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.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)
      03:02:38,867 INFO [EjbModule] Creating
      03:02:38,967 INFO [EjbModule] Deploying CMPState
      03:02:39,148 WARN [ServiceController] Problem creating service jboss.j2ee:jndiN
      ame=jetty/CMPState,service=EJB
      java.lang.ClassNotFoundException: org.mortbay.j2ee.session.interfaces.CMPStateHo
      me
      at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
      at org.jboss.ejb.EntityContainer.create(EntityContainer.java:310)
      at org.jboss.ejb.Container.invoke(Container.java:752)
      at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:978)
      at $Proxy5.create(Unknown Source)
      at org.jboss.system.ServiceController.create(ServiceController.java:315)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy22.create(Unknown Source)
      at org.jboss.ejb.EjbModule.createService(EjbModule.java:386)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:
      136)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:978)
      at $Proxy5.create(Unknown Source)
      at org.jboss.system.ServiceController.create(ServiceController.java:315)

      at org.jboss.system.ServiceController.create(ServiceController.java:243)

      at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy11.create(Unknown Source)
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:377)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:760)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:620)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:585)
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy4.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:435)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDe
      ploymentScanner.java:656)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:507)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
      bstractDeploymentScanner.java:261)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
      65)
      at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:978)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:398)
      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy3.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:249)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:807)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:621)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:585)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:569)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.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)
      03:02:40,199 INFO [EjbModule] Created
      03:02:40,199 INFO [EjbModule] Starting
      03:02:40,219 INFO [EjbModule] Started
      03:02:40,219 INFO [MainDeployer] Deployed package: file:/C:/jboss/server/all/de
      ploy/jbossweb-ejb.jar
      03:02:40,239 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss
      /server/all/deploy/jmx-ejb-adaptor.jar
      03:02:40,720 INFO [EjbModule] Creating
      03:02:40,810 INFO [EjbModule] Deploying jmx/ejb/Adaptor
      03:02:41,010 INFO [EjbModule] Created
      03:02:41,010 INFO [EjbModule] Starting
      03:02:41,171 INFO [EjbModule] Started
      03:02:41,181 INFO [MainDeployer] Deployed package: file:/C:/jboss/server/all/de
      ploy/jmx-ejb-adaptor.jar
      03:02:41,201 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss
      /server/all/deploy/jmx-console.war/
      03:02:41,361 INFO [EmbeddedCatalinaService41] deploy, ctxPath=/jmx-console, war
      Url=file:/C:/jboss/server/all/deploy/jmx-console.war/
      03:02:41,461 INFO [Engine] WebappLoader[/jmx-console]: Deploying class reposito
      ries to work directory C:\jboss\tomcat-4.1.x\work\MainEngine\localhost\jmx-conso
      le
      03:02:41,491 INFO [Engine] WebappLoader[/jmx-console]: Deploy class files /WEB-
      INF/classes to C:\jboss\server\all\deploy\jmx-console.war\WEB-INF\classes
      03:02:42,463 INFO [Engine] ContextConfig[/jmx-console]: Added certificates -> r
      equest attribute Valve
      03:02:43,234 INFO [EmbeddedCatalinaService41] Using Java2 parent classloader de
      legation: true
      03:02:43,244 INFO [Engine] StandardManager[/jmx-console]: Seeding random number
      generator class java.security.SecureRandom
      03:02:43,264 INFO [Engine] StandardManager[/jmx-console]: Seeding of random num
      ber generator has been completed
      03:02:43,284 INFO [Engine] StandardWrapper[/jmx-console:default]: Loading conta
      iner servlet default
      03:02:43,294 INFO [Engine] StandardWrapper[/jmx-console:invoker]: Loading conta
      iner servlet invoker
      03:02:43,344 INFO [MainDeployer] Deployed package: file:/C:/jboss/server/all/de
      ploy/jmx-console.war/
      03:02:43,374 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope
      ration 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:
      [org.jboss.deployment.DeploymentInfo@e18f9f47 { url=file:/C:/jboss/server/all/de
      ploy/adder.jar }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/C:/jboss/server/all/deploy/adder.jar
      lastDeployed: 1043370154601
      lastModified: 1043370154571
      mbeans:
      ]Incompletely deployed packages:
      [org.jboss.deployment.DeploymentInfo@e18f9f47 { url=file:/C:/jboss/server/all/de
      ploy/adder.jar }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/C:/jboss/server/all/deploy/adder.jar
      lastDeployed: 1043370154601
      lastModified: 1043370154571
      mbeans:
      ]MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: jboss.net:service=Axis
      state: CONFIGURED
      I Depend On: jboss.web:service=JBossWeb

      Depends On Me: jboss.net:service=Adaptor
      , ObjectName: jboss.net:service=Adaptor
      state: CONFIGURED
      I Depend On: jboss.net:service=Axis

      Depends On Me: , ObjectName: jboss.j2ee:jndiName=jetty/CMPState,service=EJB
      state: FAILED
      I Depend On:
      Depends On Me: java.lang.ClassNotFoundException: org.mortbay.j2ee.session.inter
      faces.CMPStateHome]
      03:02:43,774 INFO [URLDeploymentScanner] Started
      03:02:43,774 INFO [MainDeployer] Deployed package: file:/C:/jboss/server/all/co
      nf/jboss-service.xml
      03:02:43,804 INFO [Server] JBoss (MX MicroKernel) [3.0.4 Date:200211021607] Sta
      rted in 1m:34s:676ms

        • 1. Re: jboss startup problem
          Aurelius Fojcik Newbie

          Hi,

          I had a similar problem on redhat8.0 with jdk1.4.1.
          I couldn't start the server.

          Finaly I tried to compile the sourcecode under jdk1.4.1, and realized that it has a lot of deprecated methods.
          The build was not done (3 errors and a couple of warnings).

          I switched to jdk1.3.1_06 and now every thing is o.k.
          I can start the server and have no errors.

          I'm not sure but it looks like JBoss3.04 doesn't run on jdk1.4.

          • 2. Re: jboss startup problem
            George Newbie

            Hello, Thanks a lot for your suggestion. Unfortunately, its not working for me though this time there are less exceptions this time.I installed jdk1.3.1_06 and jboss-3.0.4_tomcat-4.0.6 binary version.

            Regards
            George

            • 3. Re: jboss startup problem
              George Newbie

              Hello, Thanks a lot for your suggestion. Unfortunately, its not working for me though this time there are less exceptions this time.I installed jdk1.3.1_06 and jboss-3.0.4_tomcat-4.0.6 binary version.

              Regards
              George