• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Required jars in Axis2 libraries?

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When I try to create a dynamic web project in Eclipse with Axis2 (Project Facets), a ton of jars are always loaded in my Web App Libraries. These jars are from Axis2. I'm wondering if I can delete some of these jars or are they all being used by Axis2? Can you give me a list of jars which are not being used by Axis2 and is only there just in case I want to use it explicitly? Also, are all commons jars required in Axis2?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
While some of the libraries are used only in particular scenarios (like Antlr and Mail) and some are most likely wholly redundant (like Xalan and Xerces), that's hard to say in general. Does the number of libraries cause an actual problem you're trying to address?
 
Kelly Powell
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
@Ulf Dittmer: The problem is some of the jars in my Web App UI is also using the same jars with a different version. (ie: My Web App UI is using xalan.jar, but my web service is using xalan-2.7.0.jar.) Since my Web App UI and Web Service is under the same project, I have to choose between the jar being used my Web App UI and the jar being used by my Web Service to avoid conflicts. While, as of now, I am not really receiving any error in my Web App UI from using the newer version of Jars, I am afraid that an error may suddenly pop up in the future. Also, I would like to have a cleaner library without the unnecessary jars.
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your web app most likely needs no separate copies of either Xerces or Xalan at all, provided you run at least on a Java 5 JRE (which includes those).
 
Kelly Powell
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
@Ulf Dittmer: Thanks! I already replaced my previous Xalan jar with a newer version. As of now, everything seems fine.
 
grapes are vegan food pellets. Eat this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic