|
From: Ng C. Y. [Cyng] <cy...@cs...> - 2003-04-17 02:32:48
|
Hi,
First of all, I would like to know what version of Tomcat you
are using. And do you make any special configuration to Tomcat after
the installation?
> 2003-04-16 15:08:02 StandardContext[/msh]: Servlet /msh threw load()
> exception
> javax.servlet.ServletException: Class
> org.apache.jasper.servlet.JspServlet is not a Servlet
> at org.apache.catalina.core.StandardWrapper.load(Unknown Source)
> at org.apache.catalina.core.StandardContext.loadOnStartup(Unknown
Source)
You are right. I don't think the problem is related to the database
connection. From the above exception messages, it seems that Tomcat does
not regard org.apache.jasper.servlet.JspServlet as a servlet (say, by
simple class name checking) such that a ClassCastException is thrown.
This should be related to the Tomcat version or the version of servlet.jar
in $TOMCAT_HOME/common/lib.
Also, in the msh.properties.xml, there are some lines like:
> <URL>http://localhost:8080/C:\Program Files\Tomcat\webapps\msh/</URL>
> <AuthenticationFile>##catalina.home##/msh_passwd</AuthenticationFile>
Obviously, the context path of the URL should not be something like
\C:\Program Files\Tomcat\webapps\msh and why is there "##catalina.home##"
in the AuthenticationFile? Do you generate this properties file from
test/ directory? If so, the "deploy.properties" file incorrectly set.
Also, please note that the msh.properties.xml in test/ is supposed to
do some simple (and quite obsolete) testings. If you find difficulties
in generating it from "deploy.properties", I would suggest you to edit
manually msh.properties.xml in conf/.
Regards,
CY
----------------------------------------------------------------------------
Ng Chi Yuen, CY. cy...@ce... http://www.cecid.hku.hk/
Technology Officer,
Centre for E-Commerce Infrastructure Development,
The University of Hong Kong
----------------------------------------------------------------------------
|