Problem with Weblogic 12.2 and primefaces-4.0.jar primefaces-extensions-0.6.2.jar

Community Driven Extensions Project
Post Reply
chiuchi
Posts: 1
Joined: 21 Apr 2017, 17:16

29 May 2018, 21:47

Hi

I am have some projects using primefaces-4.0.jar primefaces-extensions-0.6.2.jar. In weblogic 12.1 the project runs ok but in weblogic 12.2 i got this error:

<23/05/2018 11h39min32s,SSS BRT> <Error> <javax.enterprise.resource.webcontainer.jsf.config> <BEA-000000> <Critical error during deployment:
com.sun.faces.config.ConfigurationException:
Source Document: zip:C:/wls1221301/user_projects/domains/domain2/servers/AdminServer/tmp/_WL_user/_auto_generated_ear_/ugrl40/war/WEB-INF/lib/primefaces-extensions-0.6.2.jar!/META-INF/faces-config.xml
Cause: Class 'org.primefaces.extensions.component.masterdetail.MasterDetailRenderer' is missing a runtime dependency: java.lang.NoClassDefFoundError: org/primefaces/component/menuitem/MenuItem
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:364)
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:288)
at com.sun.faces.config.processor.RenderKitConfigProcessor.addRenderers(RenderKitConfigProcessor.java:313)
at com.sun.faces.config.processor.RenderKitConfigProcessor.process(RenderKitConfigProcessor.java:179)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NoClassDefFoundError: org/primefaces/component/menuitem/MenuItem
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethods(Class.java:1975)
at com.sun.faces.util.Util.classHasAnnotations(Util.java:1005)
at com.sun.faces.application.ApplicationInstanceFactoryMetadataMap.onPut(ApplicationInstanceFactoryMetadataMap.java:75)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: org.primefaces.component.menuitem.MenuItem
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:990)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:104)
at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:611)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:543)
Truncated. see log file for complete stacktrace
>
<23/05/2018 11h39min32s,SSS BRT> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException:
Source Document: zip:C:/wls1221301/user_projects/domains/domain2/servers/AdminServer/tmp/_WL_user/_auto_generated_ear_/ugrl40/war/WEB-INF/lib/primefaces-extensions-0.6.2.jar!/META-INF/faces-config.xml
Cause: Class 'org.primefaces.extensions.component.masterdetail.MasterDetailRenderer' is missing a runtime dependency: java.lang.NoClassDefFoundError: org/primefaces/component/menuitem/MenuItem.
java.lang.RuntimeException: com.sun.faces.config.ConfigurationException:
Source Document: zip:C:/wls1221301/user_projects/domains/domain2/servers/AdminServer/tmp/_WL_user/_auto_generated_ear_/ugrl40/war/WEB-INF/lib/primefaces-extensions-0.6.2.jar!/META-INF/faces-config.xml
Cause: Class 'org.primefaces.extensions.component.masterdetail.MasterDetailRenderer' is missing a runtime dependency: java.lang.NoClassDefFoundError: org/primefaces/component/menuitem/MenuItem
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:292)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:705)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
Truncated. see log file for complete stacktrace
Caused By: com.sun.faces.config.ConfigurationException:
Source Document: zip:C:/wls1221301/user_projects/domains/domain2/servers/AdminServer/tmp/_WL_user/_auto_generated_ear_/ugrl40/war/WEB-INF/lib/primefaces-extensions-0.6.2.jar!/META-INF/faces-config.xml
Cause: Class 'org.primefaces.extensions.component.masterdetail.MasterDetailRenderer' is missing a runtime dependency: java.lang.NoClassDefFoundError: org/primefaces/component/menuitem/MenuItem
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:364)
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:288)
at com.sun.faces.config.processor.RenderKitConfigProcessor.addRenderers(RenderKitConfigProcessor.java:313)
at com.sun.faces.config.processor.RenderKitConfigProcessor.process(RenderKitConfigProcessor.java:179)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NoClassDefFoundError: org/primefaces/component/menuitem/MenuItem
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethods(Class.java:1975)
at com.sun.faces.util.Util.classHasAnnotations(Util.java:1005)
at com.sun.faces.application.ApplicationInstanceFactoryMetadataMap.onPut(ApplicationInstanceFactoryMetadataMap.java:75)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: org.primefaces.component.menuitem.MenuItem
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:990)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:104)
at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:611)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:543)
Truncated. see log file for complete stacktrace
>
<23/05/2018 11h39min32s,SSS BRT> <Error> <javax.faces> <BEA-000000> <O aplicativo não foi iniciado corretamente na inicialização. Não foi possível encontrar Fábrica: javax.faces.application.ApplicationFactory. Attempting to find backup.>
<23/05/2018 11h39min32s,SSS BRT> <Error> <javax.enterprise.resource.webcontainer.jsf.config> <BEA-000000> <Unexpected exception when attempting to tear down the Mojarra runtime
java.lang.IllegalStateException: Could not find backup for factory javax.faces.application.ApplicationFactory.
at javax.faces.FactoryFinderInstance.getFactory(FactoryFinderInstance.java:561)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:283)
at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:140)
at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:343)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:706)
Truncated. see log file for complete stacktrace
>
[EL Warning]: 2018-05-23 11:39:32.403--Thread(Thread[[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--No partition instance associated with current SessionManager instance.
<23/05/2018 11h39min32s,SSS BRT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "184243883603620" for task "2" on [partition-name: DOMAIN]. Error is: "weblogic.application.ModuleException: java.lang.ClassNotFoundException: org.primefaces.component.menuitem.MenuItem"
weblogic.application.ModuleException: java.lang.ClassNotFoundException: org.primefaces.component.menuitem.MenuItem
at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:233)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:228)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: org.primefaces.component.menuitem.MenuItem
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:990)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:104)
at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:611)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:543)
Truncated. see log file for complete stacktrace
>
<23/05/2018 11h39min32s,SSS BRT> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 7 task for the application "_auto_generated_ear_" on [partition-name: DOMAIN].>
<23/05/2018 11h39min32s,SSS BRT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating start task for application "_auto_generated_ear_".>
<23/05/2018 11h39min32s,SSS BRT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: java.lang.ClassNotFoundException: org.primefaces.component.menuitem.MenuItem
at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:233)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:228)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: org.primefaces.component.menuitem.MenuItem
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:990)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:104)
at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:611)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:543)
Truncated. see log file for complete stacktrace
>

Can you help me?

User avatar
Melloware
Posts: 1237
Joined: 22 Apr 2013, 15:48

30 May 2018, 13:26

1. You are using ancient versions of both PF and PFE so you won't find much help.

2. It looks clearly like you are having classloading issues with your EAR file I suggest hitting up Weblogic forums as this is not a Primefaces issue but a WebLogic classloading issue.
PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 7.0.6 / PF Extensions 7.0.2

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests