Showing posts with label SOA EM Console. Show all posts
Showing posts with label SOA EM Console. Show all posts

Wednesday, 19 November 2014

Applying Patch 9905685 : MISSING COMMONS-CLI-1.1.JAR IN WEBTIER ORACLE_COMMON/SOA/MODULES on SOA 11.1.1.7.0

Applying Patch 9905685 : MISSING COMMONS-CLI-1.1.JAR IN WEBTIER ORACLE_COMMON/SOA/MODULES on SOA 11.1.1.7.0

On SOA 11.1.1.7.0 version, SOA composite undeployment via Enterprise Manager Console fails.  It appears to hang, and the operation must eventually be canceled. 

You can observe below error in AdminServer.out while the undeploy action is in progress:


<Emergency> <oracle.dfw.incident> <BEA-000000> <incident 29 created with problem key "DFW-99998 [java.lang.NoClassDefFoundError][oracle.sysman.emai.model.sca.deploy.Deployer.execute][em]">


The cause for this issue is a missing COMMONS-CLI-1.1.jar in the [domain_home]/oracle_common/soa/modules directory.

To resolve this, download & apply patch 9905685


1. Unzip the patch zip file into the PATCH_TOP.

   $unzip -d PATCH_TOP p9905685_111170_Generic.zip

2. Set your current directory to the directory where the patch is located.

   $cd PATCH_TOP/9905685/oui

3. Run OPatch to apply the patch.

   Set the ORACLE_HOME environment variable to oracle_common directory and run the following command:

      $opatch apply

4. Restart all servers (AdminServer and all Managed server(s)).

Monday, 16 September 2013

Recovering failed instances / messages in SOA 11g using Enterprise Manager

Recovering failed instances / messages in SOA 11g using Enterprise Manager

Want to recover failed instances in SOA? Below are the high level steps to recover.

- Login to SOA EM console http://virtualhost.example.com/em

- On the left side tree navigation, go to Farm_soa_domain > SOA > soa-infra (WLS_SOA1)

- Right click on soa-infra (WLS_SOA1) and then select Service Engines > BPEL



- In the BPEL Service Home page, you will see tabs - Dashboard, Statistics, Instances, Faults, Deployed components, Recovery.

- Click on Recovery tab

- Select the following from the drop downs.
Type:  Invoke , Duration: Select appropriate duration you need to check, Message State: All

- Select the relevant conversation ID and click on 'Recover' tab. Repeat this for all the conversation IDs that need to be recovered.

Please note you can recover or cancel selected messages marked as Recoverable. If messages are marked as Exhausted you can select them and click Reset to return them to the auto-recovery queue, click Mark Cancelled so that recovery is never attempted on them, or click Recover to attempt to recover them immediately.