5.0.28 errors on startup of web apps

2004-12-09 Thread Julie McCabe
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]



RE: 5.0.28 errors on startup of web apps

2004-12-09 Thread Shapira, Yoav

Hi,
Before I even start dissecting this, where did you get the documentation
that led you down this path?  I don't see any mention of HTTPSValve on
the Tomcat (or FWIW, the entire apache.org) site.

A general Google search shows only one place with this mention: the
Globus site.  I see that you're using their connector, so I assume they
must be supplying the valve as well.  If that's the case, why are you
asking here and not bugging them instead? ;)

I started to get ClassNotFoundException about classes in the
catalina.jar.
So
I modified the CLASSPATH in the bin/catalina.sh file as follows:

That CLASSPATH is not very relevant.  Please consult the Tomcat
Classloader How-To document
(http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html
) to see what classloading repositories are applicable to you.  You
would probably need to place the Globus jars in common/lib, and NOT
modify the bootstrap classpath.

[main] ERROR startup.HostConfig  - Error deploying configuration
descriptor
admin.xml
java.io.IOException: java.lang.NullPointerException

Did you modify admin.xml or the server/webapps/admin directory?

Any ideas greatly apprecipated.

Go yell at someone at Globus, it's their fault.

Yoav Shapira http://www.yoavshapira.com




This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: 5.0.28 errors on startup of web apps

2004-12-09 Thread Julie McCabe
On Thursday 09 December 2004 17:38, Shapira, Yoav wrote:
 Hi,
 Before I even start dissecting this, where did you get the documentation
 that led you down this path?  I don't see any mention of HTTPSValve on
 the Tomcat (or FWIW, the entire apache.org) site.

 A general Google search shows only one place with this mention: the
 Globus site.  I see that you're using their connector, so I assume they
 must be supplying the valve as well.  If that's the case, why are you
 asking here and not bugging them instead? ;)
That is all correct and I am bugging them also - I saw a common problem on 
different web apps on various mailing lists and was wondering was there 
s'thing specific to Tomcat which I was not configuring properly.


 I started to get ClassNotFoundException about classes in the

 catalina.jar.

 So
 I modified the CLASSPATH in the bin/catalina.sh file as follows:

 That CLASSPATH is not very relevant.  Please consult the Tomcat
 Classloader How-To document
 (http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html
 ) to see what classloading repositories are applicable to you.  You
 would probably need to place the Globus jars in common/lib, and NOT
 modify the bootstrap classpath.

 [main] ERROR startup.HostConfig  - Error deploying configuration

 descriptor

 admin.xml
 java.io.IOException: java.lang.NullPointerException

 Did you modify admin.xml or the server/webapps/admin directory?
No I didnt make any modifications to the installed Tomcat.

 Any ideas greatly apprecipated.

 Go yell at someone at Globus, it's their fault.

 Yoav Shapira http://www.yoavshapira.com




 This e-mail, including any attachments, is a confidential business
 communication, and may contain information that is confidential,
 proprietary and/or privileged.  This e-mail is intended only for the
 individual(s) to whom it is addressed, and may not be saved, copied,
 printed, disclosed or used by anyone else.  If you are not the(an) intended
 recipient, please immediately delete this e-mail from your computer system
 and notify the sender.  Thank you.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]