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
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.
No comments:
Post a Comment