0 Replies Latest reply on Aug 25, 2011 4:35 AM by nilesh zarkar

    java.lang.IllegalStateException: BaseTransaction.commit - [com.arjuna.ats.internal.jta.transaction.arjunacore.notx]

    nilesh zarkar Newbie

      We are using JBoss 4.2.3 and comiting simple transaction to SQL Auzre database on clud.

      For some instances we are getting this error :

      [2011-07-19 06:45:23] [INFO] [http-0.0.0.0-80-2:TestManager.java:316] [user:admin@tlaloc.com] - Starting run for test id : 254

      [2011-07-19 06:45:23] [INFO] [http-0.0.0.0-80-6:TestExecBean.java:161] [user:] - testDataPath /var/tlaloc/upload/testrun/00/02/254 for run id 254

      [2011-07-19 06:45:23] [DEBUG] [http-0.0.0.0-80-6:TestExecBean.java:166] [user:] - Creating run context object

      [2011-07-19 06:45:23] [DEBUG] [http-0.0.0.0-80-6:PreRunStartTask.java:21] [user:] - running pre-run task for test 254

      [2011-07-19 06:45:23] [INFO] [http-0.0.0.0-80-6:JMeterSizingTask.java:40] [user:] - Determinging no of agents required for test 254

      [2011-07-19 06:45:23] [INFO] [http-0.0.0.0-80-6:BasicSizer.java:70] [user:] - 1 agents required for workflow 71

      [2011-07-19 06:45:23] [INFO] [http-0.0.0.0-80-6:JMeterSizingTask.java:53] [user:] - sizing done successfully

      [2011-07-19 06:45:23] [INFO] [http-0.0.0.0-80-6:TestExecBean.java:194] [user:] - creating Agents

      [2011-07-19 06:45:23] [INFO] [http-0.0.0.0-80-6:CreateAgentTask.java:54] [user:] - Agent 265 created for workflow id 71

      [2011-07-19 06:45:23] [INFO] [http-0.0.0.0-80-6:RunManager.java:62] [user:] - enchached: 348

      [2011-07-19 06:45:23] [INFO] [http-0.0.0.0-80-6:AgentReservationTask.java:46] [user:] - allocationg agents:

      [2011-07-19 06:45:23] [INFO] [http-0.0.0.0-80-9:LoadGenService.java:47] [user:] - Allocation requested for 1 agents

      [2011-07-19 06:45:23] [DEBUG] [http-0.0.0.0-80-9:ReservationManager.java:49] [user:] - Machine reservation requested for 1 agents

      [2011-07-19 06:45:23] [ERROR] [http-0.0.0.0-80-9:LoadGenService.java:139] [user:] - Agent allocation failed fn=allocateAgents st=fail reservationId=-1

      java.lang.IllegalStateException: BaseTransaction.commit - [com.arjuna.ats.internal.jta.transaction.arjunacore.notx] [com.arjuna.ats.internal.jta.transaction.arjunacore.notx] no transaction!

      at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:130)

      at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87)

      at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:140)

      at com.persistentsys.peg.cloudburst.common.db.JpaUtil.commitTransaction(JpaUtil.java:65)

      at com.persistentsys.peg.cloudburst.platform.azure.VMRoleLayer.describeCapabilities(VMRoleLayer.java:58)

      at com.persistentsys.peg.cloudburst.platform.ReservationManager.doReservationFor(ReservationManager.java:54)

      at com.persistentsys.peg.cloudburst.platform.LoadGenFacade.allocateAgents(LoadGenFacade.java:97)

      at com.persistentsys.peg.cloudburst.platform.LoadGenService.allocateAgents(LoadGenService.java:48)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at org.jboss.wsf.container.jboss42.InvocationHandlerJSE.invoke(InvocationHandlerJSE.java:106)

      at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:222)

      at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:474)

      at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:295)

      at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:205)

      at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:131)

      at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)

      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)

      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)

      at java.lang.Thread.run(Thread.java:662)

      [2011-07-19 06:45:24] [ERROR] [http-0.0.0.0-80-6:AgentReservationTask.java:59] [user:] - Unable to allocate agents for run 254

      com.persistentsys.peg.cloudburst.services.messages.ProvisioningException: Fail to allocate agents

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

      at org.jboss.ws.metadata.umdm.FaultMetaData.toServiceException(FaultMetaData.java:398)

      at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SOAPFaultHelperJAXWS.java:143)

      at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.throwFaultException(SOAP11BindingJAXWS.java:107)

      at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:579)

      at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:381)

      at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:290)

      at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:170)

      at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)

      at $Proxy202.allocateAgents(Unknown Source)

      at com.persistentsys.peg.cloudburst.testexec.AgentReservationTask.allocateAgents(AgentReservationTask.java:57)

      at com.persistentsys.peg.cloudburst.testexec.AgentReservationTask.exec(AgentReservationTask.java:33)

      at com.persistentsys.peg.cloudburst.testexec.TestExecBean.startExperiemnt(TestExecBean.java:213)

      at com.persistentsys.peg.cloudburst.testexec.web.ws.PortalService.startExperiemnt(PortalService.java:49)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at org.jboss.wsf.container.jboss42.InvocationHandlerJSE.invoke(InvocationHandlerJSE.java:106)

      at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:222)

      at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:474)

      at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:295)

      at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:205)

      at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:131)

      at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)

      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)

      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)

      at java.lang.Thread.run(Thread.java:662)