File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Having problem deploying to tomcat on unix Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Having problem deploying to tomcat on unix" Watch "Having problem deploying to tomcat on unix" New topic

Having problem deploying to tomcat on unix

Manu Nellutla

Joined: Aug 02, 2005
Posts: 3

I have a unix box with tomcat 4.0.3 on it and windows 2000 server with same tomcat version. On windows it works fine. However on Unix when i set this up
i am getting an error.
We have an http server running which maps domain name with the docbase.

I have an web application with the following directory structure
'' /admin/*.jsp
'' /public/*.jsp
'' /classes/*.properties
'' /lib/*.jar (including application jar)
'' /taglib/*.tld

[tomcat_home]/comon/lib/*.jar (including servlet.jar)
[tomcat_home]/conf/server.xml has following text.

<Service name="Tomcat-Apache">
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
port="8009" minProcessors="5" maxProcessors="75" redirectPort="443"
enableLookups="true" scheme="https" secure="true"
acceptCount="10" debug="0"/>
<Host name="localhost" debug="0" appBase="webapps" errorReportValveClass="org.apache.catalina.valves.HstErrorReportValve" unpackWARs="true">
<Context path="" docBase="hst/htdocs" debug="0"/>
<Realm className="org.apache.catalina.realm.HstJDBCRealm" debug="99"

when i start tomcat on unix and go to the http:/
it says page cannot be displayed and displays the following error in the log.

2005-08-30 10:14:42 jsp: init
2005-08-30 10:14:42 StandardWrapper[:cgi]: Loading container servlet cgi
2005-08-30 10:14:42 StandardWrapper[:cgi]: Marking servlet cgi as unavailable
2005-08-30 10:14:42 StandardContext[]: Servlet threw load() exception
javax.servlet.ServletException: Wrapper cannot find servlet class org.apache.catalina.servlets.CGIServlet or a class it depends on
at org.apache.catalina.core.StandardWrapper.loadServlet(
at org.apache.catalina.core.StandardWrapper.load(
at org.apache.catalina.core.StandardContext.loadOnStartup(
at org.apache.catalina.core.StandardContext.start(
at org.apache.catalina.core.ContainerBase.start(
at org.apache.catalina.core.StandardHost.start(
at org.apache.catalina.core.ContainerBase.start(

Please help

I agree. Here's the link:
subject: Having problem deploying to tomcat on unix
It's not a secret anymore!