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.

  • java Connection refused parsing xml
    via Stack Overflow by pauporret
    ,
  • Error In Alfresco | Java.net
    via by Unknown author,
  • CXF-based create service failure
    via by Unknown author,
  • deployment problem | JBoss Developer
    via by Unknown author,
  • 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,
  • Disable DTD Validation in Tomcat
    via by 843842,
    • java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at sun.net.NetworkClient.doConnect(NetworkClient.java:180) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.http.HttpClient.<init>(HttpClient.java:211) at sun.net.www.http.HttpClient.New(HttpClient.java:308) at sun.net.www.http.HttpClient.New(HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source) at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)

    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