Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 21877 invoked from network); 5 Jun 2005 07:42:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Jun 2005 07:42:31 -0000 Received: (qmail 81777 invoked by uid 500); 5 Jun 2005 07:42:23 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 81499 invoked by uid 500); 5 Jun 2005 07:42:21 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 81485 invoked by uid 99); 5 Jun 2005 07:42:21 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=HTML_20_30,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from cogentlogic.cogentlogic.com (HELO tesla.cogentlogic.com) (66.163.12.83) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 05 Jun 2005 00:42:18 -0700 Received: from THESIGER ([10.0.0.12]) by tesla.cogentlogic.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id L9LYXMHG; Sun, 5 Jun 2005 02:39:01 -0400 Message-ID: <031301c5699a$a630e730$0c00000a@thesiger> From: "Jeff" To: References: <6.0.2.0.0.20050605093741.0252cb80@pob.huji.ac.il> Subject: Re: Cannot install Axis - Pls. help. Date: Sun, 5 Jun 2005 02:48:57 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0310_01C56979.1ED91670" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_0310_01C56979.1ED91670 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Gila, the proper place for the JAR files is: \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 -----=20 From: Gila Cohen=20 To: axis-user@ws.apache.org=20 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 -=20 when I try to validate the installation, I am getting the following error: Error: could not find a dependency of class=20 org.apache.axis.transport.http.AxisServlet from file axis.jar Axis will not work See 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=20 webapp classpath. All the other core components are found. I saw other people had the same problem, but none of the solutions = worked=20 for me! I put the webapps\axis folder from the installation under my tomcat\webapps=20 folder, I added the activation.jar file to the same folder, and added = all=20 the jar files to the classpath. Please HELP!!! Thanks, GC. -------------------------------------------------------------------------= ----=20 Here is the result of the validation page: Axis Happiness Page Examining webapp configuration Needed Components Found SAAJ API (javax.xml.soap.SOAPMessage) at=20 C:\Apache\Tomcat4\webapps\axis\WEB-INF\lib\saaj.jar Found JAX-RPC API (javax.xml.rpc.Service) at=20 C:\Apache\Tomcat4\webapps\axis\WEB-INF\lib\jaxrpc.jar Error: could not find a dependency of class=20 org.apache.axis.transport.http.AxisServlet from file axis.jar Axis will not work See 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=20 webapp classpath. Found Jakarta-Commons Discovery (org.apache.commons.discovery.Resource) at=20 C:\Apache\Tomcat4\webapps\axis\WEB-INF\lib\commons-discovery.jar Found Jakarta-Commons Logging (org.apache.commons.logging.Log) at=20 C:\Program%20Files\jsdk1.4\jre\lib\ext\commons-logging.jar Found Log4j (org.apache.log4j.Layout) at=20 C:\Apache\Tomcat4\webapps\axis\WEB-INF\lib\log4j-1.2.8.jar Found IBM's WSDL4Java (com.ibm.wsdl.factory.WSDLFactoryImpl) at=20 C:\Apache\Tomcat4\webapps\axis\WEB-INF\lib\wsdl4j.jar Found JAXP implementation (javax.xml.parsers.SAXParserFactory) at an=20 unknown location Found Activation API (javax.activation.DataHandler) at=20 C:\Apache\Tomcat4\webapps\axis\WEB-INF\lib\activation.jar Optional Components Warning: could not find class javax.mail.internet.MimeMessage from file=20 mail.jar Attachments will not work See=20 http://java.sun.com/products/java= mail/ 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/ Found Java Secure Socket Extension (javax.net.ssl.SSLSocketFactory) at an=20 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=20 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=20 guarantee your web service will work, because there are many configuration=20 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 Xerces 2 over Crimson as the=20 XML parser for Axis Examining System Properties java.runtime.name=3DJava(TM) 2 Runtime Environment, Standard Edition sun.boot.library.path=3DC:\Program Files\jsdk1.4\jre\bin java.vm.version=3D1.4.0-b92 vendor-url=3Dhttp://xml.apache.org/xalan-j java.vm.vendor=3DSun Microsystems Inc. java.vendor.url=3Dhttp://java.sun.com/ path.separator=3D; java.vm.name=3DJava HotSpot(TM) Server VM file.encoding.pkg=3Dsun.io user.country=3DIL sun.os.patch.level=3DService Pack 4 java.vm.specification.name=3DJava Virtual Machine Specification user.dir=3DC:\WINNT\system32 org.xml.sax.driver=3Dorg.apache.xerces.parsers.SAXParser java.runtime.version=3D1.4.0-b92 java.awt.graphicsenv=3Dsun.awt.Win32GraphicsEnvironment java.endorsed.dirs=3DC:\Apache\Tomcat4\common\endorsed os.arch=3Dx86 java.io.tmpdir=3DC:\WINNT\TEMP\ line.separator=3D java.vm.specification.vendor=3DSun Microsystems Inc. user.variant=3D java.naming.factory.url.pkgs=3Dorg.apache.naming os.name=3DWindows 2000 sun.java2d.fontpath=3D vendor=3DApache Software Foundation java.library.path=3DC:\Apache\Tomcat4\bin;.;C:\WINNT\system32;C:\WINNT;C:= \WINNT\system32 \ ;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program=20 Files\jsdk1.4\jre\lib;C:\Program \ Files\jsdk1.4\jre\BIN;C:\Program=20 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\w= in32;C:\Progr \ am Files\Microsoft SQL=20 Server\80\Tools\BINN;C:\ArcGIS\ArcSDE\sqlexe\bin;C:\MATLAB7\bin\win32;c:\= apache\axis\l \ ib java.specification.name=3DJava Platform API Specification java.class.version=3D48.0 java.util.prefs.PreferencesFactory=3Djava.util.prefs.WindowsPreferencesFa= ctory os.version=3D5.0 sun.io.useCanonCaches=3Dfalse user.home=3DC:\Documents and Settings\Default User.WINNT user.timezone=3DGMT+02:00 catalina.useNaming=3Dtrue java.awt.printerjob=3Dsun.awt.windows.WPrinterJob java.specification.version=3D1.4 file.encoding=3DUTF-8 catalina.home=3DC:\Apache\Tomcat4 user.name=3DSYSTEM java.class.path=3DC:\Apache\Tomcat4\bin\bootstrap.jar java.naming.factory.initial=3Dorg.apache.naming.java.javaURLContextFactor= y java.vm.specification.version=3D1.0 sun.arch.data.model=3D32 java.home=3DC:\Program Files\jsdk1.4\jre java.specification.vendor=3DSun Microsystems Inc. user.language=3Diw awt.toolkit=3Dsun.awt.windows.WToolkit java.vm.info=3Dmixed mode java.version=3D1.4.0 java.ext.dirs=3DC:\Program Files\jsdk1.4\jre\lib\ext sun.boot.class.path=3DC:\Program Files\jsdk1.4\jre\lib\rt.jar;C:\Program = Files\jsdk1.4\jre\lib\i18n.jar;C:\Program=20 Files\jsdk1.4\jre\lib\sunrsasign.jar;C:\Program=20 Files\jsdk1.4\jre\lib\jsse.jar;C:\Program=20 Files\jsdk1.4\jre\lib\jce.jar;C:\Program=20 Files\jsdk1.4\jre\lib\charsets.jar;C:\Program Files\jsdk1.4\jre\classes java.vendor=3DSun Microsystems Inc. catalina.base=3DC:\Apache\Tomcat4 file.separator=3D\ java.vendor.url.bug=3Dhttp://java.sun.com/cgi-bin/bugreport.cgi sun.cpu.endian=3Dlittle sun.io.unicode.encoding=3DUnicodeLittle version=3D1.0 sun.cpu.isalist=3Dpentium i486 i386 ---------- Platform: Apache Tomcat/4.1.30-LE-jdk14 ------=_NextPart_000_0310_01C56979.1ED91670 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Gila, the proper place for the JAR = files=20 is:
   =20 <Tomcat>\webapps\axis\WEB-INF\lib
