Menu

Bootstrap error on ccm start

2007-08-23
2013-06-04
  • Francois Mounier

    Hi,

    It's been a while I haven't installed a fresh rpm Aplaws.
    And I am having this error when I run ccm start after installing a "production" aplaws

    Bootstrap: Class loader creation threw exception
    java.lang.NoSuchMethodError: org.apache.catalina.startup.ClassLoaderFactory.setDebug(I)V
            at com.arsdigita.tools.catalina.startup.Bootstrap.main(Unknown Source)

    My setup is as follow:
    On a Centos 5 server I have installed  Sun JDK 1.5.0_09 (using sun-compat rpm from jpp), Tomcat 5.5.23 (tar.gz from Apache).
    I have setup all the environment variable JAVA_HOME, CLASSPATH, PATH, CATALINA_HOME, TOMCAT_HOME
    I can start tomcat, access it and run servlet and jsp examples on port 8080 using $CATALINA_HOME/bin/startup.sh

    I have installed Aplaws rpms, ran ccm load bundle and ccm hostinit without any problems

    I have checked any my ccm-*jar are deployed in /var/lib/ccm/webapps/WEB-INF/lib/

    Any ideas on what I missed?

    Cheers,
    Francois

     
    • Alan Pevec

      Alan Pevec - 2007-08-23

      ccm start/stop support only Tomcat4
      You could modify deploy2jboss.sh to work with Tomcat5.5/6 (adjust shared class loader path etc.)

      Alan

       
      • InfoAxon Technologies

        Does any body know whether aplaws 1.0.4 works on Tomcat 5 or not? Its not clear which path needs to be changed. What is the current role of deploy2jboss.sh? It seems more to do with deployment to JBOSS AS instead of Tomcat. What i find confusing is the reason why this file needs to be modified?

        regards
        Shubham

         
        • shawn lane (powers of ten)

          Yes we have 1.04 running on Tomcat 5.

          I guess the jboss script is the script to deploy in jboss container. (tomcat under the hood)

           
    • pboy

      pboy - 2007-08-24

      Francois,

      just in case you will not use Tomcat 5.5 & deploy2jboss.sh you may download the new Installation Guide from https://aplaws.108.redhat.com/servlets/ProjectDocumentList?folderID=165&expandFolder=165&folderID=0
      and give feedback for improvements  :-)

      Peter

       
      • Terry

        Terry - 2008-01-28

        Hi Peter,

        Can you please publish the current location of these documents? The above link redirects to the fedora project.

        Thanks,
        Terry

         
        • pboy

          pboy - 2008-01-31

          Terry,

          I asked Alan some weeks ago how to make the documentation accessible by the users. There seems no solution available. I will upload the docs to our own server and publish the link as soon as we are finished.

          If you would like to read the text I can sent it via email.

          Peter

           
    • Steve Pugh

      Steve Pugh - 2007-08-24

      We have been using Aplaws with Tomcat 5.5 without problems for 2 years.

      The latest version of the code shouldn't produce that error. If I remember correctly Sebastian fixed it by catching the exception and allowing the code to continue :)
      So, we now get this on our error log, but the code continues to run fine...

      Error calling ClassLoaderFactory.setDebug(debug). This is probably because this method was removed in Tomcat 5.5, so you can probably ignore it:
      java.lang.NoSuchMethodError: org.apache.catalina.startup.ClassLoaderFactory.setDebug(I)V
              at com.arsdigita.tools.catalina.startup.Bootstrap.main(Unknown Source)

       
    • shawn lane (powers of ten)

      see Stece Pugh's message for details

       
    • pboy

      pboy - 2008-02-04

      Hi Terry,

      I've uploaded the current new documentation files to our project site. You can download it from

      http://ccm.barkhof.uni-bremen.de/ccm/navigation/our-contributions/documentation-improvement/

      Peter

       

Log in to post a comment.