Fellow Axis users,

A question. I want to make mutiple webservices available on my system. To
accomplish that, I have three instances of Tomcat, with accompanying Axis,
running on one Apache server. The three Axis implementations listen to the
ports 7080, 8080 and 9080 (with ajp12 and ajp13 listening on 7007 and 7009,
8007 and 800,  and 9007 and 9009 respective). I have deployed a service on
Tomcat listening to port 8080, and used that service to generate stubs and
skeletons for the services listening on ports 7080 and 9080. When I want to
deploy these generated services, using Java2WSDL, the services get deployed
on the Tomcat running on poort 8080, instead on the whished for ports 7080
and 9080. What is going wrong here?

Additional information
Tomcat 3.3
Axis Beta1 (March 19)
Win2000

Batch file to generate the deploy the services and generate the wsdl files:
ECHO Deploying Foobar1
java org.apache.axis.client.AdminClient
C:\foo\bar1\tomcat\webapps\axis\WEB-INF\classes\foo\bar1\deploy.wsdd
ECHO Creating webservice for Foobar1
java org.apache.axis.wsdl.Java2WSDL -o
C:\foo\bar1\tomcat\webapps\axis\WEB-INF\classes\foo\bar1\foobar.wsdl 
-l"http://nl-arn-l051682:7080/axis/services/Foobar"; -n"urn:Foobar"
-p"foo.bar1" "urn:Foobar" foo.ba1.Foobar

Note: I ran this batch file while my Tomcats and Axis's where running
Result: Foobar1 is deployed on Tomcat listening on port 8080, instead on
7080.

I even tried it when the server was not running with java
org.apache.axis.utils.Admin deploy.wsdd.For that case I got the following
error message:
AxisFault: AxisFault
 faultCode: http://xml.apache.org/axis/:Server.userException
 faultString: java.net.ConnectException: Connection refused: connect
 faultActor: null
 faultDetail:
        stackTrace: java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)


With regards,

Michel Bergijk

Reply via email to