Both activation.jar and axis.jar need = to be in=20 there along with the other JARs found in the Axis distribution lib=20 folder.
 
Stop Tomcat before making changes then = restart=20 after you have made changes.
 
 
Jeff
 
 
----- Original Message -----
From:=20 Gila=20 Cohen
Sent: Sunday, June 05, 2005 = 2:39 AM
Subject: Cannot install Axis - = Pls.=20 help.



Hello,

I am trying to install axis on a windows 2000 machine with tomcat 4.0.30
-=20
when I try to validate the installation, I am getting the following
error:


Error: could not find a dependency of class=20
org.apache.axis.transport.http.AxisServlet from file axis.jar
Axis will not work
See
<http://xml.apache.org/axis/><=
A href=3D"http://xml.apache.org/axis/" =
eudora=3D"autourl">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=20
webapp classpath.


All the other core components are found.
I saw other people had the same problem, but none of the solutions =
worked=20
for me!

I put the webapps\axis folder from the installation under my
tomcat\webapps=20
folder, I added the activation.jar file to the same folder, and added =
all=20
the jar files to the classpath.

Please HELP!!!

Thanks,
GC.

-------------------------------------------------------------------------=
----=20
Here is the result of the validation page:

Axis Happiness Page

Examining webapp configuration


Needed Components

