求救

03-07-09 albert_liu
我在deploy ejb 时发生如下错误,希望各位大侠给指点指点,谢谢!!

D:\bea\jdk131_02\bin\javaw -classpath D:\bea\weblogic700\server\lib\weblogic.jar;D:\bea\weblogic700\server\lib\weblogic_sp.jar;E:\JBuilder7\samples\Ejb\Ejb20\ESiteWL\classes;E:\JBuilder7\lib\beans\dxejb.jar;E:\JBuilder7\lib\dx.jar;E:\JBuilder7\lib\beandt.jar;E:\JBuilder7\lib\internetbeans.jar;E:\JBuilder7\lib\dbswing.jar;E:\JBuilder7\lib\jbcl.jar;E:\JBuilder7\lib\jdsserver.jar;E:\JBuilder7\samples\Ejb\Ejb20\ESiteWL\jndi;E:\JBuilder7\lib\jbuilder.jar;E:\JBuilder7\lib\help.jar;E:\JBuilder7\lib\gnuregexp.jar; weblogic.Deployer -adminurl http://sunny:7001 -user system -password christina -activate -name esite -upload -source E:/JBuilder7/samples/Ejb/Ejb20/ESiteWL/esite.jar

Operation started, waiting for notifications...

..

#TaskID Action Status Target Type Application Source

5 Activate Failed myserver Server esite D:\bea\user_projects\mydomain\myserver\upload\esite\esite.jar

Exception:weblogic.management.ApplicationException: Prepare failed. Task Id = 5

Module: esite Error: Exception preparing module: EJBModule(esite,status=NEW)

Unable to deploy EJB: .\myserver\stage\esite\esite.jar from esite.jar:

EJB : Cart .Unable to initialize method info for remote or home interface.The error is java.lang.NoClassDefFoundError: [Lcom/borland/dx/dataset/DataSetData;

at java.lang.Class.getMethods0(Native Method)

at java.lang.Class.getMethods(Class.java:737)

at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.initializeMethodInfos(ClientDrivenBeanInfoImpl.java:1059)

at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.<init>(ClientDrivenBeanInfoImpl.java:219)

at weblogic.ejb20.deployer.SessionBeanInfoImpl.<init>(SessionBeanInfoImpl.java:106)

at weblogic.ejb20.deployer.BeanInfoImpl.createBeanInfoImpl(BeanInfoImpl.java:329)

at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:429)

at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:164)

at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfo(EJBDeployer.java:944)

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:1446)

at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:654)

at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:552)

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

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

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)

jackson1225
2003-07-10 00:01
EJB : Cart .Unable to initialize method info for remote or home interface.The error is java.lang.NoClassDefFoundError: [Lcom/borland/dx/dataset/DataSetData;

检查如下语句

javax.sql.DataSource ds=(javax.sql.DataSource)

ctx.lookup("java:comp/env/jdbc/myJNDI");

中参数正确不正确!

猜你喜欢