my dog learned polymorphism
The moose likes Web Services and the fly likes Multiple axis2 services using same third party jars Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Multiple axis2 services using same third party jars" Watch "Multiple axis2 services using same third party jars" New topic
Author

Multiple axis2 services using same third party jars

Jane Lynn
Greenhorn

Joined: Dec 05, 2007
Posts: 4
Hi,

I am new to the axis and tomcat. This might be a very easy question. But I couldn�t find the answer after an hour of googling.

I need to implement multiple axis2 web services that use a bunch of third party jars and deploy them to an apache-tomcat-6.0 application server. The application server already has an application deployed that also uses the third party jars. The web services and the application are closely related and would always be deployed together. I am wondering is there a way to refer to the jars in a central location rather than have one copy for axis2 web services and one copy for the application.

Thanks in advance!

Jane
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35241
    
    7
Welcome to JavaRanch.

Instead of keeping the jars in WEB-INF/lib, put them into TOMCAT_HOME/shared/lib. Then they will be usable by all web apps.


Android appsImageJ pluginsJava web charts
Jane Lynn
Greenhorn

Joined: Dec 05, 2007
Posts: 4
Thanks for the answer. I would try it out!

Jane
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Multiple axis2 services using same third party jars
 
Similar Threads
Axis 2 minimal jars for web Services connection
Axis2 1.4 Client Transport error: 501 Error: Not Implemented
Problem with websphere server regarding java.lang.NoSuchMethodError
Axis2 - Securing WS with External Authentication or SSO
Third party place for EJB.