[
https://issues.jboss.org/browse/JBREM-1300?page=com.atlassian.jira.plugin...
]
Ron Sigal closed JBREM-1300.
----------------------------
Resolution: Done
Jason made the following comment on the support case:
{quote}
Hello,
Ron Sigal has done some investigation, and come up with this explaination. JBoss remoting
is the thing making the connection, by setting up a
org.jboss.remoting.stream.StreamServer, which creates a ServerSocket. This ServerSocket is
bound to the address returned by InetAddress.getLocalHost() by default. On my machine that
was the ethernet interface, eth0, which I disconnected prior to attempting to make a
connection to the TEIID server. If there is no network connectivity on this interface,
when an attempt to make a connection is made, we get the error in question.
We can force StreamServer to create a ServerSocket on a different interface, eg,
localhost, by setting the system property "remoting.stream.host", to
"localhost". To do that, add the following line to the end of
$EDS_HOME/bin/run.conf.
JAVA_OPTS="$JAVA_OPTS -Dremoting.stream.host=localhost"
Please test your VM environment using this setting, and let us know the result.
Regards,
Jason
{quote}
The support case is now closed
Create or preview Data Source does not work without network
connection when accessing EDS server on localhost
-------------------------------------------------------------------------------------------------------------
Key: JBREM-1300
URL:
https://issues.jboss.org/browse/JBREM-1300
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 2.5.3.SP1
Environment: Fedora 15
JBoss Developer Studio (JBDS) 4
Enterprise Data Services (EDS) 5.1.0
Reporter: Jason Shepherd
Assignee: Ron Sigal
Fix For: 2.5.4.SP4
When trying to create a preview a datasource using the Teiid designer, an error dialogue
is shown, and the EDS server.log shows an error containing this message. This only happens
when there is no network connectivity on the machine, for example the network cable is
unplugged.
[IOException]Can not find a free port for use
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira