用JBuidler9和Weblogic7部署entity bean時出錯,請高手幫我解決 發表

starjava發表於2003-09-15

D:\j2sdk1.4.2\bin\javaw -classpath D:\bea7\weblogic700\server\lib\weblogic_sp.jar;D:\bea7\weblogic700\server\lib\weblogic.jar;D:\bea7\weblogic700\server\lib\webservices.jar;D:\bea7\weblogic700\server\lib\webservices.jar; weblogic.Deployer -user NakoRuru -adminurl http://nakoruru:7001 -password 1234567890 -activate -name Cmp -upload -source G:/project/cmpSample/Cmp.jar -targets myserver
Operation started, waiting for notifications...

...

TaskID Action Status Target Type Application Source

1 Activate Failed myserver Server Cmp D:\bea7\user_projects\mydomain\myserver\upload\Cmp\Cmp.jar
Exception:weblogic.management.ApplicationException: activate failed forCmp
Module: Cmp Error: Exception activating module: EJBModule(Cmp,status=PREPARED)


Unable to deploy EJB: Student from Cmp.jar:

weblogic.ejb20.WLDeploymentException: Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error was:
ZipFile closed.

at weblogic.ejb20.persistence.PersistenceType.setTypeSpecificFile(PersistenceType.java:541)

at weblogic.ejb20.persistence.PersistenceType.setupDeployer(PersistenceType.java:408)

at weblogic.ejb20.deployer.CMPInfoImpl.setup(CMPInfoImpl.java:115)

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

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

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

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

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

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

at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1074)

at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:700)

at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)

相關文章