1 Reply Latest reply on Dec 5, 2011 4:53 AM by Paul Robinson

    com.arjuna.wst.WrongStateException

    Pavlos Polianidis Newbie

      I am trying to run a client similar to demo client included in jbossts. When i call the ut.begin(); it throws the following exception:

       

       

       com.arjuna.wst.WrongStateException
      21:59:23,458 ERROR [STDERR]      at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:83)
      21:59:23,458 ERROR [STDERR]      at com.arjuna.mwlabs.wst11.at.remote.UserTransactionImple.begin(UserTransactionImple.java:75)
      21:59:23,458 ERROR [STDERR]      at org.comp6017.Client.testTransaction(Client.java:188)
      21:59:23,458 ERROR [STDERR]      at org.comp6017.Client.doGet(Client.java:142)
      21:59:23,458 ERROR [STDERR]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      21:59:23,458 ERROR [STDERR]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      21:59:23,458 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      21:59:23,459 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      21:59:23,459 ERROR [STDERR]      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      21:59:23,459 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      21:59:23,459 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      21:59:23,459 ERROR [STDERR]      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
      21:59:23,459 ERROR [STDERR]      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      21:59:23,459 ERROR [STDERR]      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
      21:59:23,459 ERROR [STDERR]      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
      21:59:23,459 ERROR [STDERR]      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
      21:59:23,459 ERROR [STDERR]      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      21:59:23,459 ERROR [STDERR]      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      21:59:23,459 ERROR [STDERR]      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      21:59:23,459 ERROR [STDERR]      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
      21:59:23,459 ERROR [STDERR]      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      21:59:23,459 ERROR [STDERR]      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
      21:59:23,459 ERROR [STDERR]      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
      21:59:23,460 ERROR [STDERR]      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
      21:59:23,460 ERROR [STDERR]      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      21:59:23,460 ERROR [STDERR]      at java.lang.Thread.run(Thread.java:619)
      
      21:59:23,460 INFO  [STDOUT] CLIENT: transaction ID= AtomicTransactionIdentifier: urn:-3f57feae:2463:4ed6a311:73
      

      I use jboss 5.1 GA