weblogic.application.ModuleException: Exception preparing module: EJBModule(sample-ejb.jar) [EJB:011023]An error occurred while reading the deployment descriptor. The error was: No EJBs found in the ejb-jar file 'sample-ejb.jar'. Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment descriptor or at least one class annotated with the @Stateless, @Stateful or @MessageDriven EJB annotation..

Oracle Community | 666705 | 10 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Kodo with Weblogic 10

    Oracle Community | 10 years ago | 666705
    weblogic.application.ModuleException: Exception preparing module: EJBModule(sample-ejb.jar) [EJB:011023]An error occurred while reading the deployment descriptor. The error was: No EJBs found in the ejb-jar file 'sample-ejb.jar'. Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment descriptor or at least one class annotated with the @Stateless, @Stateful or @MessageDriven EJB annotation..
  2. 0

    Unable to deploy EJB in weblogic server 10.0

    Coderanch | 9 years ago | kirankumar valiveti
    weblogic.application.ModuleException: Exception preparing module: EJBModule(ejb_SSUser) Unable to deploy EJB: UserController from ejb_SSUser.jar: weblogic/ejb20/internal/StatelessEJBHome
  3. 0

    Unmarshaller failed

    Oracle Community | 1 decade ago | 666705
    weblogic.application.ModuleException: [EJB:011023]An error occurred while reading the deployment descriptor. The error was: Unmarshaller failed.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem with weblogic soa_server1 install and start

    Oracle Community | 7 years ago | 636959
    weblogic.application.ModuleException: Exception preparing module: EJBModule(wsm-pmserver.jar) [EJB:011023]An error occurred while reading the deployment descriptor. The error was: javax/wsdl/Definition..
  6. 0

    Unable to start the BPM Process engine (getting pbm with Enterprise studio)

    Oracle Community | 7 years ago | 679296
    weblogic.application.ModuleException: Exception preparing module: EJBModule(engine-fsi_engine.jar) [EJB:011025]The XML parser encountered an error in your deployment descriptor. Please ensure that your DOCTYPE is correct. You may wish to compare your deployment descriptors with the WebLogic Server examples to ensure the format is correct. The error was: ParseError at [row,col]:[5,148] Message: www.bea.com.

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. weblogic.application.ModuleException

      Exception preparing module: EJBModule(sample-ejb.jar) [EJB:011023]An error occurred while reading the deployment descriptor. The error was: No EJBs found in the ejb-jar file 'sample-ejb.jar'. Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment descriptor or at least one class annotated with the @Stateless, @Stateful or @MessageDriven EJB annotation..

      at weblogic.ejb.container.deployer.EJBModule.prepare()
    2. weblogic.ejb.container
      EJBModule.prepare
      1. weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:399)
      1 frame
    3. weblogic.application.internal
      DeploymentCallbackFlow$1.next
      1. weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
      2. weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
      2 frames
    4. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
      1 frame
    5. weblogic.application.internal
      BaseDeployment$1.next
      1. weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
      2. weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
      3. weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
      3 frames
    6. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
      1 frame
    7. weblogic.application.internal
      DeploymentStateChecker.prepare
      1. weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
      2. weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
      2 frames
    8. weblogic.deploy.internal
      AppDeployment.prepare
      1. weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
      2. weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:137)
      2 frames
    9. weblogic.management.deploy
      DeploymentServerService.start
      1. weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
      2. weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
      3. weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
      4. weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
      5. weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
      6. weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
      7. weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
      8. weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
      8 frames
    10. weblogic.t3.srvr
      SubsystemRequest.run
      1. weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
      1 frame
    11. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
      2 frames