[jboss-user] [JBossWS] - Webservice Timeout

redCar do-not-reply at jboss.com
Thu Feb 5 11:19:02 EST 2009


Hallo,

I want to enlarge the JBoss-WS timeout for my application.
I use the WS from JBoss 5.0.0 GA
After getting the port with:


  |         org.opentrafficsystems.ots2.OTS2WebServices m_port = service.getOTS2WebSoapServices();
  | 

I set the timeout:


  |         ((BindingProvider) m_port).getRequestContext().put("org.jboss.ws.timeout", 1000 * 60 * 30);
  | 

But after 5 Minutes I get this exception:

javax.xml.ws.soap.SOAPFaultException: [com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] [com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] The transaction is not active!
  |         at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:171)
  |         at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:94)
  |         at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:240)
  |         at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:210)
  |         at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:103)
  |         at $Proxy32.tConnect(Unknown Source)
  | 

How can I enlarge the WS-Timeout?

Thanks,
Werner


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207421#4207421

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207421



More information about the jboss-user mailing list