jboss3.2.1 mysql4.0.17 測試問題

xuanjianfeng發表於2003-12-24
在jboss上面部署了一個簡單的entity bean,用applicant Client呼叫ejb時,出現下面的錯誤:
org.jboss.resource.connectionmanager.JBossLocalXAException: Error trying to start local tx: ; - nested throwable: (org.jboss.resource.JBossResourceException: SQLException; - nested throwable: (java.sql.SQLException: Cannot disable AUTO_COMMIT))

部署EJB時,entity bean要求的資料庫已經建立了。
如下:
17:33:06,518 INFO [Phone] Table 'phone' already exists
17:33:06,618 INFO [Enterprise7] Table 'ENTERPRISE' already exists
17:33:06,618 INFO [EntityInstancePool] Starting
17:33:06,618 INFO [EntityInstancePool] Started
17:33:06,618 INFO [EntityContainer] Started
17:33:06,618 INFO [EjbModule] Started
17:33:06,618 INFO [EJBDeployer] Deployed: file:/D:/jboss321/server/all/deploy/EJBTest.jar
17:33:06,648 INFO [MainDeployer] Deployed package: file:/D:/jboss321/server/all/deploy/EJBTest.jar

但執行client的時候出現上面的錯誤。

多謝指教。

相關文章