I have below resource adappter setting in standalone-teiid.xml to call an http service. sometimes ,we have noticed that for some reason Teiid does not release connection to port 9411 and even after recycling the JVM, the JVM retruns an error that the port 9411 is already in use. the only way to release the port is to recycle Jboss instance of teiid.
is it possible to set time out and avoid this issue? please sugges how can I include time out value in the below resource adapter for http service.
<connection-definition class-name="org.teiid.resource.adapter.ws.WSManagedConnectionFactory" jndi-name="java:/FUND_DS" enabled="true" pool-name="FUND__DS">
You need to be looking at the service implementation that is using 9411. How did you implement this service? Looks like "serverteiid" is nothing but "localhost" in your case. Http timeout only used for non-responsive requests to timeout and possibly try to cancel the request.