Hi, I installed JBuilder6 in which there are tomcat 3 and 4. 1. When I run the startup.bat under Jbuilder6/jakarta-tomcat-4.0.1/bin and http://localhost:8080, tomcat 3 index page showed. Why not tomcat 4 index page? I set the CATALINA_HOME = C:/Jbuilder6/jakarta-tomcat-4.0.1, JAVA_HOME = C:/Jbuilder/jdk1.3.1. 2. I put a folder called "test" under Jbuilder6/jakarta-tomcat-4.0.1/webapps. "test" dir contains all jsp pages and I put the class files under WEB-INF/classes. When I run http://localhost:8080/test/index.jsp, it said file not found. How should I configure the jakarta-tomcat-4.0.1/conf/server.xml? Thanks
1. When that happened to me it was due to CATALINA_HOME pointing at the old installation. 2. If you don't have a file named web.xml under WEB-INF, Tomcat will not recognize the test directory as containing a web application. You should not have to change anything in server.xml unless you have special requirements. Bill
For Q.1, I changed the port 8080 to 8888 in server.xml of tomcat 4 and port 5555 in tomcat 3. When I input localhost:8888, tomcat 4 startup page can be loaded. However, when I changed 8888 back to 8080 of tomcat 4 and I typed localhost:8080, tomcat 3 startup page was shown even I changed tomcat 3 with port 5555. Any idea?