WebLogic高手请看!

04-11-13 zhang dfdf

我在按照borland白皮书上的范例进行JBuilder8.0+WebLogic7.1的配置、开发。Session Bean一切顺利,可以得到正确的结果,但是在进行Session Bean和Entity Bean 联合的时候就是deploy上!!(其中数据库连接池和Data source都正常)以下是我在装配完后启动WebLogic的信息提示:

<2004-11-13 上午09时59分44秒> <Notice> <Management> <140005> <Loading configuration E:\bea\user_projects\mydomain\.\config.xml>

<2004-11-13 上午09时59分57秒> <Notice> <Security> <090082> <Security initializing using realm myrealm.>

<2004-11-13 上午09时59分58秒> <Notice> <WebLogicServer> <000327> <Starting WebLogic Admin Server "myserver" for domain "mydomain">

<2004-11-13 上午10时00分49秒> <Error> <JTA> <110412> <0:55e254b17f28edb9 completed heuristically: (weblogic.jdbc.jts.Connection, HeuristicHazard, (javax.transaction.xa.XAException: Runtime Error: There is no such parameter)) >

<2004-11-13 上午10时00分49秒> <Error> <Deployer> <149231> <The slave deployer was unable to set the activation state to true for the application TestEntMod

weblogic.management.ApplicationException: activate failed forTestEntMod

{

Module Name: TestEntMod, Error: Exception activating module: EJBModule(TestEntMod,status=PREPARED)

Unable to deploy EJB: Employee from TestEntMod.jar:

Unable to create EJB Persistence Manager. The error was:

javax.transaction.HeuristicMixedException: (weblogic.jdbc.jts.Connection, HeuristicHazard, (javax.transaction.xa.XAException: Runtime Error: There is no such parameter))

at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:258)

at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:208)

at weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:282)

at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:211)

at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:178)

at weblogic.ejb20.manager.DBManager.setup(DBManager.java:158)

at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:944)

at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1317)

at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:335)

at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:1662)

at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1087)

at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1022)

at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:617)

at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:376)

at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:235)

at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:65)

at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:832)

at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:300)

at weblogic.Server.main(Server.java:32)

TargetException:

Unable to deploy EJB: Employee from TestEntMod.jar:

Unable to create EJB Persistence Manager. The error was:

javax.transaction.HeuristicMixedException: (weblogic.jdbc.jts.Connection, HeuristicHazard, (javax.transaction.xa.XAException: Runtime Error: There is no such parameter))

at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:258)

at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:208)

at weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:282)

at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:211)

at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:178)

at weblogic.ejb20.manager.DBManager.setup(DBManager.java:158)

at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:944)

at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1317)

at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:335)

at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:1662)

at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1087)

at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1022)

at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:617)

at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:376)

at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:235)

at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:65)

at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:832)

at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:300)

at weblogic.Server.main(Server.java:32)

}

at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1093)

at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1022)

at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:617)

at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:376)

at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:235)

at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:65)

at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:832)

at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:300)

at weblogic.Server.main(Server.java:32)

>

<2004-11-13 上午10时00分51秒> <Notice> <Management> <141052> <Application Poller started for development server.>

<2004-11-13 上午10时00分59秒> <Notice> <WebLogicServer> <000354> <Thread "SSLListenThread.Default" listening on port 7002>

<2004-11-13 上午10时00分59秒> <Notice> <WebLogicServer> <000354> <Thread "ListenThread.Default" listening on port 7001>

<2004-11-13 上午10时00分59秒> <Notice> <WebLogicServer> <000331> <Started WebLogic Admin Server "myserver" for domain "mydomain" running in Development Mode>

<2004-11-13 上午10时01分01秒> <Notice> <WebLogicServer> <000365> <Server state changed to RUNNING>

<2004-11-13 上午10时01分01秒> <Notice> <WebLogicServer> <000360> <Server started in RUNNING mode>