tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daxin Zuo" <>
Subject TOMCAT, run Servlet on UNIX
Date Thu, 30 Sep 2004 18:31:02 GMT
 My computer is UNIX, Sparc. I use Tomcat version 5.0.28, path=""
 Apache 2.0.43. I can run the same JSP files from both TOMCAT and Apache
with DB connection pool for Oracle.
But I have difficult in Servlet. I cannot run servlet from Tomcat.

In webapps/www/WEB-INF/web.xml, I registered the Servlet:

 the class is in www/WEB-INF/classes, no package, compiled on UNIX with
JDK1.4.2. the class file mode is 777

in tomcat/conf/web.xml, I have:

with http://myComputer:8080/ServletTest, I get error:
        The request resource (/ServletTest) is not available.

I found the contents bellow in the tomcat/conf/web.xml:

I configureed a Tomcat the same why on windows 2000, it runs Servlet well,
but the docBase="ROOT".

Please forward instruction.
Thanks a lot.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message