java.net.ConnectException: Connection timed out

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

java.net.ConnectException: Connection timed out

Jose Ramos



Hi,

 

I haven’t been able to find any relevant information in google about this error.  I did try several versions of JDK (  1.4, 1.5 and 1.6 ) . It is running in Solaris 10.

 

This error is happening for any build type.

 

Any ideas why this error ?

 

 

Thanks  and Regards,



Jose

-------------------------
Started by user anonymousUpdating http://codeshare.jpmorgan.com/svnx/wm/WorkStation/AlertsPortlet/branches/AlertsPortletAt revision 298581no change for http://codeshare.jpmorgan.com/svnx/wm/WorkStation/AlertsPortlet/branches/AlertsPortlet since the previous buildERROR: Failed to parse POMsjava.net.ConnectException: Connection timed out        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)        at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1225)        at java.security.AccessController.doPrivileged(Native Method)        at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1219)        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:906)        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)        at hudson.tools.JDKInstaller.locateStage1(JDKInstaller.java:241)        at hudson.tools.JDKInstaller.locate(JDKInstaller.java:227)        at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:114)        at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61)        at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:99)        at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:155)        at hudson.model.JDK.forNode(JDK.java:118)        at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:458)        at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:314)        at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:271)        at hudson.model.Run.run(Run.java:938)        at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:234)        at hudson.model.ResourceController.execute(ResourceController.java:93)        at hudson.model.Executor.run(Executor.java:118)Caused by: java.net.ConnectException: Connection timed out        at java.net.PlainSocketImpl.socketConnect(Native Method)        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)        at java.net.Socket.connect(Socket.java:520)        at java.net.Socket.connect(Socket.java:470)        at sun.net.NetworkClient.doConnect(NetworkClient.java:157)        at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)        at sun.net.www.http.HttpClient.openServer(HttpClient.java:523)        at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:278)        at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:335)        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:176)        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:765)        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:162)        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:934)        at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:1923)        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getHeaderField(HttpsURLConnectionImpl.java:271)        at hudson.tools.JDKInstaller.locateStage1(JDKInstaller.java:235)        ... 13 moreFinished: FAILURE

 
Hudson ver. 1.313


 




   Restaurant Franchise
Free info on hundreds of money making restaurants and food franchises. Click Now!
Click Here For More Information
 
Reply | Threaded
Open this post in threaded view
|

Re: java.net.ConnectException: Connection timed out

Kohsuke Kawaguchi
Administrator

I think we need to see the whole stack trace.

Jose Ramos wrote:

>
>
> Hi,
>
>  
>
> I haven’t been able to find any relevant information in google about this error.  I did try several versions of JDK (  1.4, 1.5 and 1.6 ) . It is running in Solaris 10.
>
>  
>
> This error is happening for any build type.
>
>  
>
> Any ideas why this error ?
>
>  
>
>  
>
> Thanks  and Regards,
>
>
>
> Jose
>
> -------------------------
> Started by user anonymousUpdating http://codeshare.jpmorgan.com/svnx/wm/WorkStation/AlertsPortlet/branches/AlertsPortletAt revision 298581no change for http://codeshare.jpmorgan.com/svnx/wm/WorkStation/AlertsPortlet/branches/AlertsPortlet since the previous buildERROR: Failed to parse POMsjava.net.ConnectException: Connection timed out        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)        at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1225)        at java.security.AccessController.doPrivileged(Native Method)        at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1219)        at sun.net.www
.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:906)        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)        at hudson.tools.JDKInstaller.locateStage1(JDKInstaller.java:241)        at hudson.tools.JDKInstaller.locate(JDKInstaller.java:227)        at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:114)        at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61)        at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:99)        at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:155)        at hudson.model.JDK.forNode(JDK.java:118)        at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:458)        at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:314)        at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:271)        at hudson.model.Run.run(Run.j
ava:938)        at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:234)        at hudson.model.ResourceController.execute(ResourceController.java:93)        at hudson.model.Executor.run(Executor.java:118)Caused by: java.net.ConnectException: Connection timed out        at java.net.PlainSocketImpl.socketConnect(Native Method)        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)        at java.net.Socket.connect(Socket.java:520)        at java.net.Socket.connect(Socket.java:470)        at sun.net.NetworkClient.doConnect(NetworkClient.java:157)        at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)        at sun.net.www.http.HttpClient.openServer(HttpClient.java:523)        at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:278)        at sun.net.www.protocol.https.HttpsCli
ent.New(HttpsClient.java:335)        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:176)        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:765)        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:162)        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:934)        at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:1923)        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getHeaderField(HttpsURLConnectionImpl.java:271)        at hudson.tools.JDKInstaller.locateStage1(JDKInstaller.java:235)        ... 13 moreFinished: FAILURE

>
>  
> Hudson ver. 1.313
>
>
>  
>
>
>
>
>
> ------------------------------------------------------------
> Restaurant Franchise
> Free info on hundreds of money making restaurants and food franchises.  Click Now!
> http://tagline.excite.com/fc/FgElN1g4y7T4qqCcl4M24iJ4PN2ikKPd7MLqpB3S6knTTPkYcg4dKobtJKo/
>

--
Kohsuke Kawaguchi
Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/


smime.p7s (4K) Download Attachment