Hi, I tried with several combinations. I had xmlsec.jar and activation.jar in the same folder, it was <tomcat>/shared/lib, and it caused the problem I just told you.
Then, I though to move xmlsec.jar to the webapp lib directory and left activation.jar into shared/lib, according with the classloader order I understood from you. Then I restarted tomcat, refreshed happyaxis page, and it told me the same problem. So I decided to place both jars in the webapp directory, restarted and reloaded page.. the same prob.. As last option, I left activation.jar in the webapp dir and xmlsec.jar into <tomcat>/shared/lib, did the same restart process, and it was the same problem. To play the last chance, I tried placing activation.jar in <tomcat>/common/lib, and leaving xmlsec.jar first on shared/lib and later in webapps dir, as expected, they also didn't work. According to the code in happyaxis.jsp, when invoking its method needClass(String className) it is throwing NoClassDefFoundError exception. If it were unable to find the class, it will lauch a ClassNotFoundException (method classExists(String className) in happyaxis.jsp), right? It finds the class but it has a wrong class definition or doesn't exist (according with doc found about java api). Is this a version incompatibility ? What could I do then? this is happyaxis dump: ----------- Needed Components Found SAAJ API (javax.xml.soap.SOAPMessage) at D:\Programas\Tomcat 5.5\webapps\axis\WEB-INF\lib\saaj.jar Found JAX-RPC API (javax.xml.rpc.Service) at D:\Programas\Tomcat 5.5\webapps\axis\WEB-INF\lib\jaxrpc.jar Found Apache-Axis (org.apache.axis.transport.http.AxisServlet) at D:\Programas\Tomcat 5.5\webapps\axis\WEB-INF\lib\axis.jar Found Jakarta-Commons Discovery (org.apache.commons.discovery.Resource) at D:\Programas\Tomcat 5.5\webapps\axis\WEB-INF\lib\commons-discovery.jar Found Jakarta-Commons Logging (org.apache.commons.logging.Log) at D:\Programas\Tomcat%205.5\bin\commons-logging-api.jar Found Log4j (org.apache.log4j.Layout) at D:\Programas\Tomcat 5.5\webapps\axis\WEB-INF\lib\log4j-1.2.8.jar Found IBM's WSDL4Java (com.ibm.wsdl.factory.WSDLFactoryImpl) at D:\Programas\Tomcat 5.5\webapps\axis\WEB-INF\lib\wsdl4j.jar Found JAXP implementation (javax.xml.parsers.SAXParserFactory) at an unknown location Found Activation API (javax.activation.DataHandler) at D:\Programas\Tomcat 5.5\shared\lib\activation.jar Optional Components Warning: could not find class javax.mail.internet.MimeMessage from file mail.jar Attachments will not work See http://java.sun.com/products/javamail/ 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 The core axis libraries are present. 2 optional axis libraries are missing Examining Application Server Servlet version 2.4 XML Parser com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl XML ParserLocation an unknown location xamining System Properties java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition sun.boot.library.path=D:\Programas\JRE 1.5\bin java.vm.version=1.5.0_02-b09 shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar java.vm.vendor=Sun Microsystems Inc. java.vendor.url=http://java.sun.com/ path.separator=; java.vm.name=Java HotSpot(TM) Client VM tomcat.util.buf.StringCache.byte.enabled=true file.encoding.pkg=sun.io user.country=CR sun.os.patch.level=Service Pack 2 java.vm.specification.name=Java Virtual Machine Specification user.dir=C:\WINDOWS\system32 java.runtime.version=1.5.0_02-b09 java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment java.endorsed.dirs=D:\Programas\Tomcat 5.5\common\endorsed os.arch=x86 java.io.tmpdir=D:\Programas\Tomcat 5.5\temp line.separator= java.vm.specification.vendor=Sun Microsystems Inc. user.variant= java.util.logging.manager=org.apache.juli.ClassLoaderLogManager java.naming.factory.url.pkgs=org.apache.naming os.name=Windows XP sun.jnu.encoding=Cp1252 java.library.path=D:\Programas\Tomcat 5.5\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Archivos de programa\Windows Resource Kits\Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Programas\MySQL Server 4.1\bin java.specification.name=Java Platform API Specification java.class.version=49.0 sun.management.compiler=HotSpot Client Compiler os.version=5.1 user.home=C:\ user.timezone=GMT-06:00 catalina.useNaming=true java.awt.printerjob=sun.awt.windows.WPrinterJob java.specification.version=1.5 file.encoding=Cp1252 catalina.home=D:\Programas\Tomcat 5.5 user.name=SYSTEM java.class.path=D:\Programas\Tomcat 5.5\bin\bootstrap.jar java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper. java.vm.specification.version=1.0 sun.arch.data.model=32 java.home=D:\Programas\JRE 1.5 java.specification.vendor=Sun Microsystems Inc. user.language=es awt.toolkit=sun.awt.windows.WToolkit java.vm.info=mixed mode, sharing java.version=1.5.0_02 java.ext.dirs=D:\Programas\JRE 1.5\lib\ext sun.boot.class.path=D:\Programas\JRE 1.5\lib\rt.jar;D:\Programas\JRE 1.5\lib\i18n.jar;D:\Programas\JRE 1.5\lib\sunrsasign.jar;D:\Programas\JRE 1.5\lib\jsse.jar;D:\Programas\JRE 1.5\lib\jce.jar;D:\Programas\JRE 1.5\lib\charsets.jar;D:\Programas\JRE 1.5\classes java.vendor=Sun Microsystems Inc. server.loader=${catalina.home}/server/classes,${catalina.home}/server/lib/*.jar catalina.base=D:\Programas\Tomcat 5.5 file.separator=\ java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi common.loader=${catalina.home}/common/classes,${catalina.home}/common/i18n/*.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/lib/*.jar sun.cpu.endian=little sun.io.unicode.encoding=UnicodeLittle package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans. sun.desktop=windows sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86 Platform: Apache Tomcat/5.5.9 -- 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"