Found SAAJ API (javax.xml.soap.SOAPMessage) at=20
C:\Apache\Tomcat4\webapps\axis\WEB-INF\lib\saaj.jar
Found JAX-RPC API (javax.xml.rpc.Service) at=20
C:\Apache\Tomcat4\webapps\axis\WEB-INF\lib\jaxrpc.jar

Error: could not find a dependency of class=20
org.apache.axis.transport.http.AxisServlet from file axis.jar
Axis will not work
See
<http://xml.apache.org/axis/><=
A href=3D"http://xml.apache.org/axis/" =
eudora=3D"autourl">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=20
webapp classpath.

Found Jakarta-Commons Discovery (org.apache.commons.discovery.Resource)
at=20
C:\Apache\Tomcat4\webapps\axis\WEB-INF\lib\commons-discovery.jar
Found Jakarta-Commons Logging (org.apache.commons.logging.Log) at=20
C:\Program%20Files\jsdk1.4\jre\lib\ext\commons-logging.jar
Found Log4j (org.apache.log4j.Layout) at=20
C:\Apache\Tomcat4\webapps\axis\WEB-INF\lib\log4j-1.2.8.jar
Found IBM's WSDL4Java (com.ibm.wsdl.factory.WSDLFactoryImpl) at=20
C:\Apache\Tomcat4\webapps\axis\WEB-INF\lib\wsdl4j.jar
Found JAXP implementation (javax.xml.parsers.SAXParserFactory) at an=20
unknown location
Found Activation API (javax.activation.DataHandler) at=20
C:\Apache\Tomcat4\webapps\axis\WEB-INF\lib\activation.jar



Optional Components

Warning: could not find class javax.mail.internet.MimeMessage from file=20
mail.jar
Attachments will not work
See=20
<http://java.sun.com/produ=
cts/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/<=
/A>>http://xml.apache.org/security/

Found Java Secure Socket Extension (javax.net.ssl.SSLSocketFactory)
at an=20
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=20
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=20
guarantee your web service will work, because there are many
configuration=20
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=20
XML parser for Axis



Examining System Properties


