java.net.ConnectException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check if your MongoDB is available.


rp
tip

host port isnt set

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • I installed the jfrog artifactory version 2.2.1 on our Linux environment and the ARTIFACTORY_HOME is set on our shared file system (NFS) mount. I deployed it as a .war file (artifactory.war) in our JBoss 4.3 EAP server. It starts up just fine and deploys correctly. I am able to access the artifactory url just fine (http://57.6.233.185:8080/artifactory/webapp/home.html) and am able to perform the functionality just fine. However, in the "artifactory.log", I noticed a WARN of the following below. What does this affect? ============================================================= 2010-02-25 15:07:51,758 [art-init] [WARN ] (o.a.j.c.q.l.SearchIndex:1218) - Exception parsing /apps/software/jfrog/artifactory-2.2.1/data/index/index_config.xml java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) [na:1.6.0_07] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) [na:1.6.0_07] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) [na:1.6.0_07] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) [na:1.6.0_07] at java.net.Socket.connect(Socket.java:519) [na:1.6.0_07] at java.net.Socket.connect(Socket.java:469) [na:1.6.0_07] at sun.net.NetworkClient.doConnect(NetworkClient.java:157) [na:1.6.0_07] at sun.net.www.http.HttpClient.openServer(HttpClient.java:394) [na:1.6.0_07] at sun.net.www.http.HttpClient.openServer(HttpClient.java:529) [na:1.6.0_07] at sun.net.www.http.HttpClient.<init>(HttpClient.java:233) [na:1.6.0_07] at sun.net.www.http.HttpClient.New(HttpClient.java:306) [na:1.6.0_07] at sun.net.www.http.HttpClient.New(HttpClient.java:323) [na:1.6.0_07] at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:788) [na:1.6.0_07] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:729) [na:1.6.0_07] at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:654) [na:1.6.0_07] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:977) [na:1.6.0_07] at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) [na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) [na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source) [na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source) [na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source) [na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) [na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) [na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)]
    via by Hawn Nguyen,
  • I installed the jfrog artifactory version 2.2.1 on our Linux environment and the ARTIFACTORY_HOME is set on our shared file system (NFS) mount. I deployed it as a .war file (artifactory.war) in our JBoss 4.3 EAP server. It starts up just fine and deploys correctly. I am able to access the artifactory url just fine (http://57.6.233.185:8080/artifactory/webapp/home.html) and am able to perform the functionality just fine. However, in the "artifactory.log", I noticed a WARN of the following below. What does this affect? ============================================================= 2010-02-25 15:07:51,758 [art-init] [WARN ] (o.a.j.c.q.l.SearchIndex:1218) - Exception parsing /apps/software/jfrog/artifactory-2.2.1/data/index/index_config.xml java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) [na:1.6.0_07] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) [na:1.6.0_07] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) [na:1.6.0_07] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) [na:1.6.0_07] at java.net.Socket.connect(Socket.java:519) [na:1.6.0_07] at java.net.Socket.connect(Socket.java:469) [na:1.6.0_07] at sun.net.NetworkClient.doConnect(NetworkClient.java:157) [na:1.6.0_07] at sun.net.www.http.HttpClient.openServer(HttpClient.java:394) [na:1.6.0_07] at sun.net.www.http.HttpClient.openServer(HttpClient.java:529) [na:1.6.0_07] at sun.net.www.http.HttpClient.<init>(HttpClient.java:233) [na:1.6.0_07] at sun.net.www.http.HttpClient.New(HttpClient.java:306) [na:1.6.0_07] at sun.net.www.http.HttpClient.New(HttpClient.java:323) [na:1.6.0_07] at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:788) [na:1.6.0_07] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:729) [na:1.6.0_07] at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:654) [na:1.6.0_07] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:977) [na:1.6.0_07] at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) [na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) [na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source) [na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source) [na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source) [na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) [na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) [na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)]
    via by Hawn Nguyen,
  • CXF-based create service failure
    via by Unknown author,
  • Re: Using MyBatis in a camel route on SMX
    via by Michael Dewitte,
  • GitHub comment 5#263839525
    via GitHub by justb4
    ,
  • Error In Alfresco | Java.net
    via by Unknown author,
    • java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method)[na:1.6.0_07] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)[na:1.6.0_07] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)[na:1.6.0_07] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)[na:1.6.0_07] at java.net.Socket.connect(Socket.java:519)[na:1.6.0_07] at java.net.Socket.connect(Socket.java:469)[na:1.6.0_07] at sun.net.NetworkClient.doConnect(NetworkClient.java:157)[na:1.6.0_07] at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)[na:1.6.0_07] at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)[na:1.6.0_07] at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)[na:1.6.0_07] at sun.net.www.http.HttpClient.New(HttpClient.java:306)[na:1.6.0_07] at sun.net.www.http.HttpClient.New(HttpClient.java:323)[na:1.6.0_07] at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:788)[na:1.6.0_07] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:729)[na:1.6.0_07] at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:654)[na:1.6.0_07] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:977)[na:1.6.0_07] at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)[na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)[na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)[na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)[na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)[na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)[na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)[na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)[na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)[na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)[na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)] at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)[na:4.3.0.GA_CP04 (build: SVNTag=JBPAPP_4_3_0_GA_CP04 date=200902200048)]

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Hronom
    9 times, last one,
    regisso
    3 times, last one,
    Unknown visitor1 times, last one,
    276 more bugmates