Problemas al deployar un EJB
Al deployar un EJB desde la consola de Weblogic 8.1 obtengo el siguiente error
[Deployer:149033]preparing application pruebaDemanda on myserver
[Deployer:149033]failed application pruebaDemanda on myserver
[Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application pruebaDemanda on myserver.:
Exception:weblogic.management.ApplicationException: prepare failed for pruebaDemanda
Module: pruebaDemanda Error: Exception preparing module: EJBModule(pruebaDemanda,status=NEW)
Unable to deploy EJB: DemandaBean from pruebaDemanda.jar:
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at es.empresa.prueba.business.demanda.persistence.automatic.DemandaBean_yxn70g_HomeImpl.class$(DemandaBean_yxn70g_HomeImpl.java:56)
at es.empresa.prueba.business.demanda.persistence.automatic.DemandaBean_yxn70g_HomeImpl.<clinit>(DemandaBean_yxn70g_HomeImpl.java:55)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.prepare(ClientDrivenBeanInfoImpl.java:974)
at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:982)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1323)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3101)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1560)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1208)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1051)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2444)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2394)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2310)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
¿Qué puede ser?
Gracias
[Deployer:149033]preparing application pruebaDemanda on myserver
[Deployer:149033]failed application pruebaDemanda on myserver
[Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application pruebaDemanda on myserver.:
Exception:weblogic.management.ApplicationException: prepare failed for pruebaDemanda
Module: pruebaDemanda Error: Exception preparing module: EJBModule(pruebaDemanda,status=NEW)
Unable to deploy EJB: DemandaBean from pruebaDemanda.jar:
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at es.empresa.prueba.business.demanda.persistence.automatic.DemandaBean_yxn70g_HomeImpl.class$(DemandaBean_yxn70g_HomeImpl.java:56)
at es.empresa.prueba.business.demanda.persistence.automatic.DemandaBean_yxn70g_HomeImpl.<clinit>(DemandaBean_yxn70g_HomeImpl.java:55)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.prepare(ClientDrivenBeanInfoImpl.java:974)
at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:982)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1323)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3101)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1560)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1208)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1051)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2444)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2394)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2310)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
¿Qué puede ser?
Gracias
Respuesta de rodgalan