<Error> <Deployer> <BEA-149205> <Failed to initialize the application 'xxxxxxx' due to error weblogic.application.ModuleException: Exception preparing module: EJBModule(Deployer.jar)
Unable to deploy EJB: AcseraEJB from Deployer.jar:
weblogic/ejb20/internal/StatefulEJBHome
weblogic.application.ModuleException: Exception preparing module: EJBModule(Deployer.jar)
Unable to deploy EJB: xxxxxEJB from Deployer.jar:
weblogic/ejb20/internal/StatefulEJBHome
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:469)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: weblogic.ejb20.internal.StatefulEJBHome
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
Truncated. see log file for complete stacktrace
Reason:
weblogic.ejb20.internal.StatefulEJBHome class was present in WLS8, but the same class in later versions of WebLogic is renamed to weblogic.ejb.container.internal.StatelessEJBHome
Solution:
whenever you are deploying an application built in WLS 8 to later versions, we must re-compile the EJB Modules in the later version of WebLogic Server
No comments:
Post a Comment