• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Apache Axis 1.1 & Tomcat 5.5 - XML Security optional jar

 
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everyone,

I've finally had the opportunity to delve into the realm of web services and have begun with Apache Axis 1.1 and Tomcat 5.5.9. I get to my happiness page just fine, and have worked through all the required jars...and all the optional jars except for one...the one for the XML Security. However, I'm having trouble getting this one to work, and I'll most likely need the feature in the near future as well.

Here's my warning:

Warning: could not find a dependency of class org.apache.xml.security.Init from file xmlsec.jar
XML Security is not supported
See http://xml.apache.org/security/
The root cause was: org/apache/xpath/compiler/FuncLoader
This can happen e.g. if org.apache.xml.security.Init is in the 'common' classpath, but a dependency like activation.jar is only in the webapp classpath.

I guess the first question to ask is...can Axis 1.1 and Tomcat 5.5 work together...and if so, any ideas about that error?

Many thanks,
bryan
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes (on my machine ), i actually placed all the neccessay jar files from various packages(xerces, xalan,xmlsec,javamail) in to the lib folder of my axis webapp. it worked fine.
 
bryan nelson
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hmmm.

I have the xmlsec.jar and the mail.jar...So you're saying that the xalan.jar and the xerces.jar are also required to obtain this XMLSecurity feature?
 
bryan nelson
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ah, apparently so. Adding the xalan.jar, xml-apis.jar, and the xercesImpl.jar has solved all the problems.

thanks!
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where can I download the xmlsec.jar, the apache pages seem need to get the source then compile it yourself.
 
Balaji Loganathan
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Christina Wang:
Where can I download the xmlsec.jar, the apache pages seem need to get the source then compile it yourself.



here => http://xml.apache.org/security/download.html
 
Christina Wang
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Cool, i got it, actually, it is linked there, I only checked at the end of the page.
 
That's a very big dog. I think I want to go home now and hug this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic