Kavish,

Thanks, found it out myself, just a moment ago by looking in the source of
Adminclient. My argument is now:
java org.apache.axis.client.AdminClient
C:\foo\bar1\tomcat\webapps\axis\deploy.wsdd -h myurl -p 7080

I very much appreciate your reply.

Michel

-----Original Message-----
From: Kavish Agarwal [mailto:[EMAIL PROTECTED]]
Sent: woensdag 27 maart 2002 10:21
To: [EMAIL PROTECTED]
Subject: RE: Error while deploying wsdd: java.net.ConnectException:
Connec tion refused: connect


You can do that by supplyng port number as argument like below

 java org.apache.axis.client.AdminClient -p[port number where your axis
engine is running] wsdd file path.

exam:
lets say your axis is running on port 7080
so you should give the command like below;

java org.apache.axis.client.AdminClient -p7080 deploy.wsdd


Kavish

-----Original Message-----
From: Michel Bergijk [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 2:40 PM
To: [EMAIL PROTECTED]
Subject: RE: Error while deploying wsdd: java.net.ConnectException:
Connec tion refused: connect


Kavish,

Yes, you where right, but it was not completely so ...

Yesterday I entered a call about multiple instances of Tomcat/Axis running
on one Apache. I wanted to deploy a client wsdd, and found out the client
was deployed on the server instance of Tomcat/Axis. Can you help me with
that?

Imagine, I have an Axis listening on port 8080, on which a webapplication is
running. A client must be able to connect to this Axis and make an
appointment with a service listening on either port 7080 or 9080. I want to
deploy the wsdd's of 7080 and 9080, but got it deployed on 8080. 

When I have the Axis running 0n 7080 only, I got this ConnectException,
because Axis on port 8080 was not running. So, how can I deploy my wsdd on
another port?

Michel

-----Original Message-----
From: Kavish Agarwal [mailto:[EMAIL PROTECTED]]
Sent: woensdag 27 maart 2002 9:53
To: [EMAIL PROTECTED]
Subject: RE: Error while deploying wsdd: java.net.ConnectException:
Connec tion refused: connect


Might be Axis engine is not running or it's running on some other port
number.

-----Original Message-----
From: Michel Bergijk [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 2:11 PM
To: axis (E-mail)
Subject: Error while deploying wsdd: java.net.ConnectException:
Connection refused: connect


Hello Axis users,

While deploying a wsdd file I got an java.net.ConnectException. Does anyone
know why this fails? As far as I know it worked previously. May it be a
proxy problem?

The call I used: 
ECHO Deplying foo's wsdd file
java org.apache.axis.client.AdminClient com\foo\deploy.wsdd

The result:
Deploying foo's wsdd file
- Processing file com\foo\deploy.wsdd
- 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)
        at java.net.Socket.<init>(Unknown Source)
        at java.net.Socket.<init>(Unknown Source)
        at org.apache.axis.transport.http.HTTPSender.invoke(Unknown Source)
        at org.apache.axis.strategies.InvocationStrategy.visit(Unknown
Source)
        at org.apache.axis.SimpleChain.doVisiting(Unknown Source)
        at org.apache.axis.SimpleChain.invoke(Unknown Source)
        at org.apache.axis.client.AxisClient.invoke(Unknown Source)
        at org.apache.axis.client.Call.invoke(Unknown Source)
        at org.apache.axis.client.Call.invoke(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.process(Unknown Source)
        at org.apache.axis.client.AdminClient.process(Unknown Source)
        at org.apache.axis.client.AdminClient.main(Unknown Source)


With regards,

Michel Bergijk

Reply via email to