问题描述
emf.createEntityManager()这句报了异常。异常信息如下:严重:com.sun.appserv.connectors.internal.api.ConnectorRuntimeException:ErrorincreatingactiveRARatcom.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:104)atcom.sun.enterprise.connectors.service.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:216)atcom.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:349)atcom.sun.enterprise.resource.naming.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:108)atjavax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)atcom.sun.enterprise.naming.impl.SerialContext.getObjectInstance(SerialContext.java:472)atcom.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:437)atcom.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:569)atjavax.naming.InitialContext.lookup(InitialContext.java:396)atorg.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:110)atorg.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:94)atorg.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)atorg.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:584)atorg.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:228)atorg.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:369)atorg.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:151)atorg.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:207)atorg.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:195)atcn.zzept.pam.spare.SparePartEAO.getEntityManager(SparePartEAO.java:26)请教高手,如何解决?
解决方案
解决方案二:
求教,求大侠指点!
解决方案三:
求教,各位大哥,有人知道吗?
解决方案四:
求教,在线等