I am getting the transaction-timeout error

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

I am getting the transaction-timeout error

skpradeepkumar
Hi All,

    Could you please help in resolving transaction-timeout error.

    Due to what reason this error is coming?
    What is the solution?
 In my console  i am getting.

2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
TransactionUtil.java:737:WARN ]
---- exception report
----------------------------------------------------------
WARNING: In getSetRollbackOnlyCause no stack placeholder was in place, here
is the current location:
Exception: java.lang.Exception
Message: Current Stack Trace
---- stack trace
---------------------------------------------------------------
java.lang.Exception: Current Stack Trace
org.ofbiz.entity.transaction.TransactionUtil.getSetRollbackOnlyCause(TransactionUtil.java:736)
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:212)
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------

2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
ModelScreen.java:167:ERROR]
---- exception report
----------------------------------------------------------
Could not commit transaction:
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)
---- stack trace
---------------------------------------------------------------
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)
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:224)
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)
javax.transaction.RollbackException: Transaction timeout
org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:269)
org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:245)
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:199)
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------

2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
TransactionUtil.java:642:WARN ]
---- exception report
----------------------------------------------------------
WARNING: In setTransactionBeginStack a stack placeholder was already in
place, here is where the transaction began:
Exception: java.lang.Exception
Message: Tx Stack Placeholder
---- stack trace
---------------------------------------------------------------
java.lang.Exception: Tx Stack Placeholder
org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:636)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:127)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------

2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
TransactionUtil.java:644:WARN ]
---- exception report
----------------------------------------------------------
WARNING: In setTransactionBeginStack a stack placeholder was already in
place, here is the current location:
Exception: java.lang.Exception
Message: Current Stack Trace
---- stack trace
---------------------------------------------------------------
java.lang.Exception: Current Stack Trace
org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:643)
org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:637)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
org.ofbiz.entity.GenericDelegator.findByPrimaryKey(GenericDelegator.java:1228)
org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1281)
org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1307)
org.ofbiz.webapp.stats.ServerHitBin.saveHit(ServerHitBin.java:609)
org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:208)
org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:85)
org.ofbiz.webapp.stats.ServerHitBin.countRequest(ServerHitBin.java:58)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:255)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------

--
With regards,
S K Pradeep kumar
Reply | Threaded
Open this post in threaded view
|

Re: I am getting the transaction-timeout error

BJ Freeman
what steps did you do to get this errror.
there is more to the log that will probably give better insight


S K Pradeep Kumar sent the following on 7/25/2009 5:39 AM:

> Hi All,
>
>     Could you please help in resolving transaction-timeout error.
>
>     Due to what reason this error is coming?
>     What is the solution?
>  In my console  i am getting.
>
> 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
> TransactionUtil.java:737:WARN ]
> ---- exception report
> ----------------------------------------------------------
> WARNING: In getSetRollbackOnlyCause no stack placeholder was in place, here
> is the current location:
> Exception: java.lang.Exception
> Message: Current Stack Trace
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.Exception: Current Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.getSetRollbackOnlyCause(TransactionUtil.java:736)
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:212)
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
>
> 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
> ModelScreen.java:167:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Could not commit transaction:
> 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)
> ---- stack trace
> ---------------------------------------------------------------
> 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)
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:224)
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:595)
> javax.transaction.RollbackException: Transaction timeout
> org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:269)
> org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:245)
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:199)
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
>
> 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
> TransactionUtil.java:642:WARN ]
> ---- exception report
> ----------------------------------------------------------
> WARNING: In setTransactionBeginStack a stack placeholder was already in
> place, here is where the transaction began:
> Exception: java.lang.Exception
> Message: Tx Stack Placeholder
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.Exception: Tx Stack Placeholder
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:636)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:127)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
>
> 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
> TransactionUtil.java:644:WARN ]
> ---- exception report
> ----------------------------------------------------------
> WARNING: In setTransactionBeginStack a stack placeholder was already in
> place, here is the current location:
> Exception: java.lang.Exception
> Message: Current Stack Trace
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.Exception: Current Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:643)
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:637)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
> org.ofbiz.entity.GenericDelegator.findByPrimaryKey(GenericDelegator.java:1228)
> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1281)
> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1307)
> org.ofbiz.webapp.stats.ServerHitBin.saveHit(ServerHitBin.java:609)
> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:208)
> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:85)
> org.ofbiz.webapp.stats.ServerHitBin.countRequest(ServerHitBin.java:58)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:255)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
>

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.

Reply | Threaded
Open this post in threaded view
|

Re: I am getting the transaction-timeout error

skpradeepkumar
Hi,

    I am running the application localy that is similar to
http://75.127.101.143/ecart.
     Here i am going to search the products using the search option in the
ecommerce side.
     In my application i am having around 1500 products.
     If click on the search button without entering any search_string then
it will bring all the products in the database at that time only i am
getting this error.


thanks,

With regards,
S K Pradeep kumar

On Sat, Jul 25, 2009 at 6:59 PM, BJ Freeman <[hidden email]> wrote:

> what steps did you do to get this errror.
> there is more to the log that will probably give better insight
>
>
> S K Pradeep Kumar sent the following on 7/25/2009 5:39 AM:
> > Hi All,
> >
> >     Could you please help in resolving transaction-timeout error.
> >
> >     Due to what reason this error is coming?
> >     What is the solution?
> >  In my console  i am getting.
> >
> > 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
> > TransactionUtil.java:737:WARN ]
> > ---- exception report
> > ----------------------------------------------------------
> > WARNING: In getSetRollbackOnlyCause no stack placeholder was in place,
> here
> > is the current location:
> > Exception: java.lang.Exception
> > Message: Current Stack Trace
> > ---- stack trace
> > ---------------------------------------------------------------
> > java.lang.Exception: Current Stack Trace
> >
> org.ofbiz.entity.transaction.TransactionUtil.getSetRollbackOnlyCause(TransactionUtil.java:736)
> >
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:212)
> >
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
> >
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
> > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> >
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> >
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> >
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> > java.lang.Thread.run(Thread.java:595)
> >
> --------------------------------------------------------------------------------
> >
> > 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
> > ModelScreen.java:167:ERROR]
> > ---- exception report
> > ----------------------------------------------------------
> > Could not commit transaction:
> > 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)
> > ---- stack trace
> > ---------------------------------------------------------------
> > 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)
> >
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:224)
> >
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
> >
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
> > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> >
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> >
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> >
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> > java.lang.Thread.run(Thread.java:595)
> > javax.transaction.RollbackException: Transaction timeout
> >
> org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:269)
> >
> org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:245)
> >
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:199)
> >
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
> >
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
> > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> >
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> >
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> >
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> > java.lang.Thread.run(Thread.java:595)
> >
> --------------------------------------------------------------------------------
> >
> > 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
> > TransactionUtil.java:642:WARN ]
> > ---- exception report
> > ----------------------------------------------------------
> > WARNING: In setTransactionBeginStack a stack placeholder was already in
> > place, here is where the transaction began:
> > Exception: java.lang.Exception
> > Message: Tx Stack Placeholder
> > ---- stack trace
> > ---------------------------------------------------------------
> > java.lang.Exception: Tx Stack Placeholder
> >
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:636)
> >
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
> >
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
> >
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:127)
> > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> >
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> >
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> >
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> > java.lang.Thread.run(Thread.java:595)
> >
> --------------------------------------------------------------------------------
> >
> > 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
> > TransactionUtil.java:644:WARN ]
> > ---- exception report
> > ----------------------------------------------------------
> > WARNING: In setTransactionBeginStack a stack placeholder was already in
> > place, here is the current location:
> > Exception: java.lang.Exception
> > Message: Current Stack Trace
> > ---- stack trace
> > ---------------------------------------------------------------
> > java.lang.Exception: Current Stack Trace
> >
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:643)
> >
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:637)
> >
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
> >
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
> >
> org.ofbiz.entity.GenericDelegator.findByPrimaryKey(GenericDelegator.java:1228)
> >
> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1281)
> >
> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1307)
> > org.ofbiz.webapp.stats.ServerHitBin.saveHit(ServerHitBin.java:609)
> > org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:208)
> > org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:85)
> > org.ofbiz.webapp.stats.ServerHitBin.countRequest(ServerHitBin.java:58)
> > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:255)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> > java.lang.Thread.run(Thread.java:595)
> >
> --------------------------------------------------------------------------------
> >
>
> --
> BJ Freeman
> http://www.businessesnetwork.com/automation
> http://bjfreeman.elance.com
>
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> Systems Integrator.
>
>


--
With regards,
S K Pradeep kumar
Reply | Threaded
Open this post in threaded view
|

Re: I am getting the transaction-timeout error

skpradeepkumar
Hi Bj,
 
  I found that in my application i am getting this error when rendering a screens.
I want to ask one question.

 In the modelScreens.java(attached) file i am  getting this error when the renderScreenString is called where we are going to commit the trasnsaction in the finally block.

Why do we need to commit the transaction in the finally block? If beganTransaction flag is false?

try {
                TransactionUtil.commit(beganTransaction);
            } catch (GenericEntityException e2) {
                Debug.logError(e2, "Could not commit transaction: " + e2.toString(), module);
            }
 



    

On Sat, Jul 25, 2009 at 7:08 PM, S K Pradeep Kumar <[hidden email]> wrote:
Hi,
 
    I am running the application localy that is similar to http://75.127.101.143/ecart.
     Here i am going to search the products using the search option in the ecommerce side.
     In my application i am having around 1500 products.
     If click on the search button without entering any search_string then it will bring all the products in the database at that time only i am getting this error.


thanks,

 
With regards,
S K Pradeep kumar

On Sat, Jul 25, 2009 at 6:59 PM, BJ Freeman <[hidden email]> wrote:
what steps did you do to get this errror.
there is more to the log that will probably give better insight


S K Pradeep Kumar sent the following on 7/25/2009 5:39 AM:
> Hi All,
>
>     Could you please help in resolving transaction-timeout error.
>
>     Due to what reason this error is coming?
>     What is the solution?
>  In my console  i am getting.
>
> 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
> TransactionUtil.java:737:WARN ]
> ---- exception report
> ----------------------------------------------------------
> WARNING: In getSetRollbackOnlyCause no stack placeholder was in place, here
> is the current location:
> Exception: java.lang.Exception
> Message: Current Stack Trace
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.Exception: Current Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.getSetRollbackOnlyCause(TransactionUtil.java:736)
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:212)
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
>
> 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
> ModelScreen.java:167:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Could not commit transaction:
> 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)
> ---- stack trace
> ---------------------------------------------------------------
> 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)
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:224)
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:595)
> javax.transaction.RollbackException: Transaction timeout
> org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:269)
> org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:245)
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:199)
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
>
> 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
> TransactionUtil.java:642:WARN ]
> ---- exception report
> ----------------------------------------------------------
> WARNING: In setTransactionBeginStack a stack placeholder was already in
> place, here is where the transaction began:
> Exception: java.lang.Exception
> Message: Tx Stack Placeholder
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.Exception: Tx Stack Placeholder
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:636)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:127)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
>
> 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
> TransactionUtil.java:644:WARN ]
> ---- exception report
> ----------------------------------------------------------
> WARNING: In setTransactionBeginStack a stack placeholder was already in
> place, here is the current location:
> Exception: java.lang.Exception
> Message: Current Stack Trace
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.Exception: Current Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:643)
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:637)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
> org.ofbiz.entity.GenericDelegator.findByPrimaryKey(GenericDelegator.java:1228)
> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1281)
> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1307)
> org.ofbiz.webapp.stats.ServerHitBin.saveHit(ServerHitBin.java:609)
> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:208)
> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:85)
> org.ofbiz.webapp.stats.ServerHitBin.countRequest(ServerHitBin.java:58)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:255)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
>

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.




--
With regards,
S K Pradeep kumar




--
With regards,
S K Pradeep kumar

Reply | Threaded
Open this post in threaded view
|

Re: I am getting the transaction-timeout error

BJ Freeman
In reply to this post by BJ Freeman
how much RAM to you have?
How much is being used?

S K Pradeep Kumar sent the following on 7/25/2009 6:38 AM:

> Hi,
>
>     I am running the application localy that is similar to
> http://75.127.101.143/ecart.
>      Here i am going to search the products using the search option in the
> ecommerce side.
>      In my application i am having around 1500 products.
>      If click on the search button without entering any search_string then
> it will bring all the products in the database at that time only i am
> getting this error.
>
>
> thanks,
>
> With regards,
> S K Pradeep kumar
>
> On Sat, Jul 25, 2009 at 6:59 PM, BJ Freeman <[hidden email]> wrote:
>
>> what steps did you do to get this errror.
>> there is more to the log that will probably give better insight
>>
>>
>> S K Pradeep Kumar sent the following on 7/25/2009 5:39 AM:
>>> Hi All,
>>>
>>>     Could you please help in resolving transaction-timeout error.
>>>
>>>     Due to what reason this error is coming?
>>>     What is the solution?
>>>  In my console  i am getting.
>>>
>>> 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
>>> TransactionUtil.java:737:WARN ]
>>> ---- exception report
>>> ----------------------------------------------------------
>>> WARNING: In getSetRollbackOnlyCause no stack placeholder was in place,
>> here
>>> is the current location:
>>> Exception: java.lang.Exception
>>> Message: Current Stack Trace
>>> ---- stack trace
>>> ---------------------------------------------------------------
>>> java.lang.Exception: Current Stack Trace
>>>
>> org.ofbiz.entity.transaction.TransactionUtil.getSetRollbackOnlyCause(TransactionUtil.java:736)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:212)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>>>
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Thread.java:595)
>>>
>> --------------------------------------------------------------------------------
>>> 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
>>> ModelScreen.java:167:ERROR]
>>> ---- exception report
>>> ----------------------------------------------------------
>>> Could not commit transaction:
>>> 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)
>>> ---- stack trace
>>> ---------------------------------------------------------------
>>> 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)
>>>
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:224)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>>>
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Thread.java:595)
>>> javax.transaction.RollbackException: Transaction timeout
>>>
>> org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:269)
>> org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:245)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:199)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>>>
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Thread.java:595)
>>>
>> --------------------------------------------------------------------------------
>>> 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
>>> TransactionUtil.java:642:WARN ]
>>> ---- exception report
>>> ----------------------------------------------------------
>>> WARNING: In setTransactionBeginStack a stack placeholder was already in
>>> place, here is where the transaction began:
>>> Exception: java.lang.Exception
>>> Message: Tx Stack Placeholder
>>> ---- stack trace
>>> ---------------------------------------------------------------
>>> java.lang.Exception: Tx Stack Placeholder
>>>
>> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:636)
>> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
>> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:127)
>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>>>
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Thread.java:595)
>>>
>> --------------------------------------------------------------------------------
>>> 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
>>> TransactionUtil.java:644:WARN ]
>>> ---- exception report
>>> ----------------------------------------------------------
>>> WARNING: In setTransactionBeginStack a stack placeholder was already in
>>> place, here is the current location:
>>> Exception: java.lang.Exception
>>> Message: Current Stack Trace
>>> ---- stack trace
>>> ---------------------------------------------------------------
>>> java.lang.Exception: Current Stack Trace
>>>
>> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:643)
>> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:637)
>> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
>> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
>> org.ofbiz.entity.GenericDelegator.findByPrimaryKey(GenericDelegator.java:1228)
>> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1281)
>> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1307)
>>> org.ofbiz.webapp.stats.ServerHitBin.saveHit(ServerHitBin.java:609)
>>> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:208)
>>> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:85)
>>> org.ofbiz.webapp.stats.ServerHitBin.countRequest(ServerHitBin.java:58)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:255)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Thread.java:595)
>>>
>> --------------------------------------------------------------------------------
>> --
>> BJ Freeman
>> http://www.businessesnetwork.com/automation
>> http://bjfreeman.elance.com
>>
>> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>> Systems Integrator.
>>
>>
>
>

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.

Reply | Threaded
Open this post in threaded view
|

Re: I am getting the transaction-timeout error

skpradeepkumar
Hi Bj,

     I am having 2gb ram on my vps and it uses around 1300 to 1350 MB .

With regards,
S K Pradeep kumar

On Sat, Jul 25, 2009 at 10:41 PM, BJ Freeman <[hidden email]> wrote:

> how much RAM to you have?
> How much is being used?
>
> S K Pradeep Kumar sent the following on 7/25/2009 6:38 AM:
> > Hi,
> >
> >     I am running the application localy that is similar to
> > http://75.127.101.143/ecart.
> >      Here i am going to search the products using the search option in
> the
> > ecommerce side.
> >      In my application i am having around 1500 products.
> >      If click on the search button without entering any search_string
> then
> > it will bring all the products in the database at that time only i am
> > getting this error.
> >
> >
> > thanks,
> >
> > With regards,
> > S K Pradeep kumar
> >
> > On Sat, Jul 25, 2009 at 6:59 PM, BJ Freeman <[hidden email]> wrote:
> >
> >> what steps did you do to get this errror.
> >> there is more to the log that will probably give better insight
> >>
> >>
> >> S K Pradeep Kumar sent the following on 7/25/2009 5:39 AM:
> >>> Hi All,
> >>>
> >>>     Could you please help in resolving transaction-timeout error.
> >>>
> >>>     Due to what reason this error is coming?
> >>>     What is the solution?
> >>>  In my console  i am getting.
> >>>
> >>> 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
> >>> TransactionUtil.java:737:WARN ]
> >>> ---- exception report
> >>> ----------------------------------------------------------
> >>> WARNING: In getSetRollbackOnlyCause no stack placeholder was in place,
> >> here
> >>> is the current location:
> >>> Exception: java.lang.Exception
> >>> Message: Current Stack Trace
> >>> ---- stack trace
> >>> ---------------------------------------------------------------
> >>> java.lang.Exception: Current Stack Trace
> >>>
> >>
> org.ofbiz.entity.transaction.TransactionUtil.getSetRollbackOnlyCause(TransactionUtil.java:736)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:212)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
> >>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
> >>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> >>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> >>>
> >>
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> >>
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> >>
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> >>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >>>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >>>
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> >>> java.lang.Thread.run(Thread.java:595)
> >>>
> >>
> --------------------------------------------------------------------------------
> >>> 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
> >>> ModelScreen.java:167:ERROR]
> >>> ---- exception report
> >>> ----------------------------------------------------------
> >>> Could not commit transaction:
> >>> 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)
> >>> ---- stack trace
> >>> ---------------------------------------------------------------
> >>> 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)
> >>>
> >>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:224)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
> >>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
> >>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> >>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> >>>
> >>
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> >>
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> >>
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> >>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >>>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >>>
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> >>> java.lang.Thread.run(Thread.java:595)
> >>> javax.transaction.RollbackException: Transaction timeout
> >>>
> >>
> org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:269)
> >>
> org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:245)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:199)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
> >>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
> >>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> >>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> >>>
> >>
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> >>
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> >>
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> >>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >>>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >>>
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> >>> java.lang.Thread.run(Thread.java:595)
> >>>
> >>
> --------------------------------------------------------------------------------
> >>> 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
> >>> TransactionUtil.java:642:WARN ]
> >>> ---- exception report
> >>> ----------------------------------------------------------
> >>> WARNING: In setTransactionBeginStack a stack placeholder was already in
> >>> place, here is where the transaction began:
> >>> Exception: java.lang.Exception
> >>> Message: Tx Stack Placeholder
> >>> ---- stack trace
> >>> ---------------------------------------------------------------
> >>> java.lang.Exception: Tx Stack Placeholder
> >>>
> >>
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:636)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
> >>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:127)
> >>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> >>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> >>>
> >>
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> >>
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> >>
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> >>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >>>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >>>
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> >>> java.lang.Thread.run(Thread.java:595)
> >>>
> >>
> --------------------------------------------------------------------------------
> >>> 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
> >>> TransactionUtil.java:644:WARN ]
> >>> ---- exception report
> >>> ----------------------------------------------------------
> >>> WARNING: In setTransactionBeginStack a stack placeholder was already in
> >>> place, here is the current location:
> >>> Exception: java.lang.Exception
> >>> Message: Current Stack Trace
> >>> ---- stack trace
> >>> ---------------------------------------------------------------
> >>> java.lang.Exception: Current Stack Trace
> >>>
> >>
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:643)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:637)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
> >>
> org.ofbiz.entity.GenericDelegator.findByPrimaryKey(GenericDelegator.java:1228)
> >>
> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1281)
> >>
> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1307)
> >>> org.ofbiz.webapp.stats.ServerHitBin.saveHit(ServerHitBin.java:609)
> >>> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:208)
> >>> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:85)
> >>> org.ofbiz.webapp.stats.ServerHitBin.countRequest(ServerHitBin.java:58)
> >>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:255)
> >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >>>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >>>
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> >>> java.lang.Thread.run(Thread.java:595)
> >>>
> >>
> --------------------------------------------------------------------------------
> >> --
> >> BJ Freeman
> >> http://www.businessesnetwork.com/automation
> >> http://bjfreeman.elance.com
> >>
> >>
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> >> Systems Integrator.
> >>
> >>
> >
> >
>
> --
> BJ Freeman
> http://www.businessesnetwork.com/automation
> http://bjfreeman.elance.com
>
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> Systems Integrator.
>
>


