Thanks this worked...   I also had one other issue - had to put some other items in 
my classpath..  

 Thanks again
 LrAu

-----Original Message-----
From: Daniel Chisholm
To: [EMAIL PROTECTED]
Sent: 5/6/2002 5:45 PM
Subject: Re: AXIS Install issue

Laurence,

Anybody attempting to run Axis with J2SDK 1.4 and Tomcat 4.0 will need
to
set the Java system property java.endorsed.dirs.

"Note: The system property java.endorsed.dirs specifies one or more
directories where the Java runtime environment searches for JAR files.
You
must set this system property only when running J2EE SDK 1.3.x on the
J2SDK
1.4."

The above quote was copied from the following link.

http://developer.java.sun.com/developer/technicalArticles/WebServices/ws
j2ee
/

Unfortunately, I did not see a similar comment in the Apache
documentation.
Certainly, it wasn't in the installation instructions.

I set the java.endorsed.dirs system variable in the
%CATALINA_HOME%\bin\setclasspath.bat file.  Of course, UNIX users should
use
setclasspath.sh.

The following is from %CATALINA_HOME%\bin\setclasspath.bat.

rem Set the default -Djava.endorsed.dirs argument
set
JAVA_ENDORSED_DIRS=%BASEDIR%\bin;%BASEDIR%\common\lib;%BASEDIR%\webapps\
axis
\WEB-INF\lib

Just add  %BASEDIR%\webapps\axis\WEB-INF\lib.

Dan




----- Original Message -----
From: Gold, Laurence (MLIM)
To: '[EMAIL PROTECTED]'
Sent: Monday, May 06, 2002 2:00 PM
Subject: AXIS Install issue


I am installing axis, but cannot get the server to work.
The error I am getting is -

java.lang.NoClassDefFoundError: javax/xml/soap/SOAPElement
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
        it goes on and on...


I am using Tomcat 4, java 1.4,  on win2k  (I also tried tomcat 3)

My classpath is as follows:
CLASSPATH=C:\soap-2_2\lib\xerces.jar;C:\axis\lib\axis.jar;C:\axis\lib\co
mmon
s-logging.jar;C:\axis\lib\jaxrpc.jar;C:\axis\lib\log4j-core.jar;C:\axis\
lib\
tt-byecode.jar;C:\axis\lib\wsdl4j.jar

Any help would be appreciated

Thanks

Laurence Marc Gold
e. [EMAIL PROTECTED]




Reply via email to