$ java org.apache.axis.client.AdminClient -l"http://yourhost:port/servlet/AxisServlet" list
If you installed Axis with "/axis" context, it should be:
$ java org.apache.axis.client.AdminClient -l"http://yourhost:port/axis/servlet/AxisServlet" list
Hope it helps.
Zhaohua Meng
Philip Li wrote:
I got the connection refused exception when I tried to run the
AdminClient (for securitydeploy.wsdd first, and later just the list
option). I was able to run the simple calculator example, and Tomcat
4.1.18 seems to run just fine as a Win2K service. Did I miss something
basic? Any help would be greatly appreciated.
Philip
- Exception:
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(PlainSocketImpl.java:295)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
at java.net.Socket.connect(Socket.java:425)
at java.net.Socket.connect(Socket.java:375)
at java.net.Socket.<init>(Socket.java:290)
at java.net.Socket.<init>(Socket.java:118)
at
org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocket
Factory.java:131)
at
org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:175)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:118)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.j
ava:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
at org.apache.axis.client.Call.invoke(Call.java:2102)
at org.apache.axis.client.Call.invoke(Call.java:1296)
at
org.apache.axis.client.AdminClient.process(AdminClient.java:319)
at
org.apache.axis.client.AdminClient.process(AdminClient.java:289)
at org.apache.axis.client.AdminClient.list(AdminClient.java:149)
at org.apache.axis.client.AdminClient.list(AdminClient.java:142)
at
org.apache.axis.client.AdminClient.process(AdminClient.java:237)
at org.apache.axis.client.AdminClient.main(AdminClient.java:341)
java.net.ConnectException: Connection refused: connect
at org.apache.axis.AxisFault.makeFault(AxisFault.java:120)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:134)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.j
ava:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
at org.apache.axis.client.Call.invoke(Call.java:2102)
at org.apache.axis.client.Call.invoke(Call.java:1296)
at
org.apache.axis.client.AdminClient.process(AdminClient.java:319)
at
org.apache.axis.client.AdminClient.process(AdminClient.java:289)
at org.apache.axis.client.AdminClient.list(AdminClient.java:149)
at org.apache.axis.client.AdminClient.list(AdminClient.java:142)
at
org.apache.axis.client.AdminClient.process(AdminClient.java:237)
at org.apache.axis.client.AdminClient.main(AdminClient.java:341)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
at java.net.Socket.connect(Socket.java:425)
at java.net.Socket.connect(Socket.java:375)
at java.net.Socket.<init>(Socket.java:290)
at java.net.Socket.<init>(Socket.java:118)
at
org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocket
Factory.java:131)
at
org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:175)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:118)
... 13 more