Failed to Generate Wrapper Class - Weblogic

This is a discussion on Failed to Generate Wrapper Class - Weblogic ; Hello, I am trying to deploy a cmp ejb (attached here) and I always get the following exception. Can anyone please help? Julien Martin. ************************** weblogic.management.DeploymentException: Exception:weblogic.management.ApplicationException : activate failed for account-ejb Module: account-ejb Error: Exception activating module: EJBModule(account-ejb,status=PREPARED) Unable ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Failed to Generate Wrapper Class

  1. Failed to Generate Wrapper Class


    Hello,

    I am trying to deploy a cmp ejb (attached here) and I always get the following
    exception. Can anyone please help?

    Julien Martin.

    **************************
    weblogic.management.DeploymentException:
    Exception:weblogic.management.ApplicationException : activate failed for account-ejb
    Module: account-ejb Error: Exception activating module: EJBModule(account-ejb,status=PREPARED)
    Unable to deploy EJB: AccountEJB from account-ejb.jar:
    Failed to Generate Wrapper Class.
    Nested Exception: java.lang.RuntimeException: Failed to Generate Wrapper Class

    at weblogic.utils.wrapper.WrapperFactory.createWrappe r(WrapperFactory.java:141)

    at weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrappe r(JDBCWrapperFactory.java:73)

    at weblogic.jdbc.jts.Driver.newConnection(Driver.java :674)
    at weblogic.jdbc.jts.Driver.createLocalConnection(Dri ver.java:196)
    at weblogic.jdbc.jts.Driver.connect(Driver.java:154)
    at weblogic.jdbc.common.internal.RmiDataSource.getCon nection(RmiDataSource.java:298)

    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.g etConnection(RDBMSPersistenceManager.java:1841)

    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.v erifyDatabaseType(RDBMSPersistenceManager.java:202 5)

    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.s etup(RDBMSPersistenceManager.java:195)

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

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

    at weblogic.ejb20.manager.DBManager.setup(DBManager.j ava:164)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.a ctivate(ClientDrivenBeanInfoImpl.java:1004)

    at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDe ployer.java:1322)
    at weblogic.ejb20.deployer.EJBModule.activate(EJBModu le.java:610)
    at weblogic.j2ee.J2EEApplicationContainer.activateMod ule(J2EEApplicationContainer.java:3012)

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

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

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

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

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

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

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

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

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

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

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

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

    at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:170)



    at weblogic.management.deploy.slave.SlaveDeployer$Act ivateTask.doCommit(SlaveDeployer.java:2549)

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

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

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

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

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

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

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

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

    at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:170)
    No Exception Messages

  2. Re: Failed to Generate Wrapper Class

    I would suggest posting in the JDBC newsgroup.

    -- Rob

    Julien Martin wrote:
    > Hello,
    >
    > I am trying to deploy a cmp ejb (attached here) and I always get the following
    > exception. Can anyone please help?
    >
    > Julien Martin.
    >
    > **************************
    > weblogic.management.DeploymentException:
    > Exception:weblogic.management.ApplicationException : activate failed for account-ejb
    > Module: account-ejb Error: Exception activating module: EJBModule(account-ejb,status=PREPARED)
    > Unable to deploy EJB: AccountEJB from account-ejb.jar:
    > Failed to Generate Wrapper Class.
    > Nested Exception: java.lang.RuntimeException: Failed to Generate Wrapper Class
    >
    > at weblogic.utils.wrapper.WrapperFactory.createWrappe r(WrapperFactory.java:141)
    >
    > at weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrappe r(JDBCWrapperFactory.java:73)
    >
    > at weblogic.jdbc.jts.Driver.newConnection(Driver.java :674)
    > at weblogic.jdbc.jts.Driver.createLocalConnection(Dri ver.java:196)
    > at weblogic.jdbc.jts.Driver.connect(Driver.java:154)
    > at weblogic.jdbc.common.internal.RmiDataSource.getCon nection(RmiDataSource.java:298)
    >
    > at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.g etConnection(RDBMSPersistenceManager.java:1841)
    >
    > at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.v erifyDatabaseType(RDBMSPersistenceManager.java:202 5)
    >
    > at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.s etup(RDBMSPersistenceManager.java:195)
    >
    > at weblogic.ejb20.manager.BaseEntityManager.setupPM(B aseEntityManager.java:217)
    >
    > at weblogic.ejb20.manager.BaseEntityManager.setup(Bas eEntityManager.java:184)
    >
    > at weblogic.ejb20.manager.DBManager.setup(DBManager.j ava:164)
    > at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.a ctivate(ClientDrivenBeanInfoImpl.java:1004)
    >
    > at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDe ployer.java:1322)
    > at weblogic.ejb20.deployer.EJBModule.activate(EJBModu le.java:610)
    > at weblogic.j2ee.J2EEApplicationContainer.activateMod ule(J2EEApplicationContainer.java:3012)
    >
    > at weblogic.j2ee.J2EEApplicationContainer.activate(J2 EEApplicationContainer.java:2076)
    >
    > at weblogic.j2ee.J2EEApplicationContainer.activate(J2 EEApplicationContainer.java:2057)
    >
    > at weblogic.management.deploy.slave.SlaveDeployer$Com ponentActivateTask.activateContainer(SlaveDeployer .java:2624)
    >
    > at weblogic.management.deploy.slave.SlaveDeployer$Act ivateTask.doCommit(SlaveDeployer.java:2547)
    >
    > at weblogic.management.deploy.slave.SlaveDeployer$Tas k.commit(SlaveDeployer.java:2349)
    >
    > at weblogic.management.deploy.slave.SlaveDeployer$Tas k.checkAutoCommit(SlaveDeployer.java:2431)
    >
    > at weblogic.management.deploy.slave.SlaveDeployer$Tas k.prepare(SlaveDeployer.java:2343)
    >
    > at weblogic.management.deploy.slave.SlaveDeployer$Act ivateTask.prepare(SlaveDeployer.java:2511)
    >
    > at weblogic.management.deploy.slave.SlaveDeployer.pro cessPrepareTask(SlaveDeployer.java:833)
    >
    > at weblogic.management.deploy.slave.SlaveDeployer.pre pareDelta(SlaveDeployer.java:542)
    >
    > at weblogic.management.deploy.slave.SlaveDeployer.pre pareUpdate(SlaveDeployer.java:500)
    >
    > at weblogic.drs.internal.SlaveCallbackHandler$1.execu te(SlaveCallbackHandler.java:25)
    >
    > at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:197)
    > at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:170)
    >
    >
    >
    > at weblogic.management.deploy.slave.SlaveDeployer$Act ivateTask.doCommit(SlaveDeployer.java:2549)
    >
    > at weblogic.management.deploy.slave.SlaveDeployer$Tas k.commit(SlaveDeployer.java:2349)
    >
    > at weblogic.management.deploy.slave.SlaveDeployer$Tas k.checkAutoCommit(SlaveDeployer.java:2431)
    >
    > at weblogic.management.deploy.slave.SlaveDeployer$Tas k.prepare(SlaveDeployer.java:2343)
    >
    > at weblogic.management.deploy.slave.SlaveDeployer$Act ivateTask.prepare(SlaveDeployer.java:2511)
    >
    > at weblogic.management.deploy.slave.SlaveDeployer.pro cessPrepareTask(SlaveDeployer.java:833)
    >
    > at weblogic.management.deploy.slave.SlaveDeployer.pre pareDelta(SlaveDeployer.java:542)
    >
    > at weblogic.management.deploy.slave.SlaveDeployer.pre pareUpdate(SlaveDeployer.java:500)
    >
    > at weblogic.drs.internal.SlaveCallbackHandler$1.execu te(SlaveCallbackHandler.java:25)
    >
    > at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:197)
    > at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:170)
    > No Exception Messages



+ Reply to Thread