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 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: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

Reply via email to