]
Steven Hawkins resolved TEIID-3124.
-----------------------------------
Resolution: Done
Removed the possibility of an exception from the server side code and clarified the logic
in the embedded case.
InetAddress getLocalHost return UnknownHostException cause Teiid
service start failed in JBoss Server
-----------------------------------------------------------------------------------------------------
Key: TEIID-3124
URL:
https://issues.jboss.org/browse/TEIID-3124
Project: Teiid
Issue Type: Bug
Components: Server
Affects Versions: 8.7
Environment: JDV 6.x
Reporter: Kylin Soong
Assignee: Kylin Soong
Fix For: 8.7.1, 8.9
After install JDV 6.0.0.GA via
java -jar jboss-dv-installer-6.0.0.GA-redhat-4.jar
start JDV throw the following exception cause some of servers start failed:
~~~
17:17:35,824 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001:
Failed to start service jboss.teiid.transport.jdbc: org.jboss.msc.service.StartException
in service jboss.teiid.transport.jdbc: Failed to start service
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767)
[jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_55]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_55]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_55]
Caused by: org.teiid.core.TeiidRuntimeException: TEIID40065 Failed to resolve the bind
address
at
org.teiid.transport.SocketConfiguration.resolveHostName(SocketConfiguration.java:82)
at
org.teiid.transport.SocketConfiguration.getHostAddress(SocketConfiguration.java:103)
at org.teiid.transport.SocketListener.<init>(SocketListener.java:55)
at org.teiid.jboss.TransportService.start(TransportService.java:157)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
[jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
[jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
... 3 more
17:17:35,844 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001:
Failed to start service jboss.teiid.transport.odbc: org.jboss.msc.service.StartException
in service jboss.teiid.transport.odbc: Failed to start service
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767)
[jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_55]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_55]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_55]
Caused by: org.teiid.core.TeiidRuntimeException: TEIID40065 Failed to resolve the bind
address
at
org.teiid.transport.SocketConfiguration.resolveHostName(SocketConfiguration.java:82)
at
org.teiid.transport.SocketConfiguration.getHostAddress(SocketConfiguration.java:103)
at org.teiid.transport.SocketListener.<init>(SocketListener.java:55)
at org.teiid.transport.ODBCSocketListener.<init>(ODBCSocketListener.java:43)
at org.teiid.jboss.TransportService.start(TransportService.java:181)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
[jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
[jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
... 3 more
~~~