Hi, All

Need advice with Axis installation regarding XML security support.

XML Security is critical for me. Apache XML Security package together with all dependent libraries is installed and works as a separate package.

However after testing Axis installation with happyaxis.jsp I've got this warning (luckily only one):

> Optional Components
>
> Found Mail API (javax.mail.internet.MimeMessage) at C:\Program Files\apache\jakarta-tomcat-4.1.27\common\lib\mail.jar
>
> 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: null
> 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 checked availability of reportedly missed class and it is there and available by CLASSPATH from other classes. No problems with dependency from other packages have been reported.

In connection with this I have a few questions.

1) Does above working mean that Security disabled because of configuration problem or it has been disabled by entire Axis version?

2) Can be the sequence of paths in CLASSPATH and AXISCLASSPAH the reason for above warning and disabling?

3) How 'common' classpath and webapp classpath differ: by CLASSPATH and AXISCLASSPAH or class location in respect to Tomcat Common's in jakarta-tomcat\common\lib and webapps\axis\WEB-INF\lib?

Any other suggestions to fix the problem?

Thanks,

Yuri


Reply via email to