Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Having problem deploying to tomcat on unix

 
Manu Nellutla
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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
webapps/hst/htdocs/*.jsp
'' /admin/*.jsp
'' /public/*.jsp
/WEB_INF/web.xml
'' /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"
etc..

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

----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(StandardWrapper.java:871)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3266)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3395)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)

Please help

Manu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic