java.io.IOException

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.

  • Newbie questions of Lift
    via by Sandro Martini,
  • problems with tomcat
    via by DavidV,
  • Thank you to Chris Becket for reporting this show stopper. {noformat} INFO | jvm 1 | 2011/02/09 14:12:27 | 2011-02-09 13:12:27.255:WARN::Unable to parse TLD: jar:file:/C:/Program%20Files/Bamboo/webapp/WEB-INF/lib/webwork-2.2.7-atlassian-5.jar!/META-INF/taglib.tld INFO | jvm 1 | 2011/02/09 14:12:27 | java.net.ConnectException: Connection timed out: connect INFO | jvm 1 | 2011/02/09 14:12:27 | at java.net.PlainSocketImpl.socketConnect(Native Method) INFO | jvm 1 | 2011/02/09 14:12:27 | at java.net.PlainSocketImpl.doConnect(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at java.net.PlainSocketImpl.connectToAddress(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at java.net.PlainSocketImpl.connect(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at java.net.SocksSocketImpl.connect(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at java.net.Socket.connect(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at java.net.Socket.connect(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at sun.net.NetworkClient.doConnect(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at sun.net.www.http.HttpClient.openServer(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at sun.net.www.http.HttpClient.openServer(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at sun.net.www.http.HttpClient.<init>(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at sun.net.www.http.HttpClient.New(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at sun.net.www.http.HttpClient.New(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at javax.xml.parsers.SAXParser.parse(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at org.eclipse.jetty.xml.XmlParser.parse(XmlParser.java:187) INFO | jvm 1 | 2011/02/09 14:12:27 | at org.eclipse.jetty.xml.XmlParser.parse(XmlParser.java:203) INFO | jvm 1 | 2011/02/09 14:12:27 | at org.eclipse.jetty.webapp.TagLibConfiguration$TldDescriptor.parse(TagLibConfiguration.java:150) INFO | jvm 1 | 2011/02/09 14:12:27 | at org.eclipse.jetty.webapp.TagLibConfiguration.preConfigure(TagLibConfiguration.java:281) INFO | jvm 1 | 2011/02/09 14:12:27 | at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:463) INFO | jvm 1 | 2011/02/09 14:12:27 | at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:491) INFO | jvm 1 | 2011/02/09 14:12:27 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) INFO | jvm 1 | 2011/02/09 14:12:27 | at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:93) INFO | jvm 1 | 2011/02/09 14:12:27 | at org.eclipse.jetty.server.Server.doStart(Server.java:243) INFO | jvm 1 | 2011/02/09 14:12:27 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) INFO | jvm 1 | 2011/02/09 14:12:27 | at com.atlassian.bamboo.server.Server.main(Server.java:77) INFO | jvm 1 | 2011/02/09 14:12:27 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2011/02/09 14:12:27 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at java.lang.reflect.Method.invoke(Unknown Source) INFO | jvm 1 | 2011/02/09 14:12:27 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) INFO | jvm 1 | 2011/02/09 14:12:27 | at java.lang.Thread.run(Unknown Source) {noformat}
    via by James Dumay [Atlassian],
    • java.io.IOException: Unable to locate the DTD to validate your deployment descriptor file [META-INF/sun-ejb-jar.xml] in archive [myapp-1.0-SNAPSHOT-myjar]. Please make sure the DOCTYPE is correct (no typo in public ID or system ID) and you have proper access to the Internet. at com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:335) at com.sun.enterprise.deployment.archivist.Archivist.readRuntimeDeploymentDescriptor(Archivist.java:662) at com.sun.enterprise.deployment.archivist.ApplicationArchivist.readRuntimeDeploymentDescriptor(ApplicationArchivist.java:703) at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openWith(ApplicationArchivist.java:249) at com.sun.enterprise.deployment.archivist.ApplicationFactory.openWith(ApplicationFactory.java:222) at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:152) at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:79) at com.sun.enterprise.v3.server.ApplicationLifecycle.loadDeployer(ApplicationLifecycle.java:612) at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:554) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:262) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272) at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:310) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235) at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:141) at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:573) at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:459) at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:391) at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:376) at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:195) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Caused by: java.net.ConnectException: Opkoblingen overskred tidsgr346nsen 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.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at sun.net.NetworkClient.doConnect(NetworkClient.java:163) at sun.net.www.http.HttpClient.openServer(HttpClient.java:394) at sun.net.www.http.HttpClient.openServer(HttpClient.java:529) at sun.net.www.http.HttpClient.<init>(HttpClient.java:233) at sun.net.www.http.HttpClient.New(HttpClient.java:306) at sun.net.www.http.HttpClient.New(HttpClient.java:323) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726) at sun.net.www.protocol.http.HttpURLConnection.followRedirect(HttpURLConnection.java:1989) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1244) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:677) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1315) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1282) at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:283) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1194) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1090) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1003) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) at com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:298)

    Users with the same issue

    Unknown visitor1 times, last one,
    batwalrus76
    4 times, last one,
    guizmaii
    4 times, last one,
    linxiaolong
    377 times, last one,
    Михайло Тітов
    10 times, last one,
    275 more bugmates