Hello,
I'm using Tomcat 5.0.28, Java 1.4.2_02 and Red Hat linux 9. I was able to
start Tomcat ok but when deployed a web application and added the following
to the conf/server.xml
<Connector className="org.globus.tomcat.coyote.net.HTTPSConnector"
port="8443" maxThreads="150" minSpareThreads="25"
maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" debug="0" scheme="https"/>
and
<Valve className="org.globus.tomcat.coyote.valves.HTTPSValve"/>
I started to get ClassNotFoundException about classes in the catalina.jar. So
I modified the CLASSPATH in the bin/catalina.sh file as follows:
CLASSPATH="$CLASSPATH":"$CATALINA_HOME"/bin/bootstrap.jar:"$CATALINA_HOME"/bin/commons-logging-api.jar:"$CATALINA_HOME"/common/lib/commons-digester.jar:"$CATALINA_HOME"/common/lib/commons-collections-3.0.jar:"$CATALINA_HOME"/common/lib/naming-common.jar:"$CATALINA_HOME"/common/lib/commons-beanutils.jar:"$CATALINA_HOME"/common/lib/commons-modeler.jar:"$CATALINA_HOME"/common/lib/servlet.jar:"$CATALINA_HOME"/common/lib/cog-jglobus.jar:"$CATALINA_HOME"/common/lib/naming-resources.jar:"$CATALINA_HOME"/common/lib/puretls.jar:"$CATALINA_HOME"/common/lib/cryptix32.jar:"$CATALINA_HOME"/common/lib/cryptix-asn1.jar:"$CATALINA_HOME"/server/lib/catalina.jar:"$CATALINA_HOME"/server/lib/tomcat-util.jar:"$CATALINA_HOME"/server/lib/tomcat-coyote.jar:"$CATALINA_HOME"/server/lib/cog-tomcat.jar:"$CATALINA_HOME"/server/lib/tomcat-http11.jar:"$CATALINA_HOME"/server/lib/tomcat-jk2.jar
I then started to get the following error:
[main] ERROR digester.Digester - End event threw exception
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:252)
......
.......
[main] ERROR startup.HostConfig - Error deploying configuration descriptor
admin.xml
java.io.IOException: java.lang.NullPointerException
at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:494)
at
org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
I have seen similar error message on the web regarding deploying web
applications but I cant find a concrete answer on its cause. I get the error
message for every web application deployed.
Any ideas greatly apprecipated.
Many thanks,
Julie.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]