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 SUNILK_CHAMARTI <SU...@infosys.com> on 2003/07/03 11:20:44 UTC
List of deployed Services
While determining the list of deployed services, I am using the command java org.apache.axis.client.AdminClient list. This is giving me the following exeception. I also tried to use this command with -l option but this does not work. Any pointers.
C:\oc4j_extended\j2ee\home\default-web-app\examples\jsp\axis>java org.apache.axis.client.AdminClient -lhttp://localhost:8080/servlet/AdminServlet list
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.userException
faultString: java.net.ConnectException: Connection refused: no further information
faultActor: null
faultDetail:
stackTrace: java.net.ConnectException: Connection refused: no further information
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:329)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:141)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:128)
at java.net.Socket.<init>(Socket.java:285)
at java.net.Socket.<init>(Socket.java:112)
at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.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.java: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: no further information
java.net.ConnectException: Connection refused: no further information
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:329)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:141)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:128)
at java.net.Socket.<init>(Socket.java:285)
at java.net.Socket.<init>(Socket.java:112)
at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.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.java: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)
[ERROR] AdminClient - -Exception: <java.net.ConnectException: Connection refused: no further information>
Re: List of deployed Services
Posted by Akhil Gupta <ag...@eircom.net>.
Hi Sunil
Are you sure you are giving the link to the proper web server. From your
previous mails it looks like
you hava http://localhost:8888/<webapp>/servlet/AxisServlet
where you web server is running.
In the mail below it looks like you are connecting to
http://localhost:8080/servlet/AdminServlet
Akhil
----- Original Message -----
From: "SUNILK_CHAMARTI" <SU...@infosys.com>
To: <ax...@ws.apache.org>
Sent: Thursday, July 03, 2003 10:20 AM
Subject: List of deployed Services
While determining the list of deployed services, I am using the command java
org.apache.axis.client.AdminClient list. This is giving me the following
exeception. I also tried to use this command with -l option but this does
not work. Any pointers.
C:\oc4j_extended\j2ee\home\default-web-app\examples\jsp\axis>java
org.apache.axis.client.AdminClient -lhttp://localhost:8080/servlet/AdminServ
let list
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.userException
faultString: java.net.ConnectException: Connection refused: no further
information
faultActor: null
faultDetail:
stackTrace: java.net.ConnectException: Connection refused: no
further information
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:329)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:141)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:128)
at java.net.Socket.<init>(Socket.java:285)
at java.net.Socket.<init>(Socket.java:112)
at
org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFact
ory.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.java:
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: no further information
java.net.ConnectException: Connection refused: no further information
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:329)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:141)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:128)
at java.net.Socket.<init>(Socket.java:285)
at java.net.Socket.<init>(Socket.java:112)
at
org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFact
ory.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.java:
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)
[ERROR] AdminClient - -Exception: <java.net.ConnectException: Connection
refused: no further information>