I and a number of other Opta2000 users are trying
without success to create CMP Entity bean. The bean
deploys correctly, the datasource starts happily and
JBoss creates the necessary table (proving the
datasource is setup and working correctly), but when
ever the bean is accessed (for example using a finder
method) the following exception is generated (looging
has been turned on as well):
[MSADictionary] [TDS Driver]XA_CONNECTION_GET
[MSADictionary] SQL Server 7 unicode mode
[MSADictionary] Single Server License
[MSADictionary] Driver: i-net OPTA 2000 4.10
[MSADictionary] Statement.close
[MSADictionary] SELECT server,catalog,chartID FROM
ChartData
[MSADictionary] Statement.close
[MSADictionary] [TDS Driver]XA_CONNECTION_FREE
[MSADictionary] javax.transaction.xa.XAException: The
Xid is not valid.(XidImpl [FormatId=257,
GlobalId=ZEBEDEE//0, BranchQual=1]) resource
manager:com.inet.tds.k@785d65
[ChartData] XAException: tx=XidImpl [FormatId=257,
GlobalId=ZEBEDEE//0, BranchQual=] errorCode=XAER_NOTA
[ChartData] javax.transaction.xa.XAException: The Xid
is not valid.(XidImpl [FormatId=257,
GlobalId=ZEBEDEE//0, BranchQual=1]) resource
manager:com.inet.tds.k@785d65
[ChartData] at com.inet.tds.k.if(Unknown Source)
We have been in touch with the tech-support for the
driver who eventually came to the following
conclusion:
"The exception occurs because there is a rollback of
the transaction with a specific XID but no transaction
has been started. There seem be a bug in JBoss. JBoss
is calling a rollback for a DT without starting a DT".
I find it hard to believe there arent 1000's of people
complaining about this, and therefore believe there is
no bug, just a problem in my set up.
My environment is
OS: Win2K
App Server: JBoss 2.2.2 with Tomcat 3.2.2
JDBC: Opta2000 Tds driver 4.10
Has anybody actually managed to get a CMP Entity bean
working in JBoss with the Opta driver?
Any thoughts, help, pointers would be much
appreciated.
Thanks in advance.
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user