RE: Errnn238 after boot calling web services

Oscar Rugama <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <[email protected]>
Hi,
  

  I configure http connection like that:

   http 

                System.setProperty("http.proxySet", "true");
                System.setProperty("http.proxyHost", ConfigurationManager.getProperty("ws.proxy.host"));
                System.setProperty("http.proxyPort", ConfigurationManager.getProperty("ws.proxy.port"));
                System.setProperty("http.proxyType",ConfigurationManager.getProperty("ws.proxy.type"));
          
                System.setProperty("http.proxyUser", proxyUser);
                System.setProperty("http.proxyPassword", proxyPassword);

  https
 
          
                System.setProperty("https.proxySet",ConfigurationManager.getProperty("asnef.proxySet"));
                System.setProperty("https.proxyHost",ConfigurationManager.getProperty("ws.proxy.host"));
                System.setProperty("https.proxyPort",ConfigurationManager.getProperty("ws.proxy.port"));
                System.setProperty("https.proxyType",ConfigurationManager.getProperty("ws.proxy.type"));

                System.setProperty("https.proxyUser", proxyUser);
                System.setProperty("https.proxyPassword", proxyPassword);
              

  As i said in one mail before, all this code works until we re-start tomcat (shutdown and startup) when it stars to fail and get errn238

  Thank you very much
  Kind regards,
  Oscar




> From: [email protected]
> Date: Mon, 12 Nov 2012 19:35:13 +0100
> Subject: Re: Errnn238 after boot calling web services
> To: [email protected]
> 
> The problem is that the following line in the stack trace is in the
> code path that is executed for direct connections:
> 
>         at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:120)
> 
> How do you configure the HTTP proxy to be used by your Web application?
> 
> Andreas
> 
> On Mon, Nov 12, 2012 at 7:24 PM, Oscar Rugama <[email protected]> wrote:
> >
> > It goles through a Http Proxy, no direct connection
> >
> > Thanks
> > Oscar
> >
> > El 12/11/2012, a las 19:19, "Andreas Veithen" <[email protected]> escribió:
> >
> >> Are these connections expected to go through an HTTP proxy or are they
> >> direct connections?
> >>
> >> Andreas
> >>
> >> On Mon, Nov 12, 2012 at 8:18 AM, Oscar Rugama <[email protected]> wrote:
> >>>
> >>> Hi Andreas,
> >>>
> >>>    Please find attached stack trace of the ConnectException?
> >>>
> >>>  Thanks in advance
> >>>  Kind regards,
> >>>  Oscar
> >>>
> >>>
> >>>
> >>>> From: [email protected]
> >>>> Date: Sun, 11 Nov 2012 20:09:56 +0100
> >>>
> >>>> Subject: Re: Errnn238 after boot calling web services
> >>>> To: [email protected]
> >>>
> >>>>
> >>>> Do you have the complete stack trace of the ConnectException?
> >>>>
> >>>> Andreas
> >>>>
> >>>> On Sun, Nov 11, 2012 at 9:28 AM, Oscar Rugama <[email protected]>
> >>>> wrote:
> >>>>> 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
> >>>>> Oscar
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: [email protected]
> >>>> For additional commands, e-mail: [email protected]
> >>>>
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: [email protected]
> >>> For additional commands, e-mail: [email protected]
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.