This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Web Services and the fly likes ConnectionRefused when deploying web servcie Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "ConnectionRefused when deploying web servcie" Watch "ConnectionRefused when deploying web servcie" New topic
Author

ConnectionRefused when deploying web servcie

Ashley Copley
Greenhorn

Joined: May 18, 2006
Posts: 3
I am trying to deploy a web service on another server after getting a connection to the server through putty. I am using the foll. command:

java -cp "<path>/axis.jar:<path>/axis-ant.jar:<path>/jaxrpc.jar:<path>/saaj.jar:<path>/wsdl4j.jar:<path>/commons-discovery.jar:<path>/commons-logging.jar:<path>/log4j-1.2.8.jar:<path>/jakarta-poi-1.5.1-final-20020615.jar:.:" org.apache.axis.client.AdminClient -lhttp://localhost:<port>/xoraapps/services/AdminService <path>/deployMyServices.wsdd

I get the foll exception:
Exception:: (401)Unauthorized

And when I specify localhost instead of the IP address using the foll:

java -cp "<path>/axis.jar:<path>/axis-ant.jar:<path>/jaxrpc.jar:<path>/saaj.jar:<path>/wsdl4j.jar:<path>/commons-discovery.jar:<path>/commons-logging.jar:<path>/log4j-1.2.8.jar:<path>/jakarta-poi-1.5.1-final-20020615.jar:.:" org.apache.axis.client.AdminClient -lhttp://<ip address>:<port>/xoraapps/services/AdminService <path>/deployMyServices.wsdd

I get Exception:
Processing file <path>/deployMyServices.wsdd
java.net.ConnectException: Connection refused

My resin is up and running and I also have the wsdd file in the correct location...

Could anybody resolve this issue? I wonder why its giving me a connection refused exception.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: ConnectionRefused when deploying web servcie