生不成包裹类是事么原因?

05-03-18 一剑封喉

我用jb+wl+access做的1.X EntityBean.

我的数据表很简单一个表,四个子段都是文本类型的,其中一个是主健。

用jB生成所有的类后,代码一个字我都没改。

但是在部署时出现这个异常:

E:\bea\jdk141_03\bin\javaw -classpath E:\bea\weblogic81\server\lib\weblogic_sp.jar;E:\bea\weblogic81\server\lib\weblogic.jar;E:\bea\weblogic81\server\lib\webservices.jar; weblogic.Deployer -user weblogic -adminurl http://pu110:7001 -password 12345678 -activate -name EJBModule1 -upload -source "C:/Documents and Settings/it/jbproject/untitled1/EJBModule1.jar" -targets myserver

Initiated Task: [0] [Deployer:149026]Deploy application EJBModule1 on myserver.

Task 0 failed: [Deployer:149026]Deploy application EJBModule1 on myserver.

Deployment failed on Server myserver

weblogic.management.DeploymentException:

Exception:weblogic.management.ApplicationException: activate failed for EJBModule1

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

Unable to deploy EJB: Student from EJBModule1.jar:

Failed to Generate Wrapper Class.

Nested Exception: java.lang.RuntimeException: Failed to Generate Wrapper Class

at weblogic.utils.wrapper.WrapperFactory.createWrapper(WrapperFactory.java:141)

at weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(JDBCWrapperFactory.java:73)

at weblogic.jdbc.jts.Driver.newConnection(Driver.java:674)

at weblogic.jdbc.jts.Driver.createLocalConnection(Driver.java:196)

at weblogic.jdbc.jts.Driver.connect(Driver.java:154)

at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:298)

at weblogic.ejb20.cmp11.rdbms.PersistenceManagerImpl.getConnection(PersistenceManagerImpl.java:446)

at weblogic.ejb20.cmp11.rdbms.PersistenceManagerImpl.verifyDatabaseType(PersistenceManagerImpl.java:247)

at weblogic.ejb20.cmp11.rdbms.PersistenceManagerImpl.setup(PersistenceManagerImpl.java:143)

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

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

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

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

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

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

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

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

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

at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2624)

at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2547)

at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2349)

at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2431)

at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2343)

at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2511)

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

at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)

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

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

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

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

请高手解答,谢谢了

一剑封喉
2005-03-18 21:58

是不是wrapper类没有倒入我的系统的问题啊

有经验的高手说啊

小弟再次感谢了

一剑封喉
2005-03-19 19:28

怎么没人说话啊

难道,问题弱智吗?