Error in polling JobSandbox
--------------------------- Key: OFBIZ-3707 URL: https://issues.apache.org/jira/browse/OFBIZ-3707 Project: OFBiz Issue Type: Bug Components: specialpurpose/ecommerce Affects Versions: Release Branch 9.04 Environment: Fedora 9 Linux,2GB RAM,Core2Duo Processor, deployed on JBOSS 5.0 Appserver Reporter: Rashmi R Hati Fix For: Release Branch 9.04 Hi, I am using the Ofbiz Release 9.04 stable version. I am getting this error on simultaneously creating New Customers for the ecommerce site - for 20 users ============================================================================================================== Error in polling JobSandbox: [org.ofbiz.entity.transaction.GenericTransactionException: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!)]. Rolling back transaction. Exception: org.ofbiz.entity.transaction.GenericTransactionException Message: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!) ---- cause --------------------------------------------------------------------- Exception: javax.transaction.NotSupportedException Message: BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction! ---- stack trace --------------------------------------------------------------- javax.transaction.NotSupportedException: BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction! com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:80) com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.begin(BaseTransactionManagerDelegate.java:65) org.jboss.tm.usertx.client.ServerVMClientUserTransaction.begin(ServerVMClientUserTransaction.java:137) org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125) org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:81) org.ofbiz.service.job.JobManager.poll(JobManager.java:148) org.ofbiz.service.job.JobPoller.run(JobPoller.java:90) java.lang.Thread.run(Thread.java:619) -------------------------------------------------------------------------------- 16:27:18,249 ERROR [TransactionUtil] ---- exception report ---------------------------------------------------------- WARNING: In setSetRollbackOnlyCause a stack placeholder was already in place, here is the original rollbackOnly cause: Error in polling JobSandbox: [org.ofbiz.entity.transaction.GenericTransactionException: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!)]. Rolling back transaction.org.ofbiz.entity.transaction.GenericTransactionException: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!) Exception: org.ofbiz.entity.transaction.GenericTransactionException Message: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!) ---- cause --------------------------------------------------------------------- Exception: javax.transaction.NotSupportedException Message: BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction! ---- stack trace --------------------------------------------------------------- javax.transaction.NotSupportedException: BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction! com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:80) com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.begin(BaseTransactionManagerDelegate.java:65) org.jboss.tm.usertx.client.ServerVMClientUserTransaction.begin(ServerVMClientUserTransaction.java:137) org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125) org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:81) org.ofbiz.service.job.JobManager.poll(JobManager.java:148) org.ofbiz.service.job.JobPoller.run(JobPoller.java:90) java.lang.Thread.run(Thread.java:619) -------------------------------------------------------------------------------- -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
[ https://issues.apache.org/jira/browse/OFBIZ-3707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rashmi R Hati updated OFBIZ-3707: --------------------------------- Summary: Error in polling JobSandbox, Exception: java.lang.OutOfMemoryError (was: Error in polling JobSandbox) Description: Hi, I am using the Ofbiz Release 9.04 stable version. I am getting this error on simultaneously creating New Customers for the ecommerce site - for 20 users ============================================================================================================== Error in polling JobSandbox: [org.ofbiz.entity.transaction.GenericTransactionException: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!)]. Rolling back transaction. Exception: org.ofbiz.entity.transaction.GenericTransactionException Message: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!) ---- cause --------------------------------------------------------------------- Exception: javax.transaction.NotSupportedException Message: BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction! ---- stack trace --------------------------------------------------------------- javax.transaction.NotSupportedException: BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction! com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:80) com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.begin(BaseTransactionManagerDelegate.java:65) org.jboss.tm.usertx.client.ServerVMClientUserTransaction.begin(ServerVMClientUserTransaction.java:137) org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125) org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:81) org.ofbiz.service.job.JobManager.poll(JobManager.java:148) org.ofbiz.service.job.JobPoller.run(JobPoller.java:90) java.lang.Thread.run(Thread.java:619) -------------------------------------------------------------------------------- 16:27:18,249 ERROR [TransactionUtil] ---- exception report ---------------------------------------------------------- WARNING: In setSetRollbackOnlyCause a stack placeholder was already in place, here is the original rollbackOnly cause: Error in polling JobSandbox: [org.ofbiz.entity.transaction.GenericTransactionException: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!)]. Rolling back transaction.org.ofbiz.entity.transaction.GenericTransactionException: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!) Exception: org.ofbiz.entity.transaction.GenericTransactionException Message: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!) ---- cause --------------------------------------------------------------------- Exception: javax.transaction.NotSupportedException Message: BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction! ---- stack trace --------------------------------------------------------------- javax.transaction.NotSupportedException: BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction! com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:80) com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.begin(BaseTransactionManagerDelegate.java:65) org.jboss.tm.usertx.client.ServerVMClientUserTransaction.begin(ServerVMClientUserTransaction.java:137) org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125) org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:81) org.ofbiz.service.job.JobManager.poll(JobManager.java:148) org.ofbiz.service.job.JobPoller.run(JobPoller.java:90) java.lang.Thread.run(Thread.java:619) -------------------------------------------------------------------------------- Also I am getting this OutOfMemory error when deployed in JBOSS 5.0.1 ============================================================= 15:47:08,530 ERROR [JobManager] ---- exception report ---------------------------------------------------------- Error in polling JobSandbox: [org.ofbiz.entity.transaction.GenericTransactionException: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error in polling JobSandbox: [java.lang.OutOfMemoryError: unable to create new native thread]. Rolling back transaction.java.lang.OutOfMemoryError: unable to create new native thread (unable to create new native thread)]. Rolling back transaction. Exception: org.ofbiz.entity.transaction.GenericTransactionException Message: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error in polling JobSandbox: [java.lang.OutOfMemoryError: unable to create new native thread]. Rolling back transaction.java.lang.OutOfMemoryError: unable to create new native thread (unable to create new native thread) ---- cause --------------------------------------------------------------------- Exception: java.lang.OutOfMemoryError Message: unable to create new native thread ---- stack trace --------------------------------------------------------------- java.lang.OutOfMemoryError: unable to create new native thread java.lang.Thread.start0(Native Method) java.lang.Thread.start(Thread.java:597) org.ofbiz.entity.transaction.GenericXaResource.start(GenericXaResource.java:97) com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:789) com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:500) org.ofbiz.entity.transaction.GenericXaResource.enlist(GenericXaResource.java:67) org.ofbiz.entity.transaction.GenericXaResource.enlist(GenericXaResource.java:50) org.ofbiz.entity.transaction.DebugXaResource.enlist(DebugXaResource.java:50) org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:141) org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:81) org.ofbiz.service.job.JobManager.poll(JobManager.java:148) org.ofbiz.service.job.JobPoller.run(JobPoller.java:90) java.lang.Thread.run(Thread.java:619) -------------------------------------------------------------------------------- was: Hi, I am using the Ofbiz Release 9.04 stable version. I am getting this error on simultaneously creating New Customers for the ecommerce site - for 20 users ============================================================================================================== Error in polling JobSandbox: [org.ofbiz.entity.transaction.GenericTransactionException: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!)]. Rolling back transaction. Exception: org.ofbiz.entity.transaction.GenericTransactionException Message: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!) ---- cause --------------------------------------------------------------------- Exception: javax.transaction.NotSupportedException Message: BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction! ---- stack trace --------------------------------------------------------------- javax.transaction.NotSupportedException: BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction! com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:80) com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.begin(BaseTransactionManagerDelegate.java:65) org.jboss.tm.usertx.client.ServerVMClientUserTransaction.begin(ServerVMClientUserTransaction.java:137) org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125) org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:81) org.ofbiz.service.job.JobManager.poll(JobManager.java:148) org.ofbiz.service.job.JobPoller.run(JobPoller.java:90) java.lang.Thread.run(Thread.java:619) -------------------------------------------------------------------------------- 16:27:18,249 ERROR [TransactionUtil] ---- exception report ---------------------------------------------------------- WARNING: In setSetRollbackOnlyCause a stack placeholder was already in place, here is the original rollbackOnly cause: Error in polling JobSandbox: [org.ofbiz.entity.transaction.GenericTransactionException: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!)]. Rolling back transaction.org.ofbiz.entity.transaction.GenericTransactionException: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!) Exception: org.ofbiz.entity.transaction.GenericTransactionException Message: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!) ---- cause --------------------------------------------------------------------- Exception: javax.transaction.NotSupportedException Message: BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction! ---- stack trace --------------------------------------------------------------- javax.transaction.NotSupportedException: BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction! com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:80) com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.begin(BaseTransactionManagerDelegate.java:65) org.jboss.tm.usertx.client.ServerVMClientUserTransaction.begin(ServerVMClientUserTransaction.java:137) org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125) org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:81) org.ofbiz.service.job.JobManager.poll(JobManager.java:148) org.ofbiz.service.job.JobPoller.run(JobPoller.java:90) java.lang.Thread.run(Thread.java:619) -------------------------------------------------------------------------------- > Error in polling JobSandbox, Exception: java.lang.OutOfMemoryError > ------------------------------------------------------------------ > > Key: OFBIZ-3707 > URL: https://issues.apache.org/jira/browse/OFBIZ-3707 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/ecommerce > Affects Versions: Release Branch 9.04 > Environment: Fedora 9 Linux,2GB RAM,Core2Duo Processor, deployed on JBOSS 5.0 Appserver > Reporter: Rashmi R Hati > Fix For: Release Branch 9.04 > > > Hi, > I am using the Ofbiz Release 9.04 stable version. > I am getting this error on simultaneously creating New Customers for the ecommerce site - for 20 users > ============================================================================================================== > Error in polling JobSandbox: [org.ofbiz.entity.transaction.GenericTransactionException: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!)]. Rolling back transaction. > Exception: org.ofbiz.entity.transaction.GenericTransactionException > Message: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!) > ---- cause --------------------------------------------------------------------- > Exception: javax.transaction.NotSupportedException > Message: BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction! > ---- stack trace --------------------------------------------------------------- > javax.transaction.NotSupportedException: BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction! > com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:80) > com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.begin(BaseTransactionManagerDelegate.java:65) > org.jboss.tm.usertx.client.ServerVMClientUserTransaction.begin(ServerVMClientUserTransaction.java:137) > org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125) > org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:81) > org.ofbiz.service.job.JobManager.poll(JobManager.java:148) > org.ofbiz.service.job.JobPoller.run(JobPoller.java:90) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- > 16:27:18,249 ERROR [TransactionUtil] > ---- exception report ---------------------------------------------------------- > WARNING: In setSetRollbackOnlyCause a stack placeholder was already in place, here is the original rollbackOnly cause: Error in polling JobSandbox: [org.ofbiz.entity.transaction.GenericTransactionException: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!)]. Rolling back transaction.org.ofbiz.entity.transaction.GenericTransactionException: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!) > Exception: org.ofbiz.entity.transaction.GenericTransactionException > Message: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!) > ---- cause --------------------------------------------------------------------- > Exception: javax.transaction.NotSupportedException > Message: BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction! > ---- stack trace --------------------------------------------------------------- > javax.transaction.NotSupportedException: BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction! > com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:80) > com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.begin(BaseTransactionManagerDelegate.java:65) > org.jboss.tm.usertx.client.ServerVMClientUserTransaction.begin(ServerVMClientUserTransaction.java:137) > org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125) > org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:81) > org.ofbiz.service.job.JobManager.poll(JobManager.java:148) > org.ofbiz.service.job.JobPoller.run(JobPoller.java:90) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- > Also I am getting this OutOfMemory error when deployed in JBOSS 5.0.1 > ============================================================= > 15:47:08,530 ERROR [JobManager] > ---- exception report ---------------------------------------------------------- > Error in polling JobSandbox: [org.ofbiz.entity.transaction.GenericTransactionException: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error in polling JobSandbox: [java.lang.OutOfMemoryError: unable to create new native thread]. Rolling back transaction.java.lang.OutOfMemoryError: unable to create new native thread (unable to create new native thread)]. Rolling back transaction. > Exception: org.ofbiz.entity.transaction.GenericTransactionException > Message: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error in polling JobSandbox: [java.lang.OutOfMemoryError: unable to create new native thread]. Rolling back transaction.java.lang.OutOfMemoryError: unable to create new native thread (unable to create new native thread) > ---- cause --------------------------------------------------------------------- > Exception: java.lang.OutOfMemoryError > Message: unable to create new native thread > ---- stack trace --------------------------------------------------------------- > java.lang.OutOfMemoryError: unable to create new native thread > java.lang.Thread.start0(Native Method) > java.lang.Thread.start(Thread.java:597) > org.ofbiz.entity.transaction.GenericXaResource.start(GenericXaResource.java:97) > com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:789) > com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:500) > org.ofbiz.entity.transaction.GenericXaResource.enlist(GenericXaResource.java:67) > org.ofbiz.entity.transaction.GenericXaResource.enlist(GenericXaResource.java:50) > org.ofbiz.entity.transaction.DebugXaResource.enlist(DebugXaResource.java:50) > org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:141) > org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:81) > org.ofbiz.service.job.JobManager.poll(JobManager.java:148) > org.ofbiz.service.job.JobPoller.run(JobPoller.java:90) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12858462#action_12858462 ] Jacques Le Roux commented on OFBIZ-3707: ---------------------------------------- Looks like it's not directly related to OFBiz. > Error in polling JobSandbox, Exception: java.lang.OutOfMemoryError > ------------------------------------------------------------------ > > Key: OFBIZ-3707 > URL: https://issues.apache.org/jira/browse/OFBIZ-3707 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/ecommerce > Affects Versions: Release Branch 9.04 > Environment: Fedora 9 Linux,2GB RAM,Core2Duo Processor, deployed on JBOSS 5.0 Appserver > Reporter: Rashmi R Hati > Fix For: Release Branch 9.04 > > > Hi, > I am using the Ofbiz Release 9.04 stable version. > I am getting this error on simultaneously creating New Customers for the ecommerce site - for 20 users > ============================================================================================================== > Error in polling JobSandbox: [org.ofbiz.entity.transaction.GenericTransactionException: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!)]. Rolling back transaction. > Exception: org.ofbiz.entity.transaction.GenericTransactionException > Message: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!) > ---- cause --------------------------------------------------------------------- > Exception: javax.transaction.NotSupportedException > Message: BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction! > ---- stack trace --------------------------------------------------------------- > javax.transaction.NotSupportedException: BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction! > com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:80) > com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.begin(BaseTransactionManagerDelegate.java:65) > org.jboss.tm.usertx.client.ServerVMClientUserTransaction.begin(ServerVMClientUserTransaction.java:137) > org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125) > org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:81) > org.ofbiz.service.job.JobManager.poll(JobManager.java:148) > org.ofbiz.service.job.JobPoller.run(JobPoller.java:90) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- > 16:27:18,249 ERROR [TransactionUtil] > ---- exception report ---------------------------------------------------------- > WARNING: In setSetRollbackOnlyCause a stack placeholder was already in place, here is the original rollbackOnly cause: Error in polling JobSandbox: [org.ofbiz.entity.transaction.GenericTransactionException: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!)]. Rolling back transaction.org.ofbiz.entity.transaction.GenericTransactionException: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!) > Exception: org.ofbiz.entity.transaction.GenericTransactionException > Message: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!) > ---- cause --------------------------------------------------------------------- > Exception: javax.transaction.NotSupportedException > Message: BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction! > ---- stack trace --------------------------------------------------------------- > javax.transaction.NotSupportedException: BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction! > com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:80) > com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.begin(BaseTransactionManagerDelegate.java:65) > org.jboss.tm.usertx.client.ServerVMClientUserTransaction.begin(ServerVMClientUserTransaction.java:137) > org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125) > org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:81) > org.ofbiz.service.job.JobManager.poll(JobManager.java:148) > org.ofbiz.service.job.JobPoller.run(JobPoller.java:90) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- > Also I am getting this OutOfMemory error when deployed in JBOSS 5.0.1 > ============================================================= > 15:47:08,530 ERROR [JobManager] > ---- exception report ---------------------------------------------------------- > Error in polling JobSandbox: [org.ofbiz.entity.transaction.GenericTransactionException: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error in polling JobSandbox: [java.lang.OutOfMemoryError: unable to create new native thread]. Rolling back transaction.java.lang.OutOfMemoryError: unable to create new native thread (unable to create new native thread)]. Rolling back transaction. > Exception: org.ofbiz.entity.transaction.GenericTransactionException > Message: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error in polling JobSandbox: [java.lang.OutOfMemoryError: unable to create new native thread]. Rolling back transaction.java.lang.OutOfMemoryError: unable to create new native thread (unable to create new native thread) > ---- cause --------------------------------------------------------------------- > Exception: java.lang.OutOfMemoryError > Message: unable to create new native thread > ---- stack trace --------------------------------------------------------------- > java.lang.OutOfMemoryError: unable to create new native thread > java.lang.Thread.start0(Native Method) > java.lang.Thread.start(Thread.java:597) > org.ofbiz.entity.transaction.GenericXaResource.start(GenericXaResource.java:97) > com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:789) > com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:500) > org.ofbiz.entity.transaction.GenericXaResource.enlist(GenericXaResource.java:67) > org.ofbiz.entity.transaction.GenericXaResource.enlist(GenericXaResource.java:50) > org.ofbiz.entity.transaction.DebugXaResource.enlist(DebugXaResource.java:50) > org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:141) > org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:81) > org.ofbiz.service.job.JobManager.poll(JobManager.java:148) > org.ofbiz.service.job.JobPoller.run(JobPoller.java:90) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12858561#action_12858561 ] Rashmi R Hati commented on OFBIZ-3707: -------------------------------------- Hi Jacques, I have deployed the Ofbiz application(ofbiz-release9.04 stable) as an EAR into the JBoss5.0 Application server.I was able to deploy and run it for a sigle user, but when we put a load of about 20 users simultaneously accessing the Ofbiz Application it throws the outofmemory Exception. Do you have any suggestion regarding this, or is it fixed in some patches of the latest stable release. Regards, Rashmi Ranjan Hati -----"Jacques Le Roux (JIRA)" wrote: -----To: [hidden email] From: "Jacques Le Roux (JIRA)" <[hidden email]> Date: 04/19/2010 05:04PM Subject: [jira] Commented: (OFBIZ-3707) Error in polling JobSandbox, Exception: java.lang.OutOfMemoryError [ [1]https://issues.apache.org/jira/browse/OFBIZ-3707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12858462#action_12858462 ] Jacques Le Roux commented on OFBIZ-3707: ---------------------------------------- Looks like it's not directly related to OFBiz. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you ---------------------------------------------------------------------------------------- [1] https://issues.apache.org/jira/browse/OFBIZ-3707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12858462#action_12858462 [2] https://issues.apache.org/jira/browse/OFBIZ-3707 > Error in polling JobSandbox, Exception: java.lang.OutOfMemoryError > ------------------------------------------------------------------ > > Key: OFBIZ-3707 > URL: https://issues.apache.org/jira/browse/OFBIZ-3707 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/ecommerce > Affects Versions: Release Branch 9.04 > Environment: Fedora 9 Linux,2GB RAM,Core2Duo Processor, deployed on JBOSS 5.0 Appserver > Reporter: Rashmi R Hati > Fix For: Release Branch 9.04 > > > Hi, > I am using the Ofbiz Release 9.04 stable version. > I am getting this error on simultaneously creating New Customers for the ecommerce site - for 20 users > ============================================================================================================== > Error in polling JobSandbox: [org.ofbiz.entity.transaction.GenericTransactionException: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!)]. Rolling back transaction. > Exception: org.ofbiz.entity.transaction.GenericTransactionException > Message: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!) > ---- cause --------------------------------------------------------------------- > Exception: javax.transaction.NotSupportedException > Message: BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction! > ---- stack trace --------------------------------------------------------------- > javax.transaction.NotSupportedException: BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction! > com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:80) > com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.begin(BaseTransactionManagerDelegate.java:65) > org.jboss.tm.usertx.client.ServerVMClientUserTransaction.begin(ServerVMClientUserTransaction.java:137) > org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125) > org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:81) > org.ofbiz.service.job.JobManager.poll(JobManager.java:148) > org.ofbiz.service.job.JobPoller.run(JobPoller.java:90) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- > 16:27:18,249 ERROR [TransactionUtil] > ---- exception report ---------------------------------------------------------- > WARNING: In setSetRollbackOnlyCause a stack placeholder was already in place, here is the original rollbackOnly cause: Error in polling JobSandbox: [org.ofbiz.entity.transaction.GenericTransactionException: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!)]. Rolling back transaction.org.ofbiz.entity.transaction.GenericTransactionException: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!) > Exception: org.ofbiz.entity.transaction.GenericTransactionException > Message: Not Supported error, could not begin transaction (probably a nesting problem) (BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction!) > ---- cause --------------------------------------------------------------------- > Exception: javax.transaction.NotSupportedException > Message: BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction! > ---- stack trace --------------------------------------------------------------- > javax.transaction.NotSupportedException: BaseTransaction.checkTransactionState - [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] [com.arjuna.ats.internal.jta.transaction.arjunacore.alreadyassociated] thread is already associated with a transaction! > com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:80) > com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.begin(BaseTransactionManagerDelegate.java:65) > org.jboss.tm.usertx.client.ServerVMClientUserTransaction.begin(ServerVMClientUserTransaction.java:137) > org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125) > org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:81) > org.ofbiz.service.job.JobManager.poll(JobManager.java:148) > org.ofbiz.service.job.JobPoller.run(JobPoller.java:90) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- > Also I am getting this OutOfMemory error when deployed in JBOSS 5.0.1 > ============================================================= > 15:47:08,530 ERROR [JobManager] > ---- exception report ---------------------------------------------------------- > Error in polling JobSandbox: [org.ofbiz.entity.transaction.GenericTransactionException: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error in polling JobSandbox: [java.lang.OutOfMemoryError: unable to create new native thread]. Rolling back transaction.java.lang.OutOfMemoryError: unable to create new native thread (unable to create new native thread)]. Rolling back transaction. > Exception: org.ofbiz.entity.transaction.GenericTransactionException > Message: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error in polling JobSandbox: [java.lang.OutOfMemoryError: unable to create new native thread]. Rolling back transaction.java.lang.OutOfMemoryError: unable to create new native thread (unable to create new native thread) > ---- cause --------------------------------------------------------------------- > Exception: java.lang.OutOfMemoryError > Message: unable to create new native thread > ---- stack trace --------------------------------------------------------------- > java.lang.OutOfMemoryError: unable to create new native thread > java.lang.Thread.start0(Native Method) > java.lang.Thread.start(Thread.java:597) > org.ofbiz.entity.transaction.GenericXaResource.start(GenericXaResource.java:97) > com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:789) > com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:500) > org.ofbiz.entity.transaction.GenericXaResource.enlist(GenericXaResource.java:67) > org.ofbiz.entity.transaction.GenericXaResource.enlist(GenericXaResource.java:50) > org.ofbiz.entity.transaction.DebugXaResource.enlist(DebugXaResource.java:50) > org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:141) > org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:81) > org.ofbiz.service.job.JobManager.poll(JobManager.java:148) > org.ofbiz.service.job.JobPoller.run(JobPoller.java:90) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |