我有spring core api,它在服务器启动时工作正常,并从oracle数据库获取数据。
当试图通过ejb应用程序调用JAVAapi时,我遇到了以下问题。在jndi连接
org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection;
nested exception is org.jboss.util.NestedSQLException: Could not enlist in transaction on entering meta-aware object!;
- nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: a56092b:f14d:598d7b69:65 status: ActionStatus.ABORT_ONLY >);
- nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!;
- nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: a56092b:f14d:598d7b69:65 status: ActionStatus.ABORT_ONLY >))