Wednesday, May 27, 2015

ADF Application Deployment Issue : ConverterELTag ClassNotFoundException




Here is an exception I was getting while deploying an ADF Application to local standalone weblogic server.



Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'emrp'
Caused by: java.lang.ClassNotFoundException: javax.faces.webapp.ConverterELTag



Solution:

After sometime of debugging, I found that the Model Project with in the ADF Application has got an invalid library reference to ADF Faces Databinding Runtime Library which is not supposed to be present in Model Project. Instead ADF Faces is something related to ADF View Project.

I just removed that reference and redeployed the application to the standalone weblogic server in my local machine.

Remove ADF Faces Databinding Runtime Library from ADF Model Project : Issue is resolved.

Tuesday, May 5, 2015

Deploying Oracle ACM Case Data Project


Are you trying to deploy the out of box Oracle ADF UI/Forms project generated using Oracle Case Data ? Then this is for you.

Today, while working on Oracle Adaptive Case Management auto generated forms based on case data, I faced below issues and here are the resolutions. 



Environment : Using BPM version 11.1.1.7.0 and installed the pre-requisite patch 18609527
 
1) ClassNotFound Exception CaseFormServlet

After embedding the Case Data UI Project's WAR file into an Application EAR Profile - Tried to deploy the EAR into Standalone SOA/BPM Server.

Below error is seen
java.lang.ClassNotFoundException: oracle.bpm.casemgmt.client.forms.servlet.CaseFormServlet

which implies that the CaseFormServlet class file is missing. 

Add below jar files to the Case UI Project to resolve the Class Not Found Exception.
Find the jar files either in JDEV_HOME/jdeveloper/soa/modules/ or extract the above patch to find.

oracle.bpm.casemgmt.implementation.jar oracle.bpm.casemgmt.interface.jar


 2) Again, if we try to deploy the EAR file now we see a different error saying " pre loading CaseFormServlet" failed. This is more of a weblogic server specific issue.

To resolve
Open web.xml -> Servlets -> CaseFormServlet --> Make sure you have Load Servlet on First Request instead of Application Start.


Environment : Using BPM version 11.1.1.7.0 and installed the pre-requisite patch 18609527

After resolving the above issues, I am able to successfully deploy the generated UI to Standalone Server.