Jeff,
Thanks for the answer.
I put the files in this place, and it does not work... I tried to put some of the files in <Tomcat>\common\lib and it also does not work. It just refuses to see the axis.jar file.
I think maybe there is something wrong with this version of tomcat!
Any other idea?
GC
At 09:48 05/06/2005, you wrote:
Gila, the proper place for the JAR files is:
<Tomcat>\webapps\axis\WEB-INF\lib
Both activation.jar and axis.jar need to be in there along with the other JARs found in the Axis distribution lib folder.
Stop Tomcat before making changes then restart after you have made changes.
Jeff
- ----- Original Message -----
- From: Gila Cohen
- To: [email protected]
- Sent: Sunday, June 05, 2005 2:39 AM
- Subject: Cannot install Axis - Pls. help.
Hello,- I am trying to install axis on a windows 2000 machine with tomcat 4.0.30
- -
- when I try to validate the installation, I am getting the following
- error:
- Error: could not find a dependency of class
- org.apache.axis.transport.http.AxisServlet from file axis.jar
- Axis will not work
- See
- <http://xml.apache.org/axis/>http://xml.apache.org/axis/
- The root cause was: null
- This can happen e.g. if org.apache.axis.transport.http.AxisServlet is in
- the 'common' classpath, but a dependency like activation.jar is only in
- the
- webapp classpath.
- All the other core components are found.
- I saw other people had the same problem, but none of the solutions worked
- for me!
- I put the webapps\axis folder from the installation under my
- tomcat\webapps
- folder, I added the activation.jar file to the same folder, and added all
- the jar files to the classpath.
- Please HELP!!!
- Thanks,
- GC.
- -----------------------------------------------------------------------------
- Here is the result of the validation page:
- Axis Happiness Page
- Examining webapp configuration
- Needed Components
- Found SAAJ API (javax.xml.soap.SOAPMessage) at
- C:\Apache\Tomcat4\webapps\axis\WEB-INF\lib\saaj.jar
- Found JAX-RPC API (javax.xml.rpc.Service) at
- C:\Apache\Tomcat4\webapps\axis\WEB-INF\lib\jaxrpc.jar
- Error: could not find a dependency of class
- org.apache.axis.transport.http.AxisServlet from file axis.jar
- Axis will not work
- See
- <http://xml.apache.org/axis/>http://xml.apache.org/axis/
- The root cause was: null
- This can happen e.g. if org.apache.axis.transport.http.AxisServlet is in
- the 'common' classpath, but a dependency like activation.jar is only in
- the
- webapp classpath.
- Found Jakarta-Commons Discovery (org.apache.commons.discovery.Resource)
- at
- C:\Apache\Tomcat4\webapps\axis\WEB-INF\lib\commons-discovery.jar
- Found Jakarta-Commons Logging (org.apache.commons.logging.Log) at
- C:\Program%20Files\jsdk1.4\jre\lib\ext\commons-logging.jar
- Found Log4j (org.apache.log4j.Layout) at
- C:\Apache\Tomcat4\webapps\axis\WEB-INF\lib\log4j-1.2.8.jar
- Found IBM's WSDL4Java (com.ibm.wsdl.factory.WSDLFactoryImpl) at
- C:\Apache\Tomcat4\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
- C:\Apache\Tomcat4\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/>http://java.sun.com/products/javamail/
- Warning: could not find class org.apache.xml.security.Init from file
- xmlsec.jar
- XML Security is not supported
- See
- <http://xml.apache.org/security/>http://xml.apache.org/security/
- Found Java Secure Socket Extension (javax.net.ssl.SSLSocketFactory)
- at an
- unknown location
- 1 core axis library is missing2 optional axis libraries 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.3
- XML Parser org.apache.crimson.jaxp.SAXParserImpl
- XML ParserLocation an unknown location
- We recommend
- <http://xml.apache.org/xerces2-j/>Xerces
- 2 over Crimson as the
- XML parser for Axis
- Examining System Properties
- java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
- sun.boot.library.path=C:\Program Files\jsdk1.4\jre\bin
- java.vm.version=1.4.0-b92
- vendor-url="" href="http://xml.apache.org/xalan-j">http://xml.apache.org/xalan-j
- java.vm.vendor=Sun Microsystems Inc.
- java.vendor.url="" href="http://java.sun.com/">http://java.sun.com/
- path.separator=;
- java.vm.name=Java HotSpot(TM) Server VM
- file.encoding.pkg=sun.io
- user.country=IL
- sun.os.patch.level=Service Pack 4
- java.vm.specification.name=Java Virtual Machine Specification
- user.dir=C:\WINNT\system32
- org.xml.sax.driver=org.apache.xerces.parsers.SAXParser
- java.runtime.version=1.4.0-b92
- java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
- java.endorsed.dirs=C:\Apache\Tomcat4\common\endorsed
- os.arch=x86
- java.io.tmpdir=C:\WINNT\TEMP\
- line.separator=
- java.vm.specification.vendor=Sun Microsystems Inc.
- user.variant=
- java.naming.factory.url.pkgs=org.apache.naming
- os.name=Windows 2000
- sun.java2d.fontpath=
- vendor=Apache Software Foundation
- java.library.path=C:\Apache\Tomcat4\bin;.;C:\WINNT\system32;C:\WINNT;C:\WINNT\system32
- \
- ;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program
- Files\jsdk1.4\jre\lib;C:\Program \
- Files\jsdk1.4\jre\BIN;C:\Program
- Files\jsdk1.4\jre\lib\ext;C:\Program \
- Files\jsdk1.4\bin;C:\Program \
- Files\jsdk1.4\lib;c:\apache\ant\bin;C:\Apache\Apache2\biogis\damage\bin\win32;C:\Progr
- \
- am Files\Microsoft SQL
- Server\80\Tools\BINN;C:\ArcGIS\ArcSDE\sqlexe\bin;C:\MATLAB7\bin\win32;c:\apache\axis\l
- \
- ib java.specification.name=Java Platform API Specification
- java.class.version=48.0
- java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory
- os.version=5.0
- sun.io.useCanonCaches=false
- user.home=C:\Documents and Settings\Default User.WINNT
- user.timezone=GMT+02:00
- catalina.useNaming=true
- java.awt.printerjob=sun.awt.windows.WPrinterJob
- java.specification.version=1.4
- file.encoding=UTF-8
- catalina.home=C:\Apache\Tomcat4
- user.name=SYSTEM
- java.class.path=C:\Apache\Tomcat4\bin\bootstrap.jar
- java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory
- java.vm.specification.version=1.0
- sun.arch.data.model=32
- java.home=C:\Program Files\jsdk1.4\jre
- java.specification.vendor=Sun Microsystems Inc.
- user.language=iw
- awt.toolkit=sun.awt.windows.WToolkit
- java.vm.info=mixed mode
- java.version=1.4.0
- java.ext.dirs=C:\Program Files\jsdk1.4\jre\lib\ext
- sun.boot.class.path=C:\Program Files\jsdk1.4\jre\lib\rt.jar;C:\Program
- Files\jsdk1.4\jre\lib\i18n.jar;C:\Program
- Files\jsdk1.4\jre\lib\sunrsasign.jar;C:\Program
- Files\jsdk1.4\jre\lib\jsse.jar;C:\Program
- Files\jsdk1.4\jre\lib\jce.jar;C:\Program
- Files\jsdk1.4\jre\lib\charsets.jar;C:\Program Files\jsdk1.4\jre\classes
- java.vendor=Sun Microsystems Inc.
- catalina.base=C:\Apache\Tomcat4
- file.separator=\
- java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
- sun.cpu.endian=little
- sun.io.unicode.encoding=UnicodeLittle
- version=1.0
- sun.cpu.isalist=pentium i486 i386
- ----------
- Platform: Apache Tomcat/4.1.30-LE-jdk14
