• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ConnectionRefused when deploying web servcie

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic