If you see any error log as below while deploying your webcenter application, then this post can help you !
<Error> <Deployer> <BEA-149205>
<Failed to initialize the application 'portal [Version=V2.0]' due to error
weblogic.management.DeploymentException: .
weblogic.management.DeploymentException:
at
weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:176)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at
weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:104)
at
weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:117)
Truncated.
see log file for complete stacktrace Caused By:
java.lang.ClassNotFoundException:
oracle.webcenter.lifecycle.listener.FeatureMetricApplicationListener
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:306)
at
java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at
weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
Truncated.
see log file for complete stacktrace
fix is very simple
- Go to Application resource -> Descriptors-> META-INF -> weblogic-applications.xml
see there must be an entry like below
<listener>
<listener-class>oracle.webcenter.lifecycle.listener.FeatureMetricApplicationListener</listener-class>
</listener>
You just need to remove this listener entry that's it !!
0 comments:
Post a Comment