Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Can't find classes in jar files in WEB-INF (was: Recurring (looping?) error messages)

aladdin

2007-02-17

Replies:

When I put my webapp.jar file in the WEB-INF directory, it doesn't find the
app. When I exploded it into the classes directory, and associated
subdirectories, they are found fine, but I get this problem (the one below).

This, it turns out, is triggered by the fact I have the webapp.jar file in the
lib directory and all the classes unpacked in the classes directory (both
under WEB-INF, of course). Getting rid of the webapp.jar file in the lib
directory solves the problem below, but now tomcat won't use that the jar
file in the lib directory, even though when it's unpacked in the classes
directory, he seems perfectly happy. Is there some magic I need for tomcat
to use .jar files in the WEB-INF/lib directory, like an entry in web.xml or
server.xml?

On Friday 16 February 2007 22:52, aladdin wrote:
> I was getting a message like "SEVERE PersistenceManager persistence not
> enabled", or something like that (I don't remember) so I disabled
> (commented out) the Manager tag in server.xml that configured the
> PersistenceManager. Now, I'm getting
>
> Feb 16, 2007 9:26:34 PM org.apache.catalina.loader.WebappClassLoader
> modified INFO:   Additional JARs have been added
> Feb 16, 2007 9:26:34 PM org.apache.catalina.core.StandardContext reload
> INFO: Reloading this Context has started
>
> over and over in the log files. Anyone know what's causing this? I
> thought maybe tomcat was restarting, but the PID doesn't change. It seems
> to work, but it's filling up my log files.
>
> TIA
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.