RE: Tomcat is not finding my classes
I don't know if this will help but I've had the same problem in the past and I started putting classes in $TOMACT_HOME/common/lib. This has worked great for everything that was not appropriate for the WEB-INF/lib. Ben -Original Message- From: Faine, Mark [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 3:21 PM To: '[EMAIL PROTECTED]' Subject: Tomcat is not finding my classes Tomat 4.1.27 on Solaris 8 I've spent the past two days reading about classloaders and from what I've read my problem should not exist. Tomcat is not finding classes/jars in $TOMCAT_HOME/shared classes/lib. The only way I can get my classes loaded is to put them in $TOMCAT_HOME/webappx/WEB-INF/classes or $TOMCAT_HOME/webappx/WEB-INF/lib. Does anyone know what could cause this, I've search the bug list but can't find anything. The shared classloader does not seem to be functioning at all. One thing of note. I noticed the Tomcat Docs have a few jar files listed as being default for the shared/lib directory but on my installation they are in common/lib. Is this a problem or out of date docs? Thanks, -Mark - 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]
Re: Tomcat is not finding my classes
what about tomcat_home\common\lib\x.jar tomcat_home\common\classes\x\x.class and do you use an <%@ page="x.*" %> type tag in your jsp files? - Original Message - From: "Faine, Mark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 08, 2004 4:20 PM Subject: Tomcat is not finding my classes > Tomat 4.1.27 on Solaris 8 > > I've spent the past two days reading about classloaders and from what I've > read my problem should not exist. > > Tomcat is not finding classes/jars in $TOMCAT_HOME/shared classes/lib. The > only way I can get my classes loaded is to put them in > $TOMCAT_HOME/webappx/WEB-INF/classes or $TOMCAT_HOME/webappx/WEB-INF/lib. > > Does anyone know what could cause this, I've search the bug list but can't > find anything. > > The shared classloader does not seem to be functioning at all. > > One thing of note. I noticed the Tomcat Docs have a few jar files listed as > being default for the shared/lib directory but on my installation they are > in common/lib. Is this a problem or out of date docs? > > Thanks, > -Mark > > - > 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]
RE: Tomcat is not finding my classes
Nope, not finding them there either. I've tried both. The appropriate place for them would be shared/lib but I've tried common/lib also and would be satisfied if it worked there but the only place it works is in the WEB-INF/classes (unpacked) or WEB-INF/lib (packed). Thanks, -Mark -Original Message- From: Paul [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 6:35 PM To: Tomcat Users List Subject: Re: Tomcat is not finding my classes what about tomcat_home\common\lib\x.jar tomcat_home\common\classes\x\x.class and do you use an <%@ page="x.*" %> type tag in your jsp files? - Original Message - From: "Faine, Mark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 08, 2004 4:20 PM Subject: Tomcat is not finding my classes > Tomat 4.1.27 on Solaris 8 > > I've spent the past two days reading about classloaders and from what > I've read my problem should not exist. > > Tomcat is not finding classes/jars in $TOMCAT_HOME/shared classes/lib. The > only way I can get my classes loaded is to put them in > $TOMCAT_HOME/webappx/WEB-INF/classes or > $TOMCAT_HOME/webappx/WEB-INF/lib. > > Does anyone know what could cause this, I've search the bug list but > can't find anything. > > The shared classloader does not seem to be functioning at all. > > One thing of note. I noticed the Tomcat Docs have a few jar files > listed as > being default for the shared/lib directory but on my installation > they are > in common/lib. Is this a problem or out of date docs? > > Thanks, > -Mark > > - > 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat is not finding my classes
Nope, not finding them there either. I've tried both. The appropriate place for them would be shared/lib but I've tried common/lib also and would be satisfied if it worked there but the only place it works is in the WEB-INF/classes (unpacked) or WEB-INF/lib (packed). Thanks, -Mark -Original Message- From: Hofmann, Benjamin [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 3:27 PM To: 'Tomcat Users List' Subject: RE: Tomcat is not finding my classes I don't know if this will help but I've had the same problem in the past and I started putting classes in $TOMACT_HOME/common/lib. This has worked great for everything that was not appropriate for the WEB-INF/lib. Ben -Original Message- From: Faine, Mark [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 3:21 PM To: '[EMAIL PROTECTED]' Subject: Tomcat is not finding my classes Tomat 4.1.27 on Solaris 8 I've spent the past two days reading about classloaders and from what I've read my problem should not exist. Tomcat is not finding classes/jars in $TOMCAT_HOME/shared classes/lib. The only way I can get my classes loaded is to put them in $TOMCAT_HOME/webappx/WEB-INF/classes or $TOMCAT_HOME/webappx/WEB-INF/lib. Does anyone know what could cause this, I've search the bug list but can't find anything. The shared classloader does not seem to be functioning at all. One thing of note. I noticed the Tomcat Docs have a few jar files listed as being default for the shared/lib directory but on my installation they are in common/lib. Is this a problem or out of date docs? Thanks, -Mark - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]