• 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

errn238 wehn reboot calling web services as client form web services server

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I have been looking for a solution for the following during last two weeks and i´am becoming almost crazy, so any help will be welcomed

I have a Web Service with Axis2 that publish several methods. One of this methods call two external (Internet) Web Services so for this web services i am a client. The client for this Web Services is made with Axis 1.4.

I can say that all works fine but when we boot the web server (tomcat and i have also test in JBoss) the client for this web services don´t work it raises

AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.net.ConnectException: Connection timed out (errno:238)
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.net.ConnectException: Connection timed out (errno:238)

When trying to connect to the external Web Services. The rest of the methods i publish in Axis2 if they don´t have to call these external web services, works fine.

Tomcat server 6 and jdk 1.5 (also tested with 1.6)

I´m becoming crazy because this source code works fine until a boot is made and after that calling external web services don´t work. To make it work i have to undeploy mi Web Service un Axis2 an redeploy and sometimes i also have to redeploy Axis2.

Any idea please?

Thanks in advance
 
reply
    Bookmark Topic Watch Topic
  • New Topic