Simple use case is here:
1. You want to create your first ADF portal or other ADF 11g based application.
2. You wanted to deploy it on your custom WebLogic 11g (10.3.1) domain, which you extended with Oracle JRF libraries.
3. On deployment time you would get something like this:
[09:31:02 PM] Deploying Application...
[09:31:06 PM] [Deployer:149193]Operation 'deploy' on application 'harriportalapp' has failed on 'AdminServer'
[09:31:06 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application harriportalapp on AdminServer.: Failed to load webapp: 'HarriPortal-PortalViewController-context-root'.
[09:31:06 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'HarriPortal-PortalViewController-context-root'
[09:31:06 PM] Caused by: java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
[09:31:06 PM] See server logs or server console for more details.
[09:31:06 PM] weblogic.application.ModuleException: Failed to load webapp: 'HarriPortal-PortalViewController-context-root'
[09:31:06 PM] #### Deployment incomplete. ####
[09:31:06 PM] Deployment Failed
The problem might be in weblogic.xml file where you need to replace the
<library-ref>
<library-name>adf.oracle.domain</library-name>
</library-ref>
with:
<library-ref>
<library-name>adf.oracle.domain.webapp</library-name>
</library-ref>
Remember to deploy the ADF application from the application contect menu, not from project deployment menu.
2 comments:
Thanks!!! I deploy the ADF application from the application contect menu and the deploy are OK.
I get the same kind of error when i deploy a JSF application usning weblogic "java.lang.Throwable: weblogic.application.ModuleException: Failed to load webapp: Tallita.war because of DeploymentException: [HTTP:101371]There was a failure when processing annotations for application /customer/stage/apps/Tallita.war. Please make sure that the annotations are valid. The error is access denied ("java.lang.RuntimePermission" "accessClassInPackage.com.sun.org.apache.xerces.internal.impl.xpath.regex")"
What should i add in weblogic.xml
Post a Comment