LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to make Tomcat 4.0.1 and Tomcat 5.0.28 coexist in one server? (https://www.linuxquestions.org/questions/linux-software-2/how-to-make-tomcat-4-0-1-and-tomcat-5-0-28-coexist-in-one-server-445268/)

g18397 05-16-2006 03:16 AM

How to make Tomcat 4.0.1 and Tomcat 5.0.28 coexist in one server?
 
Hi,

Our SUN Solaris server already installed Tomcat 4.0.1. I want to install Tomcat 5.0.28 in the server as well.

I changed the ports in /usr/local/jakarta-tomcat-5.0.28/conf/server.xml

For Tomcat 5.0.28 I use port 8180 for http, 8105 for shutdown, 8109 for Coyote/JK2 AJP 1.3 Connector.
What other should I configure?

$ ./startup.sh
Using CATALINA_BASE: /usr/local/jakarta-tomcat-5.0.28
Using CATALINA_HOME: /usr/local/jakarta-tomcat-5.0.28
Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-5.0.28/temp
Using JAVA_HOME: /usr/local/j2sdk1.4.2_11
[e03k703:trakpvs:g18397]:/usr/local/jakarta-tomcat-5.0.28/bin
$

But I failed to access http://e03k703:8180

There is error message in catalina.out as below:

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/s
tartup/Bootstrap



Then I ran netstat -an | grep 8180, no finding.
I can find 8080 which is for Tomcat 4.0.1.

What other should I configure?

Best regards,
Jerry

Best Regards,

Jerry Zhang ( 张东 )


All times are GMT -5. The time now is 10:22 PM.