What about tomcat-3.2.3?  I've been doing a lot of searching; all I've found
were trouble reports and no solutions.  Can you provide a  URL, please?

Thanks,
Noel

Guys, not to be short-tempered here or anything, but open your eyes!

These class loading issues have been a hot topic on the list for the last week,
while all of you are writing/reading your own messages.

1) Search or browse the list the archives.

2) See classloader.html that describes Catalina's class loading architecture.
You might have to browse the CVS repository...
/jakarta-tomcat-4.0/catalina/docs/dev/classloader.html.

- r

On Thu, 23 Aug 2001 10:07:06 -0400 [EMAIL PROTECTED] wrote:
> I'm also having problems with WEB-INF/lib. At the time the JSP is compiled,
> it seems that the Java compiler doesn't use WEB-INF/lib. What can be done
> about this?
>
> Thanks,
> Noel
>
> hi,
>
> There are three basic areas that classes can be put in tomcat:
>
> WEB-INF/classes
>   - contains all the classes that form the web application
> WEB-INF/lib
>   - contains jars that the web application uses
> TOMCAT_HOME/lib
>   - contains jars that are available to _all_ applications using tomcat
>
> > because i put all the package (com.oreilly.servlet.*) in the same
> directory > with the servlet (under web-inf/classes/ com/servlet/
> directory)
>
> if it is the package com.oreilly.servlet then it should go in
> WEB-INF/classes/com/oreilly/servlet - even better, I assume you got it as
> a jar, just put the jar in WEB-INF/lib .  If it is a zip, then rename it
> to a jar.
>
> > i tried putting the cos.jar file in the web-inf/lib directory, it didn't
> > work
>
> what do you mean it didn't work?  try jar -tf cos.jar to check that the
> classes are in the jar.  I assume you are importing the required classes
> and that they exist in the jar.
>
> > in put these files directly under the web-inf/classes/   directory , it
> > didn't work either
>
> again, should be according to package
>
> > then i added the full path <tomcat_home>/lib/cos.jar, to the classpath,
> > didn't work either.
>
> I'm not sure why that didn't work - although if you put cos.jar in the
> classpath it _should_ be available to all web applications.
>
> > well, i gave up, i just wanted to learn the LOGICAL way to set the
> classpath > up.
>
> you dont need to set the classpath yourself.  just put your jars in
> WEB-INF/lib and your classes in WEB-INF/classes
>
> hth, cheers
> dim
>
>
>
>
>
> This communication is for informational purposes only. It is not intended
> as an offer or solicitation for the purchase or sale of any financial
> instrument or as an official confirmation of any transaction. All market
> prices, data and other information are not warranted as to completeness or
> accuracy and are subject to change without notice. Any comments or
> statements made herein do not necessarily reflect those of J.P. Morgan
> Chase & Co., its subsidiaries and affiliates.







This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.

Reply via email to