ADF Controller State API

Hello
Is there any way to get the Controller state for the current page using Java Code.
I am using document.location.search in java script, wonder if I can access the same using Some adf API.
http://xxxx/xxxxxt/faces/login.jspx?*adf.ctrl-state=937739223*
Thanks.

My actual requirement to get the Controller state.
I have page A which is a bounded task flow.When page A is closed i call a javascript to return the TaskFlow and pass document.location.search which will pass the controller state.
But the problem comes when i open page B (another bounded Task Flow) from Page A and do return Task FLow from page B.
It navigates back to Page A but then replaces the URL with new adf Controller State. When i actually execute Javascript to execute return Task FLow it gets appended with new Controller state.
So i need a way to get the ADF Controller state through API instead of URL.

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

  • ADF: Error with API's OIM

    Hi! i am work with view object programmatically, and ADF project with Business Component too. So when i run the (JSP & JSF) i have this error:
    11/07/19 15:39:33 log4j:WARN No appenders could be found for logger (com.sun.faces.config.ConfigureListener).
    11/07/19 15:39:33 log4j:WARN Please initialize the log4j system properly.
    07-19-2011 03:39:34 PM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
    INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
    07-19-2011 03:39:34 PM oracle.wireless.its.ra.TelnetResourceAdapter run
    INFO: Industrial Telnet Server versión: Version 10.1.3.0.0 iniciado correctamente.
    07-19-2011 03:39:36 PM oracle.adfinternal.view.faces.application.ViewHandlerImpl _checkTimestamp
    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
    11/07/19 15:39:37 JAVA: LookupXellerateTypeOIMImpl.java
    11/07/19 15:39:37 Startup...
    11/07/19 15:39:37 Getting configuration...
    11/07/19 15:39:37 Login...
    **11/07/19 15:39:37 Thor.API.Exceptions.tcAPIException: com.thortech.xl.security.tcLoginException: javax.naming.NameNotFoundException: ejb/tcUnauthenticatedOperations not found**
    **11/07/19 15:39:37      at Thor.API.tcUtilityFactory.createLoginException(Unknown Source)**
    **11/07/19 15:39:37      at Thor.API.tcUtilityFactory.<init>(Unknown Source)**
    11/07/19 15:39:37      at sv.gob.AppModuleImpl.LookupXT(AppModuleImpl.java:163)
    11/07/19 15:39:37      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    11/07/19 15:39:37      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    11/07/19 15:39:37      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    11/07/19 15:39:37      at java.lang.reflect.Method.invoke(Method.java:597)
    11/07/19 15:39:37      at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:507)
    11/07/19 15:39:37      at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:1795)
    11/07/19 15:39:37      at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:1962)
    11/07/19 15:39:37      at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:219)
    11/07/19 15:39:37      at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1289)
    11/07/19 15:39:37      at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:1802)
    11/07/19 15:39:37      at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:627)
    11/07/19 15:39:37      at oracle.adf.model.binding.DCInvokeActionDef$DCInvokeAction.refresh(DCInvokeActionDef.java:131)
    11/07/19 15:39:37      at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2533)
    11/07/19 15:39:37      at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2274)
    11/07/19 15:39:37      at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:99)
    11/07/19 15:39:37      at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:78)
    11/07/19 15:39:37      at oracle.adf.controller.v2.lifecycle.Lifecycle$8.execute(Lifecycle.java:210)
    11/07/19 15:39:37      at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
    11/07/19 15:39:37      at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:29)
    11/07/19 15:39:37      at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$4.after(ADFPhaseListener.java:327)
    11/07/19 15:39:37      at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:90)
    11/07/19 15:39:37      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:254)
    11/07/19 15:39:37      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
    11/07/19 15:39:37      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
    11/07/19 15:39:37      at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    11/07/19 15:39:37      at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:233)
    11/07/19 15:39:37      at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:202)
    11/07/19 15:39:37      at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
    11/07/19 15:39:37      at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
    11/07/19 15:39:37      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    11/07/19 15:39:37      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
    11/07/19 15:39:37      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
    11/07/19 15:39:37      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    11/07/19 15:39:37      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
    11/07/19 15:39:37      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    11/07/19 15:39:37      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
    11/07/19 15:39:37      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
    11/07/19 15:39:37      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
    11/07/19 15:39:37      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    11/07/19 15:39:37      at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    11/07/19 15:39:37      at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    11/07/19 15:39:37      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    11/07/19 15:39:37      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    11/07/19 15:39:37      at java.lang.Thread.run(Thread.java:662)
    I dont understand about this error! need help! Please!!!

    There are couple of APIs are available, please have a look:
    http://otndnld.oracle.co.jp/document/products/id_mgmt/idm_903/doc_cd/javadocs/operations/Thor/API/Operations/tcAuditOperationsIntf.html

  • Oracle.adfinternal.controller.savepoint.SavePointException: ADFC-08008: The ADF Controller is unable to insert a savepoint record for ID

    I implemented a save point in a task flow by creating a save point in a method action The following is the code from managed bean for creating the save point:
                 ControllerContext cc = ControllerContext.getInstance();
    if (cc != null) {
    SavePointManager mgr = cc.getSavePointManager();
    if (mgr != null) {
    String id = mgr.createSavePoint();
    savePointId = id;
    It worked fine in local (Integrated Weblogic server). It also worked fine initially when I deployed the changes to the DEV weblogic server. But after a couple of days, in DEV server I get the following error everytime when trying to create a save point:
    Caused By: oracle.adfinternal.controller.savepoint.SavePointException: ADFC-08008: The ADF Controller is unable to insert a savepoint record for ID '4d233555-ea0c-4bae-9f17-cc6c
    7124870f'. oracle.adfinternal.controller.savepoint.SavePointUtil.createAndLogSavePointException(SavePointUtil.java:56)
            at oracle.adfinternal.controller.savepoint.SavePointDBPersistManager.insertSavePoint(SavePointDBPersistManager.java:245)
            at oracle.adfinternal.controller.savepoint.DBSavePointManagerImpl.storeSavePoint(DBSavePointManagerImpl.java:127)
            at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.storeSavePoint(SavePointManagerImpl.java:301)
            at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.createAndStoreSavePoint(SavePointManagerImpl.java:257)
            at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.createSavePoint(SavePointManagerImpl.java:187)
            at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.createSavePoint(SavePointManagerImpl.java:116)
            at view.security.errormanagement.ManageErrorsMB.saveTaskFlow(ManageErrorsMB.java:213)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
            at java.lang.reflect.Method.invoke(Method.java:611)
            at com.sun.el.parser.AstValue.invoke(Unknown Source)
            at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
            at oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:173)
            at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:163)
            at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:1035)
            at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:926)
            at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:824)
            at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:554)
            at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:158)
            at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:115)
            at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:84)
            at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:50)
            at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
            at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
            at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:157)
            at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:279)
            at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:145)
            at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:479)
            at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:159)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
            at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
            at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1129)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:353)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
            at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
            at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
            at java.security.AccessController.doPrivileged(AccessController.java:284)
            at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
            at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
            at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
            at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
            at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: java.sql.SQLException: Connection has already been closed.
            at weblogic.jdbc.wrapper.PoolConnection.checkConnection(PoolConnection.java:58)
            at weblogic.jdbc.wrapper.Connection.preInvocationHandler(Connection.java:94)
            at weblogic.jdbc.wrapper.Connection.prepareCall(Connection.java:543)
            at oracle.adfinternal.controller.savepoint.SavePointDBPersistManager.insertSavePoint(SavePointDBPersistManager.java:221)
            at oracle.adfinternal.controller.savepoint.DBSavePointManagerImpl.storeSavePoint(DBSavePointManagerImpl.java:127)
            at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.storeSavePoint(SavePointManagerImpl.java:301)
            at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.createAndStoreSavePoint(SavePointManagerImpl.java:257)
            at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.createSavePoint(SavePointManagerImpl.java:187)
            at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.createSavePoint(SavePointManagerImpl.java:116)
            at view.security.errormanagement.ManageErrorsMB.saveTaskFlow(ManageErrorsMB.java:213)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
            at java.lang.reflect.Method.invoke(Method.java:611)
    At the bottom of the stack, this statement "Caused By: java.sql.SQLException: Connection has already been closed." intrigues me, but why this error occurs after a couple of days or after particular number of connections or access to the application.
    This same issue is also happening in all environments including PROD. Please help. JDeveloper version used is 11.1.2.1.0.

    We got the solution from Oracle support. 
    Passivation Fails With Error "Connection has already been closed" in PoolConnection.checkConnection() (Doc ID 1330271.1). Problem is caused by the WebLogic Server Connection Pool feature "Inactive Connection Timeout". When this parameter is set up, WLS will forcibly release reserved connections back into the pool. This is a problem for ADF BC that relies on keeping the JDBC connection associated to its
    Application Module instance.
    Set the "Inactive Timeout Session" to 0 (default), so that the JDBC connection stays active while
    the corresponding Application Module instance is active:
    Thanks....

  • ADFC-00025: The ADF controller has not been successfully initialized.

    I am using JDeveloper 11.1.2.0.0, create a simple ADF face page, which is running fine in Inetgrated Weblogic server, and package it as a War file by using Jdeveloper, I chose Weblogic 10.3 as the target server. I deployed the War file to Weblogic managed server on the Unix box by using its console. The deployment is fine and the web application is active. I get ControllerException when I run the page. Please see the exception log. I don't know what goes wrong. Thank you very much for your help.
    [ServletContext@20496013[app:TestDeployServer module:TestDeployServer.war path:/TestDeployServer spec-version:2.5]] Servlet failed with Exception oracle.adf.controller.ControllerException: ADFC-00025: The ADF controller has not been successfully initialized. at oracle.adfinternal.controller.util.Utils.createAndLogControllerException(Utils.java:212) at oracle.adfinternal.controller.application.AdfcAppInitializer.initialize(AdfcAppInitializer.java:110) at oracle.adfinternal.controller.state.AdfcContext.initialize(AdfcContext.java:93) at oracle.adfinternal.controller.state.AdfcContext.initialize(AdfcContext.java:79) at oracle.adfinternal.controller.application.WindowLifecycleLogic.windowOpened(WindowLifecycleLogic.java:60) at oracle.adfinternal.controller.application.AdfcWindowLifecycleListener.windowOpened(AdfcWindowLifecycleListener.java:61) at oracle.adfinternal.controller.application.AdfcWindowLifecycleListener.processWindowLifecylce(AdfcWindowLifecycleListener.java:42) at oracle.adfinternal.view.faces.webapp.rich.RichWindowManagerFactory$ApplicationWindowListeners.processWindowLifecylce(RichWindowManagerFactory.java:246) at oracle.adfinternal.view.faces.webapp.rich.RichWindowManager._fireWindowLifecycleEvent(RichWindowManager.java:496) at oracle.adfinternal.view.faces.webapp.rich.RichWindowManager._handleWindowOpened(RichWindowManager.java:536) at oracle.adfinternal.view.faces.webapp.rich.RichWindowManager.renderLoopbackPage(RichWindowManager.java:907) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:109) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    You asked this question in a wrong forum. You should have asked it in {forum:id=83} because the question is related to ADF Faces but not to WebLogic.
    ADF Faces application cannot be deployed as a WAR. You should deploy the application as EAR because ADF Faces applications need some resources which are deployed as part of EAR (e.g. some OPSS configuration filles, some ADF configuration files, JDBC DataSources, etc.).
    Dimitar

  • 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?

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

    Hi,
    while refreshing page or on navigation from a page that contains custom task flow (message board), its showing an error
    " oracle.adf.controller.ControllerException: ADFC-0618: View ID 'oracle/webcenter/portalapp/pages/home.jspx' is invalid.
    ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #1 "
    Please help if any one can.
    Thanks

    Hi,
    appears it cannot find the page specified
    Frank

  • 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

  • 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

  • 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

  • ADF Controller in non-jdeveloper environment

    Hello,
    I have been using adf faces in eclipse environment with the JSF Controller (faces-config.xml). I need now to implement use case with adf task flows and for this purpose I need to configure the adf controller to be used (adfc-config.xml). I copied the adf-config.xml file from a corresponding jdev project, and also the weblogic-application.xml and web.xml fils, but this changes do not have any effect. Does anyone know if there are any other configurations needed to get the adf controller working?
    Thanks

    One of mine weblogic-appliction.xml from inside the EAR looks like
      <?xml version="1.0" encoding="windows-1252" ?>
    - <weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
    - <xml>
    - <parser-factory>
      <saxparser-factory>oracle.xml.jaxp.JXSAXParserFactory</saxparser-factory>
      <document-builder-factory>oracle.xml.jaxp.JXDocumentBuilderFactory</document-builder-factory>
      <transformer-factory>oracle.xml.jaxp.JXSAXTransformerFactory</transformer-factory>
      </parser-factory>
      </xml>
    - <application-param>
      <param-name>jps.credstore.migration</param-name>
      <param-value>OVERWRITE</param-value>
      </application-param>
    - <application-param>
      <param-name>jps.policystore.migration</param-name>
      <param-value>MERGE</param-value>
      </application-param>
    - <listener>
      <listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
      </listener>
    - <listener>
      <listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
      </listener>
    - <listener>
      <listener-class>oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener</listener-class>
      </listener>
    - <listener>
      <listener-class>oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener</listener-class>
      </listener>
    - <library-ref>
      <library-name>adf.oracle.domain</library-name>
      <implementation-version>11.1.1.1.0</implementation-version>
      </library-ref>
    - <library-ref>
      <library-name>oracle.jsp.next</library-name>
      </library-ref>
      </weblogic-application>so it's a bit different. If I look into the weblogic-appliction.xml file in jdev it look like the one you posted. Build one EAR from jdev and one from eclipse, unpack both into different folders (unpack the WAR too) and run a diff over the two folders.
    Timo

  • Oracle.adf.faces.STATE compressed?

    Dear all,
    i have a question about how adf faces saving its view sate.
    in jsf (1.1_02), i can specify a context-parameter com.sun.faces.COMPRESS_STATE=false to avoid compressing the state information.
    adf faces seem store the view info in a hidden form field "oracle.adf.faces.STATE"
    is there any similar parameter in adf faces?
    or adf faces don't compress the state info?
    thank you.

    Jonas,
    It works if I include the following:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    The source is now:
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/EA8" prefix="af"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>untitled</title>
    </head>
    <body>
    <f:view>
    <af:outputText value="hello ADF Faces!"/>
    </f:view>
    </body>
    </html>
    Did I feel out something in my library entry?
    Thanks.

  • ADF controller design

    My application has a home page, login, employees details, contacts pages. The home page has a menu navigational panel which contains commandlinks to 'employee details' page and 'contacts' page. The employee details page is confidential and always have to be accessed after login. So the flow is such Home > Click 'Employee Details' command link> if not logged in > Show Login page > Employee Details and likewise
    Home > Click 'Employee Details' > if logged in > Employee Details .
    Second if the user clicks contact page commandlink irrespective of user logged in or not page flow go to the Contact page.
    Also the Menu navigation is part of the application page template and will be shown on every page.
    How to implement this use case with ADF controller.
    Thanks
    Edited by: user5108636 on Feb 20, 2011 5:19 PM

    You can set Object privileges and grant roles. If a user doesn't have privilege to see a page, disable or don
    t show the link itself based on his/her role.
    Also, when the user goes to particular page you can control the access like if user A doesn't have delete privilege you can disable delete button in employee details. That way it's good even if you have more confidential pages.

  • 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

  • Disable random generation of  .adf-ctrl-state and the view state

    Hi,
    I'm trying to test a few transaction on an ADF application that would need to be run using a simulator.
    The problem is it is pretty hard to do this using a programmed simulator since everytime the adf-ctrl-state and the viewstate in the browser change, which requires capturing them. To complicate matters further there exists the PPR navigation (at least that's what I think it is) which present a unique _afrLoop id, that also seems to behave differently with different user-agents. 
    My question is, can I do anything with those fiedls that would allow me to have one id to run my transactions ? I understand that some of those ids, like the viewstate act like a session nonce....but are there do I have any options ?
    Thanks,

    You will need to configure your test suite to capture and replay those values. There is also the javax.faces.ViewState variable.
    Here are some good pointers on how to do this in JMeter
    http://one-size-doesnt-fit-all.blogspot.com.au/2010/04/configuring-apache-jmeter-specifically.html
    A more generalized article
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfloadstresstesting-354067.pdf

Maybe you are looking for