0 Replies Latest reply on Aug 28, 2002 11:32 PM by johnny_sun

    Tomcat in jboss-3.0.0_tomcat-4.0.3 can not start in linux?

    johnny_sun

      it's a very strange problem.i can use this copy of jbss started correctly in windows. but when i start ist in linux, it throws the java.lang.NoClassDefFoundError: org/apache/catalina/LifecycleListener.
      i found the ostensible reason is that: jboss can not found the catalina library. so i changed the tomcat path in server/default/deploy/tomcat4-service.xml. it's original setting is a relative path showed below:
      <!DOCTYPE server [
      <!ENTITY catalina.home "../catalina">
      ]>
      i changed "../catalina" with a absolute path of tomcat in jboss, then jboss and tomcat can start properly. all i wonder is that: why does the relative path works in windows but does not in linux? can any one give me a solution or reason?