3 Replies Latest reply on Jul 3, 2003 10:10 AM by erikdhansen

    JBoss 3.2.1 won't start

    mb1

      Hi there,

      I just started with JBoss 3.2.1 and I'm trying to start it within Eclipse 2.1 with Lomboz 2.1 (J2EE view) but it won't start. See the error:

      21:01:28,689 INFO [Server] Starting JBoss (MX MicroKernel)...
      21:01:28,759 INFO [Server] Release ID: JBoss [WonderLand] 3.2.1 (build: CVSTag=JBoss_3_2_1 date=200305041533)
      21:01:28,759 INFO [Server] Home Dir: C:\Jboss321
      21:01:28,759 INFO [Server] Home URL: file:/C:/Jboss321/
      21:01:28,759 INFO [Server] Library URL: file:/C:/Jboss321/lib/
      21:01:28,759 INFO [Server] Patch URL: null
      21:01:28,759 INFO [Server] Server Name: default
      21:01:28,759 INFO [Server] Server Home Dir: C:\Jboss321\server\default
      21:01:28,769 INFO [Server] Server Home URL: file:/C:/Jboss321/server/default/
      21:01:28,769 INFO [Server] Server Data Dir: C:\Jboss321\server\default\data
      21:01:28,769 INFO [Server] Server Temp Dir: C:\Jboss321\server\default\tmp
      21:01:28,840 INFO [Server] Server Config URL: file:/C:/Jboss321/server/default/conf/
      21:01:28,840 INFO [Server] Server Library URL: file:/C:/Jboss321/server/default/lib/
      21:01:28,840 INFO [Server] Root Deployemnt Filename: jboss-service.xml
      21:01:28,860 INFO [Server] Starting General Purpose Architecture (GPA)...
      21:01:29,450 ERROR [Server] Failed to start
      java.lang.NoClassDefFoundError: EDU/oswego/cs/dl/util/concurrent/ConcurrentReaderHashMap
      at org.jboss.mx.loading.UnifiedClassLoader.(UnifiedClassLoader.java:66)
      at org.jboss.mx.loading.UnifiedClassLoader.(UnifiedClassLoader.java:89)
      at org.jboss.mx.loading.UnifiedClassLoader3.(UnifiedClassLoader3.java:60)
      at org.jboss.mx.loading.UnifiedClassLoader3.(UnifiedClassLoader3.java:72)
      at org.jboss.mx.loading.UnifiedLoaderRepository3.newClassLoader(UnifiedLoaderRepository3.java:121)
      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:549)
      at org.jboss.system.server.ServerImpl.initBootLibraries(ServerImpl.java:480)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:316)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
      at org.jboss.Main.boot(Main.java:150)
      at org.jboss.Main$1.run(Main.java:388)
      at java.lang.Thread.run(Thread.java:536)

      Did someone have the same problem? I made a new server definition and I checked every classpath variable.
      Please help.

      Regards,

      Michiel.

        • 1. Re: JBoss 3.2.1 won't start

          It cannot find concurrent.jar
          Or the classpath has been altered so that it
          is not visible to jboss-jmx.jar

          Regards,
          Adrian

          • 2. Re: JBoss 3.2.1 won't start
            xzang

            hi,i found i hava the same trouble with you

            have you resolved it ?
            if so ,could you help me
            i also use Eclipse+Jboss+Tomcat+Lomboz
            and also failed in starting General Purpose Architecture (GPA)...
            message is following :
            16:09:57,450 INFO [Server] Starting General Purpose Architecture (GPA)...
            16:09:58,110 ERROR [Server] Failed to start
            java.lang.NoClassDefFoundError: org/dom4j/Element
            at java.lang.Class.getDeclaredConstructors0(Native Method)

            • 3. Re: JBoss 3.2.1 won't start
              erikdhansen

              Lomboz hasn't updated the server definitions in a while (since JBoss 3.0) so the right classes aren't being added to the classpath to start the server. In your case concurrent.jar is not being added.

              In my case, I had to edit the server definition for JBoss (in Lomboz) to include <jboss_home>/lib in order for the pluing to work because none of those classes were in the classpath to start the server.

              It cluttered up the Eclipse environment more than I liked, though. Then I found JBoss-IDE which (I think) is a better plugin for JBoss integration. Instructions for installing it are in the release notes for it on Sourceforge.