Oracle.adf.controller.faces.context.FacesPageLifecycleContext not found

Hi all,
I am using JDeveloper 11.1.1.0 and I am trying to do an application about security.
I have found some references on web and I have a bean that uses this line of code:
FacesPageLifecycleContext ctx = (FacesPageLifecycleContext)event.getLifecycleContext();
but on the line:
import oracle.adf.controller.faces.context.FacesPageLifecycleContext;
the debugger tells me: "class oracle.adf.controller.faces.context.FacesPageLifecycleContext not found"
What's the correct class to import?
Thanks

Hi,
not sure what you are doing - however I am not asking ;-)
Try import oracle.adf.controller.v2.context.LifecycleContext
Frank

Similar Messages

  • Class adf.controller.faces.context.FacesPageLifecycleContext not found

    Hi all,
    I am using Jdeveloper 11.1.1.0 and I have a class uses FacesPageLifecycleContext.
    When I import the class oracle.adf.controller.faces.context.FacesPageLifecycleContext, the debugger tells me it does not found that class.
    How can I solve the problem?
    Does I miss any library on my project?
    Thanks
    Andrea

    Excuse me, but I don't understand. Have I to found all these files:
    trinidad-api.jar
    trinidad-impl.jar
    adf-richclient-api-11.jar
    adf-richclient-impl-11.jar
    in my classpath?
    I am looking for these files in C:\Oracle\Middleware\jdeveloper\adfv but in this folder I have only jlib and skin folder.
    Can you give any other informations, please.
    Thank you so much

  • Error in Importing packageoracle.adf.controller.faces.context.FacesPageLife

    I am using JDevelepor 11.1.2.1.0 Version
    I Am newIn ADF... pls help
    In managed Bean I can't importing package oracle.adf.controller.faces.context.FacesPageLifecycleContext;

    What do you mean?
    You get an error message? Which one?
    Have you set up your app as fusion web app?
    I don't have a problem importing the class...
    Timo

  • Import oracle.adf.view.rich.event.DropEvent; Not Found

    Ok guys I have a problem. A large number of my imports are not found when I type them into my project. I am following a book and there is no mention of this happening so I have no idea what to do. I figure maybe it is about finding libraries and adding them to my view controller but I am not sure what libraries I should add.
    These are the things that are missing
    import oracle.adf.view.rich.datatransfer.DataFlavor;
    import oracle.adf.view.rich.datatransfer.Transferable;
    import oracle.adf.view.rich.dnd.DnDAction;
    import oracle.adf.view.rich.event.DropEvent;
    import oracle.adfinternal.view.faces.model.binding.FacesCtrlHierNodeBinding;
    import org.apache.myfaces.trinidad.model.CollectionModel;
    import org.apache.myfaces.trinidad.model.RowKeySet;
    I am hoping that someone out there can help me with this problem

    Here is a listing of all of the packages missing since this happened. Keep in mind Ive been using some of these packages with no problems for a while. Dunno what happened. Also I left out the corresponding errors that I'm pretty sure appeared because of this but if anyone needs a full error list I can post it no problem.
    Error(6,29): package oracle.adf.controller does not exist
    Error(6,41): package oracle.adf.view.rich.datatransfer does not exist
    Error(7,41): package oracle.adf.view.rich.datatransfer does not exist
    Error(8,32): package oracle.adf.view.rich.dnd does not exist
    Error(9,34): package oracle.adf.view.rich.event does not exist
    Error(11,51): package oracle.adfinternal.view.faces.model.binding does not exist
    Error(17,41): package org.apache.myfaces.trinidad.model does not exist
    Error(18,41): package org.apache.myfaces.trinidad.model does not exist
    Error(3,29): package javax.faces.component does not exist
    Error(4,27): package javax.faces.context does not exist
    Error(5,27): package javax.faces.convert does not exist
    Error(11,27): package javax.faces.context does not exist
    Error(12,25): package javax.faces.event does not exist
    Error(16,36): package oracle.adf.view.rich.context does not exist
    Error(22,41): package org.apache.myfaces.trinidad.model does not exist
    Error(3,29): package oracle.adf.controller does not exist
    Error(6,43): package oracle.adf.view.rich.component.rich does not exist
    Error(7,52): package oracle.adf.view.rich.component.rich.fragment does not exist
    Error(8,34): package oracle.adf.view.rich.event does not exist
    Error(15,29): package javax.faces.component does not exist
    Error(16,27): package javax.faces.context does not exist
    Error(18,35): package oracle.adf.view.rich.render does not exist
    Error(20,42): package org.apache.myfaces.trinidad.render does not exist
    Error(21,40): package org.apache.myfaces.trinidad.util does not exist
    I sincerely hope someone can help me out of this mess

  • Import oracle.adf.view.faces.context.AdfFacesContext fails

    I am trying to import import oracle.adf.view.faces.context.AdfFacesContext and it says "Error(9,8): AdfFacesContext not found". Do I need to add any library to JDeveloper?

    Hi,
    To import this class you just need of ADF Faces Runtime library on your project.
    Bye

  • Unable to find class oracle.adf.controller.faces.lifecycle.ADFPhaseListener

    hi ,OTN
    I have an ADF 10g application which I migrate to Jdeveloper 11.1.1.3.0 version after migration and turning Adf faces to Apache Trinidad components and fixing all my code,compiling the application without any Errors,when I deployed my application to weblogic I had a deployment exception this is all the stack trace
    User defined listener com.sun.faces.config.ConfigureListener failed: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
    Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener '
    com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
    Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         Truncated. see log file for complete stacktrace
    Caused By: com.sun.faces.config.ConfigurationException:
    Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
         at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:248)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
         at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
         at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
         Truncated. see log file for complete stacktrace
    <08/10/2010 EET 04:11:11 م> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1286547027015' for task '0'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1514)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         Truncated. see log file for complete stacktrace
    Caused By: com.sun.faces.config.ConfigurationException:
    Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
         at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:248)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
         at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
         at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
         Truncated. see log file for complete stacktrace
    >
    <08/10/2010 EET 04:11:11 م> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'Version4'.>
    <08/10/2010 EET 04:11:11 م> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'Version4'.>
    <08/10/2010 EET 04:11:11 م> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: :com.sun.faces.config.ConfigurationException:
    Source Document: file:/C:/Documents and Settings/Administrator/Application Data/JDeveloper/system11.1.1.3.37.56.60/o.j2ee/drs/Version4/ViewControllerWebApp.war/WEB-INF/faces-config.xml
    Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
         at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:248)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
         at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
         at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
         Truncated. see log file for complete stacktrace
    help please?

    thank you for quick reply. but I ran my application in the integrated weblogic server in the Jdeveloper.I did not deploy it to a standalone one.did you mean the default domain?

  • Javax.faces.context.FacesContext not found in JDeveloper 10.1.3.2

    I tried to use javax.faces.context.FacesContext calss in my application but JDeveloper 10.1.3.2 can not find this class
    ( the same problem also in 10.1.3)
    I checked the jar file of this library (jsf-api.jar ), it is in folder [jsf-ri] in Jdev home
    why JDev. can not read this library
    please how can i solve this problem
    Waheed

    Hi,
    make sure the project you are working in is configured for JSF. Double click onto the project to open its properties and set the "Technology Scope" to JSF. This ensures that all libraries are cnfigured. This also adds aa copy of jsf-impl.jar to the Web-Inf/lib directory of your project.
    Frank

  • PDF (Oracle ADF Developer Guide 10g Handbook) not found

    Hi all,
    I try to open : http://www.oracle.com/technology/products/jdev/collateral/training10g.html
    to download PDF file [ [b]Oracle ADF Developer Guide 10g Handbook (free)
    JSF, ADF Business Components tech stack.]
    but when i try to click on book link , oracle send me to other subject "Oracle Application Development Framework Developer's Guide for Forms/4GL Developers"
    Please any body help my, because i need this book soooooooo much ASAP

    Dear MarkP
    Have a nice day,
    Thanks for your link but this guid is ( Oracle ADF Developer Guide 10g Handbook JSF, EJB 3.0, TopLink tech stack.)
    What I need is (Oracle ADF Developer Guide 10g Handbook JSF, ADF Business Components tech stack.)!!!!
    BR

  • ADF progressIndicator without oracle.adf.view.faces.model.BoundedRangeMode

    Hello
    I am using progressIndicator for updating large number of database values. But it seems that oracle.adf.view.faces.model is not an opensource. But the progressIndicator using oracle.adf.view.faces.model.BoundedRangeModel. So any one please tell me is it possible to use progressIndicator without using oracle.adf.view.faces.model.BoundedRangeModel. I am updating nearly 10000 records. So it should use the progressIndicator.

    Hi,
    seems that your LOV implementation updates "MdlPrdId" on the table binding directly, which is not supposed to work
    Frank

  • Oracle.adf.view.rich.context.ExceptionHandler is not working properly

    Hi,
    I am using Jdev 11.1.2.0.0 and weblogic server (10.3.5).
    I have overridden oracle.adf.view.rich.context.ExceptionHandler class and registered under ADF Meta-INF/services folder. when I am deploying in the local machine it is working fine, but in production mode it is not catching the Faces(UI) level exceptions.
    Please let me know any configuration have I missed in Production server or not?

    +"So don't go for this solution to quickly and always think of alternative solutions. Sometimes a try-catch-final block does it better than sophisticated web exception handling. "+
    https://blogs.oracle.com/jdevotnharvest/entry/extending_the_adf_controller_exception_handler
    :-)

  • Oracle.adf.controller.activity.ActivityLogicException: ADFC-02013: Unable to get metadata for activity

    Hello,
    I am new to ADF, I am trying to learn how to navigate from one page to another, the code that I have is simple, but it is not working, I specified the control flow rules in the adfc-config.xml and I even tried to specify the navigation rules in the faces-config.xml file, but it doesn't matter if I do it in one configuration file or another I get the same error.  This is my first time working with ADF, I don't have formal training, just some video tutorial that I have seen on internet.  I have previous experience with JSF, so I feel more comfortable writing the code for my program than using all the graphical tools (at least at this moment)
    Any help to solve this problem will be highly appreciated.
    This is my page1.jsf  code:
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html>
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich" xmlns:h="http://java.sun.com/jsf/html">
        <af:document title="page1.jsf" id="d1" binding="#{backingBeanScope.backing_page1.d1}">
            <af:form id="f1" binding="#{backingBeanScope.backing_page1.f1}"></af:form>
        </af:document>  
        <h:head>
            <title>First JSF Example</title>
        </h:head>   
        <h:body>
            <h3>ADF Hello World Example</h3>
            <h:form>
                What's your name?
                <h:inputText value="#{backingBeanScope.backing_page1.message}"></h:inputText>
                <h:commandButton value="Welcome Me" action="#{backingBeanScope.backing_page1.processPage1}"></h:commandButton>
            </h:form>
        </h:body>   
    </f:view>
    This is my backing bean for page1:
    package view.backing;
    import oracle.adf.view.rich.component.rich.RichDocument;
    import oracle.adf.view.rich.component.rich.RichForm;
    public class Page1 {
        private RichForm f1;
        private RichDocument d1;
        private String message;
        public void setF1(RichForm f1) { this.f1 = f1; }   
        public RichForm getF1() {return f1;}   
         public void setD1(RichDocument d1) {this.d1 = d1;}
        public RichDocument getD1() {return d1;}
        public void setMessage(String msg) { this.message= msg;  }
        public String getMessage() { return this.message; }
        public String processPage1()
            System.out.println("++++++++++++++++++++++++++++++++++++++++++++++move to next page");
            return "success";   
    This is my adfc-config.xml file:
    <?xml version="1.0" encoding="UTF-8" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <control-flow-rule id="__5">
        <from-activity-id>page1.jsf</from-activity-id>
        <control-flow-case id="__6">
          <from-action>#{backingBeanScope.backing_page1.processPage1}</from-action>
          <from-outcome>success</from-outcome>
          <to-activity-id>page2.jsf</to-activity-id>
        </control-flow-case>
      </control-flow-rule>
      <managed-bean id="__2">
        <managed-bean-name>backing_page1</managed-bean-name>
        <managed-bean-class>view.backing.Page1</managed-bean-class>
        <managed-bean-scope>backingBean</managed-bean-scope>
        <!--oracle-jdev-comment:managed-bean-jsp-link:1page1.jsf-->
      </managed-bean>
      <managed-bean id="__1">
        <managed-bean-name>backing_page2</managed-bean-name>
        <managed-bean-class>view.backing.Page2</managed-bean-class>
        <managed-bean-scope>backingBean</managed-bean-scope>
        <!--oracle-jdev-comment:managed-bean-jsp-link:1page2.jsf-->
      </managed-bean>
    </adfc-config>
    Finally this is my page2.jsf
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html>
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"  xmlns:h="http://java.sun.com/jsf/html">
        <af:document title="page2.jsf" id="d1" binding="#{backingBeanScope.backing_page2.d1}">
            <af:form id="f1" binding="#{backingBeanScope.backing_page2.f1}"></af:form>
        </af:document>
        <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_page2-->
        <h:body>
            <h3>ADF Hello World Example PAGE2</h3>  
        </h:body>     
    </f:view>
    This is the error that I get when I push the button on page1 and I try to navigate to page 2:
    Target URL -- http://127.0.0.1:7101/EcatsADF12c-ViewController-context-root/faces/page1.jsf
    <org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl> <ViewHandlerImpl> <_checkTimestamp> <TIMESTAMP_CHECKING_ENABLED_SHOULDNOT_IN_PRODUCTION>
    <Apr 22, 2015 4:34:43 PM CDT> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 127.0.0.1:57,015 during the configured idle timeout of 5 seconds.>
    <Apr 22, 2015 4:34:43 PM CDT> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 127.0.0.1:57,014 during the configured idle timeout of 5 seconds.>
    <Apr 22, 2015 4:34:43 PM CDT> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 127.0.0.1:57,013 during the configured idle timeout of 5 seconds.>
    <Apr 22, 2015 4:34:43 PM CDT> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 127.0.0.1:57,017 during the configured idle timeout of 5 seconds.>
    <Apr 22, 2015 4:34:43 PM CDT> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 127.0.0.1:57,016 during the configured idle timeout of 5 seconds.>
    ++++++++++++++++++++++++++++++++++++++++++++++move to next page
    <oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl> <DiagnosticsDataExtractorImpl> <createADRIncident> <incident 11 created with problem key "ADFC-02013 [ADFc]">
    <oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl> <DiagnosticsDataExtractorImpl> <createADRIncident> <incident 12 created with problem key "ADFC-02013 [ADFc]">
    <oracle.adf.view> <RichExceptionHandler> <_logUnhandledException> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5>
    oracle.adf.controller.activity.ActivityLogicException: ADFC-02013: Unable to get metadata for activity 'page2.jsf'.
      at oracle.adfinternal.controller.util.Utils.createAndLogActivityLogicException(Utils.java:234)
      at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:1133)
      at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:979)
      at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:551)
      at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:162)
      at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:119)
      at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:88)
      at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:50)
      at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
      at javax.faces.component.UICommand.broadcast(UICommand.java:315)
      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:1074)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:402)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:502)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:502)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3436)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
      at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

    User, tell us your jdev version, please!
    What is your goal?
    What you have find had nothing to do with ADF. If you ent to learn adf then I recommend to work through find of the tutorials available on the jdev home page.
    If adf is not your goal, you might want to use Trinidad and ask your question in their forum.
    You might not like the declarative approach adf uses, but if you want to learn how to use adf, you have to understand how ADF works. Most can be done using java, but one you understand the framework you see the advantage.
    Timo

  • Looking for oracle.adf.view.faces.CHECK_FILE_MODIFICATION property

    Hi ,
    when i try to run a simple ADF form for the second time-one 'instance' of it has already run successfully some time ago , and the status of "embedded runtime OC4J SERVER" is running- i get the following error:
    INFO: ADF Faces is running with time-stamp checking enabled. This should not be used in a production environment. See the oracle.adf.view.faces.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    I have searched the web.xml file in the current application...(userInterface project->Web Content - > Web-Inf) but i have not found the property "oracle.adf.view.faces.CHECK_FILE_MODIFICATION"....
    Where is there declared...????
    NOTE : I use JDev 10.1.3.
    My greetings,
    Simon

    Hi,
    oracle.adf.view.faces.CHECK_FILE_MODIFICATION is a context parameter that in JDeveloper IDE is set to true by default. You can set this to false but then this means that the JSPX files are no longer compiled when running them in the embedded OC4J, which means you actually see the "old" version
    <!-- If this parameter is enabled, ADF Faces will automatically
    check the modification date of your JSPs, and discard saved
    state when they change; this makes development easier,
    but adds overhead that should be avoided when your application
    is deployed -->
    <context-param> <param-name>oracle.adf.view.faces.CHECK_FILE_MODIFICATION</param-name>
    <param-value>false</param-value>
    </context-param>
    Frank

  • Oracle.adf.controller.ControllerException: ADFC-00011

    We have installed a cluster with Weblogic PS3. After we startup the wohole cluster, one of the manged serevrs does not start correctly. We get:
    ####<Mar 15, 2011 12:43:01 PM CET> <Error> <HTTP> <l1-mwpsysapp03.nl.rsg> <MWPSYS-MS1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kern
    el.Default (self-tuning)'> <<WLS Kernel>> <> <f9d1a0b2e4a1ab40:-1243ffee:12eb9509536:-7ffc-0000000000000022> <1300189381875> <BEA-101020> <[S
    ervletContext@28271646[app:MetropoolWebPortalV2 module:/mwp2 path:/mwp2 spec-version:2.5]] Servlet failed with Exception
    oracle.adf.controller.ControllerException: ADFC-00011: The ADF Controller is unable to create an MDSSession. See exception for details.
    at oracle.adfinternal.controller.util.Utils.createAndLogControllerException(Utils.java:208)
    at oracle.adfinternal.controller.application.AdfcAppInitializer.checkForMds(AdfcAppInitializer.java:242)
    at oracle.adfinternal.controller.application.AdfcAppInitializer.initialize(AdfcAppInitializer.java:116)
    at oracle.adfinternal.controller.application.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:53)
    at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:64)
    at org.apache.myfaces.trinidad.webapp.ResourceServlet.service(ResourceServlet.java:157) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    We restarted everything, but this does not help. According to the Release Notes of PS3; we have restarted the Adminserver and of course this managed servers. The admin server and managed servers are installed and confiured on their on server.
    Regards,
    Marc
    http://orasoa.blogspot.com

    Apple,
    First thing I'd suggest -> try re-installing jdeveloper in a path without spaces to see if that resolves the problem.
    john

  • ClassNotFoundException: oracle.adf.view.faces.webapp.AdfFacesFilter

    Hi JDeveloper,
    Jdev Version: 11.1.1.6.0
    I am writing code to upload file to temp location, for this I added following configuration.
    <!-- This filter is always required by ADF; one of its functions is
    file upload. -->
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    But on running the code getting below exception:
    weblogic.application.ModuleException: Failed to load webapp: 'SP'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.adf.view.faces.webapp.AdfFacesFilter
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         Truncated. see log file for complete stacktrace
    Any clue on this?
    Please suggest
    Thanks,Ankur

    Hi Timo,
    I have read this blog carefully, but still my problem is unresolved. I have to save file to location on Submit button in popup. I am not able to get example how to do so, that on Submit button I should move the file to file server.
    My code is:
    <af:inputFile label="File Name:" id="if1" showRequired="true"
    autoSubmit="true"
    value="#{backingBeanScope.spr2DownloadPageBean.file}"
    valueChangeListener="#{backingBeanScope.spr2DownloadPageBean.uploadFile}"
    binding="#{backingBeanScope.spr2DownloadPageBean.inputFile}"/>
    Backing Bean:
    public void uploadFile(ValueChangeEvent valueChangeEvent) {
    // Add event code here...
    System.out.println("fileUpdate invoked");
    UploadedFile file =(UploadedFile)valueChangeEvent.getNewValue();
    if(file!=null){
    FacesContext context = FacesContext.getCurrentInstance();
    FacesMessage message = new FacesMessage(
    "Successfully uploaded file " + file.getFilename() +
    " (" + file.getLength() + " bytes)");
    I am not able to figure out code for Submit Button:
    public String UploadButton_action() {
    // Add event code here...
    if(this.getInputFile().getValue()==null){
    FacesContext context = FacesContext.getCurrentInstance();
    return null;
    Please suggest.

  • Missing class: oracle.adf.view.faces.webapp.AdfFacesFilterHelper

    I downloaded Steve's sample application "14. Dynamic JDBC Credentials for Model 1 and Model 2 [10.1.3.2] 2006, Upd: 30-MAR-2007 "
    I tried to run it, but got an error as like below.
    I'm using Jdeveloper 10.1.3.1.
    Can anybody help me?
    ------------------< my error >-----------------------------------------------------------------------------
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
    Missing class: oracle.adf.view.faces.webapp.AdfFacesFilterHelper
    Dependent class: oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl
    Loader: current-workspace-app.web.DynamicCredentialsJSF:0.0.0
    Do I need somthing for this application?
    Please help again.
    Message was edited by:
    sdcsdc

    I have the same problem when trying to run a project created in 10.1.3.2 with 10.1.3.1
    I guess it's not downward compatible. It might seem silly trying to do this, but after testing I found that I can work around a bug in 10.1.3.1, something that doesn't work (anymore) in 10.1.3.2....
    I don't know yet how to fix it....
    [Update:] I created a new Application in 10.1.3.1 (BC and JSF in my case) en copied the jar files I got in the WEB-INF/lib into the app I made in 10.1.3.2. and voila, problem solved.
    Message was edited by:
    Wendy Tromp

Maybe you are looking for