Okay, I have placed changemgmt.jar into WEB-INF/lib, restarted tomcat. I saw this in the log file:localhost2002-10-28.log:WebappLoader[/changemgmt]: Deploy JAR /WEB-INF/lib/changemgmt.jar to /usr/local/jakarta-tomcat-4.1.12/webapps/changemgmt/WEB-INF/lib/changemg mt.jar
When I submit a jsp form that calls this servlet it throws a class not found exp. and it then makes the servlet unavailable: localhost2002-10-28.log:StandardWrapper[/changemgmt:AddNewChange]: Marking servlet AddNewChange as unavailable The servlet is in a package called com.syrrx.changemgmt, in the jsp file I import com.syrrx.changemgmt.*. This servlet worked fine when it existed as a standalone class in WEB-INF/classes Any ideas what is wrong? Thanks, Chuck -----Original Message----- From: Wendy Smoak [mailto:Wendy.Smoak@;asu.edu] Sent: Mon 10/28/2002 2:58 PM To: 'Tomcat Users List' Cc: Subject: RE: ARG! Moved all my classes into a pakcage and now jsp's cannot findthem > I added TOMCAT_HOME/webapps/changemgmt/WEB-INF/classes/changemgmt.jar to > my classpath and the server classpath. Your .jar file belongs in the 'lib' subdirectory under WEB-INF, not in the 'classes' subdirectory. You shouldn't have to mess with the CLASSPATH... I've never had to. I just drop .jar files into $TOMCAT_HOME/webapps/context/WEB-INF/lib and the classes they contain are automagically available. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management ---------- This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
