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 Michael Wang <mi...@s1.com> on 2002/04/17 21:47:39 UTC

Need help on install AXIS

First thanks for any hint and/or help.


It seems that I miss something.
Here is what I have done.

1) install tomcat 4.0.4-b2 
2) copy axis to webapps under tomcat.
3) start tomcat web server
4) adding following jar files under axis\WEB-INF\lib to class path.
axis.jar, clutil.jar, commons-logging.jar, jaxrpc.jar, log4j-core.jar,
tt-bytecode.jar, wsdl4j.jar, xerces.jar

So far so good.  

Then in webapps\axis\WEB-INF\classes directory, run following command as
Step 5 of installation guide.
java org.apache.axis.client.AdminClient
-lhttp://localhost:8080/axis/services/AdminService deploy.wsdd 

I got 
C:\webservices\Apache Tomcat 4.0\webapps\axis\WEB-INF\classes>java
org.apache.ax
is.client.AdminClient - lhttp://localhost:8080/axis/services/AdminService
deploy
.wsdd
- Processing file lhttp://localhost:8080/axis/services/AdminService
- Exception:
java.io.FileNotFoundException:
lhttp://localhost:8080/axis/services/AdminService
 (The filename, directory name, or volume label syntax is incorrect)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:64)
        at org.apache.axis.client.AdminClient.process(Unknown Source)
        at org.apache.axis.client.AdminClient.process(Unknown Source)
        at org.apache.axis.client.AdminClient.process(Unknown Source)
        at org.apache.axis.client.AdminClient.main(Unknown Source)



Also, I try to run testing of step 6.
	java samples.stock.GetQuote
-lhttp://localhost:8080/axis/servlet/AxisServlet -uuser1 -wpass1 XXX 

I got 
C:\webservices\Apache Tomcat 4.0\webapps\axis\WEB-INF\classes>java
samples.stock
.GetQuote -lhttp://localhost:8080/axis/servlet/AxisServlet -uuser1 -wpass1
XXX
AxisFault
 faultCode: ns1:Server.NoService
 faultString: The AXIS engine could not find a target service to invoke!
target
Service is null
 faultActor: null
 faultDetail:
        stackTrace: The AXIS engine could not find a target service to
invoke!
targetService is null
        at org.apache.axis.server.AxisServer.invoke(Unknown Source)
        at org.apache.axis.transport.http.AxisServlet.doPost(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:247)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF


RE: Need help on install AXIS

Posted by Brenda Coulson <bc...@cysive.com>.
You are running the AdminClient from the wrong directory. You should be
running it from the directory of the service you are trying to deploy which
is where you will find the WSDD file. Note: you may have to change the file
name if your WSDD has a different name. For instance, if you wish to run the
Stock Quote service sample, run the AdminClient from the
<AXIS-ROOT>\samples\stock directory, which does contain a deploy.wsdd file.

Once you fix this, step #6 should work. I can see, after reviewing the
installation guide, how it is confusing. Essentially, in step #5 you need to
deploy the Stock Quote service for Step #6 to work. But the installation
guide just tells you to run the AdminClient tool for the WSDD file you wish
to deploy. Somewhat misleading.

regards-
brenda

-----Original Message-----
From: Michael Wang [mailto:michael.wang@s1.com]
Sent: Wednesday, April 17, 2002 3:48 PM
To: 'axis-user@xml.apache.org'
Subject: Need help on install AXIS


First thanks for any hint and/or help.


It seems that I miss something.
Here is what I have done.

1) install tomcat 4.0.4-b2
2) copy axis to webapps under tomcat.
3) start tomcat web server
4) adding following jar files under axis\WEB-INF\lib to class path.
axis.jar, clutil.jar, commons-logging.jar, jaxrpc.jar, log4j-core.jar,
tt-bytecode.jar, wsdl4j.jar, xerces.jar

So far so good.

Then in webapps\axis\WEB-INF\classes directory, run following command as
Step 5 of installation guide.
java org.apache.axis.client.AdminClient
-lhttp://localhost:8080/axis/services/AdminService deploy.wsdd

I got
C:\webservices\Apache Tomcat 4.0\webapps\axis\WEB-INF\classes>java
org.apache.ax
is.client.AdminClient - lhttp://localhost:8080/axis/services/AdminService
deploy
.wsdd
- Processing file lhttp://localhost:8080/axis/services/AdminService
- Exception:
java.io.FileNotFoundException:
lhttp://localhost:8080/axis/services/AdminService
 (The filename, directory name, or volume label syntax is incorrect)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:64)
        at org.apache.axis.client.AdminClient.process(Unknown Source)
        at org.apache.axis.client.AdminClient.process(Unknown Source)
        at org.apache.axis.client.AdminClient.process(Unknown Source)
        at org.apache.axis.client.AdminClient.main(Unknown Source)



Also, I try to run testing of step 6.
	java samples.stock.GetQuote
-lhttp://localhost:8080/axis/servlet/AxisServlet -uuser1 -wpass1 XXX

I got
C:\webservices\Apache Tomcat 4.0\webapps\axis\WEB-INF\classes>java
samples.stock
.GetQuote -lhttp://localhost:8080/axis/servlet/AxisServlet -uuser1 -wpass1
XXX
AxisFault
 faultCode: ns1:Server.NoService
 faultString: The AXIS engine could not find a target service to invoke!
target
Service is null
 faultActor: null
 faultDetail:
        stackTrace: The AXIS engine could not find a target service to
invoke!
targetService is null
        at org.apache.axis.server.AxisServer.invoke(Unknown Source)
        at org.apache.axis.transport.http.AxisServlet.doPost(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:247)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF