1 Reply Latest reply on Dec 27, 2013 12:58 PM by Ramesh Reddy

    timout setting for webservice

    Amit Agrawal Newbie

      Hi,

       

      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.

       

       

      <resource-adapter>

                          <archive>

                              teiid-connector-ws.rar

                          </archive>

                          <transaction-support>NoTransaction</transaction-support>

                          <connection-definitions>

                              <connection-definition class-name="org.teiid.resource.adapter.ws.WSManagedConnectionFactory" jndi-name="java:/FUND_DS" enabled="true" pool-name="FUND__DS">

                                  <config-property name="SecurityType">

                                      None

                                  </config-property>

                                  <config-property name="EndPoint">

                                      http://serverteiid:9411/data/DataService

                                  </config-property>

                              </connection-definition>

                          </connection-definitions>

                      </resource-adapter>