I need some help trying to get a shared jar to work in shared/lib. I've searched the archives and found many posts with this issue but no fix.
Win2k Tomcat 4.1.30 JDK 1.42_03 My webapps are based on a framework I developed that is contained within one jar. Up until now I have included this jar with every webapp where it resides in WEB-INF/lib. This works fine but is a pain to support because every change to the framework needs to be pushed to all apps. I would like to share this jar so only one update for all apps is necessary. When moving the jar to shared/lib I get a runtime CNFE on the Login.jsp. The class that can't be found is part of the jar that now resides in shared/lib. Initially I did not have CATALINA_BASE set. I played around with setting CATALINA_BASE and adding the jar to the classpath but nothing seems to work. I then moved the jar to common/lib and the app worked. Tomcat documentation clearly states that shared application code should reside in shared/lib not in common/lib. Should I try to resolve the shared/lib issue or is it OK to leave the jar in common/lib ? Thanks, Marc Wangenheim ********************************************************************** The content of this e-mail message and any attachments are confidential and may be legally privileged, intended solely for the addressee. If you are not the intended recipient, be advised that any use, dissemination, distribution, or copying of this e-mail is strictly prohibited. If you receive this message in error, please notify the sender immediately by reply email and destroy the message and its attachments. **********************************************************************