The first problem could be avoided by leaving xmlsec in the webapp lib dir. 

As for the second one... I do not know :(

On 8/5/05, Thad Humphries <[EMAIL PROTECTED]> wrote:
> I have almost the problem as Jonathan.  I'm running Tomcat 5.5.9 with Java 1.5
> on Linux.  My message reads:
> 
> See http://xml.apache.org/security/ {4}
> The root cause was: org/apache/commons/logging/LogFactory
> 
> This happens whether I put xmlsec-1.2.1.jar in $CATALINA_HOME/common/lib or
> $CATALINA_HOME/common/endorsed.  When I put xmlsec-1.2.1.jar in
> $CATALINA_HOME/webapps/axis/WEB-INF/lib, the message was
> 
> See http://xml.apache.org/security/ {4}
> The root cause was: {0}
> 
> What does this mean?  Should I be using an older version of xmlsec-1.2.1.jar?
> 
> On Friday 05 August 2005 09:58, Javier Gonzalez wrote:
> > 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
> 


-- 
Javier Gonzalez Nicolini

Reply via email to