Ofbiz java exception on Centos 6

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Ofbiz java exception on Centos 6

hzzg6y
All,

      I am getting below problem whenever I am creating order & trying to create the event.
Please can you advice or provide some hint. I am on VPS CentOS 6 with 1 GB RAM on ProtgreSQL

WARNING: In getSetRollbackOnlyCause no stack placeholder was in place, here is the current location:
Exception: java.lang.Exception
Message: Current Stack Trace


2012-10-15 20:28:42,023 (org.ofbiz.service.job.JobPoller@61932006) [         JobManager.java:200:ERROR]
---- exception report ----------------------------------------------------------
Transaction error trying to commit when polling and updating the JobSandbox: org.ofbiz.entity.transaction.GenericTransactionException: Roll back error (with no rollbackOnly cause found), could not commit transaction, was rolled back instead: javax.transaction.RollbackException: Transaction timeout (Transaction timeout)
Exception: org.ofbiz.entity.transaction.GenericTransactionException
Message: Roll back error (with no rollbackOnly cause found), could not commit transaction, was rolled back instead: javax.transaction.RollbackException: Transaction timeout (Transaction timeout)
Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz java exception on Centos 6

hzzg6y
Please can you someone help me on above issue. Just provide the hint or pointer.
Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz java exception on Centos 6

hzzg6y
Please can someone confirm is it due to Memory heap size.

I launch OFBiz using startofbiz (sh or bat). In it you may increase -Xms256M (means mini memory used) to more if possible (-Xmx512M means maxi used).