Make sure you can telnet to the host you are trying to connect to.  The
default for axis samples is localhost 8080.  If you cannot telnet to that,
then that is why you are getting a refusal from the socket.  If you have
changed the default to something else, then make sure you can telnet to that
hostname and port.  (Type in >>> telnet [hostname] [port] and make sure you
do not get a connection failed response.)  If that still fails, try pinging
the host to get its ip-address and then try connecting directly to the
ip-address.  You just replace hostname with the ip-address of the host and
leave the port the same.  You still need an http:// in the front of the
ip-address.
- Adam

-----Original Message-----
From: Liu, C.C [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 04, 2002 8:20 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Axis on WebLogic server


Adam,

Thank you very much, it's there, I extracted it but didn't get the help
I need from it.
The reason I want to take a look at that config file is because when
I tried to deploy any of the samples on Weblogic by the command:

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

I always got the Exceptions:

Processing file deploy.wsdd
AxisFault
  faultCode: http://xml.apache.org/axis/:Server.userException
  faultString: java.net.ConnectException: Connection refused
  faultActor: null
  faultDetail:
        exceptionName: java.net.ConnectException
        stackTrace: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
        at java.net.Socket.<init>(Socket.java:273)
        at java.net.Socket.<init>(Socket.java:100)
        at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:265)
        at
org.apache.axis.SimpleTargetedChain.invoke(SimpleTargetedChain.java:104)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:178)
        at org.apache.axis.client.Call.invoke(Call.java:1254)
        at org.apache.axis.client.Call.invoke(Call.java:658)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:323)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:303)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:310)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:261)
        at org.apache.axis.client.AdminClient.main(AdminClient.java:344)

It seems that the code is look for a pre-defined port, e.g. 8080, and
I want to know if there is a way to direct it to different socket port.

        C.C. Liu


-----Original Message-----
From: Adam.Leggett [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 04, 2002 4:56 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Axis on WebLogic server


If you pulled down the alpha3 binary you'll find server-config.wsdd in the
axis.jar. Should be in in the \org\apache\axis\server package.

-----Original Message-----
From: Liu, C.C [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 01, 2002 5:04 PM
To: '[EMAIL PROTECTED]'
Subject: Axis on WebLogic server


Hi,

Has anyone installed Axis on BEA WebLogic server and has it worked out?

Also, I could not find the config file "server-config.wsdd", which is
mentioned in the documentation but is not in the download package. Could
anyone tell me where to get it?

Thanks.

        C.C. Liu

Reply via email to