--
With regards,
S K Pradeep kumar
Reply | Threaded
Open this post in threaded view
|

Re: I am getting the transaction-timeout error

BJ Freeman
In reply to this post by BJ Freeman
my guess is that you are running into swap delays.
nothing to do with ofbiz or java.


S K Pradeep Kumar sent the following on 7/25/2009 10:24 AM:

> Hi Bj,
>
>      I am having 2gb ram on my vps and it uses around 1300 to 1350 MB .
>
> With regards,
> S K Pradeep kumar
>
> On Sat, Jul 25, 2009 at 10:41 PM, BJ Freeman <[hidden email]> wrote:
>
>> how much RAM to you have?
>> How much is being used?
>>
>> S K Pradeep Kumar sent the following on 7/25/2009 6:38 AM:
>>> Hi,
>>>
>>>     I am running the application localy that is similar to
>>> http://75.127.101.143/ecart.
>>>      Here i am going to search the products using the search option in
>> the
>>> ecommerce side.
>>>      In my application i am having around 1500 products.
>>>      If click on the search button without entering any search_string
>> then
>>> it will bring all the products in the database at that time only i am
>>> getting this error.
>>>
>>>
>>> thanks,
>>>
>>> With regards,
>>> S K Pradeep kumar
>>>
>>> On Sat, Jul 25, 2009 at 6:59 PM, BJ Freeman <[hidden email]> wrote:
>>>
>>>> what steps did you do to get this errror.
>>>> there is more to the log that will probably give better insight
>>>>
>>>>
>>>> S K Pradeep Kumar sent the following on 7/25/2009 5:39 AM:
>>>>> Hi All,
>>>>>
>>>>>     Could you please help in resolving transaction-timeout error.
>>>>>
>>>>>     Due to what reason this error is coming?
>>>>>     What is the solution?
>>>>>  In my console  i am getting.
>>>>>
>>>>> 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
>>>>> TransactionUtil.java:737:WARN ]
>>>>> ---- exception report
>>>>> ----------------------------------------------------------
>>>>> WARNING: In getSetRollbackOnlyCause no stack placeholder was in place,
>>>> here
>>>>> is the current location:
>>>>> Exception: java.lang.Exception
>>>>> Message: Current Stack Trace
>>>>> ---- stack trace
>>>>> ---------------------------------------------------------------
>>>>> java.lang.Exception: Current Stack Trace
>>>>>
>> org.ofbiz.entity.transaction.TransactionUtil.getSetRollbackOnlyCause(TransactionUtil.java:736)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:212)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
>>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>>>>>
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>
>> --------------------------------------------------------------------------------
>>>>> 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
>>>>> ModelScreen.java:167:ERROR]
>>>>> ---- exception report
>>>>> ----------------------------------------------------------
>>>>> Could not commit transaction:
>>>>> 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)
>>>>> ---- stack trace
>>>>> ---------------------------------------------------------------
>>>>> 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)
>>>>>
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:224)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
>>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>>>>>
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Thread.java:595)
>>>>> javax.transaction.RollbackException: Transaction timeout
>>>>>
>> org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:269)
>> org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:245)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:199)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
>>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>>>>>
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>
>> --------------------------------------------------------------------------------
>>>>> 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
>>>>> TransactionUtil.java:642:WARN ]
>>>>> ---- exception report
>>>>> ----------------------------------------------------------
>>>>> WARNING: In setTransactionBeginStack a stack placeholder was already in
>>>>> place, here is where the transaction began:
>>>>> Exception: java.lang.Exception
>>>>> Message: Tx Stack Placeholder
>>>>> ---- stack trace
>>>>> ---------------------------------------------------------------
>>>>> java.lang.Exception: Tx Stack Placeholder
>>>>>
>> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:636)
>> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
>> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:127)
>>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>>>>>
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>
>> --------------------------------------------------------------------------------
>>>>> 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
>>>>> TransactionUtil.java:644:WARN ]
>>>>> ---- exception report
>>>>> ----------------------------------------------------------
>>>>> WARNING: In setTransactionBeginStack a stack placeholder was already in
>>>>> place, here is the current location:
>>>>> Exception: java.lang.Exception
>>>>> Message: Current Stack Trace
>>>>> ---- stack trace
>>>>> ---------------------------------------------------------------
>>>>> java.lang.Exception: Current Stack Trace
>>>>>
>> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:643)
>> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:637)
>> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
>> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
>> org.ofbiz.entity.GenericDelegator.findByPrimaryKey(GenericDelegator.java:1228)
>> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1281)
>> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1307)
>>>>> org.ofbiz.webapp.stats.ServerHitBin.saveHit(ServerHitBin.java:609)
>>>>> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:208)
>>>>> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:85)
>>>>> org.ofbiz.webapp.stats.ServerHitBin.countRequest(ServerHitBin.java:58)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:255)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>
>> --------------------------------------------------------------------------------
>>>> --
>>>> BJ Freeman
>>>> http://www.businessesnetwork.com/automation
>>>> http://bjfreeman.elance.com
>>>>
>>>>
>> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>>>> Systems Integrator.
>>>>
>>>>
>>>
>> --
>> BJ Freeman
>> http://www.businessesnetwork.com/automation
>> http://bjfreeman.elance.com
>>
>> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>> Systems Integrator.
>>
>>
>
>

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.

Reply | Threaded
Open this post in threaded view
|

Re: I am getting the transaction-timeout error

skpradeepkumar
Hi Bj,

      But the same error is coming in my local system(windowsXP, with 1gb
ram) also,



thanks,

With regards,
S K Pradeep kumar

On Sun, Jul 26, 2009 at 12:03 AM, BJ Freeman <[hidden email]> wrote:

> my guess is that you are running into swap delays.
> nothing to do with ofbiz or java.
>
>
> S K Pradeep Kumar sent the following on 7/25/2009 10:24 AM:
> > Hi Bj,
> >
> >      I am having 2gb ram on my vps and it uses around 1300 to 1350 MB .
> >
> > With regards,
> > S K Pradeep kumar
> >
> > On Sat, Jul 25, 2009 at 10:41 PM, BJ Freeman <[hidden email]>
> wrote:
> >
> >> how much RAM to you have?
> >> How much is being used?
> >>
> >> S K Pradeep Kumar sent the following on 7/25/2009 6:38 AM:
> >>> Hi,
> >>>
> >>>     I am running the application localy that is similar to
> >>> http://75.127.101.143/ecart.
> >>>      Here i am going to search the products using the search option in
> >> the
> >>> ecommerce side.
> >>>      In my application i am having around 1500 products.
> >>>      If click on the search button without entering any search_string
> >> then
> >>> it will bring all the products in the database at that time only i am
> >>> getting this error.
> >>>
> >>>
> >>> thanks,
> >>>
> >>> With regards,
> >>> S K Pradeep kumar
> >>>
> >>> On Sat, Jul 25, 2009 at 6:59 PM, BJ Freeman <[hidden email]>
> wrote:
> >>>
> >>>> what steps did you do to get this errror.
> >>>> there is more to the log that will probably give better insight
> >>>>
> >>>>
> >>>> S K Pradeep Kumar sent the following on 7/25/2009 5:39 AM:
> >>>>> Hi All,
> >>>>>
> >>>>>     Could you please help in resolving transaction-timeout error.
> >>>>>
> >>>>>     Due to what reason this error is coming?
> >>>>>     What is the solution?
> >>>>>  In my console  i am getting.
> >>>>>
> >>>>> 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
> >>>>> TransactionUtil.java:737:WARN ]
> >>>>> ---- exception report
> >>>>> ----------------------------------------------------------
> >>>>> WARNING: In getSetRollbackOnlyCause no stack placeholder was in
> place,
> >>>> here
> >>>>> is the current location:
> >>>>> Exception: java.lang.Exception
> >>>>> Message: Current Stack Trace
> >>>>> ---- stack trace
> >>>>> ---------------------------------------------------------------
> >>>>> java.lang.Exception: Current Stack Trace
> >>>>>
> >>
> org.ofbiz.entity.transaction.TransactionUtil.getSetRollbackOnlyCause(TransactionUtil.java:736)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:212)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
> >>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
> >>>>>
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> >>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> >>>>>
> >>
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> >>
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> >>
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> >>>>>
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> >>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> >>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>>>>
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> >>>>> java.lang.Thread.run(Thread.java:595)
> >>>>>
> >>
> --------------------------------------------------------------------------------
> >>>>> 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
> >>>>> ModelScreen.java:167:ERROR]
> >>>>> ---- exception report
> >>>>> ----------------------------------------------------------
> >>>>> Could not commit transaction:
> >>>>> 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)
> >>>>> ---- stack trace
> >>>>> ---------------------------------------------------------------
> >>>>> 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)
> >>>>>
> >>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:224)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
> >>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
> >>>>>
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> >>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> >>>>>
> >>
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> >>
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> >>
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> >>>>>
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> >>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> >>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>>>>
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> >>>>> java.lang.Thread.run(Thread.java:595)
> >>>>> javax.transaction.RollbackException: Transaction timeout
> >>>>>
> >>
> org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:269)
> >>
> org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:245)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:199)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
> >>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
> >>>>>
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> >>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> >>>>>
> >>
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> >>
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> >>
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> >>>>>
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> >>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> >>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>>>>
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> >>>>> java.lang.Thread.run(Thread.java:595)
> >>>>>
> >>
> --------------------------------------------------------------------------------
> >>>>> 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
> >>>>> TransactionUtil.java:642:WARN ]
> >>>>> ---- exception report
> >>>>> ----------------------------------------------------------
> >>>>> WARNING: In setTransactionBeginStack a stack placeholder was already
> in
> >>>>> place, here is where the transaction began:
> >>>>> Exception: java.lang.Exception
> >>>>> Message: Tx Stack Placeholder
> >>>>> ---- stack trace
> >>>>> ---------------------------------------------------------------
> >>>>> java.lang.Exception: Tx Stack Placeholder
> >>>>>
> >>
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:636)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
> >>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:127)
> >>>>>
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> >>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> >>>>>
> >>
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> >>
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> >>
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> >>>>>
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> >>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> >>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>>>>
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> >>>>> java.lang.Thread.run(Thread.java:595)
> >>>>>
> >>
> --------------------------------------------------------------------------------
> >>>>> 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
> >>>>> TransactionUtil.java:644:WARN ]
> >>>>> ---- exception report
> >>>>> ----------------------------------------------------------
> >>>>> WARNING: In setTransactionBeginStack a stack placeholder was already
> in
> >>>>> place, here is the current location:
> >>>>> Exception: java.lang.Exception
> >>>>> Message: Current Stack Trace
> >>>>> ---- stack trace
> >>>>> ---------------------------------------------------------------
> >>>>> java.lang.Exception: Current Stack Trace
> >>>>>
> >>
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:643)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:637)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
> >>
> org.ofbiz.entity.GenericDelegator.findByPrimaryKey(GenericDelegator.java:1228)
> >>
> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1281)
> >>
> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1307)
> >>>>> org.ofbiz.webapp.stats.ServerHitBin.saveHit(ServerHitBin.java:609)
> >>>>> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:208)
> >>>>> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:85)
> >>>>>
> org.ofbiz.webapp.stats.ServerHitBin.countRequest(ServerHitBin.java:58)
> >>>>>
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:255)
> >>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> >>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>>>>
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> >>>>> java.lang.Thread.run(Thread.java:595)
> >>>>>
> >>
> --------------------------------------------------------------------------------
> >>>> --
> >>>> BJ Freeman
> >>>> http://www.businessesnetwork.com/automation
> >>>> http://bjfreeman.elance.com
> >>>>
> >>>>
> >>
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> >>>> Systems Integrator.
> >>>>
> >>>>
> >>>
> >> --
> >> BJ Freeman
> >> http://www.businessesnetwork.com/automation
> >> http://bjfreeman.elance.com
> >>
> >>
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> >> Systems Integrator.
> >>
> >>
> >
> >
>
> --
> BJ Freeman
> http://www.businessesnetwork.com/automation
> http://bjfreeman.elance.com
>
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> Systems Integrator.
>
>


