Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problems with a nontransaccional data base and CMP 2.0

0 views
Skip to first unread message

Lino

unread,
Nov 22, 2002, 1:16:46 PM11/22/02
to
CMP 2,0 requires a TXDataSource, but Base of data is not transaccional, then the following error takes place:

weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Table ------- Full Table Check Failed, but table all columns where found! ]


With a transaccional data base it works correctly.

How I can use CMP 2,0 with a data base nonTransaccional?

Slava Imeshev

unread,
Nov 22, 2002, 1:34:18 PM11/22/02
to
Hi Lino,

It's a firm requirement to use TxDataSource with CMPs.

Why do you want to use non-Tx DataSource?

Regards,

Slava Imeshev

"Lino" <lin...@canalejo.org> wrote in message
news:3dde...@newsgroups.bea.com...

Lino

unread,
Nov 22, 2002, 2:27:29 PM11/22/02
to
I have a problem with non-TX Datasource and CMP. Error in deployment:

weblogic.ejb20.WLDeploymentException: Incorrect Datasource type detected. The DataSource with JNDI name '*****',specified in the RDBMS deployment descriptor for the EJB '******', is not TXDataSource. The EJB Container requires a TXDataSource to be specified for transactions to be managed correctly.
at weblogic.ejb20.cmp.tdbms.RDBMSPersistenceManbager.verifyTXDataSource(RDBMSpersistencemanager.java:1016) ......

If DataSource is a TX DataSource then AssertionError. if DataSource is not a non-TX DataSource then this error.

Thanks for your help.

I using Weblogic Server 7.0

Slava Imeshev

unread,
Nov 22, 2002, 4:24:54 PM11/22/02
to
Lino,

Which database do you use?

Could you also post TxDataSource and connection pool definitions
extracted from the config.xml?

Regards,

Slava Imeshev

"Lino" <lin...@canalejo.org> wrote in message
news:3dde...@newsgroups.bea.com...

Lino

unread,
Nov 25, 2002, 5:30:09 AM11/25/02
to
I am using Informix 9.30

TxDataSource and Connection Pool definitions:

<JDBCConnectionPool DriverName="com.informix.jdbc.IfxDriver"
InitialCapacity="4" MaxCapacity="15" Name="ClinicaPool"
Password="{3DES}1BlSNpwI2yB2iNjeIcUEUg=="
Properties="USER=informix" SupportsLocalTransaction="true"
Targets="linop" TestConnectionsOnRelease="true"
TestConnectionsOnReserve="true" TestTableName="consclin" URL="jdbc:informix-sqli://linop:1526/inscli:INFORMIXSERVER=ol_linop"/>
<JDBCTxDataSource JNDIName="clinicaDS" Name="Clinica Tx Data Source"
PoolName="ClinicaPool" RowPrefetchEnabled="true" Targets="linop"/>


CMP2.0 with a nontransaccional Data Base will be able to be used?

Thank you very much by you aid.

Lino

Slava Imeshev

unread,
Nov 25, 2002, 12:34:56 PM11/25/02
to
Hi Lino,

When you create Informix database, you need to select
a "logging" mode for it.

Regards,

Slava Imeshev

"Lino" <lin...@canalejo.org> wrote in message

news:3de1...@newsgroups.bea.com...

0 new messages