java.net.NoRouteToHostException: No route to host: connect

Oracle Community | 3004 | 1 decade ago
  1. 0

    Getting java.net.NoRouteToHostException

    Oracle Community | 1 decade ago | 3004
    java.net.NoRouteToHostException: No route to host: connect
  2. 0

    Problems with Weblogic 8.1 clustering

    Coderanch | 1 decade ago | Misnad Haque
    java.net.NoRouteToHostException: No route to host: connect
  3. 0

    ctl: not found error

    Google Groups | 6 years ago | Surendra
    java.net.NoRouteToHostException: No route to host: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    error while connecting db from a different machine

    pentaho.com | 11 months ago
    org.pentaho.di.core.exception.KettleDatabaseException: Error occured while trying to connect to the database Error connecting to database: (using class org.gjt.mm.mysql.Driver) Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  6. 0

    When starting up the server without a network connection, I get exceptions in the Tomcat console like the one below for all data sources that are not resident on my local machine. We should probably swallow the exception and print a more friendly warning message. Jul 14, 2009 10:06:24 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\pentaho\dry-runs\biserver-ee-CITRUS-FC1-winxp-tomcat-mysql \biserver-ee\jre\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\pentaho\dry-runs\biserver-ee-CITRUS-FC1-winxp-tomcat-mysql\biserver-ee\jre\bin;z:\users\devuser\public\pentaho\qa\bin;.;c:\cygwin\bin;c:\bin;c: \pentaho\qa\bin;C:\Perl\site\bin;C:\Perl\bin;c:\bin;C:\pentaho\java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;;C:\WATCOM\BINNT;C:\WATCOM\BINW;C:\Program Files\Mozilla Firefox\;C:\Sub version\bin;C:\nsPerl5.005_03\bin;c:\C:\Program Files\XEmacs\XEmacs-21.4.21\i586-pc-win32;C:\Program Files\Diskeeper Corporation\Diskeeper\C:\Program Files\Common Files\Adaptec Shared\System;C:\Progra m Files\QuickTime\QTSystem\;C:\Program Files\Common Files\HP\Digital Imaging\\bin;C:\Program Files\MySQL\MySQL Server 5.0\bin;%ANT_HOME%\bin;C:\Program Files\VMware\VMware Server;C:\Program Files\VMwa re\VMware Server\bin;C:\STAF\bin;z:\users\devuser\public\pentaho\qa\bin;.;c:\cygwin\bin;c:\bin;c:\pentaho\qa\bin;C:\Perl\site\bin;C:\Perl\bin;c:\bin;C:\pentaho\java\bin;C:\WINDOWS\system32;C:\WINDOWS; C:\WINDOWS\System32\Wbem;;C:\WATCOM\BINNT;C:\WATCOM\BINW;C:\Program Files\Mozilla Firefox\;C:\Subversion\bin;C:\nsPerl5.005_03\bin;c:\C:\Program Files\XEmacs\XEmacs-21.4.21\i586-pc-win32;C:\Program Fi les\Diskeeper Corporation\Diskeeper\C:\Program Files\Common Files\Adaptec Shared\System;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\HP\Digital Imaging\\bin;C:\Program Files\MySQ L\MySQL Server 5.0\bin;%ANT_HOME%\bin;C:\Program Files\VMware\VMware Server;C:\Program Files\VMware\VMware Server\bin;c:\jdk1.5.0_14\bin;c:\7-zip;C:\Groovy-1.5.4\bin;C:\Subversion-1.4.6; Jul 14, 2009 10:06:24 AM org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Jul 14, 2009 10:06:24 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 578 ms Jul 14, 2009 10:06:24 AM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Jul 14, 2009 10:06:24 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.26 Jul 14, 2009 10:06:24 AM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Jul 14, 2009 10:06:26 AM org.apache.catalina.startup.ContextConfig validateSecurityRoles WARNING: Security role name PENTAHO_ADMIN used in an <auth-constraint> without being defined in a <security-role> 10:06:48,531 ERROR [Logger] misc-org.pentaho.platform.engine.services.connection.datasource.dbcp.PooledDatasourceSystemListener: PooledDatasourceSystemListener.ERROR_0003 - Unable to pool datasource o bject: Baseball caused by com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.NoRouteToHostException MESSAGE: No route to host: connect STACKTRACE: java.net.NoRouteToHostException: No route to host: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.<init>(Unknown Source) at java.net.Socket.<init>(Unknown Source) at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:256) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:271) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2744) at com.mysql.jdbc.Connection.<init>(Connection.java:1553) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:48) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290) at org.apache.commons.pool.impl.GenericObjectPool.addObject(GenericObjectPool.java:1059) at org.pentaho.platform.engine.services.connection.datasource.dbcp.PooledDatasourceHelper.setupPooledDataSource(PooledDatasourceHelper.java:133) at org.pentaho.platform.engine.services.connection.datasource.dbcp.PooledDatasourceSystemListener.startup(PooledDatasourceSystemListener.java:56) at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:306) at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:291) at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:265) at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:206) at org.pentaho.platform.web.http.context.SolutionContextListener.contextInitialized(SolutionContextListener.java:136) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) ** END NESTED EXCEPTION **

    Pentaho BI Platform Tracking | 7 years ago | Jared Pshedesky
    java.net.NoRouteToHostException: No route to host: connect

  1. abrazeneb 15 times, last 4 months ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.NoRouteToHostException

    No route to host: connect

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    5. java.net.Socket.connect(Socket.java:434)
    6. java.net.Socket.connect(Socket.java:384)
    7. java.net.Socket.<init>(Socket.java:291)
    8. java.net.Socket.<init>(Socket.java:147)
    8 frames
  3. weblogic.net.http
    HttpURLConnection.getOutputStream
    1. weblogic.net.http.HttpClient.openServer(HttpClient.java:231)
    2. weblogic.net.http.HttpClient.openServer(HttpClient.java:292)
    3. weblogic.net.http.HttpClient.<init>(HttpClient.java:128)
    4. weblogic.net.http.HttpClient.New(HttpClient.java:170)
    5. weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:112)
    6. weblogic.net.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:159)
    6 frames
  4. com.csxwt.zodiac
    ZodiacLoginModule.login
    1. com.csxwt.zodiac.command.util.HttpConnection.marshall(HttpConnection.java:168)
    2. com.csxwt.zodiac.command.util.HttpConnection.execute(HttpConnection.java:85)
    3. com.csxwt.zodiac.security.ZodiacLoginModule.login(ZodiacLoginModule.java:101)
    3 frames
  5. Java RT
    LoginContext.login
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:324)
    5. javax.security.auth.login.LoginContext.invoke(LoginContext.java:675)
    6. javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
    7. javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
    8. java.security.AccessController.doPrivileged(Native Method)
    9. javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607)
    10. javax.security.auth.login.LoginContext.login(LoginContext.java:534)
    10 frames