RE: classpath problems with a custom valve

2007-09-10 Thread Caldarale, Charles R
> From: Steve Souza [mailto:[EMAIL PROTECTED] > Subject: Re: classpath problems with a custom valve > > What is confusing to me is why when i put my jar into > server/lib, the web app doesn't also have access to > classes loaded from there. Look at the 5.

Re: classpath problems with a custom valve

2007-09-10 Thread Steve Souza
ote: > > > From: Steve Souza [mailto:[EMAIL PROTECTED] > > Subject: Re: classpath problems with a custom valve > > > > It is still a bit mysterious and not ideal as installation > > requires a class put in server/classes as well as the jar in > > common/l

RE: classpath problems with a custom valve

2007-09-10 Thread Caldarale, Charles R
> From: Steve Souza [mailto:[EMAIL PROTECTED] > Subject: Re: classpath problems with a custom valve > > It is still a bit mysterious and not ideal as installation > requires a class put in server/classes as well as the jar in > common/lib, but it will do. Using a valve is by n

Re: classpath problems with a custom valve

2007-09-10 Thread Steve Souza
TED] > > Subject: Re: classpath problems with a custom valve > > > > I get the following exception which seems odd as I saw the missing > class in > > catalina.jar and I compiled against it. > > Java classloading hierarchy is not bidirectional - classes can see only

RE: classpath problems with a custom valve

2007-09-10 Thread Caldarale, Charles R
> From: Steve Souza [mailto:[EMAIL PROTECTED] > Subject: Re: classpath problems with a custom valve > > I get the following exception which seems odd as I saw the missing class in > catalina.jar and I compiled against it. Java classloading hierarchy is not bidirectional - class

Re: classpath problems with a custom valve

2007-09-10 Thread Steve Souza
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) On 9/10/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > From: Steve Souza [mailto:[EMAIL PROTECTED] > > Subject: Re: classpath problems with a custom valve > > > > common/lib is for jars are only needed by web apps whereas &

RE: classpath problems with a custom valve

2007-09-10 Thread Caldarale, Charles R
> From: Steve Souza [mailto:[EMAIL PROTECTED] > Subject: Re: classpath problems with a custom valve > > common/lib is for jars are only needed by web apps whereas > shared/lib is for web apps AND tomcat. Read the doc again - you have it backwards. - Chuck THIS COMMUNICAT

Re: classpath problems with a custom valve

2007-09-10 Thread Steve Souza
hen this classloader repositories are relative to $CATALINA_BASE rather than $CATALINA_HOME. On 9/10/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > From: Steve Souza [mailto:[EMAIL PROTECTED] > > Subject: Re: classpath problems with a custom valve > > > > based o

RE: classpath problems with a custom valve

2007-09-10 Thread Caldarale, Charles R
> From: Steve Souza [mailto:[EMAIL PROTECTED] > Subject: Re: classpath problems with a custom valve > > based on this document I placed my jar in server/lib as both > web apps and tomcat need access to the classes in this jar. What part of the Tomcat doc led you to that conclusi

Re: classpath problems with a custom valve

2007-09-10 Thread Steve Souza
org.apache.catalina.startup.Catalina start On 9/10/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > From: Steve Souza [mailto:[EMAIL PROTECTED] > > Subject: classpath problems with a custom valve > > > > Shouldn't my war be able to see the classes from a jar > >

RE: classpath problems with a custom valve

2007-09-10 Thread Caldarale, Charles R
> From: Steve Souza [mailto:[EMAIL PROTECTED] > Subject: classpath problems with a custom valve > > Shouldn't my war be able to see the classes from a jar > put into server/lib? No - read the doc: http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html You proba

classpath problems with a custom valve

2007-09-10 Thread Steve Souza
I posted a question earlier, but now have some more info I have a custom valve that monitors page accesses in tomcat. It works in tomcat 6, and under tomcat 5.5 that comes bundled with jboss. I can not get it to work in tomcat 5.5.25. I put the jar in server/lib and the war I install that re