3 Replies Latest reply on Oct 10, 2002 10:06 AM by wayne zhai

    jboss-3.0.3_tomcat-4.0.5 NoClassDefFoundError

    wayne zhai Newbie

      I did the following to install and testrun jboss:
      1. extrace zip into c:\opt
      2. cd c:\opt\jboss-3.0.3_tomcat-4.0.5\bin
      3. set JAVA_HOME to c:\opt\j2sdk1.4.1
      4. execute batch file c:run -c all

      The server seems started with two exceptions, see below.
      And the localhost:8080 or 8082 does not give me anything.

      I checked the jar file, and it did NOT have the required
      class. Please help me to get started. Thank you.

      I'm running this on PC with Windows 2000 Pro version.
      --last few lines ------------------------------------
      17:56:24,377 INFO [Server] JBoss (MX MicroKernel) [3.0.3 Date:200209301503] Sta
      rted in 0m:18s:625ms
      17:57:12,765 INFO [Engine] StandardHost[localhost]: MAPPING configuration error
      for request URI

      --error message -------------------------------------
      17:56:23,642 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)

      17:56:23,705 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)