Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-991

Issues with Tomcat 6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0
    • Application servers
    • None
    • Jetspeed trunk 772355
      Apache Tomcat 6.0.18

    Description

      Tomcat 6 configuration needs to be adjusted for Jetspeed to start and run properly (where Tomcat 5.5.26 works out of the box). In catalina.properties,

      common.loader=${catalina.home}/lib,${catalina.home}/lib/*.jar

      must be changed into

      common.loader=${catalina.home}/lib,${catalina.home}/lib/.jar,${catalina.base}/lib/.jar,${catalina.base}/common/endorsed/.jar,${catalina.base}/shared/lib/.jar

      Otherwise exceptions occur when starting Tomcat:

      SEVERE: Error deploying configuration descriptor myportal.xml
      java.lang.NoClassDefFoundError: org/apache/jetspeed/security/User

      and

      SEVERE: error stopping
      LifecycleException: Pipeline has not been started

      To reproduce

      • download Tomcat 6.0.18 and unzip – do not touch any configuration files
      • generate a custom portal with the maven archetype
      • edit Jetspeed configuration and set server directory to location of downloaded/unzipped Tomcat 6.0.18
      • build and deploy custom portal (mvn jetspeed:mvn -Dtarget=all)
      • start Tomcat

      Attachments

        Activity

          People

            rwatler W. Randall Watler
            nielsvk Niels van Kampenhout
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: