Saturday, March 26, 2011

javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: No such domain/application: "ClearApp"; nested exception with ADP agent Deployment

While trying to deploy ADP agent on 10.1.3.5 Oracle Application Server, following error is seen on ADP UI:
javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: No such domain/application: "ClearApp"; nested exception

Environment: Its 10.1.3.5 Oracle Application Server (OC4J) - upgrade from 10.1.3.0 or fresh install with no SOASuite (no BPEL or ESB)

Issue: ADP agent assumes that since its 10.1.3.5 OAS, it has SOA and BPEL libraries and it tries to import them.

Action: 1. Modify $ADP_HOME/deploy/Deployer.ear
a. Unjar $ADP_HOME/deploy/Deployer.ear
b. Modify META-INF/orion-application.xml to remove the following lines
   <imported-shared-libraries>
       <import-shared-library name="oracle.bpel.common"/>
   </imported-shared-libraries>
c. Repackage Deployer.ear

2. Deploy ADP agent using normal steps from ADP UI.

No comments: