This discussion is archived
1 Reply Latest reply: Jul 18, 2012 4:20 AM by RenévanWijk RSS

Weblogic ear/ejb3 deployment

948983 Newbie
Currently Being Moderated
Hi,

I develop an application using eclipse Indigo + weblogic plugin and maven 2. The application include jar, ejb3 and war modules. While deploying the application on my local test weblogic 10.3.5 server, I get the following error messages :
<11 juil. 2012 16 h 04 CEST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1342015469359' for task '0'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
     at weblogic.ejb.container.deployer.EJBModule.init(EJBModule.java:334)
     at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:167)
     at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:285)
     at weblogic.application.internal.flow.InitModulesFlow.initModules(InitModulesFlow.java:298)
     at weblogic.application.internal.flow.InitModulesFlow.prepare(InitModulesFlow.java:330)
     Truncated. see log file for complete stacktrace
Caused By: java.io.FileNotFoundException: Unable to find ejb-jar with uri identite-persistence-0.1-SNAPSHOT.jar in ear at C:\java\workspace\wksp_identite.0.3e\.metadata\.plugins\org.eclipse.core.resources\.projects\IdentiteAdminEar\beadep\identite\IdentiteAdminEar\split_src
     at weblogic.ejb.spi.EJBJar.<init>(EJBJar.java:81)
     at weblogic.ejb.container.deployer.EJBModule.buildClassFinder(EJBModule.java:201)
     at weblogic.ejb.container.deployer.EJBModule.init(EJBModule.java:313)
     at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:167)
     at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:285)
     Truncated. see log file for complete stacktrace
>
<11 juil. 2012 16 h 04 CEST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'IdentiteAdminEar'.>
<11 juil. 2012 16 h 04 CEST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
     at weblogic.ejb.container.deployer.EJBModule.init(EJBModule.java:334)
     at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:167)
     at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:285)
     at weblogic.application.internal.flow.InitModulesFlow.initModules(InitModulesFlow.java:298)
     at weblogic.application.internal.flow.InitModulesFlow.prepare(InitModulesFlow.java:330)
     Truncated. see log file for complete stacktrace
Caused By: java.io.FileNotFoundException: Unable to find ejb-jar with uri identite-persistence-0.1-SNAPSHOT.jar in ear at C:\java\workspace\wksp_identite.0.3e\.metadata\.plugins\org.eclipse.core.resources\.projects\IdentiteAdminEar\beadep\identite\IdentiteAdminEar\split_src
     at weblogic.ejb.spi.EJBJar.<init>(EJBJar.java:81)
     at weblogic.ejb.container.deployer.EJBModule.buildClassFinder(EJBModule.java:201)
     at weblogic.ejb.container.deployer.EJBModule.init(EJBModule.java:313)
     at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:167)
     at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:285)
     Truncated. see log file for complete stacktrace
>
Maven ejb plugin is configure for ejb3.
How can I solve this problem ?

Regards,
Sylvain

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points