Yes, I am having problems when using oracle 8.1.7 xadatasource. I keep getting an XAER_NOTA, followed by a javax.transaction.RollBackException: transaction already marked for rollback.
j\s
-----Original Message-----
From: Kevin Meldorf (NBK) [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 25, 2001 9:56 AM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'; Frank Thiemonge (NBK)
Subject: [JBoss-user] Possible bug in jboss -- TxCapsule
I have been working with inet software on chasing down
an issue with their XDataSourceDriver and jboss. Has
anyone else had any problems when not using the minerva
XADataSource driver?
Thanks,
Kevin Meldorf
-----Original Message-----
From: Volker Berlin (i-net software) [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 22, 2001 9:37 AM
To: Kevin Meldorf (NBK); '[EMAIL PROTECTED]'
Cc: Frank Thiemonge (NBK)
Subject: AW: Possible bug in jboss?
Hello,
The problem is that the class org.jboss.tm.TxCapsule has a status of
Status.STATUS_ACTIVE after creating with new.
The minerva driver in the class
org.opentools.minerva.jdbc.xa.XAConnectionFactory check only the value
Status.STATUS_NO_TRANSACTION. I all other case the transaction was end.
The bug can be in
1.) the minerva because there are also other states without a transaction
(for example Status.STATUS_COMMITTED)
2.) That the minerva driver is involved. It can be that the dirver not work
together with other XADataSources.
3.) That the class org.jboss.tm.TransactionImpl the value of txCapsule is
set.
I have not found a workaround without to use the minerva driver. Please
inform me if there a new info.
If I understand the JDBC spec correctly then it is correct that the driver
throw an exception if the transaction (XID) no exists.
Volker Berlin
i-net software
> -----Urspr�ngliche Nachricht-----
> Von: Kevin Meldorf (NBK) [SMTP:[EMAIL PROTECTED]]
> Gesendet am: Donnerstag, 21. Juni 2001 16:26
> An: '[EMAIL PROTECTED]'
> Cc: '[EMAIL PROTECTED]'; Frank Thiemonge (NBK)
> Betreff: Possible bug in jboss?
>
> I have been working with Volker Berlin at inetsoftware to get the opta2000
> XDataSource to work with jboss 2.2. Whenever, I tried to
> use the inet's XDataSource vs. minerva's XADataSource I would get the
> following error:
>
> [UserEntityBean] XAException: tx=XidImpl [FormatId=257,
> GlobalId=KMELDORM//1, BranchQual=] errorCode=XAER_NOTA
> [UserEntityBean] javax.transaction.xa.XAException: The XID is not valid.
> [UserEntityBean] at com.inet.tds.k.if(Unknown Source)
> [UserEntityBean] at com.inet.tds.k.for(Unknown Source)
> [UserEntityBean] at com.inet.tds.k.end(Unknown Source)
> [UserEntityBean] at
> org.jboss.tm.TxCapsule.endResource(TxCapsule.java:1147)
> [UserEntityBean] at
> org.jboss.tm.TxCapsule.delistResource(TxCapsule.java:541)
> [UserEntityBean] at
> org.jboss.tm.TransactionImpl.delistResource(TransactionImpl.java:99)
> [UserEntityBean] at
> org.opentools.minerva.jdbc.xa.XAConnectionFactory$2.c
> loseConnection(XAConnectionFactory.java:97)
> [UserEntityBean] at
> org.opentools.minerva.jdbc.xa.XAConnectionFactory$2.connectionClosed(XACon
> ne
> ctionFactory.java:82)
> [UserEntityBean] at com.inet.pool.c.a(Unknown Source)
> [UserEntityBean] at com.inet.tds.k.a(Unknown Source)
> [UserEntityBean] at com.inet.pool.a.close(Unknown Source)
> [UserEntityBean] at
> org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.jdbcExecute(JDBCCommand.java:1
> 80
> )
> [UserEntityBean] at
> org.jboss.ejb.plugins.jaws.jdbc.JDBCFinderCommand.execute(JDBCFinderComman
> d.
> java:60)
> [UserEntityBean] at
> org.jboss.ejb.plugins.jaws.jdbc.JDBCFindEntitiesCommand.execute(JDBCFindEn
> ti
> tiesCommand.java:145)
> [UserEntityBean] at
> org.jboss.ejb.plugins.jaws.jdbc.JDBCFindEntityCommand
> .execute(JDBCFindEntityCommand.java:64)
> [UserEntityBean] at
> org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.findEntity(JAWSPersisten
> ce
> Manager.java:130)
> [UserEntityBean] at
> org.jboss.ejb.plugins.CMPPersistenceManager.findEntity(CMPPersistenceManag
> er
> .java:270)
> [UserEntityBean] at
> org.jboss.ejb.EntityContainer.find(EntityContainer.java:419)
> [UserEntityBean] at java.lang.reflect.Method.invoke(Native Method)
> [UserEntityBean] at
> org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContai
> ne
> r.java:639)
> [UserEntityBean] at
> org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySy
> nc
> hronizationInterceptor.java:160)
> [UserEntityBean] at
> org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceI
> nt
> erceptor.java:87)
> [UserEntityBean] at
> org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:13
> 5)
> [UserEntityBean] at
> org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCM
> T.
> java:263)
> [UserEntityBean] at
> org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:86
> )
> [UserEntityBean] at
> org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(
> SecurityInterceptor.java:164)
> [UserEntityBean] at
> org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:106)
> [UserEntityBean] at
> org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:316)
> [UserEntityBean] at
> org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invokeHome(JRMPCont
> ai
> nerInvoker.java:436)
> [UserEntityBean] at
> org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:212)
> [UserEntityBean] at $Proxy17.findByLogin(Unknown Source)
> [UserEntityBean] at
> com.wtp.nbk.security.UserSessionBean.findByLogin(UserSessionBean.java:297)
> [UserEntityBean] at
> com.wtp.nbk.security.UserSessionBean.returnPassword(UserSessionBean.java:2
> 54
> )
> [UserEntityBean] at
> com.wtp.nbk.security.UserSessionBean.validateUser(UserSessionBean.java:155
> )
> [UserEntityBean] at java.lang.reflect.Method.invoke(Native Method)
> [UserEntityBean] at
> org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(Statel
> es
> sSessionContainer.java:472)
> [UserEntityBean] at
> org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Stateless
> Se
> ssionInstanceInterceptor.java:87)
> [UserEntityBean] at
> org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:13
> 3)
> [UserEntityBean] at
> org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCM
> T.
> java:263)
> [UserEntityBean] at
> org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
> [UserEntityBean] at
> org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:
> 19
> 0)
> [UserEntityBean] at
> org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
> [UserEntityBean] at
> org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.j
> av
> a:271)
> [UserEntityBean] at
> org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContaine
> rI
> nvoker.java:482)
> [UserEntityBean] at
> org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy.invoke(Statele
> ss
> SessionProxy.java:152)
> [UserEntityBean] at $Proxy12.validateUser(Unknown Source)
> [UserEntityBean] at
> _0002fvalidateLogin_0002ejspvalidateLogin_jsp_1._jspS
> ervice(_0002fvalidateLogin_0002ejspvalidateLogin_jsp_1.java:102)
> [UserEntityBean] at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
> [UserEntityBean] at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> [UserEntityBean] at
> org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.
> ja
> va:130)
> [UserEntityBean] at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> [UserEntityBean] at
> org.apache.jasper.servlet.JspServlt$JspServletWrapper.service(JspServlet.j
> av
> a:282)
> [UserEntityBean] at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
> [UserEntityBean] at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
> [UserEntityBean] at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> [UserEntityBean] at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
> [UserEntityBean] at
> org.apache.tomcat.core.Handler.service(Handler.java:287)
> [UserEntityBean] at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> [UserEntityBean] at
> org.apache.tomcat.core.ContextManager.internalService
> (ContextManager.java:797)
> [UserEntityBean] at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> [UserEntityBean] at
> org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnecti
> on
> (Ajp12ConnectionHandler.java:166)
> [UserEntityBean] at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> [UserEntityBean] at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
> [UserEntityBean] at java.lang.Thread.run(Unknown Source)
> [UserSessionBean] XAException: tx=XidImpl [FormatId=257,
> GlobalId=KMELDORM//1, BranchQual=] errorCode=XAER_NOTA
> [UserSessionBean] javax.transaction.xa.XAException: The XID is not valid.
> [UserSessionBean] at com.inet.tds.k.if(Unknown Source)
> [UserSessionBean] at com.inet.tds.k.for(Unknown Source)
> [UserSessionBean] at com.inet.tds.k.rollback(Unknown Source)
> [UserSessionBean] at
> org.jboss.tm.TxCapsule.rollbackResources(TxCapsule.java:1557)
> [UserSessionBean] at
> org.jboss.tm.TxCapsule.rollback(TxCapsule.java:412)
> [UserSessionBean] at
> org.jboss.tm.TransactionImpl.rollback(TransactionImpl.java:88)
> [UserSessionBean] at
> org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCM
> T.
> java:307)
> [UserSessionBean] at
> org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
> [UserSessionBean] at
> org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:
> 19
> 0)
> [UserSessionBean] at
> org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
> [UserSessionBean] at
> org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.j
> av
> a:271)
> [UserSessionBean] at
> org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContaine
> rI
> nvoker.java:482)
> [UserSessionBean] at
> org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessio
> nProxy.invoke(StatelessSessionProxy.java:152)
> [UserSessionBean] at $Proxy12.validateUser(Unknown Source)
> [UserSessionBean] at
> _0002fvalidateLogin_0002ejspvalidateLogin_jsp_1._jspService(_0002fvalidate
> Lo
> gin_0002ejspvalidateLogin_jsp_1.java:102)
> [UserSessionBean] at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
> [UserSessionBean] at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> [UserSessionBean] at
> org.apache.jasper.servlet.JspServlet$JspCountedServle
> t.service(JspServlet.java:130)
> [UserSessionBean] at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> [UserSessionBean] at
> org.apache.jasper.servlet.JspServlet$JspServletWrappe
> r.service(JspServlet.java:282)
> [UserSessionBean] at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
> [UserSessionBean] at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
> [UserSessionBean] at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> [UserSessionBean] at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
> [UserSessionBean] at
> org.apache.tomcat.core.Handler.service(Handler.java:287)
> [UserSessionBean] at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> [UserSessionBean] at
> org.apache.tomcat.core.ContextManager.internalService
> (ContextManager.java:797)
> [UserSessionBean] at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> [UserSessionBean] at
> org.apache.tomcat.service.connector.Ajp12ConnectionHa
> ndler.processConnection(Ajp12ConnectionHandler.java:166)
> [UserSessionBean] at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> [UserSessionBean] at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run
> (ThreadPool.java:501)
> [UserSessionBean] at java.lang.Thread.run(Unknown Source)
>
> I sent Volker my environment for him to test and he believes that there is
> a
> possible bug in jboss:
>
> "I can reproduce the problem. The cause is that JBoss END a distributed
> transaction without start a distributed tranaction. I think this is a bug
> in
> JBoss."
>
> Any help would be fully appreciated in getting this problem solved.
>
> Thanks,
> Kevin
>
> Kevin Meldorf
> Systems Analyst
> WorldTravel BTI
> 400 Skokie Blvd
> Northbrook, IL 60062
> Phone: (847) 480-8340
> [EMAIL PROTECTED]
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
