Enterprise Manager will not start after ADF upgrade

Peter Lorenzen
12/02-2013

I recently had to upgrade a WebLogic Server with ADF for a customer. It was WebLogic 10.3.4 to 10.3.6 and ADF 11.1.1.4 to 11.1.2.3. They also used Enterprise Manager.

Everything went fine except for the Enterprise Manager which ended up with status Failed.

I installed both patch 14582286 and 14582309, as described in the MOS note: How To Install the ADF Runtime Libraries 11g Release 2 in WebLogic Sever 10.3.5 / 10.3.6 ? [ID 1328698.1].

The second patch should get Enterprise Manager to function properly but it did not.

WebLogic kept complaining about jsf:

<BEA-149205> <Failed to initialize the application 'em' due to error weblogic.application.ModuleException: Failed to load webapp: /em because of DeploymentException:
weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@813098101[app:em module:/em path:/em spec-version:2.5]",
defined in weblogic.xml [Extension-Name: jsf, Specification-Version: 1.2, Implementation-Version: 1.2.9.0, exact-match: false].

weblogic.application.ModuleException: Failed to load webapp: /em because of DeploymentException:weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for 
"ServletContext@813098101[app:em module:/em path:/em spec-version:2.5]",
defined in weblogic.xml [Extension-Name: jsf, Specification-Version: 1.2, Implementation-Version: 1.2.9.0, exact-match: false]

The customer uses jsf 2.0 for their applications, but it looked like the Enterprise Manager needed jsf 1.2. (1.2.9.0).

jsf 2.0 was deployed and Active. I tried to deploy jsf 1.2.9.0 from:

[MW_HOME]/wlserver_10.3/common/deployable-libraries/jsf-1.2.war

But this failed because there already was one library deployed with the name jsf.

I did get them both deployed and Active by inserting the deployment directly in the config.xml fil. This is not nice and it did not work.

After searching a bit I found this MOS note:
Oracle Enterprise Manager Fusion Middleware Control(fmwc) Fails To Load After Applying ADF 11.1.2.2.0 In Upgraded 11.1.1.6.0 Install [ID 1484395.1]

The Enterprise Manager version that were installed do required jsf 1.2.9.0.

To fix this you need to unpack the em.ear file, locate the em.war file and unpack this to. Remove the 1.2.9.0 line from the deployment descriptor file weblogic.xml and repackage everything again.

After redeploying the em.ear again it was working fine.

{ 2 comments… read them below or add one }

Yousuf Baig November 25, 2013 at 10:14

For these kind of issues its very hard to arrive on a solution. Thanks a lot for sharing this.

Regards,
Yousuf

Yousuf Baig November 27, 2013 at 06:56

I suppose you meant this line in deployment.xml within the em.ear.

Leave a Comment

Previous post:

Next post: