> 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.
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
> 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
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
> 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
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
&
> 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
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
> 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
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
> >
> 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
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
12 matches
Mail list logo