--
With regards,
S K Pradeep kumar
Reply | Threaded
Open this post in threaded view
|

Re: I am getting the transaction-timeout error

BJ Freeman
In reply to this post by BJ Freeman
what version are you running
what is the cpu and memory data for the XP

S K Pradeep Kumar sent the following on 7/25/2009 11:44 AM:

> Hi Bj,
>
>       But the same error is coming in my local system(windowsXP, with 1gb
> ram) also,
>
>
>
> thanks,
>
> With regards,
> S K Pradeep kumar
>
> On Sun, Jul 26, 2009 at 12:03 AM, BJ Freeman <[hidden email]> wrote:
>
>> my guess is that you are running into swap delays.
>> nothing to do with ofbiz or java.
>>
>>
>> S K Pradeep Kumar sent the following on 7/25/2009 10:24 AM:
>>> Hi Bj,
>>>
>>>      I am having 2gb ram on my vps and it uses around 1300 to 1350 MB .
>>>
>>> With regards,
>>> S K Pradeep kumar
>>>
>>> On Sat, Jul 25, 2009 at 10:41 PM, BJ Freeman <[hidden email]>
>> wrote:
>>>> how much RAM to you have?
>>>> How much is being used?
>>>>
>>>> S K Pradeep Kumar sent the following on 7/25/2009 6:38 AM:
>>>>> Hi,
>>>>>
>>>>>     I am running the application localy that is similar to
>>>>> http://75.127.101.143/ecart.
>>>>>      Here i am going to search the products using the search option in
>>>> the
>>>>> ecommerce side.
>>>>>      In my application i am having around 1500 products.
>>>>>      If click on the search button without entering any search_string
>>>> then
>>>>> it will bring all the products in the database at that time only i am
>>>>> getting this error.
>>>>>
>>>>>
>>>>> thanks,
>>>>>
>>>>> With regards,
>>>>> S K Pradeep kumar
>>>>>
>>>>> On Sat, Jul 25, 2009 at 6:59 PM, BJ Freeman <[hidden email]>
>> wrote:
>>>>>> what steps did you do to get this errror.
>>>>>> there is more to the log that will probably give better insight
>>>>>>
>>>>>>
>>>>>> S K Pradeep Kumar sent the following on 7/25/2009 5:39 AM:
>>>>>>> Hi All,
>>>>>>>
>>>>>>>     Could you please help in resolving transaction-timeout error.
>>>>>>>
>>>>>>>     Due to what reason this error is coming?
>>>>>>>     What is the solution?
>>>>>>>  In my console  i am getting.
>>>>>>>
>>>>>>> 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
>>>>>>> TransactionUtil.java:737:WARN ]
>>>>>>> ---- exception report
>>>>>>> ----------------------------------------------------------
>>>>>>> WARNING: In getSetRollbackOnlyCause no stack placeholder was in
>> place,
>>>>>> here
>>>>>>> is the current location:
>>>>>>> Exception: java.lang.Exception
>>>>>>> Message: Current Stack Trace
>>>>>>> ---- stack trace
>>>>>>> ---------------------------------------------------------------
>>>>>>> java.lang.Exception: Current Stack Trace
>>>>>>>
>> org.ofbiz.entity.transaction.TransactionUtil.getSetRollbackOnlyCause(TransactionUtil.java:736)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:212)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>>>>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>>>>>>>
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>>>
>> --------------------------------------------------------------------------------
>>>>>>> 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
>>>>>>> ModelScreen.java:167:ERROR]
>>>>>>> ---- exception report
>>>>>>> ----------------------------------------------------------
>>>>>>> Could not commit transaction:
>>>>>>> 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)
>>>>>>> ---- stack trace
>>>>>>> ---------------------------------------------------------------
>>>>>>> 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)
>>>>>>>
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:224)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>>>>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>>>>>>>
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>>> javax.transaction.RollbackException: Transaction timeout
>>>>>>>
>> org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:269)
>> org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:245)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:199)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>>>>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>>>>>>>
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>>>
>> --------------------------------------------------------------------------------
>>>>>>> 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
>>>>>>> TransactionUtil.java:642:WARN ]
>>>>>>> ---- exception report
>>>>>>> ----------------------------------------------------------
>>>>>>> WARNING: In setTransactionBeginStack a stack placeholder was already
>> in
>>>>>>> place, here is where the transaction began:
>>>>>>> Exception: java.lang.Exception
>>>>>>> Message: Tx Stack Placeholder
>>>>>>> ---- stack trace
>>>>>>> ---------------------------------------------------------------
>>>>>>> java.lang.Exception: Tx Stack Placeholder
>>>>>>>
>> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:636)
>> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
>> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:127)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>>>>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>>>>>>>
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>>>
>> --------------------------------------------------------------------------------
>>>>>>> 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
>>>>>>> TransactionUtil.java:644:WARN ]
>>>>>>> ---- exception report
>>>>>>> ----------------------------------------------------------
>>>>>>> WARNING: In setTransactionBeginStack a stack placeholder was already
>> in
>>>>>>> place, here is the current location:
>>>>>>> Exception: java.lang.Exception
>>>>>>> Message: Current Stack Trace
>>>>>>> ---- stack trace
>>>>>>> ---------------------------------------------------------------
>>>>>>> java.lang.Exception: Current Stack Trace
>>>>>>>
>> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:643)
>> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:637)
>> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
>> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
>> org.ofbiz.entity.GenericDelegator.findByPrimaryKey(GenericDelegator.java:1228)
>> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1281)
>> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1307)
>>>>>>> org.ofbiz.webapp.stats.ServerHitBin.saveHit(ServerHitBin.java:609)
>>>>>>> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:208)
>>>>>>> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:85)
>>>>>>>
>> org.ofbiz.webapp.stats.ServerHitBin.countRequest(ServerHitBin.java:58)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:255)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>>>
>> --------------------------------------------------------------------------------
>>>>>> --
>>>>>> BJ Freeman
>>>>>> http://www.businessesnetwork.com/automation
>>>>>> http://bjfreeman.elance.com
>>>>>>
>>>>>>
>> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>>>>>> Systems Integrator.
>>>>>>
>>>>>>
>>>> --
>>>> BJ Freeman
>>>> http://www.businessesnetwork.com/automation
>>>> http://bjfreeman.elance.com
>>>>
>>>>
>> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>>>> Systems Integrator.
>>>>
>>>>
>>>
>> --
>> BJ Freeman
>> http://www.businessesnetwork.com/automation
>> http://bjfreeman.elance.com
>>
>> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>> Systems Integrator.
>>
>>
>
>

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.

Reply | Threaded
Open this post in threaded view
|

Re: I am getting the transaction-timeout error

BJ Freeman
In reply to this post by BJ Freeman
I have an online 9.04 running
I performed your steps.
i returned 9,025 items
no errors.


S K Pradeep Kumar sent the following on 7/25/2009 11:44 AM:

> Hi Bj,
>
>       But the same error is coming in my local system(windowsXP, with 1gb
> ram) also,
>
>
>
> thanks,
>
> With regards,
> S K Pradeep kumar
>
> On Sun, Jul 26, 2009 at 12:03 AM, BJ Freeman <[hidden email]> wrote:
>
>> my guess is that you are running into swap delays.
>> nothing to do with ofbiz or java.
>>
>>
>> S K Pradeep Kumar sent the following on 7/25/2009 10:24 AM:
>>> Hi Bj,
>>>
>>>      I am having 2gb ram on my vps and it uses around 1300 to 1350 MB .
>>>
>>> With regards,
>>> S K Pradeep kumar
>>>
>>> On Sat, Jul 25, 2009 at 10:41 PM, BJ Freeman <[hidden email]>
>> wrote:
>>>> how much RAM to you have?
>>>> How much is being used?
>>>>
>>>> S K Pradeep Kumar sent the following on 7/25/2009 6:38 AM:
>>>>> Hi,
>>>>>
>>>>>     I am running the application localy that is similar to
>>>>> http://75.127.101.143/ecart.
>>>>>      Here i am going to search the products using the search option in
>>>> the
>>>>> ecommerce side.
>>>>>      In my application i am having around 1500 products.
>>>>>      If click on the search button without entering any search_string
>>>> then
>>>>> it will bring all the products in the database at that time only i am
>>>>> getting this error.
>>>>>
>>>>>
>>>>> thanks,
>>>>>
>>>>> With regards,
>>>>> S K Pradeep kumar
>>>>>
>>>>> On Sat, Jul 25, 2009 at 6:59 PM, BJ Freeman <[hidden email]>
>> wrote:
>>>>>> what steps did you do to get this errror.
>>>>>> there is more to the log that will probably give better insight
>>>>>>
>>>>>>
>>>>>> S K Pradeep Kumar sent the following on 7/25/2009 5:39 AM:
>>>>>>> Hi All,
>>>>>>>
>>>>>>>     Could you please help in resolving transaction-timeout error.
>>>>>>>
>>>>>>>     Due to what reason this error is coming?
>>>>>>>     What is the solution?
>>>>>>>  In my console  i am getting.
>>>>>>>
>>>>>>> 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
>>>>>>> TransactionUtil.java:737:WARN ]
>>>>>>> ---- exception report
>>>>>>> ----------------------------------------------------------
>>>>>>> WARNING: In getSetRollbackOnlyCause no stack placeholder was in
>> place,
>>>>>> here
>>>>>>> is the current location:
>>>>>>> Exception: java.lang.Exception
>>>>>>> Message: Current Stack Trace
>>>>>>> ---- stack trace
>>>>>>> ---------------------------------------------------------------
>>>>>>> java.lang.Exception: Current Stack Trace
>>>>>>>
>> org.ofbiz.entity.transaction.TransactionUtil.getSetRollbackOnlyCause(TransactionUtil.java:736)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:212)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>>>>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>>>>>>>
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>>>
>> --------------------------------------------------------------------------------
>>>>>>> 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
>>>>>>> ModelScreen.java:167:ERROR]
>>>>>>> ---- exception report
>>>>>>> ----------------------------------------------------------
>>>>>>> Could not commit transaction:
>>>>>>> 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)
>>>>>>> ---- stack trace
>>>>>>> ---------------------------------------------------------------
>>>>>>> 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)
>>>>>>>
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:224)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>>>>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>>>>>>>
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>>> javax.transaction.RollbackException: Transaction timeout
>>>>>>>
>> org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:269)
>> org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:245)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:199)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>>>>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>>>>>>>
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>>>
>> --------------------------------------------------------------------------------
>>>>>>> 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
>>>>>>> TransactionUtil.java:642:WARN ]
>>>>>>> ---- exception report
>>>>>>> ----------------------------------------------------------
>>>>>>> WARNING: In setTransactionBeginStack a stack placeholder was already
>> in
>>>>>>> place, here is where the transaction began:
>>>>>>> Exception: java.lang.Exception
>>>>>>> Message: Tx Stack Placeholder
>>>>>>> ---- stack trace
>>>>>>> ---------------------------------------------------------------
>>>>>>> java.lang.Exception: Tx Stack Placeholder
>>>>>>>
>> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:636)
>> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
>> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:127)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>>>>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>>>>>>>
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>>>
>> --------------------------------------------------------------------------------
>>>>>>> 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
>>>>>>> TransactionUtil.java:644:WARN ]
>>>>>>> ---- exception report
>>>>>>> ----------------------------------------------------------
>>>>>>> WARNING: In setTransactionBeginStack a stack placeholder was already
>> in
>>>>>>> place, here is the current location:
>>>>>>> Exception: java.lang.Exception
>>>>>>> Message: Current Stack Trace
>>>>>>> ---- stack trace
>>>>>>> ---------------------------------------------------------------
>>>>>>> java.lang.Exception: Current Stack Trace
>>>>>>>
>> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:643)
>> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:637)
>> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
>> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
>> org.ofbiz.entity.GenericDelegator.findByPrimaryKey(GenericDelegator.java:1228)
>> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1281)
>> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1307)
>>>>>>> org.ofbiz.webapp.stats.ServerHitBin.saveHit(ServerHitBin.java:609)
>>>>>>> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:208)
>>>>>>> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:85)
>>>>>>>
>> org.ofbiz.webapp.stats.ServerHitBin.countRequest(ServerHitBin.java:58)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:255)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>>>
>> --------------------------------------------------------------------------------
>>>>>> --
>>>>>> BJ Freeman
>>>>>> http://www.businessesnetwork.com/automation
>>>>>> http://bjfreeman.elance.com
>>>>>>
>>>>>>
>> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>>>>>> Systems Integrator.
>>>>>>
>>>>>>
>>>> --
>>>> BJ Freeman
>>>> http://www.businessesnetwork.com/automation
>>>> http://bjfreeman.elance.com
>>>>
>>>>
>> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>>>> Systems Integrator.
>>>>
>>>>
>>>
>> --
>> BJ Freeman
>> http://www.businessesnetwork.com/automation
>> http://bjfreeman.elance.com
>>
>> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>> Systems Integrator.
>>
>>
>
>

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.

Reply | Threaded
Open this post in threaded view
|

Re: I am getting the transaction-timeout error

skpradeepkumar
Hi Bj,

       I have customized my  keywordsearch.bsh where i am iterating the
products for many reasons. I have commented that iteration and checked the
operation it is working fine,
I think that transaction timeout is due to this iteration in the bsh.? could
you please confirm me .


thanks.,

With regards,
S K Pradeep kumar



On Sun, Jul 26, 2009 at 12:40 AM, BJ Freeman <[hidden email]> wrote:

> I have an online 9.04 running
> I performed your steps.
> i returned 9,025 items
> no errors.
>
>
> S K Pradeep Kumar sent the following on 7/25/2009 11:44 AM:
> > Hi Bj,
> >
> >       But the same error is coming in my local system(windowsXP, with 1gb
> > ram) also,
> >
> >
> >
> > thanks,
> >
> > With regards,
> > S K Pradeep kumar
> >
> > On Sun, Jul 26, 2009 at 12:03 AM, BJ Freeman <[hidden email]>
> wrote:
> >
> >> my guess is that you are running into swap delays.
> >> nothing to do with ofbiz or java.
> >>
> >>
> >> S K Pradeep Kumar sent the following on 7/25/2009 10:24 AM:
> >>> Hi Bj,
> >>>
> >>>      I am having 2gb ram on my vps and it uses around 1300 to 1350 MB .
> >>>
> >>> With regards,
> >>> S K Pradeep kumar
> >>>
> >>> On Sat, Jul 25, 2009 at 10:41 PM, BJ Freeman <[hidden email]>
> >> wrote:
> >>>> how much RAM to you have?
> >>>> How much is being used?
> >>>>
> >>>> S K Pradeep Kumar sent the following on 7/25/2009 6:38 AM:
> >>>>> Hi,
> >>>>>
> >>>>>     I am running the application localy that is similar to
> >>>>> http://75.127.101.143/ecart.
> >>>>>      Here i am going to search the products using the search option
> in
> >>>> the
> >>>>> ecommerce side.
> >>>>>      In my application i am having around 1500 products.
> >>>>>      If click on the search button without entering any search_string
> >>>> then
> >>>>> it will bring all the products in the database at that time only i am
> >>>>> getting this error.
> >>>>>
> >>>>>
> >>>>> thanks,
> >>>>>
> >>>>> With regards,
> >>>>> S K Pradeep kumar
> >>>>>
> >>>>> On Sat, Jul 25, 2009 at 6:59 PM, BJ Freeman <[hidden email]>
> >> wrote:
> >>>>>> what steps did you do to get this errror.
> >>>>>> there is more to the log that will probably give better insight
> >>>>>>
> >>>>>>
> >>>>>> S K Pradeep Kumar sent the following on 7/25/2009 5:39 AM:
> >>>>>>> Hi All,
> >>>>>>>
> >>>>>>>     Could you please help in resolving transaction-timeout error.
> >>>>>>>
> >>>>>>>     Due to what reason this error is coming?
> >>>>>>>     What is the solution?
> >>>>>>>  In my console  i am getting.
> >>>>>>>
> >>>>>>> 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
> >>>>>>> TransactionUtil.java:737:WARN ]
> >>>>>>> ---- exception report
> >>>>>>> ----------------------------------------------------------
> >>>>>>> WARNING: In getSetRollbackOnlyCause no stack placeholder was in
> >> place,
> >>>>>> here
> >>>>>>> is the current location:
> >>>>>>> Exception: java.lang.Exception
> >>>>>>> Message: Current Stack Trace
> >>>>>>> ---- stack trace
> >>>>>>> ---------------------------------------------------------------
> >>>>>>> java.lang.Exception: Current Stack Trace
> >>>>>>>
> >>
> org.ofbiz.entity.transaction.TransactionUtil.getSetRollbackOnlyCause(TransactionUtil.java:736)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:212)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
> >>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
> >> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> >>>>>>>
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> >>>>>>>
> >>
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> >>
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> >>
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> >> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> >>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> >>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> >>>>>>> java.lang.Thread.run(Thread.java:595)
> >>>>>>>
> >>
> --------------------------------------------------------------------------------
> >>>>>>> 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
> >>>>>>> ModelScreen.java:167:ERROR]
> >>>>>>> ---- exception report
> >>>>>>> ----------------------------------------------------------
> >>>>>>> Could not commit transaction:
> >>>>>>> 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)
> >>>>>>> ---- stack trace
> >>>>>>> ---------------------------------------------------------------
> >>>>>>> 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)
> >>>>>>>
> >>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:224)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
> >>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
> >> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> >>>>>>>
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> >>>>>>>
> >>
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> >>
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> >>
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> >> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> >>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> >>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> >>>>>>> java.lang.Thread.run(Thread.java:595)
> >>>>>>> javax.transaction.RollbackException: Transaction timeout
> >>>>>>>
> >>
> org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:269)
> >>
> org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:245)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:199)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
> >>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
> >> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> >>>>>>>
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> >>>>>>>
> >>
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> >>
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> >>
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> >> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> >>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> >>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> >>>>>>> java.lang.Thread.run(Thread.java:595)
> >>>>>>>
> >>
> --------------------------------------------------------------------------------
> >>>>>>> 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
> >>>>>>> TransactionUtil.java:642:WARN ]
> >>>>>>> ---- exception report
> >>>>>>> ----------------------------------------------------------
> >>>>>>> WARNING: In setTransactionBeginStack a stack placeholder was
> already
> >> in
> >>>>>>> place, here is where the transaction began:
> >>>>>>> Exception: java.lang.Exception
> >>>>>>> Message: Tx Stack Placeholder
> >>>>>>> ---- stack trace
> >>>>>>> ---------------------------------------------------------------
> >>>>>>> java.lang.Exception: Tx Stack Placeholder
> >>>>>>>
> >>
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:636)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
> >>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:127)
> >> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> >>>>>>>
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> >>>>>>>
> >>
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> >>
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> >>
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> >> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> >>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> >>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> >>>>>>> java.lang.Thread.run(Thread.java:595)
> >>>>>>>
> >>
> --------------------------------------------------------------------------------
> >>>>>>> 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
> >>>>>>> TransactionUtil.java:644:WARN ]
> >>>>>>> ---- exception report
> >>>>>>> ----------------------------------------------------------
> >>>>>>> WARNING: In setTransactionBeginStack a stack placeholder was
> already
> >> in
> >>>>>>> place, here is the current location:
> >>>>>>> Exception: java.lang.Exception
> >>>>>>> Message: Current Stack Trace
> >>>>>>> ---- stack trace
> >>>>>>> ---------------------------------------------------------------
> >>>>>>> java.lang.Exception: Current Stack Trace
> >>>>>>>
> >>
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:643)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:637)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
> >>
> org.ofbiz.entity.GenericDelegator.findByPrimaryKey(GenericDelegator.java:1228)
> >>
> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1281)
> >>
> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1307)
> >>>>>>> org.ofbiz.webapp.stats.ServerHitBin.saveHit(ServerHitBin.java:609)
> >>>>>>> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:208)
> >>>>>>> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:85)
> >>>>>>>
> >> org.ofbiz.webapp.stats.ServerHitBin.countRequest(ServerHitBin.java:58)
> >> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:255)
> >>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> >>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> >>>>>>> java.lang.Thread.run(Thread.java:595)
> >>>>>>>
> >>
> --------------------------------------------------------------------------------
> >>>>>> --
> >>>>>> BJ Freeman
> >>>>>> http://www.businessesnetwork.com/automation
> >>>>>> http://bjfreeman.elance.com
> >>>>>>
> >>>>>>
> >>
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> >>>>>> Systems Integrator.
> >>>>>>
> >>>>>>
> >>>> --
> >>>> BJ Freeman
> >>>> http://www.businessesnetwork.com/automation
> >>>> http://bjfreeman.elance.com
> >>>>
> >>>>
> >>
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> >>>> Systems Integrator.
> >>>>
> >>>>
> >>>
> >> --
> >> BJ Freeman
> >> http://www.businessesnetwork.com/automation
> >> http://bjfreeman.elance.com
> >>
> >>
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> >> Systems Integrator.
> >>
> >>
> >
> >
>
> --
> BJ Freeman
> http://www.businessesnetwork.com/automation
> http://bjfreeman.elance.com
>
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> Systems Integrator.
>
>


--
With regards,
S K Pradeep kumar
Reply | Threaded
Open this post in threaded view
|

Re: I am getting the transaction-timeout error

BJ Freeman
In reply to this post by BJ Freeman
I suggest you put it back the way it was then incrementally add your
code and test each stage till you get the problem.
this should give you a place to start from.
There are  two many parameters to guess.


S K Pradeep Kumar sent the following on 7/25/2009 12:24 PM:

> Hi Bj,
>
>        I have customized my  keywordsearch.bsh where i am iterating the
> products for many reasons. I have commented that iteration and checked the
> operation it is working fine,
> I think that transaction timeout is due to this iteration in the bsh.? could
> you please confirm me .
>
>
> thanks.,
>
> With regards,
> S K Pradeep kumar
>
>
>
> On Sun, Jul 26, 2009 at 12:40 AM, BJ Freeman <[hidden email]> wrote:
>
>> I have an online 9.04 running
>> I performed your steps.
>> i returned 9,025 items
>> no errors.
>>
>>
>> S K Pradeep Kumar sent the following on 7/25/2009 11:44 AM:
>>> Hi Bj,
>>>
>>>       But the same error is coming in my local system(windowsXP, with 1gb
>>> ram) also,
>>>
>>>
>>>
>>> thanks,
>>>
>>> With regards,
>>> S K Pradeep kumar
>>>
>>> On Sun, Jul 26, 2009 at 12:03 AM, BJ Freeman <[hidden email]>
>> wrote:
>>>> my guess is that you are running into swap delays.
>>>> nothing to do with ofbiz or java.
>>>>
>>>>
>>>> S K Pradeep Kumar sent the following on 7/25/2009 10:24 AM:
>>>>> Hi Bj,
>>>>>
>>>>>      I am having 2gb ram on my vps and it uses around 1300 to 1350 MB .
>>>>>
>>>>> With regards,
>>>>> S K Pradeep kumar
>>>>>
>>>>> On Sat, Jul 25, 2009 at 10:41 PM, BJ Freeman <[hidden email]>
>>>> wrote:
>>>>>> how much RAM to you have?
>>>>>> How much is being used?
>>>>>>
>>>>>> S K Pradeep Kumar sent the following on 7/25/2009 6:38 AM:
>>>>>>> Hi,
>>>>>>>
>>>>>>>     I am running the application localy that is similar to
>>>>>>> http://75.127.101.143/ecart.
>>>>>>>      Here i am going to search the products using the search option
>> in
>>>>>> the
>>>>>>> ecommerce side.
>>>>>>>      In my application i am having around 1500 products.
>>>>>>>      If click on the search button without entering any search_string
>>>>>> then
>>>>>>> it will bring all the products in the database at that time only i am
>>>>>>> getting this error.
>>>>>>>
>>>>>>>
>>>>>>> thanks,
>>>>>>>
>>>>>>> With regards,
>>>>>>> S K Pradeep kumar
>>>>>>>
>>>>>>> On Sat, Jul 25, 2009 at 6:59 PM, BJ Freeman <[hidden email]>
>>>> wrote:
>>>>>>>> what steps did you do to get this errror.
>>>>>>>> there is more to the log that will probably give better insight
>>>>>>>>
>>>>>>>>
>>>>>>>> S K Pradeep Kumar sent the following on 7/25/2009 5:39 AM:
>>>>>>>>> Hi All,
>>>>>>>>>
>>>>>>>>>     Could you please help in resolving transaction-timeout error.
>>>>>>>>>
>>>>>>>>>     Due to what reason this error is coming?
>>>>>>>>>     What is the solution?
>>>>>>>>>  In my console  i am getting.
>>>>>>>>>
>>>>>>>>> 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
>>>>>>>>> TransactionUtil.java:737:WARN ]
>>>>>>>>> ---- exception report
>>>>>>>>> ----------------------------------------------------------
>>>>>>>>> WARNING: In getSetRollbackOnlyCause no stack placeholder was in
>>>> place,
>>>>>>>> here
>>>>>>>>> is the current location:
>>>>>>>>> Exception: java.lang.Exception
>>>>>>>>> Message: Current Stack Trace
>>>>>>>>> ---- stack trace
>>>>>>>>> ---------------------------------------------------------------
>>>>>>>>> java.lang.Exception: Current Stack Trace
>>>>>>>>>
>> org.ofbiz.entity.transaction.TransactionUtil.getSetRollbackOnlyCause(TransactionUtil.java:736)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:212)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>>>>>
>> --------------------------------------------------------------------------------
>>>>>>>>> 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
>>>>>>>>> ModelScreen.java:167:ERROR]
>>>>>>>>> ---- exception report
>>>>>>>>> ----------------------------------------------------------
>>>>>>>>> Could not commit transaction:
>>>>>>>>> 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)
>>>>>>>>> ---- stack trace
>>>>>>>>> ---------------------------------------------------------------
>>>>>>>>> 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)
>>>>>>>>>
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:224)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>>>>> javax.transaction.RollbackException: Transaction timeout
>>>>>>>>>
>> org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:269)
>> org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:245)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:199)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>>>>>
>> --------------------------------------------------------------------------------
>>>>>>>>> 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
>>>>>>>>> TransactionUtil.java:642:WARN ]
>>>>>>>>> ---- exception report
>>>>>>>>> ----------------------------------------------------------
>>>>>>>>> WARNING: In setTransactionBeginStack a stack placeholder was
>> already
>>>> in
>>>>>>>>> place, here is where the transaction began:
>>>>>>>>> Exception: java.lang.Exception
>>>>>>>>> Message: Tx Stack Placeholder
>>>>>>>>> ---- stack trace
>>>>>>>>> ---------------------------------------------------------------
>>>>>>>>> java.lang.Exception: Tx Stack Placeholder
>>>>>>>>>
>> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:636)
>> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
>> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:127)
>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>>>>>
>> --------------------------------------------------------------------------------
>>>>>>>>> 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
>>>>>>>>> TransactionUtil.java:644:WARN ]
>>>>>>>>> ---- exception report
>>>>>>>>> ----------------------------------------------------------
>>>>>>>>> WARNING: In setTransactionBeginStack a stack placeholder was
>> already
>>>> in
>>>>>>>>> place, here is the current location:
>>>>>>>>> Exception: java.lang.Exception
>>>>>>>>> Message: Current Stack Trace
>>>>>>>>> ---- stack trace
>>>>>>>>> ---------------------------------------------------------------
>>>>>>>>> java.lang.Exception: Current Stack Trace
>>>>>>>>>
>> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:643)
>> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:637)
>> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
>> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
>> org.ofbiz.entity.GenericDelegator.findByPrimaryKey(GenericDelegator.java:1228)
>> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1281)
>> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1307)
>>>>>>>>> org.ofbiz.webapp.stats.ServerHitBin.saveHit(ServerHitBin.java:609)
>>>>>>>>> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:208)
>>>>>>>>> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:85)
>>>>>>>>>
>>>> org.ofbiz.webapp.stats.ServerHitBin.countRequest(ServerHitBin.java:58)
>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:255)
>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>>>>>
>> --------------------------------------------------------------------------------
>>>>>>>> --
>>>>>>>> BJ Freeman
>>>>>>>> http://www.businessesnetwork.com/automation
>>>>>>>> http://bjfreeman.elance.com
>>>>>>>>
>>>>>>>>
>> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>>>>>>>> Systems Integrator.
>>>>>>>>
>>>>>>>>
>>>>>> --
>>>>>> BJ Freeman
>>>>>> http://www.businessesnetwork.com/automation
>>>>>> http://bjfreeman.elance.com
>>>>>>
>>>>>>
>> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>>>>>> Systems Integrator.
>>>>>>
>>>>>>
>>>> --
>>>> BJ Freeman
>>>> http://www.businessesnetwork.com/automation
>>>> http://bjfreeman.elance.com
>>>>
>>>>
>> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>>>> Systems Integrator.
>>>>
>>>>
>>>
>> --
>> BJ Freeman
>> http://www.businessesnetwork.com/automation
>> http://bjfreeman.elance.com
>>
>> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>> Systems Integrator.
>>
>>
>
>

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.

Reply | Threaded
Open this post in threaded view
|

Re: I am getting the transaction-timeout error

BJ Freeman
In reply to this post by BJ Freeman
btw you mentioning that this is customized code would have saved me a
lot of my time in answering you.

S K Pradeep Kumar sent the following on 7/25/2009 12:24 PM:

> Hi Bj,
>
>        I have customized my  keywordsearch.bsh where i am iterating the
> products for many reasons. I have commented that iteration and checked the
> operation it is working fine,
> I think that transaction timeout is due to this iteration in the bsh.? could
> you please confirm me .
>
>
> thanks.,
>
> With regards,
> S K Pradeep kumar
>
>
>
> On Sun, Jul 26, 2009 at 12:40 AM, BJ Freeman <[hidden email]> wrote:
>
>> I have an online 9.04 running
>> I performed your steps.
>> i returned 9,025 items
>> no errors.
>>
>>
>> S K Pradeep Kumar sent the following on 7/25/2009 11:44 AM:
>>> Hi Bj,
>>>
>>>       But the same error is coming in my local system(windowsXP, with 1gb
>>> ram) also,
>>>
>>>
>>>
>>> thanks,
>>>
>>> With regards,
>>> S K Pradeep kumar
>>>
>>> On Sun, Jul 26, 2009 at 12:03 AM, BJ Freeman <[hidden email]>
>> wrote:
>>>> my guess is that you are running into swap delays.
>>>> nothing to do with ofbiz or java.
>>>>
>>>>
>>>> S K Pradeep Kumar sent the following on 7/25/2009 10:24 AM:
>>>>> Hi Bj,
>>>>>
>>>>>      I am having 2gb ram on my vps and it uses around 1300 to 1350 MB .
>>>>>
>>>>> With regards,
>>>>> S K Pradeep kumar
>>>>>
>>>>> On Sat, Jul 25, 2009 at 10:41 PM, BJ Freeman <[hidden email]>
>>>> wrote:
>>>>>> how much RAM to you have?
>>>>>> How much is being used?
>>>>>>
>>>>>> S K Pradeep Kumar sent the following on 7/25/2009 6:38 AM:
>>>>>>> Hi,
>>>>>>>
>>>>>>>     I am running the application localy that is similar to
>>>>>>> http://75.127.101.143/ecart.
>>>>>>>      Here i am going to search the products using the search option
>> in
>>>>>> the
>>>>>>> ecommerce side.
>>>>>>>      In my application i am having around 1500 products.
>>>>>>>      If click on the search button without entering any search_string
>>>>>> then
>>>>>>> it will bring all the products in the database at that time only i am
>>>>>>> getting this error.
>>>>>>>
>>>>>>>
>>>>>>> thanks,
>>>>>>>
>>>>>>> With regards,
>>>>>>> S K Pradeep kumar
>>>>>>>
>>>>>>> On Sat, Jul 25, 2009 at 6:59 PM, BJ Freeman <[hidden email]>
>>>> wrote:
>>>>>>>> what steps did you do to get this errror.
>>>>>>>> there is more to the log that will probably give better insight
>>>>>>>>
>>>>>>>>
>>>>>>>> S K Pradeep Kumar sent the following on 7/25/2009 5:39 AM:
>>>>>>>>> Hi All,
>>>>>>>>>
>>>>>>>>>     Could you please help in resolving transaction-timeout error.
>>>>>>>>>
>>>>>>>>>     Due to what reason this error is coming?
>>>>>>>>>     What is the solution?
>>>>>>>>>  In my console  i am getting.
>>>>>>>>>
>>>>>>>>> 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
>>>>>>>>> TransactionUtil.java:737:WARN ]
>>>>>>>>> ---- exception report
>>>>>>>>> ----------------------------------------------------------
>>>>>>>>> WARNING: In getSetRollbackOnlyCause no stack placeholder was in
>>>> place,
>>>>>>>> here
>>>>>>>>> is the current location:
>>>>>>>>> Exception: java.lang.Exception
>>>>>>>>> Message: Current Stack Trace
>>>>>>>>> ---- stack trace
>>>>>>>>> ---------------------------------------------------------------
>>>>>>>>> java.lang.Exception: Current Stack Trace
>>>>>>>>>
>> org.ofbiz.entity.transaction.TransactionUtil.getSetRollbackOnlyCause(TransactionUtil.java:736)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:212)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>>>>>
>> --------------------------------------------------------------------------------
>>>>>>>>> 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
>>>>>>>>> ModelScreen.java:167:ERROR]
>>>>>>>>> ---- exception report
>>>>>>>>> ----------------------------------------------------------
>>>>>>>>> Could not commit transaction:
>>>>>>>>> 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)
>>>>>>>>> ---- stack trace
>>>>>>>>> ---------------------------------------------------------------
>>>>>>>>> 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)
>>>>>>>>>
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:224)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>>>>> javax.transaction.RollbackException: Transaction timeout
>>>>>>>>>
>> org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:269)
>> org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:245)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:199)
>> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>>>>>
>> --------------------------------------------------------------------------------
>>>>>>>>> 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
>>>>>>>>> TransactionUtil.java:642:WARN ]
>>>>>>>>> ---- exception report
>>>>>>>>> ----------------------------------------------------------
>>>>>>>>> WARNING: In setTransactionBeginStack a stack placeholder was
>> already
>>>> in
>>>>>>>>> place, here is where the transaction began:
>>>>>>>>> Exception: java.lang.Exception
>>>>>>>>> Message: Tx Stack Placeholder
>>>>>>>>> ---- stack trace
>>>>>>>>> ---------------------------------------------------------------
>>>>>>>>> java.lang.Exception: Tx Stack Placeholder
>>>>>>>>>
>> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:636)
>> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
>> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:127)
>>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>>>>>
>> --------------------------------------------------------------------------------
>>>>>>>>> 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
>>>>>>>>> TransactionUtil.java:644:WARN ]
>>>>>>>>> ---- exception report
>>>>>>>>> ----------------------------------------------------------
>>>>>>>>> WARNING: In setTransactionBeginStack a stack placeholder was
>> already
>>>> in
>>>>>>>>> place, here is the current location:
>>>>>>>>> Exception: java.lang.Exception
>>>>>>>>> Message: Current Stack Trace
>>>>>>>>> ---- stack trace
>>>>>>>>> ---------------------------------------------------------------
>>>>>>>>> java.lang.Exception: Current Stack Trace
>>>>>>>>>
>> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:643)
>> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:637)
>> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
>> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
>> org.ofbiz.entity.GenericDelegator.findByPrimaryKey(GenericDelegator.java:1228)
>> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1281)
>> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1307)
>>>>>>>>> org.ofbiz.webapp.stats.ServerHitBin.saveHit(ServerHitBin.java:609)
>>>>>>>>> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:208)
>>>>>>>>> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:85)
>>>>>>>>>
>>>> org.ofbiz.webapp.stats.ServerHitBin.countRequest(ServerHitBin.java:58)
>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:255)
>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>>>> java.lang.Thread.run(Thread.java:595)
>>>>>>>>>
>> --------------------------------------------------------------------------------
>>>>>>>> --
>>>>>>>> BJ Freeman
>>>>>>>> http://www.businessesnetwork.com/automation
>>>>>>>> http://bjfreeman.elance.com
>>>>>>>>
>>>>>>>>
>> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>>>>>>>> Systems Integrator.
>>>>>>>>
>>>>>>>>
>>>>>> --
>>>>>> BJ Freeman
>>>>>> http://www.businessesnetwork.com/automation
>>>>>> http://bjfreeman.elance.com
>>>>>>
>>>>>>
>> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>>>>>> Systems Integrator.
>>>>>>
>>>>>>
>>>> --
>>>> BJ Freeman
>>>> http://www.businessesnetwork.com/automation
>>>> http://bjfreeman.elance.com
>>>>
>>>>
>> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>>>> Systems Integrator.
>>>>
>>>>
>>>
>> --
>> BJ Freeman
>> http://www.businessesnetwork.com/automation
>> http://bjfreeman.elance.com
>>
>> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>> Systems Integrator.
>>
>>
>
>

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.

Reply | Threaded
Open this post in threaded view
|

Re: I am getting the transaction-timeout error

skpradeepkumar
Hi Bj,

        Thanks for that. I got the point you mention about the swap delays.

With regards,
S K Pradeep kumar

On Sun, Jul 26, 2009 at 1:01 AM, BJ Freeman <[hidden email]> wrote:

> btw you mentioning that this is customized code would have saved me a
> lot of my time in answering you.
>
> S K Pradeep Kumar sent the following on 7/25/2009 12:24 PM:
> > Hi Bj,
> >
> >        I have customized my  keywordsearch.bsh where i am iterating the
> > products for many reasons. I have commented that iteration and checked
> the
> > operation it is working fine,
> > I think that transaction timeout is due to this iteration in the bsh.?
> could
> > you please confirm me .
> >
> >
> > thanks.,
> >
> > With regards,
> > S K Pradeep kumar
> >
> >
> >
> > On Sun, Jul 26, 2009 at 12:40 AM, BJ Freeman <[hidden email]>
> wrote:
> >
> >> I have an online 9.04 running
> >> I performed your steps.
> >> i returned 9,025 items
> >> no errors.
> >>
> >>
> >> S K Pradeep Kumar sent the following on 7/25/2009 11:44 AM:
> >>> Hi Bj,
> >>>
> >>>       But the same error is coming in my local system(windowsXP, with
> 1gb
> >>> ram) also,
> >>>
> >>>
> >>>
> >>> thanks,
> >>>
> >>> With regards,
> >>> S K Pradeep kumar
> >>>
> >>> On Sun, Jul 26, 2009 at 12:03 AM, BJ Freeman <[hidden email]>
> >> wrote:
> >>>> my guess is that you are running into swap delays.
> >>>> nothing to do with ofbiz or java.
> >>>>
> >>>>
> >>>> S K Pradeep Kumar sent the following on 7/25/2009 10:24 AM:
> >>>>> Hi Bj,
> >>>>>
> >>>>>      I am having 2gb ram on my vps and it uses around 1300 to 1350 MB
> .
> >>>>>
> >>>>> With regards,
> >>>>> S K Pradeep kumar
> >>>>>
> >>>>> On Sat, Jul 25, 2009 at 10:41 PM, BJ Freeman <[hidden email]>
> >>>> wrote:
> >>>>>> how much RAM to you have?
> >>>>>> How much is being used?
> >>>>>>
> >>>>>> S K Pradeep Kumar sent the following on 7/25/2009 6:38 AM:
> >>>>>>> Hi,
> >>>>>>>
> >>>>>>>     I am running the application localy that is similar to
> >>>>>>> http://75.127.101.143/ecart.
> >>>>>>>      Here i am going to search the products using the search option
> >> in
> >>>>>> the
> >>>>>>> ecommerce side.
> >>>>>>>      In my application i am having around 1500 products.
> >>>>>>>      If click on the search button without entering any
> search_string
> >>>>>> then
> >>>>>>> it will bring all the products in the database at that time only i
> am
> >>>>>>> getting this error.
> >>>>>>>
> >>>>>>>
> >>>>>>> thanks,
> >>>>>>>
> >>>>>>> With regards,
> >>>>>>> S K Pradeep kumar
> >>>>>>>
> >>>>>>> On Sat, Jul 25, 2009 at 6:59 PM, BJ Freeman <[hidden email]>
> >>>> wrote:
> >>>>>>>> what steps did you do to get this errror.
> >>>>>>>> there is more to the log that will probably give better insight
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> S K Pradeep Kumar sent the following on 7/25/2009 5:39 AM:
> >>>>>>>>> Hi All,
> >>>>>>>>>
> >>>>>>>>>     Could you please help in resolving transaction-timeout error.
> >>>>>>>>>
> >>>>>>>>>     Due to what reason this error is coming?
> >>>>>>>>>     What is the solution?
> >>>>>>>>>  In my console  i am getting.
> >>>>>>>>>
> >>>>>>>>> 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
> >>>>>>>>> TransactionUtil.java:737:WARN ]
> >>>>>>>>> ---- exception report
> >>>>>>>>> ----------------------------------------------------------
> >>>>>>>>> WARNING: In getSetRollbackOnlyCause no stack placeholder was in
> >>>> place,
> >>>>>>>> here
> >>>>>>>>> is the current location:
> >>>>>>>>> Exception: java.lang.Exception
> >>>>>>>>> Message: Current Stack Trace
> >>>>>>>>> ---- stack trace
> >>>>>>>>> ---------------------------------------------------------------
> >>>>>>>>> java.lang.Exception: Current Stack Trace
> >>>>>>>>>
> >>
> org.ofbiz.entity.transaction.TransactionUtil.getSetRollbackOnlyCause(TransactionUtil.java:736)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:212)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
> >>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
> >>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> >> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> >>
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> >>
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> >>
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> >>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> >>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> >>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >>>>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>>>
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> >>>>>>>>> java.lang.Thread.run(Thread.java:595)
> >>>>>>>>>
> >>
> --------------------------------------------------------------------------------
> >>>>>>>>> 2009-07-25 18:05:25,328 (http-0.0.0.0-8085-Processor4) [
> >>>>>>>>> ModelScreen.java:167:ERROR]
> >>>>>>>>> ---- exception report
> >>>>>>>>> ----------------------------------------------------------
> >>>>>>>>> Could not commit transaction:
> >>>>>>>>> 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)
> >>>>>>>>> ---- stack trace
> >>>>>>>>> ---------------------------------------------------------------
> >>>>>>>>> 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)
> >>>>>>>>>
> >>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:224)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
> >>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
> >>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> >> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> >>
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> >>
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> >>
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> >>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> >>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> >>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >>>>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>>>
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> >>>>>>>>> java.lang.Thread.run(Thread.java:595)
> >>>>>>>>> javax.transaction.RollbackException: Transaction timeout
> >>>>>>>>>
> >>
> org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:269)
> >>
> org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:245)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:199)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
> >>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:165)
> >>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> >> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> >>
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> >>
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> >>
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> >>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> >>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> >>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >>>>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>>>
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> >>>>>>>>> java.lang.Thread.run(Thread.java:595)
> >>>>>>>>>
> >>
> --------------------------------------------------------------------------------
> >>>>>>>>> 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
> >>>>>>>>> TransactionUtil.java:642:WARN ]
> >>>>>>>>> ---- exception report
> >>>>>>>>> ----------------------------------------------------------
> >>>>>>>>> WARNING: In setTransactionBeginStack a stack placeholder was
> >> already
> >>>> in
> >>>>>>>>> place, here is where the transaction began:
> >>>>>>>>> Exception: java.lang.Exception
> >>>>>>>>> Message: Tx Stack Placeholder
> >>>>>>>>> ---- stack trace
> >>>>>>>>> ---------------------------------------------------------------
> >>>>>>>>> java.lang.Exception: Tx Stack Placeholder
> >>>>>>>>>
> >>
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:636)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
> >>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:127)
> >>>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> >> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> >>
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
> >>
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
> >>
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
> >>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> >>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> >>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >>>>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>>>
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> >>>>>>>>> java.lang.Thread.run(Thread.java:595)
> >>>>>>>>>
> >>
> --------------------------------------------------------------------------------
> >>>>>>>>> 2009-07-25 18:05:25,343 (http-0.0.0.0-8085-Processor4) [
> >>>>>>>>> TransactionUtil.java:644:WARN ]
> >>>>>>>>> ---- exception report
> >>>>>>>>> ----------------------------------------------------------
> >>>>>>>>> WARNING: In setTransactionBeginStack a stack placeholder was
> >> already
> >>>> in
> >>>>>>>>> place, here is the current location:
> >>>>>>>>> Exception: java.lang.Exception
> >>>>>>>>> Message: Current Stack Trace
> >>>>>>>>> ---- stack trace
> >>>>>>>>> ---------------------------------------------------------------
> >>>>>>>>> java.lang.Exception: Current Stack Trace
> >>>>>>>>>
> >>
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:643)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(TransactionUtil.java:637)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:125)
> >>
> org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:71)
> >>
> org.ofbiz.entity.GenericDelegator.findByPrimaryKey(GenericDelegator.java:1228)
> >>
> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1281)
> >>
> org.ofbiz.entity.GenericDelegator.findByPrimaryKeyCache(GenericDelegator.java:1307)
> >>>>>>>>>
> org.ofbiz.webapp.stats.ServerHitBin.saveHit(ServerHitBin.java:609)
> >>>>>>>>>
> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:208)
> >>>>>>>>>
> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:85)
> >>>>>>>>>
> >>>> org.ofbiz.webapp.stats.ServerHitBin.countRequest(ServerHitBin.java:58)
> >>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:255)
> >>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> >>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> >>>>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>>>
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:285)
> >>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >>
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> >>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> >>>>>>>>> java.lang.Thread.run(Thread.java:595)
> >>>>>>>>>
> >>
> --------------------------------------------------------------------------------
> >>>>>>>> --
> >>>>>>>> BJ Freeman
> >>>>>>>> http://www.businessesnetwork.com/automation
> >>>>>>>> http://bjfreeman.elance.com
> >>>>>>>>
> >>>>>>>>
> >>
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> >>>>>>>> Systems Integrator.
> >>>>>>>>
> >>>>>>>>
> >>>>>> --
> >>>>>> BJ Freeman
> >>>>>> http://www.businessesnetwork.com/automation
> >>>>>> http://bjfreeman.elance.com
> >>>>>>
> >>>>>>
> >>
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> >>>>>> Systems Integrator.
> >>>>>>
> >>>>>>
> >>>> --
> >>>> BJ Freeman
> >>>> http://www.businessesnetwork.com/automation
> >>>> http://bjfreeman.elance.com
> >>>>
> >>>>
> >>
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> >>>> Systems Integrator.
> >>>>
> >>>>
> >>>
> >> --
> >> BJ Freeman
> >> http://www.businessesnetwork.com/automation
> >> http://bjfreeman.elance.com
> >>
> >>
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> >> Systems Integrator.
> >>
> >>
> >
> >
>
> --
> BJ Freeman
> http://www.businessesnetwork.com/automation
> http://bjfreeman.elance.com
>
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> Systems Integrator.
>
>


--
With regards,
S K Pradeep kumar