Hi Werner,
 
Thanks for your response. Here is my complete stack trace
 
java.sql.SQLException: RollbackException: The transaction has been marked for rollback (no reason given)
 at com.evermind.sql.OrionCMTConnection.intercept(OrionCMTConnection.java:126)
 at com.evermind.sql.FilterConnection.prepareStatement(FilterConnection.java:240)
 at com.evermind.sql.OrclCMTConnection.prepareStatement(OrclCMTConnection.java:774)
 at opensuite.ui.servlet.ApplicationContext.getApplicationURL(ApplicationContext.java:108)
 at opensuite.ui.page.PageBean.getPortalURL(PageBean.java:96)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at webwork.util.ValueStack.findValue(ValueStack.java:377)
 at webwork.taglib.PropertyTag.doStartTag(PropertyTag.java:59)
 at _template._standard._layout._default._index._jspService(_index.java:200)
 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:684)
 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
 at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:183)
 at opensuite.ui.layout.LayoutManager.forward(LayoutManager.java:278)
 at opensuite.ui.servlet.XPDispatcher.doService(XPDispatcher.java:60)
 at opensuite.ui.servlet.AbstractDispatcher.service(AbstractDispatcher.java:159)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:684)
 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
 at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:183)
 at opensuite.ui.servlet.XADispatcher.doService(XADispatcher.java:244)
 at opensuite.ui.servlet.AbstractDispatcher.service(AbstractDispatcher.java:159)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:684)
 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
 at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
2004-04-05 21:34:44,859 [ApplicationServerThread] DEBUG opensuite.ui.taglib.TextTag - No resource named 'errors' [message] found.
 
 
By the way, sometimes, I'm hitting the same error and when I check the log file, it looks quite different from the first one.
 
org.exolab.castor.jdo.PersistenceException: This thread is already associated with a transaction in progress
 at org.exolab.castor.jdo.JDO.bindContextDb(JDO.java:487)
 at org.exolab.castor.jdo.engine.DatabaseImpl.begin(DatabaseImpl.java:491)
 at opensuite.database.helper.PersistenceHelper.beginTransaction(PersistenceHelper.java:104)
 at opensuite.security.auth.DBLoginModule.login(DBLoginModule.java:138)
 at opensuite.security.auth.AuthenticationContext.login(AuthenticationContext.java:98)
 at opensuite.security.SecurityServiceImpl.login(SecurityServiceImpl.java:199)
 at opensuite.security.action.LoginAction.doExecute(LoginAction.java:84)
 at opensuite.ui.action.BaseAction.execute(BaseAction.java:400)
 at opensuite.ui.servlet.XADispatcher.doService(XADispatcher.java:109)
 at opensuite.ui.servlet.AbstractDispatcher.service(AbstractDispatcher.java:159)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:684)
 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
 at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
 
I really have no idea of what is going on. Please advise. Thanks


Werner Guttmann <[EMAIL PROTECTED]> wrote:
Hans,

can you please post the complete stack trace ? Though the below SQLException could indicate that you are not properly closing a SQLConnection as you should. If you are using a connection pool, it could happen (though unlikely) that you try to re-use a connection ... just thinking loud.

As already said, without a complete stack trace one can only guess.

Werner

--Original Message Text---
From: hans gan
Date: Tue, 6 Apr 2004 06:22:13 -0700 (PDT)

Currently my java application keep on hitting this error when creating a
transaction.

'This thread is already associated with a transaction in progress'

When i check the log file, it shows
java.sql.SQLException: RollbackException: The transaction has been marked
for r! ollback (no reason given)
at
com.evermind.sql.OrionCMTConnection.intercept(OrionCMTConnection.java:126)
at
com.evermind.sql.FilterConnection.prepareStatement(FilterConnection.java:240
)
at
com.evermind.sql.OrclCMTConnection.prepareStatement(OrclCMTConnection.java:7
74)
at
opensuite.ui.servlet.ApplicationContext.getApplicationURL(ApplicationContext
.java:108)
at opensuite.ui.page.PageBean.getPortalURL(PageBean.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at webwork.util.ValueStack.findValue(ValueStack.java:377)
at webwork.taglib.PropertyTag.doStartTag(PropertyTag.java:59)
at _template._standard._layout._default._index._jspService(_index.java:200)!
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)



The problem is that it happens sometimes but sometimes it does not happen.
Any clue?



Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway - Enter today


Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway - Enter today

Reply via email to