JPS-00027: There was an internal error: oracle.net.ns.NetException: Unknown host specified

Encontrei esse erro na hora de  subir um OSB, o problema ocorre devido a maquina não esta com o arquivo resolv.conf configurado corretamente .

 

Alguns erros semelhantes:

Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.3.v20160526-8f41838): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLRecoverableException: IO Error: Unknown host specified
Error Code: 17002

oracle.security.jps.JpsException: JPS-00027: There was an internal error: oracle.net.ns.NetException: Unknown host specified

Caused By: oracle.net.ns.NetException: Unknown host specified

Caused by: java.sql.SQLRecoverableException: IO Error: Unknown host specified
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:800)

Caused by: oracle.net.ns.NetException: Unknown host specified
at oracle.net.resolver.HostnameNamingAdapter.resolve(HostnameNamingAdapter.java:208)
at oracle.net.resolver.NameResolver.resolveName(NameResolver.java:132)
at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:539)
at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:620)
at oracle.net.ns.NSProtocol.connect(NSProtocol.java:239)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1606)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:539)
... 100 more

 

Solução corrija  o arquivo resolv.conf ou adicione as maquinas no arquivo host

 

Leave a Reply

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *