Solución nº - CS323837

Error "java.net.NoRouteToHostException: No hay ruta al host (Host inaccesible)" en Windchill

Modificado: 16-Apr-2025   


Nota: Este artículo se ha traducido para su comodidad utilizando software de traducción automática. Tenga en cuenta que la PTC no garantiza la fiabilidad ni la legibilidad del contenido de esta traducción. Haga clic aquí para ver la versión original de este artículo en inglés. Para más información sobre la traducción automática, haga clic aquí.
Gracias por su informe. Revisaremos esta traducción lo antes posible.

Se aplica a

  • FlexPLM 10.2 to 12.1
  • Windchill PDMLink 10.2 to 12.1

Descripción

  • java.net.NoRouteToHostException: Error "No hay ruta al host" (Host inaccesible) durante el inicio de Windchill o en la página Estado del servidor
  • Se produjo un error al montar la carpeta de bóveda en el servidor de réplica con el protocolo SSL/HTTPS
 ERROR [ajp-nio-127.0.0.1-8010-exec-1] wt.util.jmx.WDSJMXConnector Administrator - Error connecting to WindchillDS JMX
java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: Exception creating connection to: CorporateLdap.domain.com; nested exception is: 
    java.net.NoRouteToHostException: No route to host (Host unreachable)]
    at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:369)
  • El servidor FlexPLM está inactivo y el registro BGMS contiene el siguiente error:
 INFO  [main] wt.system.err  - javax.naming.CommunicationException: ADHostname.domain.com:3268 [Root exception is java.net.NoRouteToHostException: No route to host (Host unreachable)]
date/time INFO  [main] wt.system.err  -     at com.sun.jndi.ldap.Connection.<init>(Connection.java:238)
date/time INFO  [main] wt.system.err  -     at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:137)
date/time INFO  [main] wt.system.err  -     at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1609)
date/time INFO  [main] wt.system.err  -     at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2749)

date/time INFO  [main] wt.system.err  - Caused by: java.net.NoRouteToHostException: No route to host (Host unreachable)
date/time  INFO  [main] wt.system.err  -     at java.net.PlainSocketImpl.socketConnect(Native Method)

date/time  INFO  [main] wt.system.err  - wt.org.OrganizationServicesIEException: javax.naming.CommunicationException: ADHostname.domain.com:3268
date/time INFO  [main] wt.system.err  -     at wt.org.LdapServices.queryPrincipalsFromLdap(LdapServices.java:955)

date/time FATAL [main] wt.method.server  - MethodServerMain abort
wt.util.WTException: wt.org.OrganizationServicesIEException: javax.naming.CommunicationException: ADHostname.domain.com:3268

date/time ERROR [wt.log4j.jmx.AsyncJDBCAppender.worker-3] wt.log4j.jmx.AsyncJDBCAppender  - Exception while flushing connection: default
java.sql.SQLRecoverableException: IO Error: Socket read interrupted

date/time ERROR [wt.log4j.jmx.AsyncJDBCAppender.worker-3] wt.log4j.jmx.AsyncJDBCAppender  - MiscLogEvents: exception raised closing prepared statement
java.sql.SQLRecoverableException: Closed Connection
    at oracle.jdbc.driver.PhysicalConnection.needLine(PhysicalConnection.java:3247)

​​

  • Windchill Loader falló durante la instalación y apareció el siguiente mensaje de error en el registro de MethodServer:
 Caused by: java.rmi.ConnectIOException: Exception creating connection to: <hostname>; nested exception is: 
    java.net.NoRouteToHostException: No route to host  (Host unreachable)
    at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:635)
    at java.rmi/sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:209)
    at java.rmi/sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:196)
    at java.rmi/sun.rmi.server.UnicastRef.invoke(UnicastRef.java:132)
    at wt.cache.CacheManager_Stub.registerSlave(Unknown Source)
    at wt.cache.RemoteCacheServer.registerSlaveInternal(RemoteCacheServer.java:197)
    ... 22 more
Caused by: java.net.NoRouteToHostException: No route to host  (Host unreachable)
    at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412)
    at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255)
    at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237)
    at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.base/java.net.Socket.connect(Socket.java:609)
    at java.base/java.net.Socket.connect(Socket.java:558)
    at java.base/java.net.Socket.<init>(Socket.java:454)
    at java.base/java.net.Socket.<init>(Socket.java:231)
    at java.rmi/sun.rmi.transport.tcp.TCPDirectSocketFactory.createSocket(TCPDirectSocketFactory.java:40)
    at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:617)
  • Se produce un error al agregar un usuario de Active Directory a varios grupos
  • NotificationQueue está en estado Listo y no se mueve al estado Ejecutando
  • Error en los registros del servidor BackgroundMethod
     wt.notify.NotificationException: wt.org.OrganizationServicesIEException: javax.naming.CommunicationException: <AD Hostname:port>:3269 Nested exception is: wt.org.OrganizationServicesIEException: javax.naming.CommunicationException: <AD Hostname:port>:3269 at wt.org.LdapServices.queryPrincipalsFromLdap(LdapServices.java:1148) at wt.org.LdapServices.queryPrincipals(LdapServices.java:2511) at jdk.internal.reflect.GeneratedMethodAccessor1048.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399) at com.sun.proxy.$Proxy74.queryPrincipals(Unknown Source) at wt.adapter.delegate.LdapServiceDelegate.queryPrincipals(LdapServiceDelegate.java:188) at wt.org.StandardOrganizationServicesManager._queryPrincipals(StandardOrganizationServicesManager.java:12263) at wt.org.StandardOrganizationServicesManager._queryPrincipals(StandardOrganizationServicesManager.java:12216) at wt.org.StandardOrganizationServicesManager._queryPrincipals(StandardOrganizationServicesManager.java:12201) at wt.org.StandardOrganizationServicesManager.findLikeUsers(StandardOrganizationServicesManager.java:4106) at wt.org.StandardOrganizationServicesManager.findLikeUsers(StandardOrganizationServicesManager.java:4131) at jdk.internal.reflect.GeneratedMethodAccessor1139.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399) at com.sun.proxy.$Proxy73.findLikeUsers(Unknown Source) at wt.notify.TemplateEmailNotification.send(TemplateEmailNotification.java:608) at wt.notify.StandardNotificationManager.processSend(StandardNotificationManager.java:2990) at jdk.internal.reflect.GeneratedMethodAccessor606.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at wt.queue.QueueEntry.execute(QueueEntry.java:231) at wt.queue.ProcessingQueue.execEntry(ProcessingQueue.java:312) at wt.queue.ProcessingQueue.execEntries(ProcessingQueue.java:898) at wt.queue.PollingQueueThread.run(PollingQueueThread.java:103)
This is a PDF version of Article 323837 and may be out of date. For the latest version CS323837