Gabriel,
 
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/wsj2ee/

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 -----
Sent: Monday, May 06, 2002 2:55 PM
Subject: Problem installing Axis Beta2 on Tomcat 4.0.4b2

Hi, I hope someone can help. I'm having some trouble deploying the examples in my latest Axis installation. After reading and applying all changes and suggestions in this list, I have the following spec: Tomcat 4.0.4.b2, Axis Beta 2, JDK1.4.0 on Windows2000 Pro. I've tried to deploy the Stock example in the Axis samples directory. I can run the .jws file allright and the service returns the expected value, but when I attempt to deploy, I get an error:
 
When I enter this command from the ./samples/Stock directory...
 
java org.apache.axis.client.AdminClient deploy.wsdd

 
I get the following error... I can't see what's wrong with my setup.
 
- Processing file deploy.wsdd
Exception in thread "main" java.lang.NoSuchMethodError
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:325)
 
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:154)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:121)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:174)
        at org.apache.axis.client.Call.invoke(Call.java:1905)
        at org.apache.axis.client.Call.invoke(Call.java:1155)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:313)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:292)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:299)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:250)
        at org.apache.axis.client.AdminClient.main(AdminClient.java:335)
 
G

Reply via email to