Where are xmlsec.jar and activation.jar located? (the hint that the
error message told you)

IIRC, in Tomcat the classloaders are ordered like this: webapp ->
shared -> common -> system. The classloaders can look in that order
and not in the reverse order. That is, if A.jar is on the webapp lib
dir, B.jar is in shared/lib, and A depends on B, it's ok, since the
webapp classloader can ask the next classloader for B. But if B
depends on A, then you'll have an error because the shared classloader
can't look "back" into the webapp classloader.

On 8/5/05, Jonathan J. Vargas R. <[EMAIL PROTECTED]> wrote:
> Greets,
> 
> I tried to install xmlsec into axis, but seems axis has problems doing
> this. The problem is with xmlsec, but I still don't know how to solve
> it or fix it. I am using tomcat, This is the happyaxis report:
> 
> 
> Optional Components
> 
> 
> 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.
> 
> Found Java Secure Socket Extension (javax.net.ssl.SSLSocketFactory) at
> an unknown location
> 
> 
> --
> Jonathan J. Vargas Rodriguez
> [EMAIL PROTECTED]
> "Conservar el silencio interior cuando vuelo en la tormenta me es
> mejor, porque asi ya no soy otra gota de la tempestad"
> 


-- 
Javier Gonzalez Nicolini

Reply via email to