jQuery in Action, 3rd edition
The moose likes BEA/Weblogic and the fly likes Could not load user defined listener: com.sun.faces.config.ConfigureListener Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Could not load user defined listener: com.sun.faces.config.ConfigureListener" Watch "Could not load user defined listener: com.sun.faces.config.ConfigureListener" New topic
Author

Could not load user defined listener: com.sun.faces.config.ConfigureListener

mohammad abdellatif
Greenhorn

Joined: Aug 29, 2007
Posts: 24
This is really strange,
When I try to deploy a war file to Weblogic 10.3.6, I get the below exception, In the web.xml file I am 200% I do not have com.sun.faces.config.ConfigureListene in it, the header of web.xml like below



Can someone pleeeeeeeeeeeeeease help me in this.

Thanks in advance.


[HTTP:101163]Could not load user defined listener: com.sun.faces.config.ConfigureListener java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297) at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270) at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64) 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) at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43) at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:108) at weblogic.servlet.internal.EventsManager.registerPreparePhaseListeners(EventsManager.java:71) at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1848) at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1198) at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:453) at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428) at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976) at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:384) at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176) 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) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:648) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191) at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:44) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:208) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747) at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216) at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
mohammad abdellatif
Greenhorn

Joined: Aug 29, 2007
Posts: 24
I found the cause of this, if you have javaee6-api.jar, it contains the jsf-core.tld file, which has the declaration for this listener. do you know what is the best way to not initialize those listeners from inside jars.
 
Have you checked out Aspose?
 
subject: Could not load user defined listener: com.sun.faces.config.ConfigureListener
 
It's not a secret anymore!