Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ADF faces on tomcat 6

857157Jun 12 2011 — edited Aug 12 2011
When I try to deploy my app to tomcat 6.0. I followed steps that explained it this http://blogs.oracle.com/dana/entry/how_to_deploy_a_11g_adf_applic_1

I get this error

Any idea

thanks in advance

////////////////////////////////////////////////////////////////////////////////////////////////


HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

oracle.adf.controller.ControllerException: ADFC-00011: The ADF Controller is unable to create an MDSSession. See exception for details.
oracle.adfinternal.controller.util.Utils.createAndLogControllerException(Utils.java:208)
oracle.adfinternal.controller.application.AdfcAppInitializer.checkForMds(AdfcAppInitializer.java:242)
oracle.adfinternal.controller.application.AdfcAppInitializer.initialize(AdfcAppInitializer.java:116)
oracle.adfinternal.controller.application.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:53)
org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:64)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:239)

root cause

java.lang.RuntimeException: A current ADFContext is not available.
oracle.adf.share.ADFContext.findCurrent(ADFContext.java:960)
oracle.adfinternal.controller.application.AdfcAppInitializer.checkForMds(AdfcAppInitializer.java:234)
oracle.adfinternal.controller.application.AdfcAppInitializer.initialize(AdfcAppInitializer.java:116)
oracle.adfinternal.controller.application.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:53)
org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:64)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:239)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 9 2011
Added on Jun 12 2011
4 comments
249 views