W
wwxjyh
Unregistered / Unconfirmed
GUEST, unregistred user!
用Jbuilder7.0在Weblogic7.0+SqlServer2000环境下开发EJB2.0
CMP 2.0 EntityBean 已开发并部署完毕,
开发Stateless SessionBean时向SessionBean中添加LocalEntityBeanProvider 、
LocalEntityBeanResolver 、 TableDataSet 后编译、部署均可通过,但一旦向TableDataSet
添加 LocalEntityBeanProvider 与LocalEntityBeanResolver方法编译正常、但部署时报以下错误:
C:/bea/jdk131_02/bin/javaw -classpath C:/bea/weblogic700/server/lib/weblogic_sp.jar;C:/bea/weblogic700/server/lib/weblogic.jar;E:/jbproject/esiteproject/classes;C:/JBuilder7/lib/beans/dxejb.jar;C:/JBuilder7/lib/dx.jar;C:/JBuilder7/lib/beandt.jar;C:/JBuilder7/lib/dbswing.jar;C:/JBuilder7/lib/jbcl.jar;C:/JBuilder7/lib/jbuilder.jar;C:/JBuilder7/lib/help.jar;C:/JBuilder7/lib/gnuregexp.jar;
weblogic.Deployer -adminurl http://202.194.209.199:7001 -user system -password 00070809 -activate -name esite -upload -source E:/jbproject/esiteproject/esite.jar
Operation started, waiting for notifications...
.
#TaskID Action Status Target Type Application Source
17 Activate Failed myserver Server esite D:/bea/wwx/wwx/esite.jar
Exception:weblogic.management.ApplicationException: Prepare failed. Task Id = 17
Module: esite Error: Exception preparing module: EJBModule(esite,status=NEW)
Unable to deploy EJB: Enterprise1 from esite.jar:
java.lang.NoClassDefFoundError: com/borland/dx/dataset/StorageDataSet
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at esiteproject.Enterprise1Bean_st8cog_LocalHomeImpl.class$(Enterprise1Bean_st8cog_LocalHomeImpl.java:11)
at esiteproject.Enterprise1Bean_st8cog_LocalHomeImpl.<clinit>(Enterprise1Bean_st8cog_LocalHomeImpl.java:39)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.prepare(ClientDrivenBeanInfoImpl.java:888)
at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfo(EJBDeployer.java:1047)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1251)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:235)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:1425)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:650)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:548)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1026)
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)
CMP 2.0 EntityBean 已开发并部署完毕,
开发Stateless SessionBean时向SessionBean中添加LocalEntityBeanProvider 、
LocalEntityBeanResolver 、 TableDataSet 后编译、部署均可通过,但一旦向TableDataSet
添加 LocalEntityBeanProvider 与LocalEntityBeanResolver方法编译正常、但部署时报以下错误:
C:/bea/jdk131_02/bin/javaw -classpath C:/bea/weblogic700/server/lib/weblogic_sp.jar;C:/bea/weblogic700/server/lib/weblogic.jar;E:/jbproject/esiteproject/classes;C:/JBuilder7/lib/beans/dxejb.jar;C:/JBuilder7/lib/dx.jar;C:/JBuilder7/lib/beandt.jar;C:/JBuilder7/lib/dbswing.jar;C:/JBuilder7/lib/jbcl.jar;C:/JBuilder7/lib/jbuilder.jar;C:/JBuilder7/lib/help.jar;C:/JBuilder7/lib/gnuregexp.jar;
weblogic.Deployer -adminurl http://202.194.209.199:7001 -user system -password 00070809 -activate -name esite -upload -source E:/jbproject/esiteproject/esite.jar
Operation started, waiting for notifications...
.
#TaskID Action Status Target Type Application Source
17 Activate Failed myserver Server esite D:/bea/wwx/wwx/esite.jar
Exception:weblogic.management.ApplicationException: Prepare failed. Task Id = 17
Module: esite Error: Exception preparing module: EJBModule(esite,status=NEW)
Unable to deploy EJB: Enterprise1 from esite.jar:
java.lang.NoClassDefFoundError: com/borland/dx/dataset/StorageDataSet
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at esiteproject.Enterprise1Bean_st8cog_LocalHomeImpl.class$(Enterprise1Bean_st8cog_LocalHomeImpl.java:11)
at esiteproject.Enterprise1Bean_st8cog_LocalHomeImpl.<clinit>(Enterprise1Bean_st8cog_LocalHomeImpl.java:39)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.prepare(ClientDrivenBeanInfoImpl.java:888)
at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfo(EJBDeployer.java:1047)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1251)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:235)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:1425)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:650)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:548)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1026)
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)