java.runtime.name=3DJava(TM) 2 Runtime Environment, Standard Edition
sun.boot.library.path=3DC:\Program Files\jsdk1.4\jre\bin
java.vm.version=3D1.4.0-b92
vendor-url=3Dhttp://xml.apache.org/xalan-j
java.vm.vendor=3DSun Microsystems Inc.
java.vendor.url=3Dhttp://java.sun.com/
path.separator=3D;
java.vm.name=3DJava HotSpot(TM) Server VM
file.encoding.pkg=3Dsun.io
user.country=3DIL
sun.os.patch.level=3DService Pack 4
java.vm.specification.name=3DJava Virtual Machine Specification
user.dir=3DC:\WINNT\system32
org.xml.sax.driver=3Dorg.apache.xerces.parsers.SAXParser
java.runtime.version=3D1.4.0-b92
java.awt.graphicsenv=3Dsun.awt.Win32GraphicsEnvironment
java.endorsed.dirs=3DC:\Apache\Tomcat4\common\endorsed
os.arch=3Dx86
java.io.tmpdir=3DC:\WINNT\TEMP\
line.separator=3D

java.vm.specification.vendor=3DSun Microsystems Inc.
user.variant=3D
java.naming.factory.url.pkgs=3Dorg.apache.naming
os.name=3DWindows 2000
sun.java2d.fontpath=3D
vendor=3DApache Software Foundation
java.library.path=3DC:\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\w=
in32;C:\Progr
\
am  Files\Microsoft SQL=20
Server\80\Tools\BINN;C:\ArcGIS\ArcSDE\sqlexe\bin;C:\MATLAB7\bin\win32;c:\=
apache\axis\l
\
ib java.specification.name=3DJava Platform API Specification
java.class.version=3D48.0
java.util.prefs.PreferencesFactory=3Djava.util.prefs.WindowsPreferencesFa=
ctory
os.version=3D5.0
sun.io.useCanonCaches=3Dfalse
user.home=3DC:\Documents and Settings\Default User.WINNT
user.timezone=3DGMT+02:00
catalina.useNaming=3Dtrue
java.awt.printerjob=3Dsun.awt.windows.WPrinterJob
java.specification.version=3D1.4
file.encoding=3DUTF-8
catalina.home=3DC:\Apache\Tomcat4
user.name=3DSYSTEM
java.class.path=3DC:\Apache\Tomcat4\bin\bootstrap.jar
java.naming.factory.initial=3Dorg.apache.naming.java.javaURLContextFactor=
y
java.vm.specification.version=3D1.0
sun.arch.data.model=3D32
java.home=3DC:\Program Files\jsdk1.4\jre
java.specification.vendor=3DSun Microsystems Inc.
user.language=3Diw
awt.toolkit=3Dsun.awt.windows.WToolkit
java.vm.info=3Dmixed mode
java.version=3D1.4.0
java.ext.dirs=3DC:\Program Files\jsdk1.4\jre\lib\ext
sun.boot.class.path=3DC:\Program Files\jsdk1.4\jre\lib\rt.jar;C:\Program =

Files\jsdk1.4\jre\lib\i18n.jar;C:\Program=20
Files\jsdk1.4\jre\lib\sunrsasign.jar;C:\Program=20
Files\jsdk1.4\jre\lib\jsse.jar;C:\Program=20
Files\jsdk1.4\jre\lib\jce.jar;C:\Program=20
Files\jsdk1.4\jre\lib\charsets.jar;C:\Program Files\jsdk1.4\jre\classes
java.vendor=3DSun Microsystems Inc.
catalina.base=3DC:\Apache\Tomcat4
file.separator=3D\
java.vendor.url.bug=3Dhttp://java.sun.com/cg=
i-bin/bugreport.cgi
sun.cpu.endian=3Dlittle
sun.io.unicode.encoding=3DUnicodeLittle
version=3D1.0
sun.cpu.isalist=3Dpentium i486 i386

----------
Platform: Apache Tomcat/4.1.30-LE-jdk14




------=_NextPart_000_0310_01C56979.1ED91670--