This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Having problem deploying to tomcat on unix" Watch "Having problem deploying to tomcat on unix" New topic
Author

Having problem deploying to tomcat on unix

Manu Nellutla
Greenhorn

Joined: Aug 02, 2005
Posts: 3
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Having problem deploying to tomcat on unix
 
Similar Threads
error in struts
Tomcat 5.5.7 starting problem
Configuring Tomcat 5.5.7
struts validator plug in error
Error Configuring TomCat