At 10:09 07.08.2003 +0100, Adrian Brock wrote:
The most likely cause of this error is trying to use the same connection in two different threads/transactions concurrently.
The first error says it could not enlist the resource in the transaction, probably because it is already enlisted in a different transaction.
hon could this happend, if only one person is logged in. on each request to the server thru an XML interface the servlet are parsing the XML request and calls ejb facade. this means, that there is only one transaction.
Rafal
Regards, Adrian
On Thu, 2003-08-07 at 08:50, Rafal Kedziorski wrote: > hi, > > I posted last week our connection problem with JBoss 3.2.1 and MySQL > 4.0.14. This is our mysql-ds.xml: > > <datasources> > <local-tx-datasource> > <jndi-name>MmcmsDS</jndi-name> > <connection-url>jdbc:mysql://xx.xx.xx.xx:3306/mmcms</connection-url> > <driver-class>com.mysql.jdbc.Driver</driver-class> > <user-name>...</user-name> > <password>...</password> > <connection-property name="autoReconnect">true</connection-property> > > <!--pooling parameters--> > <min-pool-size>5</min-pool-size> > <max-pool-size>50</max-pool-size> > <blocking-timeout-millis>5000</blocking-timeout-millis> > <idle-timeout-minutes>15</idle-timeout-minutes> > </local-tx-datasource> > </datasources> > > > but we get now this exceptions: > > 2003-08-07 09:33:53,898 FATAL [de.polonium.component.database.MySQL] > getConnection() failed > org.jboss.util.NestedSQLException: Could not enlist in transaction on > entering meta-aware object!javax.transaction.SystemException: > enlistResource failed; - nested throwable: > (javax.resource.ResourceException: Could not enlist in transaction on > entering meta-aware object!javax.transaction.SystemException: > enlistResource failed)
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
