Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sharing libraries in Tomcat

Status
Not open for further replies.

roccosga

Programmer
Apr 5, 2007
1
IT
Hello,
I've a CMS in a jar file and some web applications (web sites) built using this CMS. I've used JBuilder 2006, struts 1.2.4 and Tomcat 5.5. The applications work fine launching them from JBuilder and also deploying them on weapps directory of Tomcat.

THE PROBLEM IS: Most of the libraries are common between every webapp, so my boss asked me to share them. Based on the infos I've found, I supposed it should be enough to move the libraries I wanna share from the directory "[CATALINA_HOME]\webapps\[web-app-name]\WEB-INF\lib" to "[CATALINA_HOME]\shared\lib", but unfortunately none of my webapps works.
But I've seen there's a difference between removing a library ( i get an exception) and moving the library to the shared directory (so I suppose it can see them), but I get the message "Servlet action is currently unavailable"

I hope i was clear in describing the problem, this is my 4th day in this company and I'm afraid i'll not last for a long time here if I'll not solve this problem :)
Thanks in advance for any suggestion
 
Your library shared for different webapps should be put in C:\jakarta-tomcat-5.0.30\common\lib

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top