1 Reply Latest reply on May 14, 2003 1:24 AM by Jon Barnett

    jboss-3.2.1_tomcat-4.1.24 fails to start (missing files?)

    mirowalk Newbie


      I have downloaded jboss-3.2.1_tomcat-4.1.24 and j2sdk1.4.1_02, set JAVA_HOME and run "run.bat".

      The system fails to start with exceptions, and when I looked into them, I've found something strange. The jboss directory structure contained only "all" under /JBOSS_HOME/servers/. If I run with "run.bat" alone, attempting to use the default server, I get errors:

      17:44:03,656 DEBUG [UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@1ef9157{ url=file:/C:/jboss-3.2.1_tomcat-4.1.24/server/default/conf/ ,addedOrder=0}
      17:44:03,666 DEBUG [UnifiedLoaderRepository3] Failed to update pkgs for cl=org.jboss.mx.loading.UnifiedClassLoader3@1ef9157{ url=file:/C:/jboss-3.2.1_tomcat-4.1.24/server/default/conf/ ,addedOrder=1}
      java.io.FileNotFoundException: C:\jboss-3.2.1_tomcat-4.1.24\server\default\conf (The system cannot find the file specified)....

      If I then try running with "run.bat -c all", the system seems to get further, but then also dies as it can't find a "lib" subdirectory of /server/all/

      17:46:43,887 DEBUG [SARDeployer] create operation failed for package file:/C:/jboss-3.2.1_tomcat-4.1.24/server/all/conf/jboss-service.xml
      java.io.FileNotFoundException: C:\jboss-3.2.1_tomcat-4.1.24\server\all\lib
      at org.jboss.net.protocol.file.FileURLLister.listMembers(FileURLLister.java:38)....

      Finally, in desperation, if I create an empty "lib" directory under ../server/all and then "run.bat -c all" I get:

      17:51:59,791 DEBUG [SARDeployer] Registering service UCL=jmx.loading:UCL=19b5217
      17:51:59,801 DEBUG [ServiceCreator] About to create bean: jboss.system:type=Log4jService,service=Logging with code: org.jboss.logging.Log4jService
      17:51:59,811 DEBUG [ServiceCreator] Class not found for mbean: jboss.system:type=Log4jService,service=Logging
      17:51:59,811 WARN [ServiceConfigurator] Failed to complete install
      java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.logging.Log4jService
      at org.jboss.mx.loading.LoadMgr.beginLoadTask(LoadMgr.java:161)
      at ....

      What's going on? The steps to run for the first time seem so simple, that I can't think what I could be doing wrong. Do I have a corrupt distribution? How can I check this with Windows XP? I couldn't see any form of signature file, although perhaps I'm looking in the wrong places...?


      Miro Walker

        • 1. Re: jboss-3.2.1_tomcat-4.1.24 fails to start (missing files?
          Jon Barnett Master

          Either your distribution is corrupted or your unpacking program does not work correctly. If you have winzip, use that. You should have a server/default directory, a server/all directory, a server/minimal directory and a server/tomcat directory, at the least. All lib directories should have something in them. The fact you do not have a default instance is a good sign that things have not unpacked correctly. Therefore, you cannot trust that anything will work with your JBoss.

          You can also use the Java jar program to unpack your zip via "jar xvf jbossdistribution.zip" where you substitute the real name of your JBoss distribution.