You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Kashif Saleem <Ka...@newcastle.ac.uk> on 2006/06/23 16:15:58 UTC
[AXIS 1.4]Problem in running axis with security
Hi All,
I am trying to run axis1.4 on apache-tomcat-5.5.17 but I am getting the following error on Axis happiness page:
Axis Happiness Page
Examining webapp configuration
Language: [en] [ja]
Needed Components
* Found SAAJ API ( javax.xml.soap.SOAPMessage ) at /a/green/cs/research/medic/home0/paramedic/ucackxs/Desktop/softwares/apache-tomcat-5.5.17/webapps/axis/WEB-INF/lib/saaj.jar
* Found JAX-RPC API ( javax.xml.rpc.Service ) at /a/green/cs/research/medic/home0/paramedic/ucackxs/Desktop/softwares/apache-tomcat-5.5.17/webapps/axis/WEB-INF/lib/jaxrpc.jar
* Found Apache-Axis ( org.apache.axis.transport.http.AxisServlet ) at /a/green/cs/research/medic/home0/paramedic/ucackxs/Desktop/softwares/apache-tomcat-5.5.17/webapps/axis/WEB-INF/lib/axis.jar
* Found Jakarta-Commons Discovery ( org.apache.commons.discovery.Resource ) at /a/green/cs/research/medic/home0/paramedic/ucackxs/Desktop/softwares/apache-tomcat-5.5.17/webapps/axis/WEB-INF/lib/commons-discovery-0.2.jar
* Found Jakarta-Commons Logging ( org.apache.commons.logging.Log ) at /a/green/cs/research/medic/home0/paramedic/ucackxs/Desktop/softwares/apache-tomcat-5.5.17/bin/commons-logging-api.jar
* Found Log4j ( org.apache.log4j.Layout ) at /a/green/cs/research/medic/home0/paramedic/ucackxs/Desktop/softwares/apache-tomcat-5.5.17/webapps/axis/WEB-INF/lib/log4j-1.2.8.jar
* Found IBM's WSDL4Java ( com.ibm.wsdl.factory.WSDLFactoryImpl ) at /a/green/cs/research/medic/home0/paramedic/ucackxs/Desktop/softwares/apache-tomcat-5.5.17/webapps/axis/WEB-INF/lib/wsdl4j-1.5.1.jar
* Found JAXP implementation ( javax.xml.parsers.SAXParserFactory ) at an unknown location
* Found Activation API ( javax.activation.DataHandler ) at /a/green/cs/research/medic/home0/paramedic/ucackxs/Desktop/softwares/apache-tomcat-5.5.17/webapps/axis/WEB-INF/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 XML Security is not supported.
See http://xml.apache.org/security/ {4}
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 wanted optional axis librar(ies) are missing
Note: On Tomcat 4.x and Java1.4, you may need to put libraries that contain java.* or javax.* packages into CATALINA_HOME/common/lib
jaxrpc.jar and saaj.jar are two such libraries.
Note: Even if everything this page probes for is present, there is no guarantee your web service will work, because there are many configuration options that we do not check for. These tests are necessary but not sufficient
Examining Application Server
Servlet version 2.4
XML Parser org.apache.xerces.jaxp.SAXParserImpl
XML ParserLocation /a/green/cs/research/medic/home0/paramedic/ucackxs/Desktop/softwares/apache-tomcat-5.5.17/shared/lib/xercesImpl.jar
Examining System Properties
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
sun.boot.library.path=/usr/opt/SUNWjava/jdk1.5.0_05/jre/lib/i386
java.vm.version=1.5.0_05-b05
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
java.util.logging.config.file=/cs/research/medic/home0/paramedic/ucackxs/Desktop/softwares/apache-tomcat-5.5.17/conf/logging.properties
user.country=GB
sun.os.patch.level=unknown
java.vm.specification.name=Java Virtual Machine Specification
user.dir=/a/green/cs/research/medic/home0/paramedic/ucackxs/Desktop/softwares/apache-tomcat-5.5.17/webapps/axis/WEB-INF/lib
java.runtime.version=1.5.0_05-b05
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.endorsed.dirs=/cs/research/medic/home0/paramedic/ucackxs/Desktop/softwares/apache-tomcat-5.5.17/common/endorsed
os.arch=i386
java.io.tmpdir=/cs/research/medic/home0/paramedic/ucackxs/Desktop/softwares/apache-tomcat-5.5.17/temp
line.separator=
java.vm.specification.vendor=Sun Microsystems Inc.
java.util.logging.manager=org.apache.juli.ClassLoaderLogManager
java.naming.factory.url.pkgs=org.apache.naming
os.name=Linux
sun.jnu.encoding=UTF-8
java.library.path=/usr/opt/SUNWjava/jdk1.5.0_05/jre/lib/i386/client:/usr/opt/SUNWjava/jdk1.5.0_05/jre/lib/i386:/usr/opt/SUNWjava/jdk1.5.0_05/jre/../lib/i386:/opt/ucl/lib:/usr/X11R6/lib
java.specification.name=Java Platform API Specification
java.class.version=49.0
sun.management.compiler=HotSpot Client Compiler
os.version=2.4.21-27.0.2.ELsmp
user.home=/cs/research/medic/home0/paramedic/ucackxs
user.timezone=Europe/London
catalina.useNaming=true
java.awt.printerjob=sun.print.PSPrinterJob
java.specification.version=1.5
file.encoding=UTF-8
catalina.home=/cs/research/medic/home0/paramedic/ucackxs/Desktop/softwares/apache-tomcat-5.5.17
user.name=ucackxs
java.class.path=:/cs/research/medic/home0/paramedic/ucackxs/Desktop/softwares/apache-tomcat-5.5.17/bin/bootstrap.jar:/cs/research/medic/home0/paramedic/ucackxs/Desktop/softwares/apache-tomcat-5.5.17/bin/commons-logging-api.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=/usr/opt/SUNWjava/jdk1.5.0_05/jre
java.specification.vendor=Sun Microsystems Inc.
user.language=en
java.vm.info=mixed mode, sharing
java.version=1.5.0_05
java.ext.dirs=/usr/opt/SUNWjava/jdk1.5.0_05/jre/lib/ext
sun.boot.class.path=/usr/opt/SUNWjava/jdk1.5.0_05/jre/lib/rt.jar:/usr/opt/SUNWjava/jdk1.5.0_05/jre/lib/i18n.jar:/usr/opt/SUNWjava/jdk1.5.0_05/jre/lib/sunrsasign.jar:/usr/opt/SUNWjava/jdk1.5.0_05/jre/lib/jsse.jar:/usr/opt/SUNWjava/jdk1.5.0_05/jre/lib/jce.jar:/usr/opt/SUNWjava/jdk1.5.0_05/jre/lib/charsets.jar:/usr/opt/SUNWjava/jdk1.5.0_05/jre/classes
java.vendor=Sun Microsystems Inc.
server.loader=${catalina.home}/server/classes,${catalina.home}/server/lib/*.jar
catalina.base=/cs/research/medic/home0/paramedic/ucackxs/Desktop/softwares/apache-tomcat-5.5.17
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.cpu.isalist=
Platform: Apache Tomcat/5.5.17
I checked the jar files in my WEB-INF/lib directory :
activation.jar axis.jar commons-discovery-0.2.jar jaxrpc.jar saaj.jar wss4j.jar
axis-ant.jar axis-schema.jar commons-logging-1.0.4.jar log4j-1.2.8.jar wsdl4j-1.5.1.jar xmlsec-1.2.1.jar
I would appreciate if someone could tell me whats the possible cause of this error.
Kind Regards
Kashif Saleem
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org