Title: RE: weblogic.transaction.internal.AppSetRollbackOnlyException

Possibly initiating the query inside of a process that has no transaction manager where the EJB is deployed with Transactions Required.  Check to see how your EJB is deployed (in ejb-jar.xml).  See below for excerpt out of an ejb-jar.xml descriptor.


   <assembly-descriptor>
        <container-transaction>
            <method>
                <ejb-name>SomeBeanName</ejb-name>
                <method-intf>Remote</method-intf>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Required</trans-attribute>
        </container-transaction>
    </assembly-descriptor>

-----Original Message-----
From: Sreekanth Gopinathan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 19, 2004 3:41 PM
To: [EMAIL PROTECTED]
Subject: weblogic.transaction.internal.AppSetRollbackOnlyException


Hi,

I am running my application from Weblogic 7.0 SP2 and Oracle 8.1.7. Here is the error trace I am getting when I try to run the application.

avax.ejb.EJBException: nested exception is: java.sql.SQLException: Transaction 23:7ea49e05a1b961fc not active anymore. tx status = Marked rollback. [Reason=weblogic.transaction.internal.AppSetRollbackOnlyException]

java.sql.SQLException: Transaction 23:7ea49e05a1b961fc not active anymore. tx status = Marked rollback. [Reason=weblogic.transaction.internal.AppSetRollbackOnlyException]

 at weblogic.jdbc.jts.Driver.getTransaction(Driver.java:300)
 at weblogic.jdbc.jts.Driver.connect(Driver.java:117)
 at weblogic.jdbc.common.internal.RmiDataSource.getConnection
(RmiDataSource.java:265)
 at de.danet.an.workflow.ejbs.admin.ProcessDefinitionDirectoryEJB.processDefinit
ionExists(ProcessDefinitionDirectoryEJB.java:692)
 at de.danet.an.workflow.ejbs.admin.ProcessDefinitionDirectoryEJB.deleteProcessD
efinition(ProcessDefinitionDirectoryEJB.java:1141)
 at de.danet.an.workflow.ejbs.admin.ProcessDefinitionDirectoryEJB.storeProcessDe
finition(ProcessDefinitionDirectoryEJB.java:1085)
 at de.danet.an.workflow.ejbs.admin.ProcessDefinitionDirectoryEJB.importProcessD
efinitions(ProcessDefinitionDirectoryEJB.java:793)
 at de.danet.an.workflow.ejbs.admin.ProcessDefinitionDirectoryEJB.importProcessD
efinitions(ProcessDefinitionDirectoryEJB.java:742)
 at de.danet.an.workflow.ejbs.admin.ProcessDefinitionDirectoryEJB_jzncsr_EOImpl.
importProcessDefinitions
(ProcessDefinitionDirectoryEJB_jzncsr_EOImpl.java:154)
 at de.danet.an.workflow.clients.c2client.library.ProcDefMgmtActions.importProce
ssDefinition(ProcDefMgmtActions.java:362)
 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 de.danet.an.util.cocoon.action.ActionHandler.handleRequest
(ActionHandler.java:299)
 at de.danet.an.util.cocoon.action.ActionDispatcher.dispatchRequest
(ActionDispatcher.java:229)
 at de.danet.an.util.cocoon.action.DispatchAction.act
(DispatchAction.java:213)
 at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke
(ActTypeNode.java:159)
 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:84)
 at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:165)
 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:107)
 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
(PipelineNode.java:162)
 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:107)
 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
(PipelinesNode.java:136)
 at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
(TreeProcessor.java:371)
 at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
(TreeProcessor.java:312)
 at org.apache.cocoon.Cocoon.process(Cocoon.java:656)
 at org.apache.cocoon.servlet.CocoonServlet.service
(CocoonServlet.java:1112)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1058)
 at weblogic.servlet.internal.ServletStubImpl.invokeServlet
(ServletStubImpl.java:401)
 at weblogic.servlet.internal.ServletStubImpl.invokeServlet
(ServletStubImpl.java:306)
 at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run
(WebAppServletContext.java:5445)
 at weblogic.security.service.SecurityServiceManager.runAs
(SecurityServiceManager.java:780)
 at weblogic.servlet.internal.WebAppServletContext.invokeServlet
(WebAppServletContext.java:3105)
 at weblogic.servlet.internal.ServletRequestImpl.execute
(ServletRequestImpl.java:2588)
 at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
 at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)

Any suggestions on what could be the reason for this error. Awaiting a response .

Thanks in advance.

Regards,
Sreekanth

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST".  For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".

=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to