Failed to deploy to WLS 10 because of ADFApplicationLifecycleListener missing

By W.Zh Apr 15 2009

Issue: When I create a project in Jdev and test it, runs fine, then I deploy the project EAR to the standalone WLS 10. it failed to deploy, with Exception. Check the WLS log file will find that:

java.lang.ClassNotFoundException: oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener

But project runs fine in the JDev 11g(version build ***** 5188 )’s integrated WLS.

If you comment out the




in the weblogic-application.xml file, then deploy and runs fine.


This listener is a patch added in this version Jdev in fact to slove the Repeated start/stop or redeploy causes memory leak (7393267). See the link

So the listener will be auto added to config file again and again even you comments it out.

When you install the ADF lib to the WLS, you will use the Jdev to intall it, even you use total same version Jdev(of coz you must use same version)

you will also get this error. Reason is because of install missing to add the adf-share-wls.jar.


You can find this jar in the …/youdomain/config/deployments/, if not, get it from your Jdev install folders. Then copy this file to the WLS installed folder of  %JDEV_HOME%\modules\oracle.adf.share_11.1.1\adf-share-wls.jar

Restart your WLS to see it works