• RELEVANCY SCORE 4.12

    DB:4.12:Getting Taskflowid '#{Pageeditorbean.Pageeditorpanel}' Is Invalid On Was aa




    Hi,

    We are getting the following exception when deploying our app on WebSphere.

    ADFC-06001: TaskFlowId '#{pageEditorBean.pageEditorPanel}' is invalid.

    The pageEditorBean.pageEditorPanel is added in the page definition file to support page customizable via Oracle Composer.

    pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="11.1.1.53.21" id="DashBoardPageDef"
    Package="taskflows.main"
    parameters/
    executables
    variableIterator id="variables"/
    ........
    taskFlow id="pageeditorpanel"
    taskFlowId="#{pageEditorBean.pageEditorPanel}"
    xmlns="http://xmlns.oracle.com/adf/controller/binding"/
    /executables
    bindings/
    /pageDefinition

    It works fine in Weblogic sever. Any ideas on what need to be done to support WebSphere?

    Thanks,
    Fannie

    DB:4.12:Getting Taskflowid '#{Pageeditorbean.Pageeditorpanel}' Is Invalid On Was aa

    Hi,

    from the version number in the PageDef file I take it that you are on a very old version of Oracle JDeveloper for which there was no support available for Websphere. In this case you want to migrate your application to a newer version

    Frank

  • RELEVANCY SCORE 3.62

    DB:3.62:Dynamic Region And Viewscope Binding k9




    Hi,

    I dropped a dynamic region into my page and I set the taskflowid attribute into a bean with a viewscope scope.

    But I am encountering below error:

    LifecycleImpl _handleException ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    oracle.adf.controller.ControllerException: ADFC-06001: TaskFlowId '${viewScope.myBean.dynamicTaskFlowId}' is invalid.Is it not possible to set the taskflowId to a bean with a viewscope? I tried using pageflow and this seems fine but for view, I am having the exception.

    Thanks.

  • RELEVANCY SCORE 3.47

    DB:3.47:Adfc-14000: View Port Id 'K7amh55g5_0' Is Invalid. pc




    Hi,

    I am getiing below error when invalidating the session and navigating to the login screen.

    DCTaskFlowBinding$InnerTaskFlowRegionModelgetTaskFlowBinding ADFc: Trying to access a previously released task flow binding 'login'.
    DCTaskFlowBinding$InnerTaskFlowRegionModelgetTaskFlowBinding ADFc: Trying to access a previously released task flow binding 'login'.
    DCTaskFlowBinding$InnerTaskFlowRegionModelgetTaskFlowBinding ADFc: Trying to access a previously released task flow binding 'login'.
    UNMATCHED_STATE_ON_STACK6qlr078kq_0 k7amh55g5_5
    RegistrationConfiguratorhandleError Server Exception during PPR, #1

    oracle.adf.controller.internal.InvalidViewPortIdException: ADFC-14000: View port ID 'k7amh55g5_0' is invalid.

    Here i have included a login task flow in index.jspx. This task flow containes two fragments login.jsff and security.jsff, once am navigating from the login to security and then from security.jsff to the login.jsff by clicking cancel. in cancel am invalidating the session and navigating to the login.jsff then am getting the above error.

    Please give me idea how to sole this.

    Reg,
    Brahma B.

    DB:3.47:Adfc-14000: View Port Id 'K7amh55g5_0' Is Invalid. pc

    Hi,

    I am getiing below error when invalidating the session and navigating to the login screen.

    DCTaskFlowBinding$InnerTaskFlowRegionModelgetTaskFlowBinding ADFc: Trying to access a previously released task flow binding 'login'.
    DCTaskFlowBinding$InnerTaskFlowRegionModelgetTaskFlowBinding ADFc: Trying to access a previously released task flow binding 'login'.
    DCTaskFlowBinding$InnerTaskFlowRegionModelgetTaskFlowBinding ADFc: Trying to access a previously released task flow binding 'login'.
    UNMATCHED_STATE_ON_STACK6qlr078kq_0 k7amh55g5_5
    RegistrationConfiguratorhandleError Server Exception during PPR, #1

    oracle.adf.controller.internal.InvalidViewPortIdException: ADFC-14000: View port ID 'k7amh55g5_0' is invalid.

    Here i have included a login task flow in index.jspx. This task flow containes two fragments login.jsff and security.jsff, once am navigating from the login to security and then from security.jsff to the login.jsff by clicking cancel. in cancel am invalidating the session and navigating to the login.jsff then am getting the above error.

    Please give me idea how to sole this.

    Reg,
    Brahma B.

  • RELEVANCY SCORE 3.36

    DB:3.36:Af:Carousel-Displaying Different Af:Regions As Carouselitem 8a


    I have a requirement where I have to display say 30 different bounded taskflows in an af:carousel.
    The taskflow informations are stored in a DB table on which I have an EO and a VO.
    I am using this VO in JSPX to display the af:carousel.

    af:form id="f1"
    af:carousel currentItemKey="#{bindings.SetupTaskflowVO1.treeModel.rootCurrencyRowKey}"
    value="#{bindings.SetupTaskflowVO1.treeModel}" var="item"
    id="c1"
    carouselSpinListener="#{backingBeanScope.DemoBean.carouselSpinEvent}"
    f:facet name="nodeStamp"
    af:carouselItem id="ci1"
    af:region value="#{bindings.dynamicRegion1.regionModel}"
    id="r1"/
    /af:carouselItem
    /f:facet
    /af:carousel
    /af:formIn the BackingBean, I have code like this
    private String taskFlowId = "/WEB-INF/TaskFlow1.xml#TaskFlow1";
    private RichRegion taskFlowRegion;

    public DemoBean() {
    }

    public TaskFlowId getDynamicTaskFlowId() {
    return TaskFlowId.parse(taskFlowId);
    }

    public void carouselSpinEvent(CarouselSpinEvent carouselSpinEvent) {
    // Add event code here...
    List itemKey = (List)carouselSpinEvent.getNewItemKey();
    System.out.println("##itemKey class="+itemKey.getClass()+"###itemKey="+itemKey.get(0).getClass().toString());
    int i = 0;
    DCIteratorBinding iter = ADFUtil.getDCIteratorBinding("SetupTaskflowVO1Iterator");
    ViewObject vo = iter.getViewObject();
    System.out.println("###RowKey="+iter.getCurrentRow().getKey());
    RowSetIterator rsi = iter.getRowSetIterator();
    Key key = new Key(new Object[] { itemKey.get(0).toString() });
    Row row = rsi.findByKey((Key)itemKey.get(0), 1)[0];
    rsi.setCurrentRow(row);
    row = rsi.getCurrentRow();
    int rowIndex = iter.getCurrentRowIndexInRange();
    System.out.println("###rowIndex="+rowIndex);
    String taskFlowId = (String)row.getAttribute("TaskflowPath");
    this.setTaskFlowId(taskFlowId);
    }

    public void setTaskFlowId(String taskFlowId) {
    this.taskFlowId = taskFlowId;
    }On the carouselSpinListener(), I am getting the Selected CarouselItem's RowKey and then getting the TaskFlowId value from the DB.
    I can see, the method public TaskFlowId getDynamicTaskFlowId() gets called with the correct TaskFLowId value, but in the UI it always shows the same Taskflow, i.e the 1st taskflow always("/WEB-INF/TaskFlow1.xml#TaskFlow1")

    Am I missing anything?
    Please advise

    DB:3.36:Af:Carousel-Displaying Different Af:Regions As Carouselitem 8a

    Hi,

    this is because your managed bean only runs with a single instance, which means that at any time all the af:regions point to the same task flow.

    I find ADF regions in a carousel a quite unusual design. It is also expensive in terms of performance if you would get this to work because you will have 30 task flows instantiated at the same time. Wondering why you need ADF regions in a carousel and if there isn't an alternative solution for the use case you have.

    Frank

  • RELEVANCY SCORE 3.07

    DB:3.07:Task Flow Exception Handler 1x


    Hi all,

    I'm trying to specify a method activity as an exception handler in the adfc-config. The problem is if I specify a view activity or a bounded task flow as the exception handler then it works fine, but if the exception handler is a method activity then it is not recognized. What could be the cause?. I need to execute a method when an exception occurs.

    Version: 11.1.2.0

    Edited by: NewBee on Apr 23, 2013 10:37 AM

    DB:3.07:Task Flow Exception Handler 1x

    Hi,

    It works fine. As you said the exception handler generates another exception due to a bug in the code. After correcting it, the method activity successfully acts as the exception handler.

  • RELEVANCY SCORE 3.02

    DB:3.02:Centralize Exception Managing d3


    Hi,I'm using Oracle ADF 11.1.1.6.My application defines lots of bound task flows. Some are page task flows, others are page fragment task flows.Normally, the application entry points are the page bounded task flows. These display a view (jsf page) that has a region where the page fragment bounded task flows are displayed. Normally page fragment task flows has all application stuff. I need all my application to have the same exception handling. I mean that when an error occurs in my application, I want the same method call to be executed and finally the same error page to be displayed.The problem is that if I define an exception handler in the page task flows, when an error is raised in the page fragment task flows, this is not propagated to the upper page task flow and then it is not correctly handled.I have also tried to define the exception handler in the adfc-config task flow but the same problem happens.At the moment, the only way to uniformly manage the exceptions is to repeat in every task flow (page and page fragment task flows) the exception handler what is a very "unreusable" way to handle this.All I need to repeat in the task flows exception handling is executing "#{ErrorHandlerBean.errorForNavigation}" in a method call and then displaying an error page.Is there any way to improve this scenario ? I mean defining only once this behaviour ?Thank you.

    DB:3.02:Centralize Exception Managing d3

    Yes, you can do this. Create a template and base a new task flow on it as reference. Then you open Ann existing task flow and select it on the new template.Then you compare the task flow xml of the existing task flow with the reference task flow.AFAIK there it's nothing else to do but checking doesn't hurt.Timo

  • RELEVANCY SCORE 2.70

    DB:2.70:Unable To Create New Form For Ldap User In Oim 11.1.2.2 xz


    Hi,i added new attributes to the LDAP User form in OIM following the OID Connector documentation. I created new form in Design Console, added several attributes (15 string attrs and one date attr.) and I made this form as Active version. Also, i added the mapping to the lookup Lookup.LDAP.UM.ProvAttrMap and when I tried to create new form in the System Administration console, i`m getting the following error.java.lang.String cannot be cast to oracle.iam.ui.formservice.model.FormCreateResultADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR,In the OIM logs i found errors: [2014-05-20T10:37:24.564+02:00] [oim_server1] [ERROR] [ADFC-50016] [oracle.adfinternal.controller.application.AdfcExceptionHandler] [tid: [ACTIVE].ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 93df695d13ccb93f:67e1712a:145f4b8ee70:-8000-00000000000117a7,0] [APP: oracle.iam.console.identity.sysadmin.ear#V2.0] [DSID: 0000KOO^oT74IvsxggfP8^1JST_J00000q] ADFc: While handling an exception the application's exception handler threw a new exception.[[javax.faces.el.EvaluationException: java.lang.ClassCastException: java.lang.String cannot be cast to oracle.iam.ui.formservice.model.FormCreateResult at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1473) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:181) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:104) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:93) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:371) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:97) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:98) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1086) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:434) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) 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:301) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.java:117) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)...Please, can someone help me solve this issue?Thank you.Milan

    DB:2.70:Unable To Create New Form For Ldap User In Oim 11.1.2.2 xz

    Hi, I do not know what was wrong but when i made older from as the active form in Designe console and then created new form in OIM aaaand then i made active form from last version of the LDAP User form in Design Console, i was able to create OIM form without errors.

  • RELEVANCY SCORE 2.70

    DB:2.70:Adfc-0619: Authorization Check Failed za


    I am getting following error when I access an adf page:

    2011-12-28 21:52:25,925 [146::[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN errPopup.ErrorPopupUtil logp.251 -
    oracle.adf.controller.security.AuthorizationException: ADFC-0619: Authorization check failed: 'oracle.jbo.uicli.binding.JUFormDef@591b27ec' 'VIEW'.
    at oracle.adf.controller.internal.security.AuthorizationEnforcer.handleFailure(AuthorizationEnforcer.java:182)
    at oracle.adf.controller.internal.security.AuthorizationEnforcer.internalCheckPermission(AuthorizationEnforcer.java:162)
    at oracle.adf.controller.internal.security.AuthorizationEnforcer.checkPermission(AuthorizationEnforcer.java:129)
    at oracle.adfinternal.controller.activity.ViewActivityLogic.checkReadPermission(ViewActivityLogic.java:585)
    at oracle.adfinternal.controller.activity.ViewActivityLogic.execute(ViewActivityLogic.java:129)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:993)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:879)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:778)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:552)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:148)
    at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
    at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)

    What could be causing this? Same code worked fine one machine, and is throwing this exception on other.

    -Abhishek

    DB:2.70:Adfc-0619: Authorization Check Failed za

    You get a security exception. have you copied all information from machine a to machine b?
    Next, it looks like you are using an Oracle internal site, so the question is if you should post your question on an Oracle internal forum. We, the public, don't have access to the side.

    Timo

  • RELEVANCY SCORE 2.70

    DB:2.70:Oracle Maps On Portlal Mapviewer-06001: Foi Width Value Is Wrong. md


    Hi

    I am using oracle maps ,oracle portal for maps application.
    In Mozilla everything works fine but in IE I get following error when map is loaded

    MAPVIEWER-06001: FOI width value is wrong.

    I am not able figure out what is causing this error.

    Any help is appreciated

    DB:2.70:Oracle Maps On Portlal Mapviewer-06001: Foi Width Value Is Wrong. md

    Hi

    I am using oracle maps ,oracle portal for maps application.
    In Mozilla everything works fine but in IE I get following error when map is loaded

    MAPVIEWER-06001: FOI width value is wrong.

    I am not able figure out what is causing this error.

    Any help is appreciated

  • RELEVANCY SCORE 2.63

    DB:2.63:Get Currently Active Task Flow Id? mf


    Hi!
    I would like to know how to programmatically get currently active task flow id.

    I tried
    TaskFlowId flowId = ControllerContext.getInstance().getCurrentViewPort().getTaskFlowContext().getTaskFlowId();
    TaskFlowId rootFlowid = ControllerContext.getInstance().getCurrentRootViewPort().getTaskFlowContext().getTaskFlowId();and both return null.

    I even tried through Oracle Extended Page Templates (Dynamic tabs)
    if (TabContext.getCurrentInstance() != null TabContext.getCurrentInstance().isTabsRendered()) {
    int selectedTabIndex = TabContext.getCurrentInstance().getSelectedTabIndex();
    if (selectedTabIndex -1) {
    // Get currently active task flow Id
    TaskFlowId flowId = TabContext.getCurrentInstance().getTabs().get(selectedTabIndex).getTaskflowId();
    }
    }Although I get non null flowId, but when I have task flow that calls another bounded task flow, I get the first one, not the nested one which is currently active.
    I need to get currently active task flow Id for the purpose of my custom Exception handler.
    Please, any useful info is very much appreciated.

    PS: I use JDeveloper 11.1.2.3.0
    Regards, Marko

    DB:2.63:Get Currently Active Task Flow Id? mf

    Hi Marko,

    This blogpost of me might help you:

    http://technology.amis.nl/2011/05/31/adf-11g-what-is-the-currently-active-taskflow-in-a-dynamic-region-2/

    The solution uses internal classes which actually is not good practice, but sometimes you have to use them. Be carefull.

    Luc

  • RELEVANCY SCORE 2.55

    DB:2.55:Bam Coming Up, But Unable To Login After A Simple Restart 9j


    BAM 11gR1 was working fine ...there was some disk space issue, cleared some space and restarted BAM

    BAM is up and RUnning but users are unable to login :

    Errors in logs are:
    AM oracle.bam.common.logging.Log writeLine
    SEVERE: WebServices: BAM-06001: details -- Invocation target exception.
    oracle.bam.common.remoting.ServiceUnavailableException: BAM-00223: Service interface oracle.bam.adc.common.core.IDataStore is unavailable.

    Its on Linux
    Suggest what could be the issue

    DB:2.55:Bam Coming Up, But Unable To Login After A Simple Restart 9j

    I have the same problem ...
    You managed to resolve?

    Att
    Wendell Gouveia Rodrigues
    http://blog.pop.com.br/bpm/

  • RELEVANCY SCORE 2.50

    DB:2.50:Error Creating Object Of Type Integer From Type String ap


    Hello everyone,I'm using JDev 12.1.2.0.0I created a selectManyChoice based on a Data-Control that i made from a view with only one column (which is a string).I set the properties of the component to be imediate=true and autosubmit = true and i have a method that i already tried with other components like this and i know it works but the method doesn't executes. It gives the following error:Feb 21, 2014 10:04:41 AM GMT Error oracle.adfinternal.controller.application.AdfcExceptionHandler ADFC-50016 ADFc: While handling an exception the application's exception handler threw a new exception.oracle.jbo.domain.DataCreationException: JBO-25009: Cannot create an object of type:java.lang.Integer from type:java.lang.String with value:General BI Seller....Caused By: java.lang.NumberFormatException: For input string: "General BI Seller" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:492) at java.lang.Integer.valueOf(Integer.java:582).....I think its is a normal behaviour of the component, it tries to convert the text to Integer but i did not specified the component to do this and i have other elements (selectManyChoices) that return string values where this doesn't happen.How can i fix this ?Here's the code for my component:af:selectManyChoice value="#{bindings.TypeSellerList1.inputValue}" label="#{bindings.TypeSellerList1.label}" id="smc3" autoSubmit="true" immediate="true" valueChangeListener="#{OBIEE_managed_bean.TypeSellerListSelection}" f:selectItems value="#{bindings.TypeSellerList1.items}" id="si6"/ f:validator binding="#{bindings.TypeSellerList1.validator}"/ /af:selectManyChoiceAny idea on how to fix this?Regard and thanks for the help,Frederico.

  • RELEVANCY SCORE 2.47

    DB:2.47:Error Submitting The Catalog fc


    Hi all,

    I'm getting the following error while trying to request an account in AD.I chose the app Instance in the catalog and while trying to checkout the catalog i'm getting error as below

    ADFC-06002: unhandled exception

    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, #19.

    Please help me with this.

    Thanks.

    DB:2.47:Error Submitting The Catalog fc

    This error generally come when you haven't published a sandbox (created form) and requesting for the form which is used in this AppINstance

  • RELEVANCY SCORE 2.44

    DB:2.44:Invoking Taskflow Thru Tabcontext , Getting Error In Console ≪Missing_Requi d8


    HI,

    Am using adf 11g , 11.1.1.5 .

    try {
    ADFContext aDFContext = ADFContext.getCurrent();
    Map contextMap = aDFContext.getSessionScope();
    TabContext tx = (TabContext)contextMap.get("context");

    tx.addOrSelectTab(title, taskflowId, true,
    map);

    } catch (TabContext.TabOverflowException toe) {

    toe.handleDefault();
    }
    }

    Am using above code to invoke TaskFlow .

    But when am executing the method in console .Getting this error below.

    MISSING_REQUIRED_PARAMETER taskflowid value and other attribut value .

    DB:2.44:Invoking Taskflow Thru Tabcontext , Getting Error In Console ≪Missing_Requi d8

    Hi All ,

    Me getting below error when am calling a taskflow thru tabcontext .I know it is not tab context error . Am not getting , how to handle dis issue . where i searched the project for showpopupBehaviour and removed align = center , but still the error is coming .

    Any suggestion , how to debug when dis kind of error arise ..

    thanks in advance.

    ShowPopupBehaviorTag _toClientAlign invalid align value: center
    LifecycleImpl _handleException ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    javax.faces.FacesException: javax.servlet.ServletException: OracleJSP error:
    oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415)
    at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
    at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
    at oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44)
    at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
    at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
    at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
    at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
    at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:469)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:800)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:294)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:214)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    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)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
    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(Native Method)
    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: javax.servlet.ServletException: OracleJSP error:
    oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
    at oracle.jsp.runtimev2.JspReportUtil.reportException(JspReportUtil.java:181)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:737)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    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)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    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 weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
    at oracle.adfinternal.view.faces.taglib.region.IncludeTag.__include(IncludeTag.java:442)
    at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:153)
    at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:128)
    at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:503)
    at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
    at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
    at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
    at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
    at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
    at oracle.jsp.runtime.tree.OracleJspIterationTagNode.executeHandler(OracleJspIterationTagNode.java:45)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
    at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
    at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
    at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
    at oracle.jsp.runtime.tree.OracleJspIterationTagNode.executeHandler(OracleJspIterationTagNode.java:45)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
    at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
    at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
    at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
    at oracle.jsp.runtime.tree.OracleJspIterationTagNode.executeHandler(OracleJspIterationTagNode.java:45)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
    at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
    at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
    at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
    at oracle.jsp.runtime.tree.OracleJspIterationTagNode.executeHandler(OracleJspIterationTagNode.java:45)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
    at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
    at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
    at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
    at oracle.jsp.runtime.tree.OracleJspIterationTagNode.executeHandler(OracleJspIterationTagNode.java:45)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
    at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
    at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
    at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
    at oracle.jsp.runtime.tree.OracleJspIterationTagNode.executeHandler(OracleJspIterationTagNode.java:45)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
    at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
    at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
    at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
    at oracle.jsp.runtime.tree.OracleJspIterationTagNode.executeHandler(OracleJspIterationTagNode.java:45)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
    at oracle.jsp.runtime.tree.OracleJspNode.execute(OracleJspNode.java:89)
    at oracle.jsp.runtimev2.ShortCutServlet._jspService(ShortCutServlet.java:89)
    at oracle.jsp.runtime.OracleJspBase.service(OracleJspBase.java:29)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:422)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:802)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:726)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    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)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    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 weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
    at oracle.adfinternal.view.faces.taglib.region.IncludeTag.__include(IncludeTag.java:442)
    at oracle.adfinternal.view.faces.taglib.region.IncludeTag.doEndTag(IncludeTag.java:232)
    at oracle.adfinternal.view.faces.taglib.region.PageTemplateTag.doEndTag(PageTemplateTag.java:162)
    at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:62)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
    at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
    at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
    at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
    at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
    at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
    at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
    at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
    at oracle.jsp.runtime.tree.OracleJspNode.execute(OracleJspNode.java:89)
    at oracle.jsp.runtimev2.ShortCutServlet._jspService(ShortCutServlet.java:89)
    at oracle.jsp.runtime.OracleJspBase.service(OracleJspBase.java:29)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:422)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:802)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:726)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    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)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
    ... 53 more

  • RELEVANCY SCORE 2.40

    DB:2.40:Warning From Adfc When I Run The Application dc


    The application runs noramlly,but it s throwing this warning.
    Pasted the warning below.
    Help me know what it is.
    Warning oracle.adf.controller.internal.metadata.xml.ControlFlowCaseXmlImpl BEA-000000 ADFc: /WEB-INF/adfc-config.xml:
    Warning oracle.adf.controller.internal.metadata.xml.ControlFlowCaseXmlImpl ADFC-52028 ADFc: Failed to find control flow case target activity ID.

    DB:2.40:Warning From Adfc When I Run The Application dc

    The application runs noramlly,but it s throwing this warning.
    Pasted the warning below.
    Help me know what it is.
    Warning oracle.adf.controller.internal.metadata.xml.ControlFlowCaseXmlImpl BEA-000000 ADFc: /WEB-INF/adfc-config.xml:
    Warning oracle.adf.controller.internal.metadata.xml.ControlFlowCaseXmlImpl ADFC-52028 ADFc: Failed to find control flow case target activity ID.

  • RELEVANCY SCORE 2.39

    DB:2.39:Determining The Current Viewid m8


    Hi, I need to determine the current view id, therefore I am using the following code:
    /* adf-settings.xml */
    adf-settings xmlns="http://xmlns.oracle.com/adf/settings"
    adfc-controller-config xmlns="http://xmlns.oracle.com/adf/controller/config"
    lifecycle
    phase-listener
    listener-idmyPagePhaseListener/listener-id
    classobasi.common.domain.myPagePhaseListener/class
    /phase-listener
    /lifecycle
    /adfc-controller-config
    /adf-settings

    /* myPagePhaseListener */
    public void beforePhase(PagePhaseEvent pagePhaseEvent) {
    try {
    if (pagePhaseEvent.getPhaseId() == Lifecycle.PREPARE_MODEL_ID) {
    for (Object child:FacesContext.getCurrentInstance().getViewRoot().getChildren())
    {
    if (child instanceof RichDocument)
    {
    System.out.println(FacesContext.getCurrentInstance().getViewRoot().getViewId());
    }
    }
    }
    } catch (Exception ex)
    {
    // ignore
    }
    }But this doesn't seem to work accurately. Some viewId's are only "detected" after leaving a page...
    I noticed that this happens when the URL inside my browser also remains pointing to the previous page.

    Is there a way to solve this?
    Thanks in advance,

    Charles.

    DB:2.39:Determining The Current Viewid m8

    Actually, from what I see of your project structure, you're NOT using skin. I suggest you either switch to using a skin or add an additional '../' to your CSS path. For information on how to use skins, please refers to http://myfaces.apache.org/trinidad/devguide/skinning.html.

    Regards,

    ~ Simon

  • RELEVANCY SCORE 2.39

    DB:2.39:Dynamic Region - Determine Task Flow Id Exists Or Not aa


    We are using a dynamic region to load different taskflows.
    Currently, if the taskflow id that is set to the dynamic region does not exists, it throws an exception.

    Is there a way to determine, if taskflow for the corresponding taskflowid exists - before setting the taskflowid to the dynamic region?.

    Thanks in advance,
    Navaneeth

    DB:2.39:Dynamic Region - Determine Task Flow Id Exists Or Not aa

    Hi,

    in this article: http://chrismuir.sys-con.com/node/1606250 Chris Muir uses an internal API that you could use for this pupose:

    MetadataService metadataService = MetadataService.getInstance();
    TaskFlowDefinition taskFlowDefinition = metadataService.getTaskFlowDefinition(taskFlowId);

    However, be aware that internal APIs may change without further notice (though unlikely for many of them). SO if you make yourself dependent on such an internal API, make sure you file a Service Request to get an equivalent public API in a future release so your are safe

    Frank

  • RELEVANCY SCORE 2.38

    DB:2.38:Adfc-0623 Error In Task Flow For Dynamic Region as


    Hi. I'm using JDeveloper v11.1.2.1.0.A page in our application implements a task flow in a dynamic region. The task flow that is called then contains a page which contains a further task flow call in another dynamic region. Suddenly today we are getting exceptions as follows:
    ADFC-0623: Task flow ID EL expression '${viewScope.myBean.dynamicTaskFlowId}' for region 'dynamicRegion2' evaluated to null.
    The region binding from the page to dynamicRegion2 references the bean at View scope. Does the error suggest the bean should be at a higher (e.g. pageFlow) scope? That kind of makes sense but doesn't explain why the message has only occurred a couple of times today? Could this be related to how the regions are refreshed? Also, the Activation property on the dynamicRegion2 binding is set to "deferred". I wondered if this should be left to default "immediate"?Thanks for your help.

    DB:2.38:Adfc-0623 Error In Task Flow For Dynamic Region as

    Hi. Thanks for your reply.I know what you mean, but it works 95% of the time, then periodically the error occurs then it works again. So I don't think I need to check any paths?It is a region within a region, so I wonder if there are any known issues with this scenario?Thanks again.

  • RELEVANCY SCORE 2.35

    DB:2.35:Getting 'No Metadata Found For Metadata' Error After Deleting Taskflow 8a


    I have created one taskflow from the WebCenter Spaces --gt; Administration --gt; Resources --gt; Taskflow. Create a new page within Home space and add weather TF to this page. Its working fine. Then i have deleted this TF instance from the page and TF itself. This new page start throwing following exception. I have tested again after restarted WC_Spaces but issue is same:-

    [2011-12-09T06:30:33.390+11:00] [WC_Spaces1] [WARNING] [] [oracle.adfinternal.view.faces.lifecycle.LifecycleImpl] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: salportadm] [ecid: 7ad7989ba108016e:14d58dd9:13416d5771f:-8000-0000000000025b1b,0] [APP: webcenter#11.1.1.4.0] ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1[[
    oracle.adf.controller.ControllerException: ADFC-06002: unhandled exception

    Caused by: oracle.adf.controller.ControllerException: ADFC-02001: The ADF Controller cannot find '/oracle/webcenter/siteresources/scopedMD/s8bba98ff_4cbb_40b8_beee_296c916a23ed/taskFlow/gsr3193d21d_5d88_42a1_ab81_ca6cec39741e/taskflow-definition.xml'.

    Caused by: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/webcenter/siteresources/scopedMD/s8bba98ff_4cbb_40b8_beee_296c916a23ed/taskFlow/gsr3193d21d_5d88_42a1_ab81_ca6cec39741e/taskflow-definition.xml"

    As per the error :
    MDS-00013: no metadata found for metadata object "{0}"
    Cause: MDS was unable to locate the given metadata object.
    Action: Confirm the name and location of the metadata object, its existence in the configured metadata stores, and that it is in an accessible namespace.

    I am sure that metadata related to weather TF is deleted from the MDS schema but reference of this TF is still available in taskflow-definition.xml file. This is my understanding.

    Could anyone tell me how to rid from the errro?

    DB:2.35:Getting 'No Metadata Found For Metadata' Error After Deleting Taskflow 8a

    The fast way to delete TF MDS register is:

    - Activate Composer add-on "Customization Manager". http://andrejusb.blogspot.com/2011/02/webcenter-ps3-customization-manager.html
    - Access to Oracle Composer in a page.
    - Select in Customization Manager your corrupted page.
    - Download MDS associated to the page.
    - Delete mds:insert of your deleted task flow.
    - Upload the file with Customization Manager.

    Regards.

    Daniel.

  • RELEVANCY SCORE 2.35

    DB:2.35:Handeling Adfc-12000 Error sp


    Hi,

    A while ago with had some problems with handling the sessiontime out in an ADF 11.1.1.2.0 application. We got a server error which was from a functional point of view unacceptable. To solve this we did the http://www.yenlo.nl/harryvanoosten/2010/04/26/adf-11g-session-handling-avoiding-adfc-12012-error/.

    But this isn't enough. Currently we see a lot of ADFC-12000 errors which end in an internal server error:

    oracle.adf.controller.internal.AdfcIllegalStateException: oracle.adf.controller.ControllerException: ADFC-12000: State ID in request is invalid for the current session.
    at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart2(ControllerState.java:509)
    at oracle.adfinternal.controller.application.SyncNavigationStateListener.afterPhase(SyncNavigationStateListener.java:46)
    at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.afterPhase(ADFLifecycleImpl.java:531)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:120)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:168)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchAfterPagePhaseEvent(ADFPhaseListener.java:124)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:70)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:364)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

    etc..

    The documentation says the following:

    ADFC-12000: State ID in request is invalid for the current session.
    Cause: The request contained a state instance ID, but it did not exist in the session, nor was this a request for a bookmarked resource. This might be due to a session timeout.
    Action: Contact the system administrator.

    Level: 2

    Type: ERROR

    Impact: Session

    We want to handle this exception as well in a functionally acceptable way.

    We tried the following in the web xml didn't do much.

    error-page
    exception-typeoracle.adf.controller.internal.AdfcIllegalStateException/exception-type
    location/sessionExp.jspx/location
    /error-page

    Also tried the following:

    RequestState requestState = RequestState.getInstance();
    requestState.isStateTokenInvalid();

    But this can't be initialized in our filter. I think its to soon to have the context needed.

    Anyone got a clue?

    Edited by: Harry van Oosten on Jun 11, 2010 5:18 AM

    DB:2.35:Handeling Adfc-12000 Error sp


    982615 wrote:
    This link no longer works
    It works fine for me.
    Site is in Dutch
    That shouldn't be a surprise, it is a commercial Netherlands web site.Moderator Action:This is a three-year-old thread. If you have some sort of question, then start your own new thread and people can choose to respond to YOU, not to some old forum thread that was abandoned years' earlier. Feel free to paste links in that new post of yours to anything you think may have relevance to whatever that issue might be.... locking ...

  • RELEVANCY SCORE 2.35

    DB:2.35:Data Extract From Cells az


    Hi All,

    I have a MS Excel 2010 worksheet with multiple columns and rows. If Col. A data match with Header row then pick the cell value from Col. B and paste into this column. Then fill colour this row in whole worksheet.

    A

    B

    C

    D

    E

    F

    G

    H

    I

    J

    K

    L

    M

    N

    SUBCODE SUBJECT

    NO

    LIST

    NAME

    002 MATHS

    003 ENGLISH

    004 SCIENCE

    005 ARTS

    006 ECONOMICS

    007 INT.ST

    008 URBAN

    009 TRENDS

    010 CULTURE

    011 MASTERS

    96

    06001

    DAVID

    96

    96

    103

    103

    96

    104

    002 MATHS

    96

    06001

    004 SCIENCE

    103

    06001

    003 ENGLISH

    96

    06001

    007 INT. ST

    103

    06001

    010 CULTURE

    96

    06001

    011 MASTERS

    104

    06001

    70

    06003

    JOHN

    70

    70

    9

    70

    70

    53

    28

    011 MASTERS

    28

    06003

    002 MATHS

    70

    06003

    004 SCIENCE

    9

    06003

    003 ENGLISH

    70

    06003

    007 INT. ST

    70

    06003

    006 ECONOMICS

    70

    06003

    008 URBAN

    53

    06003

    71

    06006

    LEE

    71

    34

    71

    71

    45

    009 TRENDS

    45

    06006

    006 ECONOMICS

    71

    06006

    007 INT. ST

    71

    06006

    004 SCIENCE

    71

    06006

    005 ARTS

    34

    06006

    DB:2.35:Data Extract From Cells az

    Hello Jeeped
    Thanks for quick response. It works. If you provide a code for this it will be more useful.

    With warm regards.
    NG

  • RELEVANCY SCORE 2.33

    DB:2.33:Re: Adfc-00008: Failed To Find Datacontrolframe For A Task Flow ? 7x


    Hi,

    I love reading stack traces, honestly. However I would appreciate not only seeing stack traces but also some context information including the steps that lead to this exception. Based on your provided information the only answer I can give is: Taskflows that are configure in shared mode will get the DataControl frame passed from the calling taskflow. This obviously is not the case with your taskflow, which might be a misconfiguration on your end.

    Frank

    DB:2.33:Re: Adfc-00008: Failed To Find Datacontrolframe For A Task Flow ? 7x

    hi!!

    I have the similar problem.

    The solutions is easy.

    Change tag data-control-scope isolated for shared in your taskFlowXXXXX.xml

    That so!!

  • RELEVANCY SCORE 2.31

    DB:2.31:Jbo-26030: Failed To Lock The Record s7


    We are getting this error in multiple users (around 50 users) environment:

    Error
    oracle.adfinternal.controller.application.AdfcExceptionHandler ADFC-50016
    ADFc: While handling an exception the application's exception handler threw
    a new exception.
    oracle.jbo.AlreadyLockedException: JBO-26030: Failed to lock the record,
    another user holds the lock.

    Code snippet:
    TerritoryVORowImpl selectedRow = (TerritoryVORowImpl)getTerritory().getCurrentRow();

    TerritoryUtil.createTerritoryCoverage(this, selectedRow, rowKey);
    selectedRow.setDimMemberValuesMap(null);
    selectedRow.setDimMemberValuesMapObject(null);
    this.getDBTransaction().commit();
    return "return";

    JDev version
    PATCHES4FA_11.1.1.6.3_PLATFORMS_120620.1601
    JDEVADF_11.1.1.6.3_GENERIC_120611.1440.6321

    In AM jbo.locking.mode property is set to optimistic.
    This issue does not occur when 1/2/3 ursers access it.
    Any idea how to fix the issue?

    DB:2.31:Jbo-26030: Failed To Lock The Record s7

    Yes I have tested it with ampooling=false and its not reproducible. Its intermittent issue even with 50 users.

  • RELEVANCY SCORE 2.31

    DB:2.31:Error Occured When Invoking A Task Flow Finalizer 39


    Hi all,

    I am getting the following error while closing a taskflow:-

    [2012-04-30T15:04:56.494+00:00] [WLS_BPM1] [NOTIFICATION] [DFW-40104] [oracle.dfw.incident] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Def
    ault (self-tuning)'] [userId: WLS Kernel] [ecid: 0000JS3m6pB3Z7Yh1pl3gj1Fa0zp0011C5,0] [errid: 62] [detailLoc: /data/ippm/install/domains/bpm_domain/server
    s/WLS_BPM1/adr/diag/ofm/bpm_domain/WLS_BPM1/incident/incdir_62] [probKey: BEA-101017 [HTTP][oracle.adf.controller.activity.ActivityLogicException]] incident
    62 created with problem key "BEA-101017 [HTTP][oracle.adf.controller.activity.ActivityLogicException]"
    [2012-04-30T15:07:03.498+00:00] [WLS_BPM1] [WARNING] [] [oracle.adfinternal.view.faces.lifecycle.LifecycleImpl] [tid: [ACTIVE].ExecuteThread: '2' for queue:
    'weblogic.kernel.Default (self-tuning)'] [userId: anonymous] [ecid: 2286277d9ae449f9:278ffaa5:136e9fd66b1:-8000-000000000004e672,0] [APP: BusinessProcessesEar]
    ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5[[
    oracle.adf.controller.activity.ActivityLogicException: ADFC-06014: An exception occured when invoking a task flow finalizer.
    at oracle.adfinternal.controller.util.Utils.createAndLogActivityLogicException(Utils.java:230)
    at oracle.adfinternal.controller.activity.TaskFlowReturnActivityLogic.invokeFinalizer(TaskFlowReturnActivityLogic.java:697)
    at oracle.adfinternal.controller.activity.TaskFlowReturnActivityLogic.abandonTaskFlow(TaskFlowReturnActivityLogic.java:412)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.handleException(ControlFlowEngine.java:668)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:887)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:778)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:552)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:148)
    at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
    at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
    at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:43)
    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:788)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:306)

    Please advise how to remove the error / using an exception handler I can move to an error page.
    Please share link of any tutorial to add an exception handler which will lead to an error page for any error.

    Regards,
    Sam

    DB:2.31:Error Occured When Invoking A Task Flow Finalizer 39

    Hi,

    actually unless you tell us what you do in the finalizer, we wont be able to provide you a definitive answer. E.g. if you try to access the binding layer within the finalizer then this cannot work.

    Frank

  • RELEVANCY SCORE 2.30

    DB:2.30:Oracle.Adf.Controller.Controllerexception: Adfc-06001: Taskflowid '${Bindin c9


    I have deployed a project and on the page load of that module, i m getting a popup error message...

    oracle.adf.controller.ControllerException: ADFC-06001: TaskFlowId '${bindings.multiTabCtx.taskFlowIds[0]}' is invalid.
    at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getTaskFlowId(DCTaskFlowBinding.java:818)
    at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getViewPort(DCTaskFlowBinding.java:246)
    at oracle.adf.controller.internal.binding.TaskFlowRegionModel.doProcessBeginRegion(TaskFlowRegionModel.java:160)
    at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:108)
    at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:197)
    at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:119)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3143)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2844)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:548)
    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:81)
    at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:224)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$1000(ADFPhaseListener.java:21)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:395)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:60)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:278)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:213)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    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)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:193)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:101)
    at java.security.AccessController.doPrivileged(Native Method)
    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:84)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:147)
    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:3692)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3658)
    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:2276)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2182)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1450)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)

    DB:2.30:Oracle.Adf.Controller.Controllerexception: Adfc-06001: Taskflowid '${Bindin c9

    Parth,

    You provide no context to allow anyone to help you, other than doing a Forum search for you and finding {thread:id=604626}

    John

  • RELEVANCY SCORE 2.30

    DB:2.30:Checking If Dynamic Taskflowid Is Valid as


    Is there a method I can use to check if a taskflowId string is a valid taskflow? I am loading a taskflow via a dynamic taskflow Id and want to handle potential errors like this one:

    @ javax.servlet.ServletException: OracleJSP error:
    @ oracle.adf.controller.ControllerException: ADFC-06002: unhandled exception
    @ ...
    @ Caused by: oracle.adf.controller.ControllerException: ADFC-02001: The ADF
    @ Controller cannot find '/aaa.xml'.
    @ at
    @ oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.ge
    @ tMetadataObjects(MdsMetadataResourceProvider.java:473)
    @ ...
    @ Caused by: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata
    @ found for metadata object "/aaa.xml"

    I want to know if there is a way within the backing bean code to check the taskflow ID string before I pass it into the pagedef.xml -- if the ID is invalid, I'd pass a default taskflowId.

    DB:2.30:Checking If Dynamic Taskflowid Is Valid as

    Is there a method I can use to check if a taskflowId string is a valid taskflow? I am loading a taskflow via a dynamic taskflow Id and want to handle potential errors like this one:

    @ javax.servlet.ServletException: OracleJSP error:
    @ oracle.adf.controller.ControllerException: ADFC-06002: unhandled exception
    @ ...
    @ Caused by: oracle.adf.controller.ControllerException: ADFC-02001: The ADF
    @ Controller cannot find '/aaa.xml'.
    @ at
    @ oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.ge
    @ tMetadataObjects(MdsMetadataResourceProvider.java:473)
    @ ...
    @ Caused by: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata
    @ found for metadata object "/aaa.xml"

    I want to know if there is a way within the backing bean code to check the taskflow ID string before I pass it into the pagedef.xml -- if the ID is invalid, I'd pass a default taskflowId.

  • RELEVANCY SCORE 2.30

    DB:2.30:Unable To Refresh An Already Created Tab Using Ui Shell jz


    Hi,

    I am pretty new to ADF..

    In my application, I have extended the UI Shell and created a custom Template. Used the custom template to create my pages.
    I have a tree structure in the navigation region, and when we click on each node , a new tab opens.

    My requirement is to have only one tab opened for each of the row in the root node.
    [Root VO shows the customer name and the child node shows the Year, so basically one tab per customer]

    Say example, I clicked one of the child node for 1st customer, one tab should open. When I click on a child node for the 2nd customer, another tab should open and so on....
    This works fine now...

    But, when I click on the child node of an already opened customer, I need to show the already opened tab (for that customer) as selected and the data should refresh. I have used the below code for the same.
    It is showing the needed tab as selected, but the parameters/data for that tab is not getting refreshed.

    Is there anything else I am missing ?

    private void _launchTabCustomer(String title, String taskflowId, boolean newTab,MapString,Object map) {
    try {
    if (newTab) {
    ListTab tabList = TabContext.getCurrentInstance().getTabs();
    int selTabIndex = TabContext.getCurrentInstance().getSelectedTabIndex();
    boolean titleExists = false;
    if(selTabIndex != -1)
    {
    for(int i=0;itabList.size();i++) {
    Tab tabObject = (Tab)tabList.get(i);
    if(tabObject.isActive())
    {
    titleExists = tabObject.getTitle().equals(title);
    if(titleExists) {
    tabObject.setParameters(map);
    TabContext.getCurrentInstance().setSelectedTabIndex(i);
    break;
    }
    }
    }
    }
    if(!titleExists)
    {
    TabContext.getCurrentInstance().addTab(
    title,
    taskflowId,
    map);
    }
    }
    else {
    TabContext.getCurrentInstance().addOrSelectTab(
    title,
    taskflowId,
    map);
    }
    }
    catch (TabContext.TabOverflowException toe) {
    // causes a dialog to be displayed to the user saying that there are
    // too many tabs open - the new tab will not be opened...
    toe.handleDefault();
    }
    }Any pointers to this issue is highly appreciated.

    Thanks
    Anoop

    DB:2.30:Unable To Refresh An Already Created Tab Using Ui Shell jz

    Hi Prateek,

    Thanks for your response..

    I didn't get you fully as I am newbie in ADF. Could you please give me little more detailed instruction ?

    I just have page which extends the Dynamic Tab Shell and a Bounded Task Flow which has one page Fragment. No region created declarative for the tab.
    All the tab regions get rendered dynamically using the TabContext.getCurrentInstance().addTab() method when I click on the node in the Tree.

    Cheers
    Anoop

  • RELEVANCY SCORE 2.29

    DB:2.29:Adfc-04007: The Facespagelifecyclecontext Does Not Exist Yet. 9m


    I have a bounded taskflow with fragments, the first activity is a method call activity binded to an app. module method exposed on client. I dropped taskflow as a region an my jspx page and try to run the page, I keep getting the bleow exception. Before the first run I enabed adf authentication and authorization, tried removing adf authentication the result is the same. What am I doing wrong? Could you give some hints? I tried to debug, put a break point in the method call activity, but the exception is thrown before the breakpoint. I appreciate your helps.

    Best Regards,
    Salim

    javax.el.ELException: oracle.adf.controller.ControllerException: ADFC-04007: The FacesPageLifecycleContext does not exist yet.
    at com.sun.el.parser.AstValue.invoke(AstValue.java:161)
    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
    at oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:136)
    at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:140)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:834)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:718)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:186)
    at oracle.adfinternal.controller.state.ChildViewPortContextImpl.invokeTaskFlow(ChildViewPortContextImpl.java:62)
    at oracle.adfinternal.controller.state.ControllerState.createChildViewPort(ControllerState.java:1248)
    at oracle.adfinternal.controller.ControllerContextImpl.createChildViewPort(ControllerContextImpl.java:95)
    at oracle.adf.controller.internal.binding.DCTaskFlowBinding.createRegionViewPortContext(DCTaskFlowBinding.java:276)
    at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getViewPort(DCTaskFlowBinding.java:231)
    at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:116)
    at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:100)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2901)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2639)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:110)
    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:77)
    at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:135)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:190)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:19)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:229)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:265)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:69)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:51)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:175)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    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:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:279)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:239)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:196)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:102)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:149)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.adf.controller.ControllerException: ADFC-04007: The FacesPageLifecycleContext does not exist yet.
    at oracle.adf.controller.v2.context.LifecycleContext.getCurrentInstance(LifecycleContext.java:140)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:153)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:143)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
    ... 56 more
    Caused by: java.lang.NullPointerException
    at oracle.adfinternal.controller.faces.context.JSFRequestMapAdapter.getRequestMap(JSFRequestMapAdapter.java:27)
    at oracle.adfinternal.controller.context.LifecycleContextHelper.getRequestMap(LifecycleContextHelper.java:70)
    at oracle.adfinternal.controller.context.LifecycleContextHelper.getLifecycleContext(LifecycleContextHelper.java:34)
    at oracle.adf.controller.v2.context.LifecycleContext.getCurrentInstance(LifecycleContext.java:136)
    ... 63 more

    DB:2.29:Adfc-04007: The Facespagelifecyclecontext Does Not Exist Yet. 9m

    We are still facing this issue in our deployed environments.
    Any idea why ?

  • RELEVANCY SCORE 2.28

    DB:2.28:Exception Handling... df


    Ther exception which is generated is not able to reach the following code in my application....please let me know what I can be missing..??

    public TaskFlowId getDynamicTaskFlowId() {
    ControllerContext context = ControllerContext.getInstance();
    ViewPortContext currentRootViewPort = context.getCurrentRootViewPort();
    Exception exceptionData = currentRootViewPort.getExceptionData();

    if (currentRootViewPort.isExceptionPresent()) {
    exceptionData.printStackTrace();

    currentRootViewPort.clearException();

    TabContext.getCurrentInstance().removeCurrentTab();
    List tabs = TabContext.getCurrentInstance().getTabs();
    for (int i = 0; i tabs.size(); i++) {
    TabContext.getCurrentInstance().removeTab(i);
    }

    return TaskFlowId.parse(taskFlowIdError);
    }

    return TaskFlowId.parse(activeTaskFlowID);
    }

    if (currentRootViewPort.isExceptionPresent())

    this statement is returning false on presence of exception also....

    I am trying for fragments case...

    DB:2.28:Exception Handling... df

    Ther exception which is generated is not able to reach the following code in my application....please let me know what I can be missing..??

    public TaskFlowId getDynamicTaskFlowId() {
    ControllerContext context = ControllerContext.getInstance();
    ViewPortContext currentRootViewPort = context.getCurrentRootViewPort();
    Exception exceptionData = currentRootViewPort.getExceptionData();

    if (currentRootViewPort.isExceptionPresent()) {
    exceptionData.printStackTrace();

    currentRootViewPort.clearException();

    TabContext.getCurrentInstance().removeCurrentTab();
    List tabs = TabContext.getCurrentInstance().getTabs();
    for (int i = 0; i tabs.size(); i++) {
    TabContext.getCurrentInstance().removeTab(i);
    }

    return TaskFlowId.parse(taskFlowIdError);
    }

    return TaskFlowId.parse(activeTaskFlowID);
    }

    if (currentRootViewPort.isExceptionPresent())

    this statement is returning false on presence of exception also....

    I am trying for fragments case...

  • RELEVANCY SCORE 2.28

    DB:2.28:Adfc-12000 Exception For Adf Dialog Framework With Ie 3a


    Hi,
    The problem in brief related to ADF dialog framework,First thing was working smoothly without no problem,but with out any introductions and when project was in real production environment I got the following exception when any return listener of dialog is called :-

    oracle.adf.controller.internal.AdfcIllegalStateException: oracle.adf.controller.ControllerException: ADFC-12000: State ID in request is invalid for the current session.

    and after exception dialog hangs up and doesn't return any thing to user

    The strange thing is that not happening on all PCs, some have this problem and others not, and it happens only on IE(their version is 8 or higher) ,as when I changed machines which have this problem from IE to Mozilla Firefox the problem was completely disappeared.
    I got this exception from production weblogic server logs because this problem doesn't happen on my embedded weblogic instance with Jdeveloper or even on my pc.

    I tried the solution described in this link:
    http://www.yenlo.nl/harryvanoosten/2010/06/17/adf-11g-handling-the-adfc-12000-controllerexception-with-custom-exception-handling/#more-280
    with doing CustomExceptionHandler Class ,but it doesn't solve the problem

    This project is internal government project so management was able to force customers to use Mozilla Firefox as temporary solution

    I'm using Jdeveloper 11.1.1.2.0 and weblogic 10.3.2(for both development and production environment )

    I have no idea,is that a bug?is that some thing not compatible in ADF dialog framework with IE ?is that some thing on IE settings?

    Regards,

    DB:2.28:Adfc-12000 Exception For Adf Dialog Framework With Ie 3a

    I hope any body from oracle team to answer me about that issue

  • RELEVANCY SCORE 2.27

    DB:2.27:Open New Tab Within A Bounded Task Flow p1


    Hi,

    is it possible to open a new tab when iam within a bounded task flow

    There is a code corner article about starting a task flow in a new tab,
    but that is not applicable for my case, I want the new tab for only
    one view activity within the bounded task flow.

    I tried:

    public void launchNewWindow()
    {
    FacesContext fctx = FacesContext.getCurrentInstance();

    String viewURL = ControllerContext.getInstance().getLocalViewActivityURL("PDLG_ListeDrucken");

    // String taskflowURL = ControllerContext.getInstance()getTaskFlowURL(false, new TaskFlowId(taskflowDocument, taskflowId), params);

    ExtendedRenderKitService erks = Service.getRenderKitService(fctx, ExtendedRenderKitService.class);
    StringBuilder script = new StringBuilder();
    script.append("window.open(\"" + viewURL + "\");");
    erks.addScript(FacesContext.getCurrentInstance(), script.toString());
    }

    ending up in an "HTTP Error 403--Forbidden"

    Thanks in andvance

    DB:2.27:Open New Tab Within A Bounded Task Flow p1

    Yes, that I was thinking of, but hoping that there would be another solution.
    I think I will do it that way

    Thanks

  • RELEVANCY SCORE 2.27

    DB:2.27:Checking If Dynamic Taskflowid Is Valid cd


    Is there a method I can use to check if a taskflowId string is a valid taskflow? I am loading a taskflow via a dynamic taskflow Id and want to handle potential errors like this one:

    @ javax.servlet.ServletException: OracleJSP error:
    @ oracle.adf.controller.ControllerException: ADFC-06002: unhandled exception
    @ ...
    @ Caused by: oracle.adf.controller.ControllerException: ADFC-02001: The ADF
    @ Controller cannot find '/aaa.xml'.
    @ at
    @ oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.ge
    @ tMetadataObjects(MdsMetadataResourceProvider.java:473)
    @ ...
    @ Caused by: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata
    @ found for metadata object "/aaa.xml"

    I want to know if there is a way within the backing bean code to check the taskflow ID string before I pass it into the pagedef.xml -- if the ID is invalid, I'd pass a default taskflowId.

    DB:2.27:Checking If Dynamic Taskflowid Is Valid cd

    Is there a method I can use to check if a taskflowId string is a valid taskflow? I am loading a taskflow via a dynamic taskflow Id and want to handle potential errors like this one:

    @ javax.servlet.ServletException: OracleJSP error:
    @ oracle.adf.controller.ControllerException: ADFC-06002: unhandled exception
    @ ...
    @ Caused by: oracle.adf.controller.ControllerException: ADFC-02001: The ADF
    @ Controller cannot find '/aaa.xml'.
    @ at
    @ oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.ge
    @ tMetadataObjects(MdsMetadataResourceProvider.java:473)
    @ ...
    @ Caused by: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata
    @ found for metadata object "/aaa.xml"

    I want to know if there is a way within the backing bean code to check the taskflow ID string before I pass it into the pagedef.xml -- if the ID is invalid, I'd pass a default taskflowId.

  • RELEVANCY SCORE 2.26

    DB:2.26:Page Called From Adf Won't Retain Focus/Stay In The Foreground km


    Hello,

    I've got an ADF application with a command link that opens a new page with a task-flow running inside. The command link calls this method:

    public void uc295searchccflow() {
    String taskflowId="search-flow";
    String taskflowDocument="/WEB-INF/search-flow.xml";
    MapString,Object params = new HashMapString, Object();

    String taskflowURL = "";
    params.put("login_name", getPageFlowScopeValue("login_name"));

    taskflowURL = ControllerContext.getInstance().getTaskFlowURL(false,new TaskFlowId(taskflowDocument,taskflowId),params);
    RenderKit rk = FacesContext.getCurrentInstance().getRenderKit();
    ExtendedRenderKitService erks = (ExtendedRenderKitService)
    Service.getService(rk, ExtendedRenderKitService.class);

    String envHost = (String) ADFUtil.evaluateEL("#{sessionScope.ADF_ENV_HOST}"); //"localhost:7002";
    System.out.println("Host Name in PopUpBean "+envHost);
    String taskFlowURLComplete = "https://" + envHost + taskflowURL;

    StringBuilder script = new StringBuilder();
    script.append("win = window.open(\""+ taskFlowURLComplete +"\", '_blank', \"location=1,width=750,height=700,status=0,scrollbars=1\"); win.focus(); ");

    erks.addScript(FacesContext.getCurrentInstance(), script.toString());
    }

    This segment of code opens a new popup page and the flow is running inside of that page just fine. My only issue is that the darn thing keeps moving to the behind the main console/page of my application. It flashes for a brief moment in the foreground, but then drops back.

    How can I have this popup retain focus? My concern is that some post processing is giving focus BACK to the main page after the popup is rendered. Is this preventable?

    Thanks!

    DB:2.26:Page Called From Adf Won't Retain Focus/Stay In The Foreground km

    I ended up finding my own solution for this. I'm not sure why, but the way IE is handling things it wants to give focus back the the calling page.

    script.append("var win = window.open(\""+ taskFlowURLComplete +"\", '_blank', \"location=1,width=750,height=700,status=0,scrollbars=1\");");
    script.append("this.blur();");
    script.append("this.focus();");
    script.append("win.focus();");

    Doing this, however, toggles the focus of the calling page and then IE ignores the needs to switch back to it during post processing. Yes its very hack-ey, but it got the job done for now.

  • RELEVANCY SCORE 2.26

    DB:2.26:Adfc-10001: Cannot Instantiate Class 78


    Hello Gurus,

    Can you please help me in this happy new year--I am getting the following error-

    oracle.adf.controller.ControllerException: ADFC-10001: cannot instantiate class 'TestBean'
    bla-bla-bla
    Caused By: java.lang.ClassNotFoundException: TestBean

    The following code is giving the above exception from jspx page--

    af:selectOneChoice id="soc1" *value="#{backingBeanScope.testBean.aValue}"* required="true"
    f:selectItem itemLabel="Option1" itemValue="1"/
    f:selectItem itemLabel="Option2" itemValue="2"/
    f:selectItem itemLabel="Option3" itemValue="3"/
    /af:selectOneChoice

    In my managed bean I have variable with getter/setter.
    public String aValue;

    In adfc-config.xml I have following entry--

    managed-bean id="__3"
    managed-bean-name id="__4"testBean/managed-bean-name
    managed-bean-class id="__2"TestBean/managed-bean-class
    managed-bean-scope id="__1"backingBean/managed-bean-scope
    managed-property id="__7"
    property-name id="__6"aValue/property-name
    property-classview.TestBean/property-class
    value id="__5"none/value
    /managed-property
    /managed-bean

    DB:2.26:Adfc-10001: Cannot Instantiate Class 78

    Hi,

    Caused By: java.lang.NoSuchMethodException: Unknown property 'aValue'

    the managed bean misses

    TestBean aValue = null;

    public setAValue(TestBean aValue){ this.aValue = aValue; }
    public getAValue(){return this.aValue()};

    the value/value metadata is supposed to have an EL defined to reference an instance of TestBean (which in your sample then creates a circualr reference - but this then is something you can handle by changing the managed property to a different class)

    Frank

  • RELEVANCY SCORE 2.25

    DB:2.25:Creating Row In A Recursive View Having Read-Only Attribute k3


    Hi All,

    I am using Oracle JDeveloper 11g Release 2.

    I have a view AppMenusVO with the participation of following entities:
    1. AppMenusEO *(Updateable)* with columns like MenuId, MenuName, MenuIcon, MenuParentId, MenuTaskflowId
    2. AppTaskflowsEO *(Reference)* with columns as TaskflowId, TaskflowName, and TaskflowURL
    3. AppMenusEO as ParentMenus *(Reference)* with columns as ParentMenuId, ParentMenuName

    Next I created a One..Many view link where source and destination entity is the AppMenusVO based on relation (MenuId=MenuParentId). The name of the view accessor is MenuChildren.

    This view is used to create af:treeTable component on the adf page. In order to create new row I am following the blog entry at http://jobinesh.blogspot.com/2010/05/crud-operations-on-tree-table.html.

    I created a business method in the application module with the following specification:
    public void createMenuChildren(RowIterator ri, Key selectedNodeKey) {
    if (ri != null selectedNodeKey != null) {
    Row[] found = ri.findByKey(selectedNodeKey, 1);
    if (found != null found.length == 1) {
    System.out.println("Node found for : " + selectedNodeKey + " Parent Id : " +
    found[0].getAttribute("MenuParentId"));
    Row foundRow = found[0];
    RowSet childRows = (RowSet)foundRow.getAttribute("MenuChildren");
    while (childRows.hasNext()) {
    Row r = childRows.next();
    System.out.println(r.getAttribute("MenuName"));
    }
    Row childrow = childRows.createRow();
    childrow.setAttribute("MenuParentId", foundRow.getAttribute("MenuParentId"));
    childRows.insertRow(childrow);

    } else {
    System.out.println("Node not Found for " + selectedNodeKey);
    }
    }
    }When I invoke this method from the adf page it is giving the exception An attemp is made to validate an already invalid region site.

    The Jdeveloper console is also throwing the exception oracle.jbo.ReadOnlyAttrException: JBO-27008: Attribute ParentMenuName in view object AppMenusVO_MenuChildren_ParentMenusVL_AppMenusVO cannot be set.

    I searched Google and OTN but unable to resolve the error.

    The solution I have tried are:
    The default activity on the BTF is marked and is pointing to a valid view.
    Set the activation property of region to immediate ... etc.

    BUT the issue persists.

    Any help to create row programmatically in recursive view where some of the attributes are read-only?

    Thanks in advance
    Best Regards
    Bilal

    DB:2.25:Creating Row In A Recursive View Having Read-Only Attribute k3

    Hi Frank,

    Thanks for the response.

    The updateable property of ParentMenuName attribute is Never and is being disabled so I am unable to change its value. Moreover, never in my code I am changing value of this field. What I am doing is trying to create a new row and then insert it into rowset. I don't know how to proceed further.

    One more thing is that I have an LOV on another column MenuParentId which returns value in this field as well. It might be the reason? ...

    Any help will be highly appreciated.

    Thanks
    Regards
    Bilal

  • RELEVANCY SCORE 2.25

    DB:2.25:Checking If Dynamic Taskflowid Is Valid ms


    Is there a method I can use to check if a taskflowId string is a valid taskflow? I am loading a taskflow via a dynamic taskflow Id and want to handle potential errors like this one:

    @ javax.servlet.ServletException: OracleJSP error:
    @ oracle.adf.controller.ControllerException: ADFC-06002: unhandled exception
    @ ...
    @ Caused by: oracle.adf.controller.ControllerException: ADFC-02001: The ADF
    @ Controller cannot find '/aaa.xml'.
    @ at
    @ oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.ge
    @ tMetadataObjects(MdsMetadataResourceProvider.java:473)
    @ ...
    @ Caused by: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata
    @ found for metadata object "/aaa.xml"

    I want to know if there is a way within the backing bean code to check the taskflow ID string before I pass it into the pagedef.xml -- if the ID is invalid, I'd pass a default taskflowId.

    DB:2.25:Checking If Dynamic Taskflowid Is Valid ms

    And also check page 15 in
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/april2011-otn-harvest-367335.pdf
    which explains the above code.

    Thanks,
    Navaneeth

  • RELEVANCY SCORE 2.24

    DB:2.24:Regionnavigationlistener Method Not Getting Called (11g) p3


    Hi,

    I have a dynamic region whose taskflow content is swapped out by selecting a different commandButton. Each commandButton has its action property set to an EL expression like:
    #{backingBeanScope.dynamicRegionBean.maintainLookupsTaskflow}The bean sets the taskflow binding to the new value when the commandButton is pressed.

    To listen to the change of the taskFlowId, I have created a bean, called RegionManagerBean, with a method that takes a RegionNavigationEvent parameter and returns void and set that method as an EL expression on the region's regionNavigationListener attribute. The bean is registered in request scope in the adfc-config.xml file.

    *{color:#ff6600}The listener method never gets called however. Am I setting something wrong? I expected the method to be invoked when the taskflowId was changed on the binding, but maybe that understanding is incorrect. Any ideas?*

    *{color}*

    Here is the jsff source:
    lt;af:region value="#{bindings.dynamicRegion1.regionModel}" id="dynam1"
    partialTriggers="::maintainUserCmd ::maintainRoles ::maintainorgs ::maintainUsersInRoles ::mtnLookupCmd"
    regionNavigationListener="#{regionManagerBean.processRegionNavigation}"/gt; Here is the bean:

    package sysadm.view.beans;

    import oracle.adf.view.rich.event.RegionNavigationEvent;

    public class RegionManagerBean {
    public RegionManagerBean() {
    System.out.println("Bean created");
    }

    public void processRegionNavigation(RegionNavigationEvent regionNavigationEvent) {
    System.out.println("Old ViewID: " + regionNavigationEvent.getOldViewId());
    System.out.println("New ViewID: " + regionNavigationEvent.getNewViewId());
    }
    {code}

    Edited by: lili5058 on Mar 2, 2009 1:12 PM

    Edited by: lili5058 on Mar 2, 2009 1:13 PM

    DB:2.24:Regionnavigationlistener Method Not Getting Called (11g) p3

    Hi,

    what about

    - initializer / finalizer methods
    - method activities at the end of the taskflow

    alternatively, don't use the pageFlowScope directly but a managed bean in this scope and you can perform what Simon suggested

    Frank

  • RELEVANCY SCORE 2.24

    DB:2.24:While Clicking The Link. Multiple Tabages Are Added. sj


    hi jdev experts,

    am using jdev 11.1.1.5.0-adfbc-mozilla9.0.1-oracledb10g.

    here am going to summarizse. what i did.

    am using index.jspx page for rendering the af:tree. when i clicking the corresponding leaf links of the tree. it will navigate one jsff page(dynamic region).

    i had af:tree.

    The tree exposed as af:command link
    while am clicking the click. coresponding taskflow will calls.
    xyztaskflow()my taskflow code
    public String xyztaskflow()
    {

    taskFlowId = "/WEB-INF/Task-Flows/Supplier-task-flow-definition.xml#Supplier-task-flow-definition";
    launchActivity("Suppliers",taskFlowId,false);
    return null;
    }methods calls:
    private void launchActivity(String title, String taskflowId, boolean newTab)
    {
    try
    {
    if (newTab)
    {
    TabContext.getCurrentInstance().addTab(title,taskflowId);
    }
    else
    {
    TabContext.getCurrentInstance().addOrSelectTab(title,taskflowId);
    }
    }
    catch (TabContext.TabOverflowException toe)
    {
    // causes a dialog to be displayed to the user saying that there are
    // too many tabs open - the new tab will not be opened...
    toe.handleDefault();
    }
    }For above method (launchActivity) Link which i referred here.
    http://www.oracle.com/technetwork/developer-tools/adf/uishell-093084.html

    all above things which i did are fine.

    please see the following pics. these are my outputs.

    pic1:
    http://www.4shared.com/photo/tmmAaiHV/step1.html

    pic2:
    http://www.4shared.com/photo/Yya8-Oj_/step2.html

    pic3:
    http://www.4shared.com/photo/f4eX-5gp/step3.html

    take look to pic2.
    when i click supplier link means supplier task flow is opens on the right side. (you can see that in pic2)

    take look to pic3.
    when i click Banks/terms link means Banks/terms is opens on the right side. (you can see that in pic3).

    but my problem is Banks/terms tab added to the supplier tab.

    NO i dont want like that.

    one tab at a time. do want to added mutliple tabs.

    for eg:

    if i click supplier link means supplier tab should open.

    if i click banks/terms link means

    supllier tab and supplier tab inside the supplier dynamic region should close automatically. and banks/terms tabs opens automatically.

    i understood that my post is though long. somewhat hard to understood.

    here am ready to explain. where you getting confused.

  • RELEVANCY SCORE 2.24

    DB:2.24:Oracle.Adf.Controller.Controllerexception: Adfc-0618 jd


    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

  • RELEVANCY SCORE 2.23

    DB:2.23:Java.Lang.Illegalargumentexception From Pagecustomizablerenderer.Java:805 3x


    When we render our ui, it throws the following error msg on the ui:
    ADFC-06001: TaskFlowId '${pageFlowScope.MainAreaTab1.dynamicTaskFlowId}' 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, #25

    Then we got the log file and found out the error trace. The wield thing about this exception is that the ui renders fine for some people, but errored out for some other people.
    So it seems that it's related to the person's data.

    From the error, it seems like it's related to Page Customization function. I couldn't create a standalone environment to reproduce the error because I don't know what cause the issue and how to create the test cases. We got the issue in some customer environment. And I was able to reproduce in our RUP3 ARU testing environment for certain people as well.

    Would you please take a look at stack trace to see if you identify the issue? T

    Thanks a lot for your help.

    Yan

    java.io.IOException: java.lang.IllegalArgumentException
    at oracle.adfinternal.view.page.editor.renderkit.PageCustomizableRenderer.encodeAll(PageCustomizableRenderer.java:805)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1431)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:406)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2778)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:770)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:1146)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeMiddlePanes(PanelStretchLayoutRenderer.java:348)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:313)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1431)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:406)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2778)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
    at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:220)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1431)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:406)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2778)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
    at oracle.adfinternal.view.faces.renderkit.rich.PageTemplateRenderer.encodeAll(PageTemplateRenderer.java:70)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1431)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.encodeEnd(ContextSwitchingComponent.java:155)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:406)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2778)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
    at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1331)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1431)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:267)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:191)
    at org.apache.myfaces.portlet.faces.application.PortletViewHandlerImpl.renderView(PortletViewHandlerImpl.java:260)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:191)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:942)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:387)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:225)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.bi.nanserver.adf.servlet.BIADFServletFilter.doFilter(BIADFServletFilter.java:82)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.bi.presentation.runtime.binding.BIRegionBindingFilter.doFilter(BIRegionBindingFilter.java:41)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.webcenter.generalsettings.model.filter.GeneralSettingsLocaleFilter.doFilter(GeneralSettingsLocaleFilter.java:70)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.java:117)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:45)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:34)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:131)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.apps.fnd.applcore.common.ApplSessionFilter.doFilter(ApplSessionFilter.java:696)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter(SSOSessionSynchronizationFilter.java:292)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.bpel.services.workflow.client.worklist.util.WorkflowFilter.doFilter(WorkflowFilter.java:278)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    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)

    DB:2.23:Java.Lang.Illegalargumentexception From Pagecustomizablerenderer.Java:805 3x

    When we render our ui, it throws the following error msg on the ui:
    ADFC-06001: TaskFlowId '${pageFlowScope.MainAreaTab1.dynamicTaskFlowId}' 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, #25

    Then we got the log file and found out the error trace. The wield thing about this exception is that the ui renders fine for some people, but errored out for some other people.
    So it seems that it's related to the person's data.

    From the error, it seems like it's related to Page Customization function. I couldn't create a standalone environment to reproduce the error because I don't know what cause the issue and how to create the test cases. We got the issue in some customer environment. And I was able to reproduce in our RUP3 ARU testing environment for certain people as well.

    Would you please take a look at stack trace to see if you identify the issue? T

    Thanks a lot for your help.

    Yan

    java.io.IOException: java.lang.IllegalArgumentException
    at oracle.adfinternal.view.page.editor.renderkit.PageCustomizableRenderer.encodeAll(PageCustomizableRenderer.java:805)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1431)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:406)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2778)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:770)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:1146)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeMiddlePanes(PanelStretchLayoutRenderer.java:348)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:313)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1431)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:406)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2778)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
    at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:220)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1431)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:406)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2778)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
    at oracle.adfinternal.view.faces.renderkit.rich.PageTemplateRenderer.encodeAll(PageTemplateRenderer.java:70)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1431)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.encodeEnd(ContextSwitchingComponent.java:155)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:406)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2778)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
    at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1331)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1431)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:267)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:191)
    at org.apache.myfaces.portlet.faces.application.PortletViewHandlerImpl.renderView(PortletViewHandlerImpl.java:260)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:191)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:942)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:387)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:225)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.bi.nanserver.adf.servlet.BIADFServletFilter.doFilter(BIADFServletFilter.java:82)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.bi.presentation.runtime.binding.BIRegionBindingFilter.doFilter(BIRegionBindingFilter.java:41)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.webcenter.generalsettings.model.filter.GeneralSettingsLocaleFilter.doFilter(GeneralSettingsLocaleFilter.java:70)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.java:117)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:45)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:34)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:131)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.apps.fnd.applcore.common.ApplSessionFilter.doFilter(ApplSessionFilter.java:696)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter(SSOSessionSynchronizationFilter.java:292)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.bpel.services.workflow.client.worklist.util.WorkflowFilter.doFilter(WorkflowFilter.java:278)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    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)

  • RELEVANCY SCORE 2.22

    DB:2.22:Is There A Way To Get Dctaskflowbinding Or Taskflowid From Regionmodel Prog ac


    Hi Fren,

    Is there a way to get DCTaskFlowBinding or TaskFlowId from RegionModel programmatically?

    Thanks,
    Robin

  • RELEVANCY SCORE 2.21

    DB:2.21:Passing Parameters To A Task Flow Implemented As A Region Inside Af:Popup ff


    Hi,

    I have a main page which opens a task flow as a region inside an af:popup on clicking on a command button on this main page.

    +af:commandButton text="Memory Analysis"+
    partialSubmit="true"
    +af:showPopupBehavior popupId="mempop" /+
    +af:popup id="mempop" contentDelivery="lazyUncached"+
    +af:dialog title="Memory Analysis" type="none"+
    +af:region value="#{bindings.heapdumptaskflow1.regionModel}" /+
    +/af:dialog+
    +/af:popup+
    +/af:commandButton+

    Page def file of this main page looks like this :

    +taskFlow id="heapdumptaskflow1"+
    taskFlowId="/WEB-INF/config/adfc/heapdump-task-flow.xml#heapdump-task-flow"
    activation="deferred"
    xmlns="http://xmlns.oracle.com/adf/controller/binding"
    +parameters+
    +parameter id="jvmId"+
    +value="#{viewScope.jvmHistoricalDataManagedBean.jvmId}"/+
    +parameter id="startTime"+
    +value="#{viewScope.filterUtilManagedBean.filterByFromTiming1Date}"/+
    +parameter id="endTime"+
    +value="#{viewScope.filterUtilManagedBean.filterByToTiming1Date}"/+
    +/parameters+
    +/taskFlow+

    The parameters passed namely startTime endTime are set in a pageFlowScope bean of the task flow. These parameters can be edited/changed from the main page.
    Issue here is that these parameters are being set in the pageFLowScope bean of the task flow when the main page first renders with their default values instead of the with the modified values when the task flow is actually initiated as a popup on clicking the command button.
    Is this expected behavior ? How can I get the desired behavior in such a case ?

    Thanks in advance,
    Raghav

  • RELEVANCY SCORE 2.21

    DB:2.21:F:Attribute Retruns Null Value In Bean ,Used In Commandlink mp


    Hi

    Am using adf11g , 11.1.1.5.0 version jdev

    I got issue with af:attribute

    f:attribute name="taskflowId"
    value="/WEB-INF/org/adr/project/AA/ui/flow/TestTF.xml#TestTF"/

    i have used in command link . Now in bean am trying to access the value ,but am getting null value .

    MapString, Object attrs = actionEvent.getComponent().getAttributes();
    String taskFlowId = (String)attrs.get("taskflowId");

    any suggestion , or work around .

  • RELEVANCY SCORE 2.21

    DB:2.21:Problem With Display New Row And Jhs Lovs 98


    JDev 11.1.1.4, JHS 11.1.1.3.35

    I have two groups, GroupATable and GroupAForm, setup as described in section 6.1.4.3 of the JHS dev guide, so links in GroupATable open GroupAForm in a new dynamic tab. This works fine.

    I would also like to use GroupAForm to enter new rows and call it from a groupLinkToolbarButton on GroupATable. So I set the "Display New Row on Entry?" property to "When no rows found". But when I do this, any fields in GroupAForm (or its detail groups) that are configured to use JHS-style LoVs throw an error:

    Caused by: oracle.adf.controller.ControllerException: ADFC-10004: cannot set managed bean property 'params'
    at oracle.adfinternal.controller.util.Utils.createAndLogFacesException(Utils.java:184)
    ... 86 more
    Caused by: oracle.adf.controller.ControllerException: ADFC-06001: TaskFlowId '${pageFlowScope.GroupAFormLoVFieldInFormTaskFlowManager.currentTaskFlowId}' is invalid.

    This error occurs both when trying to create a new row and when clicking the hyperlinks from GroupATable, which had been working fine prior to setting the "Display New..." property.

    Is this a known issue? Do I have to use ADF-model-style LoVs if I want to use the "Display New Row on Entry?" feature? Or can I just not use that feature in this fashion?

    Edited by: steve_mj on Sep 27, 2011 6:17 AM

    DB:2.21:Problem With Display New Row And Jhs Lovs 98

    Steve,

    This should work, so it is probably a bug.
    Can you send a testcase based on HR schema to idevcoe_nl@oracle.com?

    Thanks,
    Steven Davelaar,
    Jheadstart Team.

  • RELEVANCY SCORE 2.21

    DB:2.21:How To Trace Flow Inside Task Flow 7j


    Hi,

    I'd like to trace flow inside task flow. To do this I created custom navigation handler:
    import javax.faces.context.FacesContext;

    import oracle.adf.controller.ControllerContext;
    import oracle.adf.controller.TaskFlowContext;
    import oracle.adf.controller.ViewPortContext;
    import oracle.adf.share.logging.ADFLogger;

    import oracle.adfinternal.controller.application.NavigationHandlerImpl;

    public class DiagnosticNavigationHandler extends NavigationHandlerImpl {

    private static ADFLogger LOG = ADFLogger.createADFLogger(DiagnosticNavigationHandler.class);

    public DiagnosticNavigationHandler(NavigationHandler navigationHandler) {
    super(navigationHandler);
    }

    public void handleNavigation(FacesContext facesContext, String action, String outcome){

    if (LOG.isLoggable(Level.FINE)) {

    ControllerContext controllerContext = ControllerContext.getInstance();
    ViewPortContext currentViewPort = controllerContext.getCurrentViewPort();
    TaskFlowContext tfCtx = currentViewPort.getTaskFlowContext();
    String taskFlowId = tfCtx.getTaskFlowId()
    String currentViewId = currentViewPort.getViewId();

    StringBuilder sb = new StringBuilder();
    sb.append("\n ============== Diagnostic navigation handler ==============");
    sb.append("\n Action: "+action);
    sb.append("\n Outnome: "+outcome);
    sb.append("\n TaskFlow ID: "+taskFlowId);
    sb.append("\n View ID: "+currentViewId);
    sb.append("\n ===========================================================");

    LOG.fine(sb.toString());
    }

    super.handleNavigation(facesContext, action, outcome);
    }
    }Unfortunately, this handler only catch standard JSF activities but I'd like to have all flow e.g:
    Router -- method call -- view A -- method call -- view B -- return activity.Is there any API to do it ?

    Kuba

    DB:2.21:How To Trace Flow Inside Task Flow 7j

    Hi,

    I am not aware of such an API. Not that navigation always is from view to view and routers and activities execute as intermediaries so that I am not sure Phase Listener would do.

    Frank

  • RELEVANCY SCORE 2.21

    DB:2.21:How To Pass A Dynamic Parameter Into A Taskflow Region? sd


    Im using an ADF table in TP3 to display some data and I would like to put a link on each row that would display some statistics in a popup.Im able to open the popup and to make the taskflow call in a region but the taskflow Im calling to display the statistics requires a parameter to load the information about the current row. I cannot find a way to pass the required parameter value to the taskflow.

    In my case, the value I need to pass is "#{row.SeqSondage}". I tried "parameter id="sondageId" value="#{row.SeqSondage} ..." but it does not work and the following setActionListener way does not seem to work either.

    Here is the code im using:

    In the jsf page:

    af:table id="tableSondages" value="#{bindings.SondageView.collectionModel}"
    var="row" rows="#{bindings.SondageView.rangeSize}"
    fetchSize="#{bindings.SondageView.rangeSize}"
    af:column headerText="Resultat"
    af:commandLink partialSubmit="true"
    af:setActionListener from="#{row.SeqSondage}" to="#{requestScope.sondageId}"/
    af:image source="#{ressources['planCours.icones.siteWeb']}"/
    af:showPopupBehavior align="afterEnd" popupId="popupResultat" /
    /af:commandLink
    af:popup id="popupResultat"
    af:panelWindow
    af:region value="#{bindings.resultatsTaskFlow.regionModel}" /
    /af:panelWindow
    /af:popup
    /af:column
    ...Pagedef:
    taskFlow id="resultatsTaskFlow"
    taskFlowId="/WEB-INF/taskFlows/ut425/resultatsTaskFlow.xml#resultatsTaskFlow"
    xmlns="http://xmlns.oracle.com/adf/controller/binding"
    parameters
    parameter id="sondageId" readonly="true" value="#{requestScope.sondageId}" option="required"
    xmlns="http://xmlns.oracle.com/adfm/uimodel"/
    /parameters
    /taskFlowThe destination taskFlow:
    adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2"
    task-flow-definition id="resultatsTaskFlow"
    default-activityresultatsSondage/default-activity
    input-parameter-definition
    namesondageId/name
    value#{pageFlowScope.sondageId}/value
    classoracle.jbo.domain.Number/class
    required/
    /input-parameter-definition
    view id="resultatsSondage"
    page/WEB-INF/fragments/ut425/resultatsSondage.jsff/page
    /view
    use-page-fragments/
    /task-flow-definition
    /adfc-configAny idea how I could make it work?

    Thanks

    Message was edited by:
    user608288

    DB:2.21:How To Pass A Dynamic Parameter Into A Taskflow Region? sd

    Hi,

    I don't have a sample for this, but did you read up on taskflows in the developer guide (I guess you did, so just in case)?

    http://download.oracle.com/otn_hosted_doc/jdeveloper/11/doc/b31974.pdf

    One issue I see with your code is

    af:setActionListener from="#{row.SeqSondage}" to="#{requestScope.sondageId}"/

    which better writes to the pageFlowScope so it is accessible for the taskflow. Another problem is with how the popup loads the content. Content in a popup is refreshed only once when the page renders.

    There is a section on refreshing popup content in teh Web Developer guide that you may want to have a look at

    http://download.oracle.com/otn_hosted_doc/jdeveloper/11/doc/b31973.pdf

    I put down the usecase to provide a blog example as soon as possible

    Frank

  • RELEVANCY SCORE 2.21

    DB:2.21:Wls Oes Admin Server Startup "Performance Tuning" fa


    After a fresh-install of Oracle Entitlement Server[Oracle Identity and Access Management 11g Release 1 (11.1.1.5.0) ], WLS 10.3.5, we have this message at startup:

    ADFC-52024 ADFc: Duplicate managed bean definition for 'APMBrowseSearchMainBean

    Question(1) how do we find and resolve above duplicate; how did this occur at install time when we only deployed OEM, Oracle-JRF, and OES [IdAM product]

    Question(2) Why did WLS-OES take 3min40sec to start !!!! wow, that was slow; how can this start-up time be made sub-30seconds ??!! .... this AdminServer only has OEM, OES, OracleJRF in DOMAIN.

    thanks!

    DB:2.21:Wls Oes Admin Server Startup "Performance Tuning" fa

    After a fresh-install of Oracle Entitlement Server[Oracle Identity and Access Management 11g Release 1 (11.1.1.5.0) ], WLS 10.3.5, we have this message at startup:

    ADFC-52024 ADFc: Duplicate managed bean definition for 'APMBrowseSearchMainBean

    Question(1) how do we find and resolve above duplicate; how did this occur at install time when we only deployed OEM, Oracle-JRF, and OES [IdAM product]

    Question(2) Why did WLS-OES take 3min40sec to start !!!! wow, that was slow; how can this start-up time be made sub-30seconds ??!! .... this AdminServer only has OEM, OES, OracleJRF in DOMAIN.

    thanks!

  • RELEVANCY SCORE 2.20

    DB:2.20:Dynamic Region With Taskflow Id As Null Is Not Working ds


    Hi All,
    We have the requirement as follows.
    dynamic region should get executed only if the taskflow id is passed through configuration file(.properties file).
    If the taskflow id is not passed through configuration file then the region should not get executed.

    But what is happening is, dynamic region is getting invoked during base page load, if the taskflow id is null (not passed through configuration file) it is giving the error provided end of this message.
    How to stop the excution of dynamic region if the taskflow id is null during base page load?

    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Jun 18, 2009 3:14:09 AM PDT Error HTTP BEA-101020 ServletContext@29793173--app:TaskFlowClient module:TaskFlowClient-ViewController-context-root path:/TaskFlowClient-ViewController-context-root spec-version:2.5-- Servlet failed with Exception
    oracle.adf.controller.ControllerException: ADFC-06001: TaskFlowId '${backingBeanScope.dyn.dynamicTaskFlowId}' is invalid.
    at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getTaskFlowId(DCTaskFlowBinding.java:673)
    at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getViewPort(DCTaskFlowBinding.java:188)
    at oracle.adf.controller.internal.binding.TaskFlowRegionModel.doProcessBeginRegion(TaskFlowRegionModel.java:127)
    at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:88)
    at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:114)
    Truncated. see log file for complete stacktrace
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Thanks
    Kristi

    DB:2.20:Dynamic Region With Taskflow Id As Null Is Not Working ds

    Hi Kristi

    For empty region you need to set empty string not null value for taskFlowId :)

    Regards,
    JavaDeVeLoper

  • RELEVANCY SCORE 2.20

    DB:2.20:Re: Tomcat Problem 7x


    Hi,
    I am not getting any exception. I'm only having HTTP 404

    DB:2.20:Re: Tomcat Problem 7x

    Hi,
    Use slash infornt of the submit in the url-pattern.
    servlet-mapping
    servlet-namesubmit/servlet-name
    url-pattern/submit/url-pattern
    /servlet-mapping

    if u want to access ur servlet file then give /servlet/submit...... in the form action

  • RELEVANCY SCORE 2.20

    DB:2.20:Tp4- Adfc-02001: Adf Controller Cannot Find '/Web-Inf/Pkgexec-Flow.Xml pj


    I am trying to deploy ADF rich faces application (contains only one screen as of now) to Tomcat 6.

    After copying numerous jar files via trial and error method, now I am at a point where there are no more class not found exceptions.
    But I am facing the following instead:

    ADFC-02001: ADF Controller cannot find '/WEB-INF/pkgExec-flow.xml'

    When JDev deploys to buildin OC4J 11, the same URL works fine.
    Tomcat URL:
    http://localhost:8080/mytest/faces/adf.task-flow?_id=pkgExec-flow_document=/WEB-INF/pkgExec-flow.xml

    OC4J URL:
    http://127.0.0.1:8989/PkgExecApp1b-ViewController-context-root/faces/adf.task-flow?_id=pkgExec-flow_document=/WEB-INF/pkgExec-flow.xml

    Help please...

    -Dhananjay

    Full stack:

    message

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

    exception

    oracle.adf.controller.ControllerException: ADFC-02001: ADF Controller cannot find '/WEB-INF/pkgExec-flow.xml'.
    oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:484)
    oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.loadUnmutalbeMetadataResources(MdsMetadataResourceProvider.java:396)
    oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getResources(MdsMetadataResourceProvider.java:181)
    oracle.adf.controller.internal.metadata.MetadataService.getTaskFlowDefinition(MetadataService.java:180)
    oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.findTaskFlowDefinition(TaskFlowCallActivityLogic.java:921)
    oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.invokeTaskFlow(TaskFlowCallActivityLogic.java:181)
    oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:157)
    oracle.adfinternal.controller.application.RemoteTaskFlowCallRequestHandler.invokeTaskFlowByUrl(RemoteTaskFlowCallRequestHandler.java:95)
    oracle.adfinternal.controller.application.RemoteTaskFlowCallRequestHandler.doCreateView(RemoteTaskFlowCallRequestHandler.java:60)
    oracle.adfinternal.controller.application.BaseRequestHandlerImpl.createView(BaseRequestHandlerImpl.java:55)
    org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:90)
    oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:518)
    oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:252)
    oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
    oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
    oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:135)
    org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
    oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:69)
    org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
    oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:85)
    org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
    org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:241)
    org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:198)
    org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:141)
    org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    root cause

    oracle.mds.core.MetadataNotFoundException: MDS-00013: No metadata found for metadata object "/WEB-INF/pkgExec-flow.xml"
    oracle.mds.core.MOResolver.getMetadataObjects(MOResolver.java:206)
    oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:438)
    oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.loadUnmutalbeMetadataResources(MdsMetadataResourceProvider.java:396)
    oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getResources(MdsMetadataResourceProvider.java:181)
    oracle.adf.controller.internal.metadata.MetadataService.getTaskFlowDefinition(MetadataService.java:180)
    oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.findTaskFlowDefinition(TaskFlowCallActivityLogic.java:921)
    oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.invokeTaskFlow(TaskFlowCallActivityLogic.java:181)
    oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:157)
    oracle.adfinternal.controller.application.RemoteTaskFlowCallRequestHandler.invokeTaskFlowByUrl(RemoteTaskFlowCallRequestHandler.java:95)
    oracle.adfinternal.controller.application.RemoteTaskFlowCallRequestHandler.doCreateView(RemoteTaskFlowCallRequestHandler.java:60)
    oracle.adfinternal.controller.application.BaseRequestHandlerImpl.createView(BaseRequestHandlerImpl.java:55)
    org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:90)
    oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:518)
    oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:252)
    oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
    oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
    oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:135)
    org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
    oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:69)
    org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
    oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:85)
    org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:281)
    org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:241)
    org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:198)
    org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:141)
    org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    DB:2.20:Tp4- Adfc-02001: Adf Controller Cannot Find '/Web-Inf/Pkgexec-Flow.Xml pj

    I am trying to deploy this to something other than built-in OC4J 11g.

    Tried deploying this to OC4J 11g TP4 standalone, without success.
    See Failing to deploy to external OC4J 11g standalone
    (no replies yet on that thread).

    Also there is a thread regarding deploying this on OC4J 10g, not supported.

    So tried deploying on Tomcat and met with this result.

    Is Weblogc 9.2 also considered 3rd party container? Should that work?
    Are there known gotchas to get it to work?

    thanks,
    -Dhananjay

  • RELEVANCY SCORE 2.20

    DB:2.20:Calling Bounded Task Flows Imported As Adf Libraries a1


    Hello,

    I have a main application referencing many bounded task flows included in ADF libraries.

    Is there a way to make the application not throwing exceptions if one of these libraries including the called task flow is not found?

    The first question is how to catch the exception "Caused by: oracle.adf.controller.ControllerException: ADFC-02001"

    The second problem is that once an exception is thrown , the only way to make the application work again with that task flow is to redeploy the whole application with the missing library in the proper place.
    It seems it is not possible to just add the library at run-time.
    Redoplying an application also seems to invalidate all the current open sessions.

    Could you give me suggestions or best practice on making the main application more indipendent from the libraries?

    Thanks.

    DB:2.20:Calling Bounded Task Flows Imported As Adf Libraries a1

    Hello Frank,

    It seems there's no way to catch the exception thrown when dinamically calling a bounded task flow in a (missing) library. In facts, I added the single page of the main application as default exception handler activity. I also tried to catch ALL exceptions in the Launcher class below, but I had no luck at all. Task flows are called dinamically from this common piece of code (appropriate for the UI Shell template):

    try {
    if (newTab) {
    TabContext.getCurrentInstance().addTab(title, taskflowId);
    } else {
    TabContext.getCurrentInstance().addOrSelectTab(title,
    taskflowId);
    }
    } catch (TabContext.TabOverflowException toe) {
    toe.handleDefault();
    } catch (ControllerException ce) {
    System.out.println("The flow arrives here " + title + ": " + taskflowId);
    } catch (RuntimeException re) {
    System.out.println("The flow arrives here " + title + ": " + taskflowId);
    } catch (Exception e) {
    System.out.println("The flow arrives here " + title + ": " + taskflowId);
    }
    }

    I also tried to call the task flow in a remote application, but TabContext.getCurrentInstance().addTab(title, taskflowId) expects the taskflowid to be part of the main application, not of the remote app, since addTab() always add a "/" before the taskflowid String passes as parameter.

    So again my question: is there a way to profit by the dynamic features coming along with the UI Shell template, where task flows can be really referenced and called each time at run-time, no matter if libraries containing these task flows are present or not when deploying the caller application?
    I also repeat that from the tests I have done it looks like I can deploy the caller application without the referenced ADF libraries in their place (containing taskflows that should be called at run-time on user actions), but the problem in this case is that after that moment there's no way to fix the problem by just adding the missing library, that is you cannot place the library where it is expected to be and expect the caller to work after next call; this will just not work until next deploy of the calling application when libraries are in place . We also don't want completely separate web applications. We need task flows integration with the chance to modify and deploy these taskflows as ADF libraries at run time, separately from the caller of the taskflow, without needing to restart/deploy the caller application everytime a libraries changes or a missing library is added.

  • RELEVANCY SCORE 2.20

    DB:2.20:Error :- Adf,Taskflowcontrollerexception: Adfc-06001: Taskflowid Invalid ca


    Hello ,

    I am developing an ADF app which has the requirement of task pane type UI .
    Left side displays the links and clicking on the link , right side displays the more details.

    I have main page named Admin.jspx and one commandLink on the leftside and the region on the right side.

    Snippet of the Source of Admin.jspx :-

    f:facet name="first"
    af:commandLink text="Search"
    binding="#{backingBeanScope.backing_Admin.cl1}"
    id="cl1"
    action="#{backingBeanScope.backing_AdminPane.displayTF}"/
    /f:facet
    f:facet name="second"
    af:panelGroupLayout layout="scroll" id="pgl2"
    binding="#{backingBeanScope.backing_Admin.pgl2}"
    af:region value="#{bindings.dynamicRegion1.regionModel}"
    id="r3"
    binding="#{backingBeanScope.backing_Admin.r3}"
    partialTriggers="::cl1"/
    /af:panelGroupLayout

    the backing bean for the same is AdminPane :-

    public class AdminPane {
    private String taskFlowId = "/WEB-INF/EmptyTF.xml#EmptyTF";

    public AdminPane() {
    }

    public TaskFlowId getDynamicTaskFlowId() {
    return TaskFlowId.parse(taskFlowId);
    }

    public String displayTF() {
    taskFlowId = "/WEB-INF/DisplayTF.xml#DisplayTF";
    return null;
    }

    now there are two task flows here "DisplayTF" and EmptyTF (default). And clicking on the search should display disaplyTF on the right side.
    But when i run it , i get this error :-

    oracle.adf.controller.ControllerException: ADFC-06001: TaskFlowId '${backingBeanScope.backing_AdminPane.dynamicTaskFlowId}' is invalid.
    at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getTaskFlowId(DCTaskFlowBinding.java:699)
    at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getViewPort(DCTaskFlowBinding.java:195)

    Can someone help me with this .

  • RELEVANCY SCORE 2.20

    DB:2.20:Where Should Backing Bean For Bounded-Task-Flow Be Declared? sc


    I have a bounded-task-flow that is used inside a dynamic region.

    I declared a managed bean to be used by activities (method/view) using the "backingBean" scope managed bean.

    There are two possible places that I can register the managed bean:

    1. adfc-config.xml
    2. the bounded-task-flow-definition.xml

    What are the differences between declaring the "backingBean" scope bean in "adfc-config.xml" and in the bounded-task-flow definition?
    What is the best practice for registering "backingBean" scope bean?

    If I understand correctly, registering the bean in adfc-config.xml is for one or more bounded-task-flow that use the same Bean class for instantiating their own backing bean. If the backing bean java class is only use by specific bounded-task-flow then it should make no difference to register the bean in either xml files.

    Am I correct?

    DB:2.20:Where Should Backing Bean For Bounded-Task-Flow Be Declared? sc

    It should be registered within the bounded task flow for a couple reasons:
    1) Help maintain the encapsulation of the bounded task flow for reuse
    2) Managed bean definition metadata residing in adfc-config.xml or bootstrap configuration file will be preloaded when the ADF application is started. The actual managed beans will be instantiated the first time they are referenced. Therefore, to avoid the preload place them in the bounded task flow.

    thanks.

  • RELEVANCY SCORE 2.19

    DB:2.19:Definition Class Name Missing In Xml File Of Type Taskflow 9x


    Hi all,

    I am trying to invoke a bounded taskflow from a region on a jspx page.

    My jspx page has: *af:region value="#{bindings.citySearchTF.regionModel}" id="r1" /*

    Its page def file has :

    *taskFlow id="citySearchTF" taskFlowId="/WEB-INF/tfs/bounded/cities/city-search-tf.xml#city-search-tf"*
    xmlns="http://xmlns.oracle.com/adf/controller/binding"/

    My taskFlow file is :

    *?xml version="1.0" encoding="windows-1252" ?*
    *adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2"*
    *task-flow-definition id="city-search-tf"*
    *default-activitysearch-city.jsff/default-activity*
    *data-control-scope*
    *shared/*
    */data-control-scope*
    *view id="search-city.jsff"*
    *page/view/bounded/city/search-city.jsff/page*
    */view*
    *use-page-fragments/*
    */task-flow-definition*
    */adfc-config*

    Now, while running this jspx page, I am getting the following errors:

    On Browser : ADF_FACES-30179:For more information, please see the server's error log for an entry beginning with: The UIViewRoot is null. Fatal exception during PhaseId: RESTORE_VIEW 1.

    On WLS Logs :

    oracle.jbo.PersistenceException: JBO-34000: Definition class name missing in XML file of type taskFlow
    at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:402)
    at oracle.adf.model.binding.DCBindingContainerDef.loadExecutables(DCBindingContainerDef.java:1482)
    at oracle.adf.model.binding.DCBindingContainerDef.loadChildrenFromXML(DCBindingContainerDef.java:1278)
    at oracle.adf.model.binding.DCDefBase.loadFromXML(DCDefBase.java:325)
    at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:409)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.createFromXML(JUMetaObjectManager.java:1274)
    at oracle.jbo.mom.PersistableDefObject.createFromXML(PersistableDefObject.java:84)
    at oracle.jbo.mom.DefinitionManager.loadDefObject(DefinitionManager.java:961)
    at oracle.jbo.mom.DefinitionManager.doFindSessionDefObject(DefinitionManager.java:1037)
    at oracle.jbo.mom.DefinitionManager.findSessionDefObject(DefinitionManager.java:705)
    at oracle.adf.model.binding.DCBindingContainerDef.findSessionDefObject(DCBindingContainerDef.java:351)
    at oracle.adf.model.binding.DCBindingContainerDef.findDefObject(DCBindingContainerDef.java:316)
    at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:127)
    at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:95)
    at oracle.adf.model.BindingContext.get(BindingContext.java:1089)
    at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:807)
    at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:1598)
    at oracle.adfinternal.controller.application.model.UpdateBindingListener.setBindingELVariable(UpdateBindingListener.java:112)
    at oracle.adfinternal.controller.application.model.UpdateBindingListener.beforePhase(UpdateBindingListener.java:61)
    at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:550)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchBeforePagePhaseEvent(LifecycleImpl.java:147)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchBeforePagePhaseEvent(ADFPhaseListener.java:119)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:63)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:319)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
    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)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
    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.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
    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(Native Method)
    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)

    There is some issue with PageDef but I am not able to figure it out. Searched a lot on internet but didn't succeed. Thanks in advance.

    Edited by: 965225 on Dec 17, 2012 3:43 AM

    DB:2.19:Definition Class Name Missing In Xml File Of Type Taskflow 9x

    Hi all,

    I am trying to invoke a bounded taskflow from a region on a jspx page.

    My jspx page has: *af:region value="#{bindings.citySearchTF.regionModel}" id="r1" /*

    Its page def file has :

    *taskFlow id="citySearchTF" taskFlowId="/WEB-INF/tfs/bounded/cities/city-search-tf.xml#city-search-tf"*
    xmlns="http://xmlns.oracle.com/adf/controller/binding"/

    My taskFlow file is :

    *?xml version="1.0" encoding="windows-1252" ?*
    *adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2"*
    *task-flow-definition id="city-search-tf"*
    *default-activitysearch-city.jsff/default-activity*
    *data-control-scope*
    *shared/*
    */data-control-scope*
    *view id="search-city.jsff"*
    *page/view/bounded/city/search-city.jsff/page*
    */view*
    *use-page-fragments/*
    */task-flow-definition*
    */adfc-config*

    Now, while running this jspx page, I am getting the following errors:

    On Browser : ADF_FACES-30179:For more information, please see the server's error log for an entry beginning with: The UIViewRoot is null. Fatal exception during PhaseId: RESTORE_VIEW 1.

    On WLS Logs :

    oracle.jbo.PersistenceException: JBO-34000: Definition class name missing in XML file of type taskFlow
    at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:402)
    at oracle.adf.model.binding.DCBindingContainerDef.loadExecutables(DCBindingContainerDef.java:1482)
    at oracle.adf.model.binding.DCBindingContainerDef.loadChildrenFromXML(DCBindingContainerDef.java:1278)
    at oracle.adf.model.binding.DCDefBase.loadFromXML(DCDefBase.java:325)
    at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:409)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.createFromXML(JUMetaObjectManager.java:1274)
    at oracle.jbo.mom.PersistableDefObject.createFromXML(PersistableDefObject.java:84)
    at oracle.jbo.mom.DefinitionManager.loadDefObject(DefinitionManager.java:961)
    at oracle.jbo.mom.DefinitionManager.doFindSessionDefObject(DefinitionManager.java:1037)
    at oracle.jbo.mom.DefinitionManager.findSessionDefObject(DefinitionManager.java:705)
    at oracle.adf.model.binding.DCBindingContainerDef.findSessionDefObject(DCBindingContainerDef.java:351)
    at oracle.adf.model.binding.DCBindingContainerDef.findDefObject(DCBindingContainerDef.java:316)
    at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:127)
    at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:95)
    at oracle.adf.model.BindingContext.get(BindingContext.java:1089)
    at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:807)
    at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:1598)
    at oracle.adfinternal.controller.application.model.UpdateBindingListener.setBindingELVariable(UpdateBindingListener.java:112)
    at oracle.adfinternal.controller.application.model.UpdateBindingListener.beforePhase(UpdateBindingListener.java:61)
    at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:550)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchBeforePagePhaseEvent(LifecycleImpl.java:147)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchBeforePagePhaseEvent(ADFPhaseListener.java:119)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:63)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:319)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
    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)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
    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.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
    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(Native Method)
    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)

    There is some issue with PageDef but I am not able to figure it out. Searched a lot on internet but didn't succeed. Thanks in advance.

    Edited by: 965225 on Dec 17, 2012 3:43 AM

  • RELEVANCY SCORE 2.19

    DB:2.19:Oam 11g - Custom Login Page xz


    Hi,

    I have deployed OAM 11.1.1.5.0 succesfully. By defauly i am using Embedded LDAP Weblogic as the User Identity Store and Oracle Database 11.2.0.2 as Policy Store.

    I am able to do the Normal actions such protecting a webpage and other common settings.

    When i try to deploy a plugin, I am getting a error pop-up as shown below::::

    ==========================================================================================
    javax.el.ELException: java.lang.NoClassDefFoundError: oracle/security/am/common/diagnostic/DiagnosticConfigMediator
    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
    ==========================================================================================

    When i checked the OAM Server logs, i see some errors related to the Identity Store as shown below.

    ==========================================================================================
    Apr 2, 2012 11:44:08 PM IST Warning oracle.adf.controller.internal.metadata.MetadataService BEA-000000 ADFc: /WEB-INF/adfc-config.xml:
    Apr 2, 2012 11:44:08 PM IST Warning oracle.adf.controller.internal.metadata.MetadataService ADFC-52024 ADFc: Duplicate managed bean definition for 'accessCheck' detected.
    Apr 2, 2012 11:44:08 PM IST Warning oracle.jps.idmgmt JPS-01520 Cannot initialize identity store.
    java.lang.RuntimeException: java.security.PrivilegedActionException: oracle.security.jps.service.idstore.IdentityStoreException: JPS-01520: Cannot initialize identity store.
    at oracle.adf.share.security.providers.jps.JpsUtil.getDefaultIdentityStore(JpsUtil.java:339)
    at oracle.adf.share.security.providers.jps.JpsIdentityManagementProvider.initialize(JpsIdentityManagementProvider.java:90)
    at oracle.adf.share.security.providers.jps.JpsIdentityManagementProvider.init(JpsIdentityManagementProvider.java:69)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    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.security.PrivilegedActionException: oracle.security.jps.service.idstore.IdentityStoreException: JPS-01520: Cannot initialize identity store.
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.adf.share.security.providers.jps.JpsUtil.getDefaultIdentityStore(JpsUtil.java:334)
    ... 128 more
    Caused by: oracle.security.jps.service.idstore.IdentityStoreException: JPS-01520: Cannot initialize identity store.
    at oracle.security.jps.internal.idstore.util.IdentityStoreUtil.getIdentityStoreFactory(IdentityStoreUtil.java:168)
    at oracle.security.jps.internal.idstore.AbstractIdmIdentityStore.getIdmFactory(AbstractIdmIdentityStore.java:174)
    at oracle.security.jps.internal.idstore.AbstractIdmIdentityStore.initStore(AbstractIdmIdentityStore.java:124)
    at oracle.security.jps.internal.idstore.AbstractIdmIdentityStore.getIdmStore(AbstractIdmIdentityStore.java:110)
    at oracle.adf.share.security.providers.jps.actions.IdmStoreAction.run(IdmStoreAction.java:46)
    ... 130 more
    Apr 2, 2012 11:44:15 PM IST Warning oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer ADF_FACES-60099 The region component with id: pt1:_lar has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.

    ==========================================================================================

    I am not able to Import the Custom Plugins into OAM.

    Thanks in Advance.

  • RELEVANCY SCORE 2.19

    DB:2.19:Getting Adfc-12012 Error On Session Timeout 7d


    We are seeing a lot of timeout errors and followed http://www.yenlo.nl/en/adf-11g-handling-the-adfc-12000-controllerexception-with-custom-exception-handling/for a solution but it doesn't work, please help.

    DB:2.19:Getting Adfc-12012 Error On Session Timeout 7d

    Thanks abhi.p, that was the issue. I had .txt extension in my file.

  • RELEVANCY SCORE 2.19

    DB:2.19:Jbo-26061- Error While Opening Jdbc Connection - Exception pp


    I created an EO, VO and Application Module connecting to Oracle Database. I created database connection in jdeveloper and was able to access the tables successfully. When testing the Application Module from the BC browser i am able to navigate between the records of the EO/VO successfully.

    I included this VO as a Read Only table in one of my jspx page and when trying to test the jspx page i get this exception

    WARNING: ADFc: JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2152)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2952)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)

    please let me know what i am missing.

    Thanks
    Sureshkumar K

    DB:2.19:Jbo-26061- Error While Opening Jdbc Connection - Exception pp

    Hi,

    do you connect usig J2EE datasources ? If yes then check what the database connection setting is in thi. The tester uses straight JDBC, which may bethe difference

    Frank

  • RELEVANCY SCORE 2.19

    DB:2.19:Re: How To Refresh And Reinitialize The Task Flow In Dynamic Region 8f


    I was using exactly this approach.
    taskFlow id="dynamicRegion"
    Refresh="ifNeeded" taskFlowId="${viewScope.NavBacking.dynamicTaskFlowId}"
    xmlns="http://xmlns.oracle.com/adf/controller/binding"
    parameters
    parameter id="random"
    value="#{viewScope.NavBacking.refreshValue}"/
    /parameters
    /taskFlow On click of the link i am calling a method that sets

    this.setRefreshValue(Math.random());But the only issue is that this is refreshing when clicking on a different link and then clicking on the same link. Any ideas ?

    DB:2.19:Re: How To Refresh And Reinitialize The Task Flow In Dynamic Region 8f

    I am not talking about region refresh that even i can do. I want the component state to refresh also. That happens if we switch b/w different task flow id's but not with same taskflow id

  • RELEVANCY SCORE 2.18

    DB:2.18:Re: Adfc-64010 Error In Server Log. 9a


    I have verified in jsff bindings, task flow is referred only once.

    DB:2.18:Re: Adfc-64010 Error In Server Log. 9a

    Hi ,Getting the error "ADFC-64010 : Page '/org/mda/dce/staff/ui/page/referral-detail-page.jsff' references task flow binding 'medicalrecordsflow1' more than once which is not supported" in server logs.Jdeveloper 11.1.1.7Please suggest.Thanks,Abhijith RP

  • RELEVANCY SCORE 2.18

    DB:2.18:Ssl.Authenticateasserver Fails With Local Security Cannot Be Contacted Exception 73



     
    Hi,
    System.Net.Security.SslStream ssl = new System.Net.Security.SslStream(ns);
    X509Certificate2 x509 = new X509Certificate2(webRoot + @\My.pfx, test123);
    ssl.AuthenticateAsServer(x509,false,SslProtocols.Default,false);
     
    this piece of code raises the following  exception
    A call to SSPI failed - The Local Security Authority cannot be contacted
     
    i will be glad if soneone could throw some light on this.
    Thanks,
    skrajmohan
     
     

  • RELEVANCY SCORE 2.18

    DB:2.18:Re: Adf Task Flow Exception Handling jc


    Hi,

    try removing the execption handler from the bounded task flow and see what happnes. The ADF Faces framework integrates with ADFc for excapetion handling so that not all problems that occur on a page in ADF Faces lead to navigating away from the page. If you wanted to change this behavior I guess you would need to change the internal handler in ADFc

    Frank

    DB:2.18:Re: Adf Task Flow Exception Handling jc

    Hi Frank , im having the same problem.
    I want to handle exceptions that occur while navigating task flows (example: A user navigates to a task flow that he/she does not have view permission)
    I tried using a view activity and method activity as the exception handler but none of them works, the exception is still not handles. It does not even navigate to the exception handler on the task flow.

    on the view page i have:

    af:panelStretchLayout topHeight="50px" id="psl1"
    f:facet name="top"
    af:panelGroupLayout layout="scroll"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    id="pgl1"
    Error message:
    af:outputText value="#{controllerContext.currentRootViewPort.exceptionData.message}" id="ot2"/
    /af:panelGroupLayout
    /f:facet
    f:facet name="center"
    af:outputText value="#{my_exception_Handler.stackTrace}" id="ot1"/
    !-- id="af_one_column_header_stretched" --
    /f:facet
    /af:panelStretchLayout

    I tried getting the error message and stacktrace from the controllerContext via EL like this "#{controllerContext.currentRootViewPort.exceptionData.message}"

    and from the controllerContext class in functions that i have declared in my_exception_Handler class like this
    " ControllerContext ctx = ControllerContext.getInstance();
    ViewPortContext vCtx = ctx.getCurrentViewPort();
    if(vCtx.getExceptionData() != null){
    StringWriter stringWriter = new StringWriter();
    PrintWriter printWriter = new PrintWriter(stringWriter);
    vCtx.getExceptionData().printStackTrace(printWriter);
    return stringWriter.toString();"

    But all this dont even matter because when the exception occurs on the task flow it does not navigate to the default exception handler.

    thanks for your interest and help in advance.

    Cyborg_0912

  • RELEVANCY SCORE 2.18

    DB:2.18:How To Include Adfcexceptionhandler Entry From Adf\Meta-Inf\Services\ fx


    I am referring to this article from Frank : http://thepeninsulasedge.com/frank_nimphius/2010/02/01/how-to-create-custom-adfc-exception-handler/

    As mentioned in the blog, everything works , exception handler handles the exception , but

    When I create AdfLib JAR, it does not include adf\META-INF\services\ folder

    Thanks,

    DB:2.18:How To Include Adfcexceptionhandler Entry From Adf\Meta-Inf\Services\ fx

    Frank,
    Can we use AdfcExceptionHandler in our code directly with out worrying about any backward compatibility issues in future release of ADF? The reason I am asking this question is , it is from oracle.adfinternal. package and ORACLE can change it any time in future.

    What is the alternative if we can not use it?

    Thanks,
    Rama

  • RELEVANCY SCORE 2.18

    DB:2.18:Dpm 2010 Exchange 2010 Backups Are Failing ad


    Hi, I'm getting an error which does not seem to match in the DPM 2010 ID codes. Randomly, I have backups of an exchange 2010 DAG that are failing. The backup will run fora short time (5mints..up to 10minuts) and then will fail with the following error:
    Type:Recovery point
    Status:Failed
    Description:Backup failed as another copy of 'user' database is currently being backed up. (ID 32628 Details: Internal error code: 0x80990D51)
    More information
    End time:4/25/2011 10:37:27 PM
    Start time:4/25/2011 10:26:55 PM
    Time elapsed:00:10:31
    Data transferred:0 MB
    Cluster node-
    Recovery Point TypeIncremental Sync
    Source details:06001
    Protection group:EXCH2010 - 06001
    I've tried restarting the DPM server to troubleshoot. I say this happens randomly because I've had some backups successfully complete against the same exchange server. The only other item that seems odd is when creating protection groups against the DAG,
    the intial lookup seems to take forever. Not sure what to try next.

    DB:2.18:Dpm 2010 Exchange 2010 Backups Are Failing ad

    A solution which does not require a restart and it works.

    Use Windows Server Backup and start a backup of the Exchange database file. Once the backup starts cancel it this will set the BackupInProgress to false. Now use your regular backup software and run the backup job again.

    Thanks for this advice. I know this is an old post, however we ran into this and Narayan's suggestion was quick, easy and it worked. Nice little trick and avoids any downtime.

  • RELEVANCY SCORE 2.18

    DB:2.18:Exception In System.Security.Cryptography.Pkcs.Signedcms.Checksignature() Method 79


    When I try to call CheckSignature method on instance of System.Security.Cryptography.Pkcs.SignedCms, I get following exception:
     

    Code Block

    DB:2.18:Exception In System.Security.Cryptography.Pkcs.Signedcms.Checksignature() Method 79

    When I try to call CheckSignature method on instance of System.Security.Cryptography.Pkcs.SignedCms, I get following exception:
     

    Code Block

  • RELEVANCY SCORE 2.17

    DB:2.17:Duplicate Manage Been / Cleanup ss


    After a fresh-install of Oracle WLS 10.3.5, we have this message at startup:

    ADFC-52024 ADFc: Duplicate managed bean definition for 'APMBrowseSearchMainBean

    Question(1) how do we find and resolve above duplicate; how did this occur at install time when we only deployed OEM, Oracle-JRF, and OES [IdAM product]
    Question(2) Why did WLS take 3min40sec to start !!!! wow, that was slow; how can this start-up time be made sub-30seconds ??!!

    thanks!

    DB:2.17:Duplicate Manage Been / Cleanup ss

    The warning is probably introduced by the enterprise manager (maybe it is time they cleaned that up) - there is not much you can do about it.
    There are probably some errors as well, which you can also neglect.

    As for question two, do not deploy everything on one server, you can deploy EM on the admin server and for example OES on a dedicated managed server.
    What you also can try is tune the JVM the server is running on, some examples are given here - http://middlewaremagic.com/weblogic/?p=7819
    (look in the 'test the environment' section). In your case you have to use USER_MEM_ARGS in the setDomainEnv script.

  • RELEVANCY SCORE 2.17

    DB:2.17:Appinstance Error dk


    Hi All,
    when i requesst a AD Account for a user....after seleting the AD in my catalog, when i click on chekout i am getting the following error.. as pop up
    please help.
    Thnks.

    ADFC-06002:unhandled excepiton
    ADF_FACES-60097:for more informtaion please
    see the servers error log for an entry beginning with :ADF_Faces-60096:Server Exception
    during PPR, #4

    DB:2.17:Appinstance Error dk

    Hi All,
    when i requesst a AD Account for a user....after seleting the AD in my catalog, when i click on chekout i am getting the following error.. as pop up
    please help.
    Thnks.

    ADFC-06002:unhandled excepiton
    ADF_FACES-60097:for more informtaion please
    see the servers error log for an entry beginning with :ADF_Faces-60096:Server Exception
    during PPR, #4

  • RELEVANCY SCORE 2.17

    DB:2.17:Getting Null Pointer Exception While Using Urlview Activity 3z


    Hi,
    I need to redirect to the root activity from a child region. I am using an url view activity for this. For this I created a backing bean scope managed bean as follows.
    //
    public class GetUrl {
    private String activityURL;

    public void getMypageURL(){
    ControllerContext controllerCtx = ControllerContext.getInstance();

    activityURL = controllerCtx.getGlobalViewActivityURL("Home");
    }

    public String getActivityURL() {
    return activityURL;
    }
    //
    The home activity is in side the unbounded taskflow adfc-config. Then in the url field of url view activity I used the following EL expression to retrieve the url,
    /
    #{backingBeanScope.GetUrl.activityURL}
    /

    I'm using jdev 11.1.1.5.0.. Please help

    DB:2.17:Getting Null Pointer Exception While Using Urlview Activity 3z

    But to navigate to the root activity from innermost page fragment, one parentaction won't be sufficient right?

    Anyways, I got it. The error occured as I created a separate manaed bean to retrieve the url. I should have written the code in the java class of the current pagefragment, from where I'm calling the url view activity. Then only the scope is available. Now it is working. Thanks for the reply.

  • RELEVANCY SCORE 2.17

    DB:2.17:Adf 11g: Get Return Value From Af:Region df


    Hello,

    I have a dialog box with a integrated af:region. This region use a bounded taskflow and a page fragment (.jsff).
    Setting input values within the region works fine. For the return of any value from the region I could not find a working solution.

    My working environment:
    jDeveloper 11g, ADF Rich Faces

    Start of the popup:
    af:popup id="AUERExportDialog"
    af:dialog title="AUER-Export" type="okCancel"
    dialogListener="#{backing_ps_ao_bearbeiten.dialogListenerAuerExport}"
    af:region value="#{bindings.AuerExport1.regionModel}" id="AuerE1"/
    /af:dialog
    /af:popup

    Page definition:
    executables
    taskFlow id="AuerExport1" taskFlowId="/WEB-INF/AuerExport.xml#AuerExport"
    xmlns="http://xmlns.oracle.com/adf/controller/binding"
    parameters
    parameter id="auerDateiname" value="#{bindings.auerDateiname}"
    xmlns="http://xmlns.oracle.com/adfm/uimodel"/
    parameter id="auerProjektPfad" value="#{bindings.auerProjektPfad}"
    xmlns="http://xmlns.oracle.com/adfm/uimodel"/
    /parameters
    /taskFlow

    Taskflow definition:
    ?xml version="1.0" encoding="windows-1252" ?
    adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2"
    task-flow-definition id="AuerExport"
    default-activityAuerExportView/default-activity
    data-control-scope
    shared/
    /data-control-scope
    input-parameter-definition
    nameauerDateiname/name
    value#{pageFlowScope.auerDateiname}/value
    classjava.lang.String/class
    required/
    /input-parameter-definition
    return-value-definition
    nameauerProjektPfad/name
    value#{pageFlowScope.auerProjektPfad}/value
    classjava.lang.String/class
    /return-value-definition
    return-value-definition
    nameauerDateiname/name
    value#{pageFlowScope.auerDateiname}/value
    classjava.lang.String/class
    /return-value-definition
    view id="AuerExportView"
    page/ps_auer_export.jsff/page
    /view
    use-page-fragments/
    /task-flow-definition
    /adfc-config

    Reading the Value from the BackingBean:
    System.out.println("Get Return Value: " + JSFUtils.resolveExpression("#{pageFlowScope.auerDateiname}").toString());

    Can anyone provide me a hint working with such return values from a region within a BackingBean?

    regards
    Markus

    DB:2.17:Adf 11g: Get Return Value From Af:Region df

    Hi,

    a region doesn't return data. For this you use contextual events as described in

    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/web_adv.htm#CACJBFGI

    Alternatively you can write it to an attribute in View scope (or a managed bean property in view scope), but then you need to look yourself at how the parent container is notified about the return event

    Frank

  • RELEVANCY SCORE 2.17

    DB:2.17:Adfc-0619: Authorization Check Failed: 'Oracle.Jbo.Uicli.Binding.Juformd m3


    JDev version : 11.1.1.4
    WLS : 10.3.4

    Hi All,

    Recently we have migrated JDev from 11.1.1.3 to 11.1.1.4 and WLS from 10.3.3 to 10.3.4. We had security enabled in our application and use to work without any issues in our previous version (before migration). We are getting below error after migration and not able to access our application.

    Error 500--Internal Server Error
    oracle.adf.controller.security.AuthorizationException: ADFC-0619: Authorization check failed: 'oracle.jbo.uicli.binding.JUFormDef@d856cd' 'VIEW'.We get this exception as soon as log in is successful. We have tried with different users including administrator who has complete permissions but got same exception. Note that same application is working in previous version.
    Please help us in resolving this issue. Below I have mentioned complete stack trace.

    More details:

    Policy store : jaxz-data.xml
    Identity store : integrated WLS LDAP
    WLS : standalone WLS

    Error 500--Internal Server Error
    oracle.adf.controller.security.AuthorizationException: ADFC-0619: Authorization check failed: 'oracle.jbo.uicli.binding.JUFormDef@d856cd' 'VIEW'.
    at oracle.adf.controller.internal.security.AuthorizationEnforcer.handleFailure(AuthorizationEnforcer.java:180)
    at oracle.adf.controller.internal.security.AuthorizationEnforcer.internalCheckPermission(AuthorizationEnforcer.java:160)
    at oracle.adf.controller.internal.security.AuthorizationEnforcer.checkPermission(AuthorizationEnforcer.java:114)
    at oracle.adfinternal.controller.state.ControllerState.checkPermission(ControllerState.java:632)
    at oracle.adfinternal.controller.state.ControllerState.initializeUrl(ControllerState.java:669)
    at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart2(ControllerState.java:447)
    at oracle.adfinternal.controller.application.SyncNavigationStateListener.afterPhase(SyncNavigationStateListener.java:46)
    at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.afterPhase(ADFLifecycleImpl.java:531)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:120)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:168)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchAfterPagePhaseEvent(ADFPhaseListener.java:124)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:70)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:398)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    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)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
    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(Native Method)
    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:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)Thanks,
    Ravindra

    DB:2.17:Adfc-0619: Authorization Check Failed: 'Oracle.Jbo.Uicli.Binding.Juformd m3

    What we observed is that non of our application security policies are getting migrated to system-jazn-data.xml file during deployment. This was working in previous version.

    weblogic-application.xml file contents:
    ?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 http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-application"
    xml
    parser-factory
    saxparser-factoryoracle.xml.jaxp.JXSAXParserFactory/saxparser-factory
    document-builder-factoryoracle.xml.jaxp.JXDocumentBuilderFactory/document-builder-factory
    transformer-factoryoracle.xml.jaxp.JXSAXTransformerFactory/transformer-factory
    /parser-factory
    /xml
    application-param
    param-namejps.credstore.migration/param-name
    param-valueOVERWRITE/param-value
    /application-param
    application-param
    param-namejps.policystore.migration/param-name
    param-valueOVERWRITE/param-value
    /application-param
    listener
    listener-classoracle.communications.brm.pdc.server.common.PricingApplicationLifeCycleListener/listener-class
    /listener
    listener
    listener-classoracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener/listener-class
    /listener
    listener
    listener-classoracle.mds.lcm.weblogic.WLLifecycleListener/listener-class
    /listener
    listener
    listener-classoracle.security.jps.wls.listeners.JpsApplicationLifecycleListener/listener-class
    /listener
    listener
    listener-classoracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener/listener-class
    /listener
    library-ref
    library-nameadf.oracle.domain/library-name
    /library-ref
    library-ref
    library-nameoracle.jsp.next/library-name
    /library-ref
    /weblogic-application

  • RELEVANCY SCORE 2.17

    DB:2.17:Only See Partial Display Of Storefrontmodule Home Page 1j


    I am trying to get the FOD sample application up on 11g. From Weblogic em, all servers are up and everything seem working fine until I access the StorFrontModule/faces/home page in which I don;t see all hot ietms displayed. The WLS_SOA1.log shows a java.lang.NullPointerException. Any help is appreciated.

    ####Mar 28, 2010 11:56:15 AM PDT Warning oracle.adf.controller.internal.metadata.MetadataService obie-as1 WLS_SOA1 [ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)' anonymous 1269802575410 BEA-000000 ADFc: /WEB-INF/adfc-config.xml:
    ####Mar 28, 2010 11:56:15 AM PDT Warning oracle.adf.controller.internal.metadata.MetadataService obie-as1 WLS_SOA1 [ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)' anonymous 1269802575411 BEA-000000 ADFc: Duplicate managed bean definition for 'homePageBean' detected.
    ####Mar 28, 2010 11:56:15 AM PDT Warning oracle.adf.controller.internal.metadata.MetadataService obie-as1 WLS_SOA1 [ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)' anonymous 1269802575412 BEA-000000 ADFc: /WEB-INF/adfc-config.xml:
    ####Mar 28, 2010 11:56:15 AM PDT Warning oracle.adf.controller.internal.metadata.MetadataService obie-as1 WLS_SOA1 [ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)' anonymous 1269802575413 BEA-000000 ADFc: Duplicate managed bean definition for 'userInfoBean' detected.
    ####Mar 28, 2010 11:56:15 AM PDT Warning oracle.adf.controller.internal.metadata.MetadataService obie-as1 WLS_SOA1 [ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)' anonymous 1269802575414 BEA-000000 ADFc: /WEB-INF/adfc-config.xml:
    ####Mar 28, 2010 11:56:15 AM PDT Warning oracle.adf.controller.internal.metadata.MetadataService obie-as1 WLS_SOA1 [ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)' anonymous 1269802575415 BEA-000000 ADFc: Duplicate managed bean definition for 'orderPageBean' detected.
    ####Mar 28, 2010 11:56:15 AM PDT Warning oracle.adf.controller.internal.metadata.MetadataService obie-as1 WLS_SOA1 [ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)' anonymous 1269802575417 BEA-000000 ADFc: /WEB-INF/adfc-config.xml:
    ####Mar 28, 2010 11:56:15 AM PDT Warning oracle.adf.controller.internal.metadata.MetadataService obie-as1 WLS_SOA1 [ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)' anonymous 1269802575418 BEA-000000 ADFc: Duplicate managed bean definition for 'shoppingCartBean' detected.
    ####Mar 28, 2010 11:56:42 AM PDT Warning oracle.adf.controller.faces.lifecycle.Utils obie-as1 WLS_SOA1 [ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)' anonymous 1269802602685 BEA-000000 ADF: Adding the following JSF error message: Unexpected exception caught: java.lang.NullPointerException, msg=null
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
    at oracle.adf.model.binding.DCIteratorBinding.reportException(DCIteratorBinding.java:373)
    at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1671)
    at oracle.adf.model.binding.DCIteratorBinding.internalGetRowSetIterator(DCIteratorBinding.java:1631)
    at oracle.adf.model.binding.DCIteratorBinding.setRangeSize(DCIteratorBinding.java:3307)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3115)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2791)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:112)
    at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:21)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:231)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:267)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:71)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:364)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    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:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    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:94)
    at java.security.AccessController.doPrivileged(Native Method)
    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.doFilter(JpsAbsFilter.java:138)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
    at java.security.AccessController.doPrivileged(Native Method)
    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.doFilter(JpsAbsFilter.java:138)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
    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.run(WebAppServletContext.java:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ####Mar 28, 2010 11:56:50 AM PDT Error HTTP obie-as1 WLS_SOA1 [ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)' WLS Kernel 1269802610131 BEA-101020 [ServletContext@1910032025[app:StoreFrontModule module:StoreFrontModule path:/StoreFrontModule spec-version:2.5 version:V2.0]] Servlet failed with Exception
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
    at oracle.adf.model.binding.DCIteratorBinding.reportException(DCIteratorBinding.java:373)
    at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1671)
    at oracle.adf.model.binding.DCIteratorBinding.internalGetRowSetIterator(DCIteratorBinding.java:1631)
    at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:4295)
    at oracle.adf.model.binding.DCExecutableBinding.refreshIfNeeded(DCExecutableBinding.java:341)
    at oracle.adf.model.binding.DCIteratorBinding.internalGetCurrentRowInBinding(DCIteratorBinding.java:2184)
    at oracle.jbo.uicli.binding.JUIteratorBinding.internalGetCurrentRowInBinding(JUIteratorBinding.java:501)
    at oracle.adf.model.binding.DCIteratorBinding.getCurrentRow(DCIteratorBinding.java:2171)
    at oracle.adf.model.binding.DCControlBinding.getCurrentRow(DCControlBinding.java:388)
    at oracle.jbo.uicli.binding.JUControlBinding.getCurrentRow(JUControlBinding.java:98)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGetRow(JUCtrlValueBinding.java:1288)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValue(JUCtrlValueBinding.java:2693)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValue(JUCtrlValueBinding.java:2682)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.getInputValue(FacesCtrlAttrsBinding.java:185)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGet(JUCtrlValueBinding.java:2274)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.internalGet(FacesCtrlAttrsBinding.java:277)
    at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:750)
    at javax.el.MapELResolver.getValue(MapELResolver.java:164)
    at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)

    at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelBoxRenderer.getText(PanelBoxRenderer.java:482)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelBoxRenderer.encodeAll(PanelBoxRenderer.java:198)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:402)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:651)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:570)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
    at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:327)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
    at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer.access$100(ShowDetailItemRenderer.java:31)
    at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer$ChildEncoderCallback.processComponent(ShowDetailItemRenderer.java:492)
    at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer$ChildEncoderCallback.processComponent(ShowDetailItemRenderer.java:465)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
    at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
    at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer._encodeChildren(ShowDetailItemRenderer.java:407)
    at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer.encodeAll(ShowDetailItemRenderer.java:114)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    .....

    DB:2.17:Only See Partial Display Of Storefrontmodule Home Page 1j

    I am trying to get the FOD sample application up on 11g. From Weblogic em, all servers are up and everything seem working fine until I access the StorFrontModule/faces/home page in which I don;t see all hot ietms displayed. The WLS_SOA1.log shows a java.lang.NullPointerException. Any help is appreciated.

    ####Mar 28, 2010 11:56:15 AM PDT Warning oracle.adf.controller.internal.metadata.MetadataService obie-as1 WLS_SOA1 [ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)' anonymous 1269802575410 BEA-000000 ADFc: /WEB-INF/adfc-config.xml:
    ####Mar 28, 2010 11:56:15 AM PDT Warning oracle.adf.controller.internal.metadata.MetadataService obie-as1 WLS_SOA1 [ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)' anonymous 1269802575411 BEA-000000 ADFc: Duplicate managed bean definition for 'homePageBean' detected.
    ####Mar 28, 2010 11:56:15 AM PDT Warning oracle.adf.controller.internal.metadata.MetadataService obie-as1 WLS_SOA1 [ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)' anonymous 1269802575412 BEA-000000 ADFc: /WEB-INF/adfc-config.xml:
    ####Mar 28, 2010 11:56:15 AM PDT Warning oracle.adf.controller.internal.metadata.MetadataService obie-as1 WLS_SOA1 [ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)' anonymous 1269802575413 BEA-000000 ADFc: Duplicate managed bean definition for 'userInfoBean' detected.
    ####Mar 28, 2010 11:56:15 AM PDT Warning oracle.adf.controller.internal.metadata.MetadataService obie-as1 WLS_SOA1 [ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)' anonymous 1269802575414 BEA-000000 ADFc: /WEB-INF/adfc-config.xml:
    ####Mar 28, 2010 11:56:15 AM PDT Warning oracle.adf.controller.internal.metadata.MetadataService obie-as1 WLS_SOA1 [ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)' anonymous 1269802575415 BEA-000000 ADFc: Duplicate managed bean definition for 'orderPageBean' detected.
    ####Mar 28, 2010 11:56:15 AM PDT Warning oracle.adf.controller.internal.metadata.MetadataService obie-as1 WLS_SOA1 [ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)' anonymous 1269802575417 BEA-000000 ADFc: /WEB-INF/adfc-config.xml:
    ####Mar 28, 2010 11:56:15 AM PDT Warning oracle.adf.controller.internal.metadata.MetadataService obie-as1 WLS_SOA1 [ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)' anonymous 1269802575418 BEA-000000 ADFc: Duplicate managed bean definition for 'shoppingCartBean' detected.
    ####Mar 28, 2010 11:56:42 AM PDT Warning oracle.adf.controller.faces.lifecycle.Utils obie-as1 WLS_SOA1 [ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)' anonymous 1269802602685 BEA-000000 ADF: Adding the following JSF error message: Unexpected exception caught: java.lang.NullPointerException, msg=null
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
    at oracle.adf.model.binding.DCIteratorBinding.reportException(DCIteratorBinding.java:373)
    at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1671)
    at oracle.adf.model.binding.DCIteratorBinding.internalGetRowSetIterator(DCIteratorBinding.java:1631)
    at oracle.adf.model.binding.DCIteratorBinding.setRangeSize(DCIteratorBinding.java:3307)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3115)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2791)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:112)
    at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:21)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:231)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:267)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:71)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:364)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    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:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    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:94)
    at java.security.AccessController.doPrivileged(Native Method)
    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.doFilter(JpsAbsFilter.java:138)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
    at java.security.AccessController.doPrivileged(Native Method)
    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.doFilter(JpsAbsFilter.java:138)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
    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.run(WebAppServletContext.java:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ####Mar 28, 2010 11:56:50 AM PDT Error HTTP obie-as1 WLS_SOA1 [ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)' WLS Kernel 1269802610131 BEA-101020 [ServletContext@1910032025[app:StoreFrontModule module:StoreFrontModule path:/StoreFrontModule spec-version:2.5 version:V2.0]] Servlet failed with Exception
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
    at oracle.adf.model.binding.DCIteratorBinding.reportException(DCIteratorBinding.java:373)
    at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1671)
    at oracle.adf.model.binding.DCIteratorBinding.internalGetRowSetIterator(DCIteratorBinding.java:1631)
    at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:4295)
    at oracle.adf.model.binding.DCExecutableBinding.refreshIfNeeded(DCExecutableBinding.java:341)
    at oracle.adf.model.binding.DCIteratorBinding.internalGetCurrentRowInBinding(DCIteratorBinding.java:2184)
    at oracle.jbo.uicli.binding.JUIteratorBinding.internalGetCurrentRowInBinding(JUIteratorBinding.java:501)
    at oracle.adf.model.binding.DCIteratorBinding.getCurrentRow(DCIteratorBinding.java:2171)
    at oracle.adf.model.binding.DCControlBinding.getCurrentRow(DCControlBinding.java:388)
    at oracle.jbo.uicli.binding.JUControlBinding.getCurrentRow(JUControlBinding.java:98)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGetRow(JUCtrlValueBinding.java:1288)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValue(JUCtrlValueBinding.java:2693)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValue(JUCtrlValueBinding.java:2682)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.getInputValue(FacesCtrlAttrsBinding.java:185)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGet(JUCtrlValueBinding.java:2274)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.internalGet(FacesCtrlAttrsBinding.java:277)
    at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:750)
    at javax.el.MapELResolver.getValue(MapELResolver.java:164)
    at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)

    at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelBoxRenderer.getText(PanelBoxRenderer.java:482)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelBoxRenderer.encodeAll(PanelBoxRenderer.java:198)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:402)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:651)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:570)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
    at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:327)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
    at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer.access$100(ShowDetailItemRenderer.java:31)
    at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer$ChildEncoderCallback.processComponent(ShowDetailItemRenderer.java:492)
    at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer$ChildEncoderCallback.processComponent(ShowDetailItemRenderer.java:465)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
    at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
    at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer._encodeChildren(ShowDetailItemRenderer.java:407)
    at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer.encodeAll(ShowDetailItemRenderer.java:114)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    .....

  • RELEVANCY SCORE 2.17

    DB:2.17:Can Not Redirect To Other Page When Using Adfc-Config.Xml In Standalone Wl a7


    Hi all,
    I created a very simple fusion app, only have two jspx pages(view1 view2). I drag these two pages to adfc-config file and created a control flow(adfcView2) between these two pages.

    +?xml version="1.0" encoding="UTF-8" ?+
    +adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2"+
    +view id="view1"+
    +page/view1.jspx/page+
    +/view+
    +view id="view2"+
    +page/view2.jspx/page+
    +/view+
    +control-flow-rule+
    +from-activity-idview1/from-activity-id+
    +control-flow-case+
    +from-outcomeadfcView2/from-outcome+
    +to-activity-idview2/to-activity-id+
    +/control-flow-case+
    +/control-flow-rule+
    +/adfc-config+

    When I run the view1.jspx in the embeded WL, all go well, can navigate from view1 to view2.

    But when I created an ear and deployed this ear to a standalone WL, view1 can be displayed successfully, but when I clicked one commandbutton in view1, want to navigator to view2, the page can not be redirected to view2(still show view1.jspx). there is no any error msg in WL Console.

    Did I miss anything for deploying a taskflow app? If I change the view controller to faces-config.xml not adfc-config.xml, all work fine.
    Any info is appreciated.

    Edited by: harth on Oct 25, 2009 7:21 PM

  • RELEVANCY SCORE 2.17

    DB:2.17:Getting Exception Adfc-06001: Taskflowid Only After Deploying sx


    Hi,

    I have developed my app in jdeveloper, and now I am in the process of trying to deploy it on Tomcat 6.

    My question may or may not be Tomcat related, I'm not sure, but I don't think so.

    I have dynamic regions all over my application. I have an region where it called a managed bean, that returns one of many task flows, depending on what link was selected in my page.

    All of my dynamic region-related functionality works just fine in JDeveloper.

    When I deploy it, I am getting errors when running it on Tomcat.

    The error I am getting is:

    *oracle.adf.controller.ControllerException: ADFC-06001: TaskFlowId '#{viewScope.MenuBarDynamicRegion.dynamicTaskFlowId}' is invalid.*
    *at oracle.adf.controller.TaskFlowId.doParse(TaskFlowId.java:248)*
    *at oracle.adf.controller.TaskFlowId.parse(TaskFlowId.java:223)*
    *at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getTaskFlowId(DCTaskFlowBinding.java:821)*
    *at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getViewPort(DCTaskFlowBinding.java:246)*
    *at oracle.adf.controller.internal.binding.TaskFlowRegionModel.doProcessBeginRegion(TaskFlowRegionModel.java:160)*
    *at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:108)*
    *at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:197)*
    *at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:119)*
    *at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3143)*
    *at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2845)*
    *at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:112)*
    *at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)*
    *at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)*
    *at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:21)*
    *at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:231)*
    *at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$4.after(ADFPhaseListener.java:351)*
    *at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:71)*
    *at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)*
    *at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:364)*
    *at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)*
    *at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)*
    *at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)*
    *at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)*
    *at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)*
    *at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)*
    *at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)*
    *at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)*
    *at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)*
    *at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)*
    *at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)*
    *at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)*
    *at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)*
    *at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)*
    *at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)*
    *at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)*
    *at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)*
    *at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)*
    *at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)*
    *at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)*
    *at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)*
    *at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)*
    *at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)*
    *at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)*
    *at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)*
    *at java.lang.Thread.run(Unknown Source)*

    It seems as though the rest of my dynamic regions are working as planned (set them up all the same way), but I am having problems with this particular one.

    I have followed the suggestions in the other threads that deal with this exception. I have changed my scope, I have removed the reference from adf-config, and all that.

    I cannot figure out why I am getting this error. I also tried to add a reference to a 'working' dynamic region bean in the place of one that isn't, and am getting the error there as well.

    Does any one have any ideas?

    Thanks,

    Joel

    update: I realized that I am having issue with all of my dynamic regions after I deploy...

    Edited by: JRolls on Jan 24, 2011 1:59 PM

    DB:2.17:Getting Exception Adfc-06001: Taskflowid Only After Deploying sx

    some thing like this u may used.

    check this.

    private String listTaskFlowId = "/WEB-INF/list-flow.xml#list-flow";
    private String formTaskFlowId = "/WEB-INF/form-flow.xml#form-flow";
    private String currentTF = "list";

    public DynamicRegion() {
    }

    public TaskFlowId getDynamicTaskFlowId() { // so here is the problem i think so it doesnot rreturning the values.
    if (this.getCurrentTF().equalsIgnoreCase("list"))
    return TaskFlowId.parse(listTaskFlowId);
    else
    return TaskFlowId.parse(formTaskFlowId);

    }

    some thread : u already had this: Calling a bounded task flow that contains a dynamic region

  • RELEVANCY SCORE 2.17

    DB:2.17:How To Get Taskflowid / Viewid? 97


    Hi all,

    how can I get taskFlowId / viewId from taskflow which is dropped on page as region?

    I tried something using af:clientAttribute but with strange behavior.
    It works fine only first time when I get on page that contains region. After navigation inside region it doesn't work until I refresh using browser refresh button.

    Thanks in advance.

    DB:2.17:How To Get Taskflowid / Viewid? 97

    user10781493,
    that could be an option but I need to do that on template (all pages use it), where problem is how to put it in any scope.

    Simon,
    need both of them and need them in the containing view.

    Thanks both for reply.

  • RELEVANCY SCORE 2.16

    DB:2.16:Moss 2007 Applied Adfs - Document Not Opening In Office 2003 9f


    Hi All,
    We have applied the ADFC successfuly on our Moss 2007 environment. But we are not able to open the document in Office 2003 component.
    But all the document are getting open in Office 2007 component. Any help or work around?manoj.verma

    DB:2.16:Moss 2007 Applied Adfs - Document Not Opening In Office 2003 9f

    Hi,

    Do you mean you applied the ADFC or ADFS on the Moss 2007?

    Since you can open the document in office 2007, why it must be open in office 2003?
    Is there some important thing needed to use office 2003?

    The cause of this issue may due to the
    compatibility between the office 2003 and Moss 2007, please do as follows:
    http://www.sharepointusecases.com/index.php/2008/08/office-2003-and-sharepoint-2007-comparision/.

    The other possible cause may be the configuration of the ADFS(if you mean ADFS), please check the steps of configuration:
    http://technet.microsoft.com/en-us/library/cc262696(office.12).aspx.

    If there is any confusion, please feel free to post in the forum.

    Best Regards!
    Leo Sun

  • RELEVANCY SCORE 2.16

    DB:2.16:Problem In Bpm Workspace When Selecting Multiple Tasks From A Customized View j3


    Hi everyone, In BPM Workspace, I have created a new view for a specific task type and I have the link under "My Views". When I want to select more than one task, using ctrl+click, and I click the second task, I get the following error: Error oracle.adfinternal.controller.application.AdfcExceptionHandler ADFC-50016 ADFc: While handling an exception the application's exception handler threw a new exception.javax.el.ELException: java.lang.NullPointerException at com.sun.el.parser.AstValue.invoke(AstValue.java:191) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)Does anyone have any idea why?

    DB:2.16:Problem In Bpm Workspace When Selecting Multiple Tasks From A Customized View j3

    HiI am getting the same problem, did you find any solution for it?Version 11.1.1.7, this issue not occurs in the previous version... 11.1.1.6Thank youWilson

  • RELEVANCY SCORE 2.16

    DB:2.16:Facing Problem While Provisioning a1


    Hi All,
    I am getting an exception while provisioning saying that...
    Exception :
    "ADFC-06002: unhandled exception
    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, #12"

    I am getting the above exception at the time of checkout of CATALOG(When i click on Checkout).

    Help me to solve dis problem.

    Regards,
    Trainee

    DB:2.16:Facing Problem While Provisioning a1

    Did you create any form for your App Instance ?

    Did you click Ready to Submit button explicitly and tried, even if that doesn't work, Try below steps:

    1. Create Sandbox
    2. Add new form for your App Instance (if you have attached form with your form instance)
    3. Publish your Sandbox
    4. Run Synchronization Scheduler
    5. Logout and Login Again and Test

  • RELEVANCY SCORE 2.16

    DB:2.16:Oam 11g Issue x3


    Hi Experts,

    I am getting the below errors in Weblogic Admin Server Logs when i open Oracle Access Manager 11g Admin Console. OAM is configured to run on NON SSL. And i have only one User Identity Store which is Weblogic (Embedded LDAP Store)..

    ==================================================================================================
    ==================================================================================================
    ==================================================================================================
    ==================================================================================================

    May 29, 2012 11:18:27 AM IST Notice WebLogicServer BEA-000365 Server state changed to RUNNING
    May 29, 2012 11:18:27 AM IST Notice WebLogicServer BEA-000360 Server started in RUNNING mode

    May 29, 2012 11:20:04 AM IST Error Default BEA-000000 Failed to communicate with any of configured Access Server, ensure that it is up and running.
    May 29, 2012 11:20:04 AM IST Warning oracle.oam.agent-default OAMAGENT-00410 OAM Server can not be accessed, fallback to container policy: fetchConfig failed, will keep trying ...
    May 29, 2012 11:20:05 AM IST Error Default BEA-000000 Failed to communicate with any of configured Access Server, ensure that it is up and running.
    May 29, 2012 11:20:16 AM IST Error org.apache.beehive.netui.pageflow.internal.AdapterManager BEA-000000 ServletContainerAdapter manager not initialized correctly.
    May 29, 2012 11:20:42 AM IST Warning Socket BEA-000441 Unable to find internal data record for the socket 1020, with IO completion result false
    May 29, 2012 11:20:42 AM IST Warning Socket BEA-000441 Unable to find internal data record for the socket 1019, with IO completion result false
    May 29, 2012 11:20:42 AM IST Warning Socket BEA-000441 Unable to find internal data record for the socket 1018, with IO completion result false
    May 29, 2012 11:20:42 AM IST Warning Socket BEA-000441 Unable to find internal data record for the socket 1017, with IO completion result false
    May 29, 2012 11:23:00 AM IST Notice Security BEA-090171 Loading the identity certificate and private key stored under the alias DemoIdentity from the jks keystore file C:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\lib\DemoIdentity.jks.
    May 29, 2012 11:23:01 AM IST Notice Security BEA-090169 Loading trusted certificates from the jks keystore file C:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\lib\DemoTrust.jks.
    May 29, 2012 11:23:01 AM IST Notice Security BEA-090169 Loading trusted certificates from the jks keystore file C:\Java\JDK16~1.0_2\jre\lib\security\cacerts.
    May 29, 2012 11:23:01 AM IST Notice Security BEA-090898 Ignoring the trusted CA certificate "CN=Entrust Root Certification Authority - G2,OU=(c) 2009 Entrust\, Inc. - for authorized use only,OU=See www.entrust.net/legal-terms,O=Entrust\, Inc.,C=US". The loading of the trusted certificate li
    st raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.
    May 29, 2012 11:23:01 AM IST Notice Security BEA-090898 Ignoring the trusted CA certificate "CN=thawte Primary Root CA - G3,OU=(c) 2008 thawte\, Inc. - For authorized use only,OU=Certification Services Division,O=thawte\, Inc.,C=US". The loading of the trusted certificate list raised a cert
    ificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.
    May 29, 2012 11:23:01 AM IST Notice Security BEA-090898 Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 3,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsuppo
    rted OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.
    May 29, 2012 11:23:01 AM IST Notice Security BEA-090898 Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 2,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsuppo
    rted OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.
    May 29, 2012 11:23:01 AM IST Notice Security BEA-090898 Ignoring the trusted CA certificate "CN=GlobalSign,O=GlobalSign,OU=GlobalSign Root CA - R3". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.
    2.840.113549.1.1.11.
    May 29, 2012 11:23:01 AM IST Notice Security BEA-090898 Ignoring the trusted CA certificate "OU=Security Communication RootCA2,O=SECOM Trust Systems CO.\,LTD.,C=JP". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIden
    tifier object: 1.2.840.113549.1.1.11.
    May 29, 2012 11:23:01 AM IST Notice Security BEA-090898 Ignoring the trusted CA certificate "CN=VeriSign Universal Root Certification Authority,OU=(c) 2008 VeriSign\, Inc. - For authorized use only,OU=VeriSign Trust Network,O=VeriSign\, Inc.,C=US". The loading of the trusted certificate lis
    t raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.
    May 29, 2012 11:23:01 AM IST Notice Security BEA-090898 Ignoring the trusted CA certificate "CN=KEYNECTIS ROOT CA,OU=ROOT,O=KEYNECTIS,C=FR". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.11
    3549.1.1.11.
    May 29, 2012 11:23:01 AM IST Notice Security BEA-090898 Ignoring the trusted CA certificate "CN=GeoTrust Primary Certification Authority - G3,OU=(c) 2008 GeoTrust Inc. - For authorized use only,O=GeoTrust Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing e
    xception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.
    May 29, 2012 11:24:15 AM IST Warning oracle.adf.controller.internal.metadata.MetadataService BEA-000000 ADFc: /WEB-INF/adfc-config.xml:
    May 29, 2012 11:24:15 AM IST Warning oracle.adf.controller.internal.metadata.MetadataService ADFC-52024 ADFc: Duplicate managed bean definition for 'accessCheck' detected.
    May 29, 2012 11:24:18 AM IST Warning oracle.jps.idmgmt JPS-01520 Cannot initialize identity store.
    java.lang.RuntimeException: java.security.PrivilegedActionException: oracle.security.jps.service.idstore.IdentityStoreException: JPS-01520: Cannot initialize identity store.
    at oracle.adf.share.security.providers.jps.JpsUtil.getDefaultIdentityStore(JpsUtil.java:339)
    at oracle.adf.share.security.providers.jps.JpsIdentityManagementProvider.initialize(JpsIdentityManagementProvider.java:90)
    at oracle.adf.share.security.providers.jps.JpsIdentityManagementProvider.init(JpsIdentityManagementProvider.java:69)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at oracle.adf.share.security.identitymanagement.UserManager.createObject(UserManager.java:42)
    at oracle.adf.share.security.identitymanagement.UserManager.init(UserManager.java:102)
    at oracle.adf.share.security.identitymanagement.UserManager.init(UserManager.java:80)
    at oracle.adf.share.security.identitymanagement.UserProfile.clinit(UserProfile.java:63)
    at oracle.security.am.admin.console.beans.OAMSecurityContextImpl.getUserProfile(OAMSecurityContextImpl.java:139)
    at oracle.adf.share.ADFContext.getEnterpriseId(ADFContext.java:785)
    at oracle.javatools.resourcebundle.AppBundleInfoFactoryRT.createAppBundleInfo(AppBundleInfoFactoryRT.java:59)
    at oracle.javatools.resourcebundle.ResourceBundleUtils.getAppBundleInfo(ResourceBundleUtils.java:337)
    at oracle.javatools.resourcebundle.BundleFactory.getMap(BundleFactory.java:87)
    at oracle.javatools.resourcebundle.BundleFactory.getBundle(BundleFactory.java:243)
    at oracle.idm.common.utils.SuperResourceBundle.setParent(SuperResourceBundle.java:334)
    at oracle.idm.common.utils.SuperResourceBundle.init(SuperResourceBundle.java:216)
    at oracle.idm.shell.context.ConfigManager.getModules(ConfigManager.java:115)
    at oracle.idm.shell.context.ShellContext.loadConfig(ShellContext.java:94)
    at oracle.idm.shell.context.ShellContext.init(ShellContext.java:84)
    at oracle.idm.shell.context.Shell.init(Shell.java:38)
    at com.sun.el.parser.AstValue.getValue(Unknown Source)
    at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    Caused by: java.security.PrivilegedActionException: oracle.security.jps.service.idstore.IdentityStoreException: JPS-01520: Cannot initialize identity store.
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.adf.share.security.providers.jps.JpsUtil.getDefaultIdentityStore(JpsUtil.java:334)
    ... 128 more
    Caused by: oracle.security.jps.service.idstore.IdentityStoreException: JPS-01520: Cannot initialize identity store.
    at oracle.security.jps.internal.idstore.util.IdentityStoreUtil.getIdentityStoreFactory(IdentityStoreUtil.java:168)
    at oracle.security.jps.internal.idstore.AbstractIdmIdentityStore.getIdmFactory(AbstractIdmIdentityStore.java:174)
    at oracle.security.jps.internal.idstore.AbstractIdmIdentityStore.initStore(AbstractIdmIdentityStore.java:124)
    at oracle.security.jps.internal.idstore.AbstractIdmIdentityStore.getIdmStore(AbstractIdmIdentityStore.java:110)
    at oracle.adf.share.security.providers.jps.actions.IdmStoreAction.run(IdmStoreAction.java:46)
    ... 130 more
    May 29, 2012 11:24:24 AM IST Warning oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer ADF_FACES-60099 The region component with id: pt1:_lar has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.
    May 29, 2012 11:24:34 AM IST Warning oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer ADF_FACES-60099 The region component with id: pt1:_lar has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.

    ==================================================================================================
    ==================================================================================================
    ==================================================================================================
    ==================================================================================================

    And also, after successful login into OAM 11g Admin Console, I am getting the below pop-up when i navigate to the System Configuration -- Plugins.

    javax.el.ELException: java.lang.NoClassDefFoundError: Could not initialize class oracle.security.am.extensibility.lifecycle.api.PluginConfigManager

    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

    Thanks in Advance.

    DB:2.16:Oam 11g Issue x3

    hi Sandy,

    Probably you are facing the same issue that I had before. Please go to metalink and check this note: OAM 11g: Search For User Sessions In OAM Console Session Management Page Gives Error [ID 1446568.1]

    I hope this helps,
    Thiago Leoncio.

  • RELEVANCY SCORE 2.16

    DB:2.16:Returning From A Dialog Invoked Via 'Dialog:Syntax' Throws Adfc-12001 cs


    +(JDev 11gR1 Studio Edition Version 11.1.1.2.0)+

    I'm using the "dialog:syntax" to invoke an inline popup dialog that executes a bounded task flow. (See [Running a Bounded Task Flow in a Modal Dialog|http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/taskflows_dialogs.htm#CHDCBFHB] and [How to Define a JSF Navigation Rule for Opening a Dialog|http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/taskflows_dialogs.htm#BABDAFDH].)

    To close the dialog from within the Dialog Page, I'm using an af:returnActionListener / within an af:commandButton/, as recommended in [How to Return a Value From a Modal Dialog|http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/taskflows_dialogs.htm#CHDBABHE].

    +!-- Inside the dialog page: closes the dialog, sets the return value on the ReturnEvent --+
    +af:commandButton text="Close" +
    +af:returnActionListener value="someReturnValue" /+
    +/af:commandButton+

    The good news: af:returnActionListener / works as expected. The bad news: this exception goes into the server log every time the dialog is closed:

    *"ADFC-12001: The ADF Controller is attempting to pop last entry from page flow scope stack"*

    [This related thread|http://forums.oracle.com/forums/thread.jspa?messageID=4032550tstart=0] mentions the same exception, but doesn't shed any light on using af:returnActionListener /. Is the use of af:returnActionListener / only viable when invoking an external window dialog, perhaps? For what its worth, this happens irregardless of whether 'immedate=true' is set on the close button.

    As a work-around, I've found that I can use the button's action make a call to a task-flow-return (instead of using an af:returnActionListener /. If I do this, the dialog will close without error. But this is less convenient, since it requires more task flow configuration, and I can't specify a return value.

    +!-- Inside the dialog page: this workaround closes the dialog by calling a task-flow-return --+
    +af:commandButton id="cmdCancel" text="Cancel" action="cancel" /+

    I'd prefer to use the recommended technique, but how do I avoid the logged exception?

    DB:2.16:Returning From A Dialog Invoked Via 'Dialog:Syntax' Throws Adfc-12001 cs

    Following up...

    I dropped "dialog:" from the navigation case name because we're not using external dialogs, just inline popups. As per the How-to article I just mentioned, I see that using a task flow return is the preferred mechanism, and there is no mention of af:returnActionListener.

    I'd like to recommend that the Fusion Developer Guide and tag docs be updated to clarify that af:returnActionListener is only intended for external window dialogs.

    Regards,

    Mark

  • RELEVANCY SCORE 2.16

    DB:2.16:Split A Large Fusion Application Into Two View Projects kf


    Hi there;

    I'm trying to split an large web fusion application into two smaller, but facing some problems that I'm speending lot of time to solve;

    Let see;

    Thirst of all I had this problem Re: (please urgent) two web modules , but only one run at the same time Muhammed Soyer was fully right and it works with other smaller web projects, with just one adf task flow and one view jspx; that I've made to studies propose;

    Now after I reproduce the same steps in my real project ( I mean renaming the DataBindings.cpx and rename all pagesDef id's from one of my real application );

    I'm facing a new challenge, now; uggh

    Running the first application, all seeans to be ok. It browse the login page , and works good as expected;

    But;

    when we try to point the second application posting it's url into the browser it appears to not reach the adf-task-flow ( adfc-config ) and raises this error

    *12/10/2009 11:40:20 UNEXPECTED_CLIENT_OBJECT_TYPE oracle.adf.controller.internal.metadata.xml.MetadataResourceXmlImpl*
    SEVERE: oracle.adf.controller.internal.metadata.xml.MetadataResourceXmlImpl
    12/10/2009 11h40min23s AMT Error HTTP BEA-101020 *[ServletContext@13510180[app:PlanejamentoRH module:OrhGerentes path:/OrhGerentes spec-version:2.5 version:V2.0]] Servlet failed with Exception*
    javax.el.PropertyNotFoundException: Target Unreachable, identifier 'ambienteBean' resolved to null
    at com.sun.el.parser.AstValue.getTarget(AstValue.java:67)
    at com.sun.el.parser.AstValue.isReadOnly(AstValue.java:126)
    at com.sun.el.ValueExpressionImpl.isReadOnly(ValueExpressionImpl.java:230)
    at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:400)
    at oracle.adfinternal.view.faces.renderkit.rich.FormElementRenderer.renderAsElement(FormElementRenderer.java:211)
    Truncated. see log file for complete stacktrace

    "ambienteBean is a session bean declared into second application's adfc-config"

    Is it related with adf security ? I do not using adf sercurity at all; (shame) but I do not configure any MDS security;

    How do I Solve it ?

    Thanks

    Marcos Ortega
    Brazil

    DB:2.16:Split A Large Fusion Application Into Two View Projects kf

    Hi Marcos,
    Is it an option for you to deploy each VC separately ? I mean create a deployment profile on each VC project and deploy them separately.
    As I understand your VC projects don't depend on each other...

    I am not sure about the legibility of the scenario that you are trying to run..

  • RELEVANCY SCORE 2.16

    DB:2.16:Re: Global Errror Page (Exception Handling) In Webcenter/Adf Application df


    Hi,What if you drag and drop your view (the error page) in your adfc-config file and mark it as Exception Handler?Let me know if it worked. Regards

    DB:2.16:Re: Global Errror Page (Exception Handling) In Webcenter/Adf Application df

    I am trying to use global error page for any kind of exception in a webcenter portal application. In my web.xml I have this - error-page exception-typejava.lang.Exception/exception-type location/faces/oracle/webcenter/portalapp/pages/error.jspx/location /error-pageOn my jspx page, I am using a managed bean to display some value, here is example bean: public class MyBean { private String value = null; public String getValue() { return value; } public void setValue(String value) { this.value = value; } public MyBean() throws MyAppException { calculateValue(); } public void calculateValue() throws MyAppException { try { // some business logic } catch (Exception e) { e.printStackTrace(); throw new MyAppException(); } setValue(1); } }Now here when I intentionally throw some exception in my business logic in managed bean, I was expecting user to see error page as per my configuration.However it's not working. It still shows same page without any content in browser but exception stack trace on console.Where I am wrong?Thanks.

  • RELEVANCY SCORE 2.16

    DB:2.16:Adf Security Problem 7j


    Hi all,

    I'm using JDeveloper 11g.

    I'm trying to implement security in my application. I've declared an Authentication Provider in my Weblogic realm which is a Read-only SQL Authentication provider. I can see my users and my groups from weblogic console.

    I've a login form which is working correctly. After login in I get the roles correctly executing session.getUserRoles().

    I've an ADMIN role defined in database, and I defined in jazn-data.xml that test.testPageDef is only granted for that role (VIEW action), but I get the following exception:

    oracle.adf.controller.security.AuthorizationException: ADFC-0619: Fallo de comprobacioacute;n de autorizacioacute;n: '/test/test.jspx' 'VIEW'.
    at oracle.adf.controller.internal.security.AuthorizationEnforcer.handleFailure(AuthorizationEnforcer.java:145)
    at oracle.adf.controller.internal.security.AuthorizationEnforcer.checkPermission(AuthorizationEnforcer.java:124)
    at oracle.adfinternal.controller.state.ControllerState.initializeUrl(ControllerState.java:639)
    at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart2(ControllerState.java:449)
    at oracle.adfinternal.controller.application.SyncNavigationStateListener.afterPhase(SyncNavigationStateListener.java:44

    Thank you

    Joseba

    DB:2.16:Adf Security Problem 7j

    Hi pedja,

    I've tried your solution and it's working fine.

    Thanks for your time.

    Regards

    Joseba

  • RELEVANCY SCORE 2.15

    DB:2.15:Fusion Order Demo: Cannot Instantiate Class .Wcbean 31


    Hi Guys,

    I am trying to run the Fusion Order Demo in JDeveloper that I downloaded from
    http://www.oracle.com/technetwork/middleware/webcenter/fod-for-webcenter-085231.html

    However I am getting the error:

    ]] Root cause of ServletException.
    oracle.adf.controller.ControllerException: ADFC-10001: cannot instantiate class 'oracle.fodemo.storefront.store.view.managed.WCBean'

    I am using JDeveloper 11.1.1.3.0

    Kind Regards

    Rob

    DB:2.15:Fusion Order Demo: Cannot Instantiate Class .Wcbean 31

    I am getting this error when trying to run a the view.jsp in a PortletProducer.

    ServerMessageswarningMBeanRegisterError Failed to register the web service Config MBeans for application: MyTutorialPortlet endpoint: Portlets the error is: oracle.as.jmx.framework.util.MissingConfigurationFileException: The configuration at URI "WEB-INF\oracle-webservices.xml" cannot be loaded.

  • RELEVANCY SCORE 2.15

    DB:2.15:Invoke A Method After User Signed In cf


    I secured my application with ADF Security. After the user signed in, I want to get some information from ViewObjects. I want to store these information in a session managed bean. I tried to use a HttpSessionListener but when I create the session managed bean I get an exception: oracle.adf.controller.ControllerException: ADFC-12013: Controller state has not been initialized for the current request. @Override public void sessionCreated(HttpSessionEvent event) { InitializerBean userBean = new InitializerBean(); userBean.init(); event.getSession().setAttribute("securityBean", userBean); }Furthermore the listener is called when a session is created and not only when a user signed in. JDev 11gR2

    DB:2.15:Invoke A Method After User Signed In cf

    For some reason I had a reference to that class in a listener element of the web.xml.

  • RELEVANCY SCORE 2.15

    DB:2.15:Adfc-02013: No Metadata Found For Activity 'Setregistration'. k8


    Hi All,

    Now when I am running my application and when I click on a link to navigate to another page, I am getting following error:-

    oracle.adf.controller.activity.ActivityLogicException: ADFC-02013: No metadata found for activity 'setRegistration'.
    at oracle.adfinternal.controller.util.Utils.createAndLogActivityLogicException(Utils.java:223)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:919)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:718)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:491)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:108)
    at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:86)
    at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:43)
    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)

    ~Vikram

    DB:2.15:Adfc-02013: No Metadata Found For Activity 'Setregistration'. k8

    Thanks Frank.You are always there.

    Though I have delete the setActivity, entry for the same was still there in the adfc-config.xml.

    control-flow-case
    from-outcomeSetRegistration/from-outcome
    to-activity-idsetRegistration/to-activity-id
    /control-flow-case

    and my link was refering to this.

    Vikram

  • RELEVANCY SCORE 2.15

    DB:2.15:Error In Launching Cloud Control 12c a9


    I have installed EM 12c running on Solaris 10 (SPARC), the installation completed successfully, however, after login in the console, getting following error
    ADFC-0619: Authorization check failed: 'oracle.jbo.uicli.binding.JUFormDef@10a2ec86' 'VIEW'.

    Any hints to solve this problem?

    Thanks/Michael

    DB:2.15:Error In Launching Cloud Control 12c a9

    Hi,

    Generally ADFC error for new installation occurs if some of the users were not created during the repository configuration task.

    After a successful installation following users should get created in repository database:

    SYSMAN
    SYSMAN_MDS
    MGMT_VIEW
    SYSMAN_RO
    SYSMAN_APM
    SYSMAN_OPSS
    BIP (if 'Oracle BI Publisher' is configured)

    + From repository database, execute the below query:
    SQL select username,account_status from dba_users where username like '%SYSMAN%';

    If this does not retrun all the users mentioned above, then the installation is not happened correctly. You need to follow the steps provided below:

    Action Plan:

    The Repository needs to be dropped and re-created along with the execution of all the Configuration Assistants. As there is no data loss and this is a new installation, the cleanest way to do this is by following the below steps:

    1. De-install this 12c Cloud Control using the steps in
    Note 1363418.1 : How To De-Install EM 12c Cloud Control

    2. Login to the Repository Database as sys or any DBA user and verify that all the repository objects have been dropped:
    SQL select username,account_status from dba_users where username in ('SYSMAN', 'SYSMAN_MDS','MGMT_VIEW','SYSMAN_BIP','SYSMAN_APM','BIP','SYSMAN_OPSS','SYSMAN_RO') ;

    SQL select owner,synonym_name from dba_synonyms where table_owner in ('SYSMAN', 'SYSMAN_MDS','MGMT_VIEW','SYSMAN_BIP','SYSMAN_APM','BIP','SYSMAN_OPSS','SYSMAN_RO') ;

    SQL select tablespace_name from dba_tablespaces where tablespace_name like 'MGMT%';

    SQL select comp_name from SCHEMA_VERSION_REGISTRY;

    None of the above queries should return any rows.

    3. Re-install the 12c Cloud Control

    Best Regards,
    Venkat

  • RELEVANCY SCORE 2.15

    DB:2.15:Enable Adf Scope Ha Support In Adf-Config.Xml j7


    Hi,We have installed OIM 11gR2 in HA mode.We enabled load balancer between 2 nodes of OIM. When we access OIM console with load balancer URL and if we click on any link in console we are getting "oracle.adf.controller.ControllerException".In logs we are getting this errorOct 2, 2013 9:55:07 AM MST Warning oracle.adfinternal.controller.state.ControllerState ADFC-50013 ADFc: Deserialization of session state detected but ADF scope HA support is not enabled. Please enable ADF scope HA support in the adf-config.xml file to ensure correct functioning of your applicaiton. Please help me in this regard.Thanks

    DB:2.15:Enable Adf Scope Ha Support In Adf-Config.Xml j7

    Hi,We have installed OIM 11gR2 in HA mode.We enabled load balancer between 2 nodes of OIM. When we access OIM console with load balancer URL and if we click on any link in console we are getting "oracle.adf.controller.ControllerException".In logs we are getting this errorOct 2, 2013 9:55:07 AM MST Warning oracle.adfinternal.controller.state.ControllerState ADFC-50013 ADFc: Deserialization of session state detected but ADF scope HA support is not enabled. Please enable ADF scope HA support in the adf-config.xml file to ensure correct functioning of your applicaiton. Please help me in this regard.Thanks

  • RELEVANCY SCORE 2.14

    DB:2.14:Pageflow In Adfc-Config.Xml Or In Task-Flow Defination Not Working. f3


    I want to share the data across multiple pages for a given taskflow. Hence kept the bean in taskFlow scope in adfc-config.xml. But bean is not getting instantiated when i try to print its value in one of page in taskflow.
    af:outputText value="#{pageFlowScope.PricingProfileSelector}"/

    I tried to put the bean defination in task flow defination and removed from adfc-config.xml. but still not able to instantiate it.

    If the change the scope to session or request, the bean gets instantiated.
    Any suggestion.!!

    DB:2.14:Pageflow In Adfc-Config.Xml Or In Task-Flow Defination Not Working. f3

    i guess you said you have only 1 task flow am i right? then the value should be sharable across pages only problem is you are not able to set the value

    If you have multiple Tasks flows then you have to set Input parameters and Return parameters in TFs

  • RELEVANCY SCORE 2.14

    DB:2.14:Oim11gr2 Identity Self Service Console Poping Up Error Messages mf


    We are getting the below error pop up messages while browsing the Self service console of OIM11gR2.

    ADFC-06002: unhandled exception

    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, #17
    --------------------------------------------

    Attempt to validate an already invalid RegionSite

    ADF_FACES-60097: For more information , Please see the servers eror log for am entry begining with : ADF_FACES-60096: Server Exception diring ppr, #5

    We have recently publish the sandbox for UI changes and developed some event handlers. Other than these there are no major changes done on OIM server.

    Please help us to resolve these errors.

    Thanks in Advance...
    RBM

    DB:2.14:Oim11gr2 Identity Self Service Console Poping Up Error Messages mf

    We are getting the below error pop up messages while browsing the Self service console of OIM11gR2.

    ADFC-06002: unhandled exception

    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, #17
    --------------------------------------------

    Attempt to validate an already invalid RegionSite

    ADF_FACES-60097: For more information , Please see the servers eror log for am entry begining with : ADF_FACES-60096: Server Exception diring ppr, #5

    We have recently publish the sandbox for UI changes and developed some event handlers. Other than these there are no major changes done on OIM server.

    Please help us to resolve these errors.

    Thanks in Advance...
    RBM

  • RELEVANCY SCORE 2.14

    DB:2.14:Error Occured While Searching For Users In Oim Admin Console. zj


    Hi Experts,

    I deployed code from dev environment in to Test environment using deployment manager in OIM and also completed metadata import using weblogic metadataimport utility.Then when itried to search for users in OIM admin console. I am getting the following error.
    Error messager:

    ADFC-10001: cannot instantiate class 'oracle.iam.identitytaskflow.backing.taskflows.modifyuser.ModifyUserView'

    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, #12

    Did any body faced this issue?

    Can u please suggest me on this?

    Thanks,
    Sri.

  • RELEVANCY SCORE 2.14

    DB:2.14:Re: Exception Handler In Adfc-Config.Xml zs


    Have you tried to use a filter to get the session expired stuff?

    Timo

    DB:2.14:Re: Exception Handler In Adfc-Config.Xml zs

    Well, Timo, I have tried the filter solution. It ran the code to determine if the session id's matched successfully, but after the session timeout of 1 minute expired, I get a Message from webpage dialog "A connection to the server has failed. (status=404)". When I click OK on this, I get another Message from webpage dialog stating my session has expired, click ok to continue. Then a session is established and it reloads my page, but I have no session data to reload the page.
    Here something from my log:
    ControllerState initializeRequest ADFc: Deserialization of session state detected but ADF scope HA support is not enabled. Please enable ADF scope HA support in the adf-config.xml file to ensure correct functioning of your application.
    StateManagerImpl restoreView Could not find saved view state for token -1547w0m3n9
    LifecycleImpl _handleException ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1
    javax.faces.application.ViewExpiredException: viewId:/projectRequest/projSupplementalElements.jspx - ADF_FACES-30107:The view state of the page has expired. Reload the page.
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:718)

    I did not have an adf-config.xml file, so I created one and enabled HA support, but it did not resolve it. Still the same outcome.

    I'm running on my integrated weblogic server, which required me to log in (otherwise we do single sign on)

  • RELEVANCY SCORE 2.14

    DB:2.14:Adfc-12000 Exception 9c


    Hi,
    The problem in brief related to ADF dialog framework,First thing was working smoothly without no problem,but with out any introductions and when project was in real production environment I got the following exception when any return listener of dialog is called :-

    oracle.adf.controller.internal.AdfcIllegalStateException: oracle.adf.controller.ControllerException: ADFC-12000: State ID in request is invalid for the current session.

    and after exception dialog hangs up and doesn't return any thing to user

    The strange thing is that not happening on all PCs, some have this problem and others not, and it happens only on IE(their version is 8 or higher) ,as when I changed machines which have this problem from IE to Mozilla Firefox the problem was completely disappeared.
    I got this exception from production weblogic server logs because this problem doesn't happen on my embedded weblogic instance with Jdeveloper or even on my pc.

    I tried the solution described in this link:
    http://www.yenlo.nl/harryvanoosten/2010/06/17/adf-11g-handling-the-adfc-12000-controllerexception-with-custom-exception-handling/#more-280
    with doing CustomExceptionHandler Class ,but it doesn't solve the problem

    This project is internal government project so management was able to force customers to use Mozilla Firefox as temporary solution

    I'm using Jdeveloper 11.1.1.2.0 and weblogic 10.3.2(for both development and production environment )

    I have no idea,is that a bug?is that some thing not compatible in ADF dialog framework with IE ?is that some thing on IE settings?

    Regards,

    DB:2.14:Adfc-12000 Exception 9c

    melissi - no need to bump your post after only 14 minutes.

    Have you filed a SR on https://support.oracle.com?

    Not sure if this would have anything to do with it, but you can check to make sure that XMLHTTP support is turned on for IE as detailed here: {message:id=9561718}

    John

  • RELEVANCY SCORE 2.14

    DB:2.14:Jdev 11.1.1.4 : Problem With Accessing Faces Context In A Servlet Filter 7m


    - Hi all,
    we just implemented the custom Filter, with following pattern :

    http://wiki.apache.org/myfaces/AccessFacesContextFromServlet

    In our custom filter code, the following line :
    facesContext = contextFactory.getFacesContext(request.getSession().getServletContext(), request, response, lifecycle);causes exception (sometimes, not always):

    ADFC-00011: The ADF Controller is unable to create an MDSSession.
    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)* --

    ......
    Caused by: java.lang.RuntimeException: A current ADFContext is not available.
    at oracle.adf.share.ADFContext.findCurrent(ADFContext.java:960)We moved our filter mapping after adfBindings filter, but without success.

    So, why this happens only with JDev 11.1.1.4 ? Previous versions does not have this problem...

    DB:2.14:Jdev 11.1.1.4 : Problem With Accessing Faces Context In A Servlet Filter 7m

    - Indeed, this solution works, so for adfBindings filter, I changeg default filter-mapping as follows :

    filter-mapping
    filter-nameadfBindings/filter-name
    !-- servlet-nameFaces Servlet/servlet-name --
    url-pattern/*/url-pattern
    dispatcherFORWARD/dispatcher
    dispatcherREQUEST/dispatcher
    /filter-mapping/ notice *url-pattern/*/url-pattern* instead of default servlet-nameFaces Servlet/servlet-name /

    Any side effect with this solution ?
    (thanks Frank...)

    Cvele_new_account wrote:
    According to your advise, if I understand correctly, what I should to do, is to change filter-mapping for adfBindings filter in the following way :
    filter-mapping
    filter-nameadfBindings/filter-name
    url-pattern/*/url-pattern
    dispatcherFORWARD/dispatcher
    dispatcherREQUEST/dispatcher
    /filter-mapping-Right ?
    Please approve this, thanks in advance...

    Frank Nimphius wrote:
    Hi,

    why don't you just configure the binding context to be created for your servlet?

    filter-mapping
    filter-nameadfBindings/filter-name
    servlet-nameYour Servlet/servlet-name
    dispatcherFORWARD/dispatcher
    dispatcherREQUEST/dispatcher
    /filter-mapping

  • RELEVANCY SCORE 2.14

    DB:2.14:Task-Flow Adf Security On Standalone Wls 78


    Hi,

    Jdev 11g

    I have into the main adfc-config.xml 3 links one to a jspx and 2 links to 2 different bounded task flows.

    I applied ADF security depends on Roles to the three links, one on the jspx itself (on the pagedef) and 2 to the Task-flow.

    All is working perfectly on the embedded WLS.

    When deploying the application to a standalone WLS and applying the security migration as explained (system-jazn-data.xml verified and security is migrated) I have only the jspx working and for the 2 task-flows I have an Authorization check failed exception.

    I always think that it is a migration problem but seems not because the jspx is working depends on the right Role.

    Any idea what can cause this and why the ADF security is working only on jspx page and not on the task-flow after deploying to a standalone WLS?

    Thanks

    Jamil

    May 27, 2009 12:22:20 PM AST Error HTTP BEA-101017 [weblogic.servlet.in
    ternal.WebAppServletContext@197171f - appName: 'TasdeeqEAR', name: 'TasdeeqApp',
    context-path: '/TasdeeqApp', spec-version: '2.5', request: weblogic.servlet.int
    ernal.ServletRequestImpl@31dbd4[
    GET /TasdeeqApp/faces/home?_adf.ctrl-state=1028508221_19 HTTP/1.1
    Accept: */*
    Accept-Language: en-US,ar-SA;q=0.5
    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC
    1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.21022; .NET
    CLR 3.5.30729; .NET CLR 3.0.30618; Tablet PC 2.0; FDM)
    Accept-Encoding: gzip, deflate
    Connection: Keep-Alive
    Cookie: JSESSIONID=9Z7tKdGCD0BSvt2GnDfLrkhZJ62rhMPpGLmXtGctDT2YGTQcl2VJ!-1394634
    041

    ]] Root cause of ServletException.
    oracle.adf.controller.security.AuthorizationException: ADFC-0619: Authorization
    check failed: '/WEB-INF/registrar-task-flow.xml#registrar-task-flow' 'VIEW'.
    at oracle.adf.controller.internal.security.AuthorizationEnforcer.handleF
    ailure(AuthorizationEnforcer.java:145)
    at oracle.adf.controller.internal.security.AuthorizationEnforcer.checkPe
    rmission(AuthorizationEnforcer.java:80)
    at oracle.adf.controller.internal.security.AuthorizationEnforcer.checkRe
    ad(AuthorizationEnforcer.java:314)
    at oracle.adf.controller.internal.metadata.MetadataService.getTaskFlowDe
    finition(MetadataService.java:204)
    at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.find
    TaskFlowDefinition(TaskFlowCallActivityLogic.java:931)
    Truncated. see log file for complete stacktrace

    DB:2.14:Task-Flow Adf Security On Standalone Wls 78

    Hi Frank,

    I copied the jazn-policy section from the jazn-data.xml to system-jazn-data.xml and it is working

    So as expected something wrong with the migration...I will check what

    Thanks
    Jamil

  • RELEVANCY SCORE 2.14

    DB:2.14:Page Template Popup With Dynamic Region Taskflow x8


    Hi.

    I have a Page Template that is used extensively in my application to provide a consistent explorer panel containing tree links to various pages in the application. I'm trying now to enable users to edit configuration via a tree link. I would like to implement this as a Popup in the page template which contains a dynamic region that contains a bounded Task FLow (so I can control the transaction for the edit activity). I'm running into all manner of issues...

    The Tree node is defined as follows:
    f:facet name="cognition_model_view.viewRepListVO"
    af:group id="pt_g4"
    af:commandImageLink id="pt_ot15" text="#{node.Viewname}"
    action="callRouter"
    actionListener="#{backingBeanScope.templateBacking.viewsGoActionListener}"
    icon="/pics/folder-icon.png"
    shortDesc="View: #{node.Viewdesc} | Filter: #{node.Filtername}"
    partialSubmit="true"/
    af:commandImageLink id="pt_ot16"
    icon="/pics/edit1.png"
    shortDesc="Edit View Config"
    partialSubmit="true"
    af:setPropertyListener from="#{node.Appname}"
    to="#{backingBeanScope.templateBacking.editViewAppName}"
    type="action"/
    af:setPropertyListener from="#{node.Viewname}"
    to="#{backingBeanScope.templateBacking.editViewName}"
    type="action"/
    af:setPropertyListener to="#{backingBeanScope.templateBacking.editViewType}"
    from="#{node.Sourceview}"
    type="action"/
    af:showPopupBehavior popupId="::pt_p_edView"
    triggerType="click"/
    /af:commandImageLink
    /af:group
    /f:facetThe property listeners are to hold values that will be passed as parameters to the region's task flow.

    The Popup is defined here:
    af:popup id="pt_p_edView" contentDelivery="lazyUncached"
    popupCanceledListener="#{backingBeanScope.editPopupTFHandler.cancelPopup}"
    popupFetchListener="#{backingBeanScope.editPopupTFHandler.showPopup}"
    binding="#{backingBeanScope.editPopupTFHandler.editPopup}"
    af:panelWindow id="pt_pw1"
    title="#{backingBeanScope.templateBacking.editViewName} - Edit View Configuration"
    contentHeight="250" contentWidth="500" stretchChildren="first" modal="true"
    af:region value="#{bindings.dynamicRegion1.regionModel}" id="pt_r1"/
    /af:panelWindow
    /af:popupThe taskflow binding for the template is as follows:
    taskFlow id="dynamicRegion1" taskFlowId="${backingBeanScope.editPopupTFHandler.dynamicTaskFlowId}" xmlns="http://xmlns.oracle.com/adf/controller/binding"
    parameters
    parameter id="inputApplicationName" value="#{backingBeanScope.templateBacking.editViewAppName}"/
    parameter id="inputViewType" value="#{backingBeanScope.templateBacking.editViewType}"/
    parameter id="inputViewName" value="#{backingBeanScope.templateBacking.editViewName}"/
    /parameters
    /taskFlowThe managed bean to hold the dynamic taskflowId (editPopupTFHandler) is referenced in the adfc-config.xml file at "backingBean" scope, and looks like this:
    public class editPopupTFHandler {
    private String taskFlowId = "/WEB-INF/editViews/editViewsTF.xml#editViewsTF";
    private String emptyTaskFlowId = "";
    private String currentTaskFlowId = taskFlowId;
    private RichPopup editPopup;

    public editViewPopupTFHandler() {
    }

    public String getDynamicTaskFlowId() {
    return currentTaskFlowId;
    }

    public void cancelPopup(PopupCanceledEvent pce) {
    currentTaskFlowId = emptyTaskFlowId;
    }

    public void showPopup (PopupFetchEvent popupFetchEvent) {
    currentTaskFlowId = taskFlowId;
    }

    public void setEditPopup(RichPopup editPopup) {
    this.editPopup = editPopup;
    }

    public RichPopup getEditPopup() {
    return editPopup;
    }
    }If I don't define the bean at backingBean scope, I get a Target Unreachable error from any page using the template.

    When I attempt to use the link to the popup, the popup displays but the region content does not. Is this a scoping issue?

    Additionally, after pressing combinations of the 2 commandimagelink components, the first link stops submitting... this may be a side-effect of the region display though?

    Again, as I'm quite new to ADF I don't know how to overcome or avoid these issues, or whether there is a better method to achieve an edit capability in a popup window from a page template.

    Thanks for your help. I'm using JDeveloper 11.1.2.1.0 by the way.

    DB:2.14:Page Template Popup With Dynamic Region Taskflow x8

    Hello again. I'll take anyone's guesses at this point..! Cheers.

  • RELEVANCY SCORE 2.14

    DB:2.14:Dynamically Display Page Fragments ms


    I'm using TP4 and I just successfully completed the demo found here:

    http://biemond.blogspot.com/2008/02/dynamic-jsf-page-with-showdetailframes.html

    It allows me to dynamically create my jspx page using panelCustomizable and showDetailFrames.

    The demo puts a line of text (RichOutputText) inside each ShowDetailFrame frame object. Instead of a line of text I want to put a jsff fragment inside each ShowDetailFrame. If I run the code without doing things dynamically, I can get my fragment to appear in the ShowDetailFrame, like the following:

    (Inside the .jspx file)
    cust:panelCustomizable id="panelCustomizableVertical" layout="vertical"
    cust:showDetailFrame id="testframe1"
    af:region value="#{bindings.testFragments1.regionModel}"
    id="testFragments1"
    binding="#{backing_Welcome.testFragments1}"/
    /cust:showDetailFrame
    /cust:panelCustomizable

    (Inside the pageDef file)
    executables
    taskFlow id="testFragments1"
    taskFlowId="/WEB-INF/adfc-config.xml#testFragments"
    xmlns="http://xmlns.oracle.com/adf/controller/binding"/
    /executables

    Howerver I want the page fragment to appear dynamically, so I make the call for the fragment in the backing bean, just like demo mentioned above. The ShowDetailFrame appears, but its contents are empty.

    (Inside the .jspx file)
    cust:panelCustomizable id="panelCustomizableVertical" layout="vertical"
    /cust:panelCustomizable

    (Inside the pageDef file)
    executables
    taskFlow id="testFragments1"
    taskFlowId="/WEB-INF/adfc-config.xml#testFragments"
    xmlns="http://xmlns.oracle.com/adf/controller/binding"/
    /executables

    (Inside the backingBean)
    public String initPage(PhaseEvent phaseEvent) {
    ShowDetailFrame window = null;

    for ( int i = 1 ; i 7 ; i++ ) {
    if ( i % 2 == 0 ) {
    window = addWindow ("horizontal_dynamic"+i,panelHorizontal);
    addText("horizontal is great" ,window);
    } else {
    window = addWindow ("vertical_dynamic"+i,panelVertical);
    addText("vertical is the best" ,window);
    }
    }
    return null;
    }

    private void addText (String text,ShowDetailFrame frame) {
    try {
    DCTaskFlowBinding dctfb = (DCTaskFlowBinding)bindings.get("testFragments1");
    TaskFlowRegionModel regionModel = new TaskFlowRegionModel(dctfb);
    RichRegion temp = new RichRegion();
    temp.setValue(regionModel);
    frame.getChildren().add(temp);
    } catch (Exception ex) {
    ex.printStackTrace();
    }
    }

    private ShowDetailFrame addWindow (String name,PanelCustomizable panel) {
    ShowDetailFrame window = new ShowDetailFrame();
    window.setId(name);
    window.setText(name);
    window.setDisplayShadow(true);
    panel.getChildren().add(window);
    return window;
    }

    From my backing bean, how can I dynamically grab a PageFragment defined in my page definition file and have it appear on the jsp. Is this possible? I've had success with grabbing other data from the pageDef file and having it appear dynamically, but I've had no success grabbing a page fragment. If this is not possible, then I need to know, so I can search for other alternatives.

    Thanks!

    Mike

    DB:2.14:Dynamically Display Page Fragments ms

    Hi Frank,

    Do you expect this problem to be resolved in the next technology preview version (if there will be one) or not until the production version ?

    Thanks,
    Mark

  • RELEVANCY SCORE 2.14

    DB:2.14:Handling Global Exception In Adf 9c


    I followed a no of links and trying to handle the exception globally on my taskflow but seems like the exception page is not getting called.I have a jsff page which is being called as taskflow region as :jspx page has the entry:f:facet name="content" af:region value="#{bindings.TestException.regionModel}" id="r1" inlineStyle="width:740.0px;" / /f:facetThe TestException is defined in page binding as:taskFlow id="TestException" taskFlowId="/WEB-INF/exceptionTest/exceptionTest.xml#exceptionTest"/exceptionTest.xml has following entry:default-activity id="__1"begin/default-activityexception-handler id="__13"ExceptionPage_invstate/exception-handler view id="invstatecredits" page/invstatecredits/InvStateCredits.jsff/page /view view id="ExceptionPage_invstate" page/invstatecredits/ExceptionPage_invstate.jsff/page /viewcontrol-flow-rule id="__2" from-activity-id id="__3"begin/from-activity-id control-flow-case id="__5" from-outcome id="__6"success/from-outcome to-activity-id id="__4"invstatecredits/to-activity-idSo, once the page is loaded, it loads the InvStateCredits.jsff page, on jsff page i have created the button which calls for a null pointer exception.My expectation here is on the null pointer the page shall be routed to ExceptionPage_invstate.jsff, which i not happening.Can someone advise me what is wrong with the code?

    DB:2.14:Handling Global Exception In Adf 9c

    Check Frank's article Oracle ADF which covers the whole exception handling in ADF applications.Timo

  • RELEVANCY SCORE 2.14

    DB:2.14:Re: Unable To Redirect From Taskflow Exception m9


    try thisView File Set | Files.comThe reason why its ur task flow exception handler is not calling because exception is happening before the taskflow calls.I have added exception handler in adfc-config.xml .Now its is showing error page, if you run the app.If you need to redirect from bean to error page try thisZeeshan Baig's Blog: How to Automatically Redirect to Different Page on session timeout in Oracle ADF

    DB:2.14:Re: Unable To Redirect From Taskflow Exception m9

    Thank you very much Ramandeep.As you mentioned, It was the problem since I missed one line renderKitService.encodeScripts(ctx);

  • RELEVANCY SCORE 2.14

    DB:2.14:Unable To Use Customexceptionhandler Class To Suppress The Errors dz


    Hi All,

    I need to supress these errors while my bounded 'taskflow as inline popup' with pages runs :-
    ADFC-12000 , ADF_FACES-30013,ADF_FACES-60096,ADF_FACES-60097 and 98..
    I am facing the same issue what Santosh has faced in this thread and he created the CustomHandlerClass to supress the error :-

    https://forums.oracle.com/forums/thread.jspa?threadID=2406715tstart=60

    I have written the below class extending the ExceptionHandler Class and then created a text file in the .adf/META-INF/services folder as described here by frank :-
    https://blogs.oracle.com/jdevotnharvest/entry/extending_the_adf_controller_exception_handler

    But i don't know how to include it in my bounded taskflow with pages.I am getting this ADF_FACES-60096 error while navigating between taskflows as inline popup.So i have no idea where exactly to use this custom class.. If i can get any samples regarding the Custom Exception Handler Class then it would be very helpful for me.
    Below class is the same class what the ADF developer's guide suggest to create a custom exception handler class!!!

    import javax.faces.context.FacesContext;
    import javax.faces.event.PhaseId;

    import oracle.adf.view.rich.context.ExceptionHandler;

    public class MyControllerExceptionHandler extends ExceptionHandler {
    public MyControllerExceptionHandler() {
    super();
    }

    public void handleException(FacesContext facesContext, Throwable throwable, PhaseId phaseId) throws Throwable {
    String error_message;
    error_message = throwable.getMessage();
    if(error_message == null)
    return;
    //supress exception
    if(error_message.indexOf("ADFC-12000") = 0 || error_message.indexOf("ADF_FACES-30013") = 0){
    //do nothing
    }
    else{
    throw throwable;
    }
    }
    }

    Please suggest!!!!

    Regards,
    Shah

    DB:2.14:Unable To Use Customexceptionhandler Class To Suppress The Errors dz

    Hi Frank,
    I have gone through the blog but it didn't help.Can you please share me if there is any video or sample app which explain the functionality of custom handler class?
    I have used the default exception handling but it seems that the Exception Handler Activity is not able to catch the exception.I don't know why it is happening.I have button on the page which creates the null pointer exception and it is able to be catched by the Exception Handler .But in this case why it is not able to catch it.

    My use case is like this :-

    I have three taskflows :-

    FirstTF.xml , SecondTF.xml and ThirdTF.xml

    In the FirstTF.xml , i am calling the SecondTF.xml as an Inline Popup and from the SecondTF.xml , i am calling the ThirdTF.xml as inline popup.
    Now while navigating from First to Third , i don't get any issue.
    But while navigating back from third to second and then second to first , it throws me this error.Eventually on clicking ok on the error , it navigates to the First but this should not supposed to be :-

    LifecycleImpl _handleException ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5
    java.lang.NullPointerException
    at oracle.adfinternal.controller.application.AdfcDirtyPageHandler.getUncommittedDataWarning(AdfcDirtyPageHandler.java:38)
    at oracle.adfinternal.view.faces.context.DirtyPageContextImpl$1.invokeContextCallback(DirtyPageContextImpl.java:74)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1410)
    at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:168)
    at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
    at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:678)
    at oracle.adfinternal.view.faces.context.DirtyPageContextImpl.initDirtyPageContext(DirtyPageContextImpl.java:58)
    at oracle.adfinternal.view.faces.context.RichPhaseListener.beforePhase(RichPhaseListener.java:252)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:279)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    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)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)

    Steps Taken to navigating back from third to first :-

    1. Put a command button having action with "exit" outcome and in the actionListener i am putting one pageFlowScope variable in the third page.
    2 . Now have the return Listener on the second Page and check if the PageFlowScope variable exist , if yes then navigate to First using this code :-

    RichCommandButton button =
    (RichCommandButton)jsfUtils.findComponentInRoot("exit");
    ActionEvent actionEvent = new ActionEvent(button);
    actionEvent.queue();

    The command button havind Id as "exit", is having the outcome as "exit" which helps the taskflow to navigate back to the calling taskflow.
    But this is where i am getting the error.
    While navigating from second to first :-

    It throw me the above mentioned error as well it is not catched by the Exception Handler.

    Kindly provide me the sample for creating the Custom Handler Class or Kindly suggest me the work around !!!

    Kindly Suggest!!
    Regards,
    Shah

  • RELEVANCY SCORE 2.14

    DB:2.14:Login Exception 8c


    Sometimes application throws this exception after I clicked login button. any idea about this exception? It's not something within our code. Thanks.oracle.adf.controller.ControllerException: ADFC-06003: EL expression '#{profileViews.snapshot}' for a region TaskFlowId in binding 'snapshot' evaluated to null, a non-null value must be specified. at oracle.adf.controller.internal.binding.RegionUtils.getTaskFlowId(RegionUtils.java:580) at oracle.adf.controller.internal.binding.TaskFlowRegionModelLocal.getTaskFlowId(TaskFlowRegionModelLocal.java:28) at oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort.createRegionViewPortContext(TaskFlowRegionModelViewPort.java:632) at oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort.getViewPort(TaskFlowRegionModelViewPort.java:607) at oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort.doProcessBeginRegion(TaskFlowRegionModelViewPort.java:246) at oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort.processBeginRegion(TaskFlowRegionModelViewPort.java:157) at oracle.adf.controller.internal.binding.TaskFlowRegionModelLocal.processBeginRegion(TaskFlowRegionModelLocal.java:12) at oracle.adf.view.rich.component.fragment.UIXRegion$RegionContextChange.doChangeImpl(UIXRegion.java:1295) at oracle.adf.view.rich.context.DoableContextChange.doChange(DoableContextChange.java:91) at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:763)

    DB:2.14:Login Exception 8c

    HI user ,your taskflow id is not getting ,you check with login bean scope..

  • RELEVANCY SCORE 2.13

    DB:2.13:Adf Dynamic Region - Browser Is Blank z3


    Hi All,

    I am following a hands-on practice in Oracle JDeveloper 11g Handbook. I have created two bounded task flows named "searchEmployee-flow.xml" and "departmentTee-flow.xml". I want to call these task flows from af:commandLink in a dynamic region. In the Choose Managed Bean for Dynamic Scope dialog I have provided following steps:

    1. Click New (green +) to add a managed bean. Set Bean Name as searchScreenBB, Class Name as SearchScreenBean, and Package as tuhra.view.backing. Click OK. Click OK.
    2. I wrote UIManager class to switch page fragments:
    package tuhra.view;
    public class UIManager implements Serializable
    {
    public enum Screen {EMPLOYEE_SEARCH, DEPARTMENT_TREE}
    private Screen searchScreenFocus = Screen.EMPLOYEESEARCH;

    public void setSearchScreenFocus(String focus) {
    this._searchScreenFocus = Screen.valueOf(focus);
    }
    public void setSearchScreenFocus(UIManager.Screen focus){
    this._searchScreenFocus = focus;
    }
    public UIManager.Screen getSearchScreenFocus() {
    return _searchScreenFocus;
    }
    }

    3.
    I opened adfc-config (under Page Flows in the Application Navigator). On the Overview tab, selected Managed Beans and added a bean (using the green +) and fill in Name as uiState, Class as tuhra.view.UIManager, and Scope as session.
    4.
    Updated SearchScreenBean.java to read as in the following code listing (without the line numbers).
    package tuhra.view.backing;
    import java.util.HashMap;
    import oracle.adf.controller.TaskFlowId;
    import tuhra.view.UIManager;

    public class SearchScreenBean {
    private static final HashMapUIManager.Screen,String REGIONMAP;
    static {
    REGIONMAP = new HashMapUIManager.Screen,String(2);
    REGIONMAP.put(UIManager.Screen.EMPLOYEE_SEARCH,
    "/WEB-INF/searchEmployees-flow.xml#searchEmployees-flow");
    REGIONMAP.put(UIManager.Screen.DEPARTMENT_TREE,
    "/WEB-INF/departmentTree-flow.xml#departmentTree-flow");
    }

    private UIManager _uiManager;
    public TaskFlowId getDynamicTaskFlowId(){
    return TaskFlowId.parse(
    REGIONMAP.get(_uiManager.getSearchScreenFocus()));
    }

    public void setUiManager(UIManager _uiManager){
    this._uiManager = _uiManager;
    }
    }

    6.
    To have JSF inject the UI manager value, I switched back to the adfc-config.xml editor and locate the Managed Beans area on the Overview tab and performed folliwing steps as told in book:

    6.1. Select the searchScreenBB bean and then click Add (green +) in the Managed Properties: searchScreenBB table. Set the managed property Name to uiManager (to match the setUiManager() method in the bean), the Class to tuhra.view.UIManager, and the Value to #{uiState}.
    6.2. Now that the logic to switch the screens is in place, you can define how the UI will activate the change in searchScreenFocus values. You could of course use a custom method in SearchScreenBean, but using a af:setPropertyListener is simpler. In the employeeSearch.jspx file, locate the af:commandLink that surrounds the Search for Employees image.

    6.3. Drop into the af:commandLink a Set Property Listener (Operations panel). Set From as #{'EMPLOYEE_SEARCH'}, To as #{uiState.searchScreenFocus}, and Type as action. Click OK.
    6.4. Repeat the preceding step for the View by Department link. This time, fill in From as #{'DEPARTMENT_TREE'}.
    6.5. Click Save All.

    When I run the form as directed, It is blank and is giving following error messages:

    [Application tuhra2 deployed to Server Instance IntegratedWebLogicServer]

    Target URL -- http://127.0.0.1:7101/tuhra2/faces/employeeSearch.jspx
    ....
    ....
    Caused by: oracle.adf.controller.ControllerException: ADFC-02001: The ADF Controller cannot find '/WEB-INF/searchEmployees-flow.xml'.
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:473)
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.loadUnmutalbeMetadataResources(MdsMetadataResourceProvider.java:372)
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getResources(MdsMetadataResourceProvider.java:183)
    at oracle.adf.controller.internal.metadata.MetadataService.getTaskFlowDefinition(MetadataService.java:239)
    at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.findTaskFlowDefinition(TaskFlowCallActivityLogic.java:1072)
    at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.invokeTaskFlow(TaskFlowCallActivityLogic.java:224)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:217)
    ... 82 more
    Caused by: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/WEB-INF/searchEmployees-flow.xml"
    at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:1279)
    at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:3040)
    at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1211)
    at oracle.mds.core.MOResolver.getMetadataObjects(MOResolver.java:213)
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:421)
    ... 88 more
    Jul 7, 2011 11:21:14 AM PKT Error HTTP BEA-101020 [ServletContext@18426608[app:tuhra2 module:tuhra2 path:/tuhra2 spec-version:2.5]] Servlet failed with Exception
    oracle.adf.controller.ControllerException: ADFC-06002: unhandled exception
    at oracle.adfinternal.controller.util.Utils.createAndLogControllerException(Utils.java:208)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.handleException(ControlFlowEngine.java:640)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:235)
    at oracle.adfinternal.controller.state.ChildViewPortContextImpl.invokeTaskFlow(ChildViewPortContextImpl.java:104)
    at oracle.adfinternal.controller.state.ControllerState.createChildViewPort(ControllerState.java:1380)
    Truncated. see log file for complete stacktrace
    Caused By: oracle.adf.controller.ControllerException: ADFC-02001: The ADF Controller cannot find '/WEB-INF/searchEmployees-flow.xml'.
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:473)
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.loadUnmutalbeMetadataResources(MdsMetadataResourceProvider.java:372)
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getResources(MdsMetadataResourceProvider.java:183)
    at oracle.adf.controller.internal.metadata.MetadataService.getTaskFlowDefinition(MetadataService.java:239)
    at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.findTaskFlowDefinition(TaskFlowCallActivityLogic.java:1072)
    Truncated. see log file for complete stacktrace
    Caused By: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/WEB-INF/searchEmployees-flow.xml"
    at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:1279)
    at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:3040)
    at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1211)
    at oracle.mds.core.MOResolver.getMetadataObjects(MOResolver.java:213)
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:421)
    Truncated. see log file for complete stacktrace

    Jul 7, 2011 11:21:14 AM PKT Notice Diagnostics BEA-320068 Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Jul 7, 2011 11:21:14 AM PKT. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = Jul 7, 2011 11:21:14 AM PKT SERVER = DefaultServer MESSAGE = [ServletContext@18426608[app:tuhra2 module:tuhra2 path:/tuhra2 spec-version:2.5]] Servlet failed with Exception
    oracle.adf.controller.ControllerException: ADFC-06002: unhandled exception
    at oracle.adfinternal.controller.util.Utils.createAndLogControllerException(Utils.java:208)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.handleException(ControlFlowEngine.java:640)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:235)
    at oracle.adfinternal.controller.state.ChildViewPortContextImpl.invokeTaskFlow(ChildViewPortContextImpl.java:104)
    at oracle.adf.view.rich.component.fragment.UIXRegion$RegionContextChange.doChangeImpl(UIXRegion.java:1199)
    at jsp_servlet.__employeesearch_jspx._jspService(__employeesearch_jspx.java:65)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    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.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
    at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:469)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at java.security.AccessController.doPrivileged(Native Method)
    Caused By: oracle.adf.controller.ControllerException: ADFC-02001: The ADF Controller cannot find '/WEB-INF/searchEmployees-flow.xml'.
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:473)
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.loadUnmutalbeMetadataResources(MdsMetadataResourceProvider.java:372)
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getResources(MdsMetadataResourceProvider.java:183)
    at oracle.adf.controller.internal.metadata.MetadataService.getTaskFlowDefinition(MetadataService.java:239)
    at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.findTaskFlowDefinition(TaskFlowCallActivityLogic.java:1072)
    at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.invokeTaskFlow(TaskFlowCallActivityLogic.java:224)
    at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:217)
    at oracle.adfinternal.controller.state.ChildViewPortContextImpl.invokeTaskFlow(ChildViewPortContextImpl.java:104)
    at oracle.adfinternal.controller.state.ControllerState.createChildViewPort(ControllerState.java:1380)
    at oracle.adfinternal.controller.ControllerContextImpl.createChildViewPort(ControllerContextImpl.java:78)
    at oracle.adf.controller.internal.binding.DCTaskFlowBinding.createRegionViewPortContext(DCTaskFlowBinding.java:440)
    at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getViewPort(DCTaskFlowBinding.java:358)
    at oracle.adf.controller.internal.binding.TaskFlowRegionModel.doProcessBeginRegion(TaskFlowRegionModel.java:164)
    at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:112)
    at oracle.adf.view.rich.component.fragment.UIXRegion$RegionContextChange.doChangeImpl(UIXRegion.java:1199)
    at oracle.adf.view.rich.context.DoableContextChange.doChange(DoableContextChange.java:91)
    at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:693)
    at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:498)
    at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
    at jsp_servlet.__employeesearch_jspx._jspx___tag21(__employeesearch_jspx.java:1036)
    at jsp_servlet.__employeesearch_jspx._jspService(__employeesearch_jspx.java:65)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    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.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
    SUBSYSTEM = HTTP USERID = WLS Kernel SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = bilal-PC TXID = CONTEXTID = d87127fb8baddada:4155b820:130fd94af8a:-8000-00000000000006c4 TIMESTAMP = 1310019674635
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000

    Jul 7, 2011 11:21:20 AM PKT Alert Diagnostics BEA-320016 Creating diagnostic image in c:\users\administrator\appdata\roaming\jdeveloper\system11.1.1.5.37.60.13\defaultdomain\servers\defaultserver\adr\diag\ofm\defaultdomain\defaultserver\incident\incdir_16 with a lockout minute period of 1.

    Any help will be highly appreciated.
    Thanks

    DB:2.13:Adf Dynamic Region - Browser Is Blank z3

    Hi

    This error occurs on account of the scope of backing bean Taskflow id not set up correctly and taskflow id leads to null pointer exception.

    Open EmplloyeeSearch.jspx - go to bindings. click taskflow - dynamic region in binding. Set the property as follows:

    #{backingBeanScope.searchScreenBB.dynamicTaskFlowId}

    This should resolve the issue.

    Edited by: Krithivasan N on Mar 6, 2012 11:52 AM

  • RELEVANCY SCORE 2.13

    DB:2.13:Bam-06001 On The Alert Email Attachment zz


    My version is 11.1.1.2.0
    When i setup an alert to receive the report on a particular time, But the report attachment only include the msg below:

    //
    BAM-06001: details -- null
    //

    Anyone know what's the problem?

    DB:2.13:Bam-06001 On The Alert Email Attachment zz

    Not sure whether it's only supp the null drill down report?

  • RELEVANCY SCORE 2.13

    DB:2.13:Programmatic Navigation Invoked By Contextual Events kc


    Using JDeveloper 11.1.1.3.0

    I'm having trouble doing a programmatic navigation triggered by a contextual event in the case of layered bounded taskflows.

    My scenario has 2+ taskflows.

    TaskFlow 1: BoundedTF called Main-Task-Flow - This is the starting URL invoked to run.
    TaskFlow 2: BoundedTF called Dashboard-Task-Flow - This is the default activity in the Main-Task-Flow

    Both of these does not use page fragments.

    Dashboard-Task-Flow has a page, let's call this Dashboard.jspx which registers a contextEventMap. This map basically utilizes a NavigationHandler to navigate to a TaskFlowReturn activity.

    Return activity is registered in the Main-Task-Flow to navigate to different taskflows.

    I noticed, that only when i call this navigation case using contextEvent, i am getting an invalid view port. Which starts with these:

    UNMATCHED_STATE_ON_STACKv5hztfeem_0 v5hztfeem_15
    RegistrationConfiguratorhandleError Server Exception during PPR, #1
    javax.servlet.ServletException: ADFC-14000: View port ID 'v5hztfeem_15' is invalid.
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
    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)
    etc...
    Caused by: oracle.adf.controller.internal.InvalidViewPortIdException: ADFC-14000: View port ID 'v5hztfeem_15' is invalid.
    at oracle.adfinternal.controller.state.ControllerState.setCurrentViewPort(ControllerState.java:1245)
    at oracle.adfinternal.controller.ControllerContextImpl.setCurrentViewPort(ControllerContextImpl.java:133)
    at oracle.adfinternal.controller.ControllerContextImpl.setCurrentViewPort(ControllerContextImpl.java:52)
    etc....

    I've been trying to figure if it was coding wise, but i simply use the NavigationHandler being triggered by a button then it works.

    So i tried something else, i placed the Dashboard.jspx directly in Main-Task-Flow and this issue is gone. I tried debugging the currentView and it all prints correct that i'm in Dashboard.jspx.

    I wonder if i'm doing something wrong here. I tried searching for this exception and i barely find any information about it.

    DB:2.13:Programmatic Navigation Invoked By Contextual Events kc

    Using JDeveloper 11.1.1.3.0

    I'm having trouble doing a programmatic navigation triggered by a contextual event in the case of layered bounded taskflows.

    My scenario has 2+ taskflows.

    TaskFlow 1: BoundedTF called Main-Task-Flow - This is the starting URL invoked to run.
    TaskFlow 2: BoundedTF called Dashboard-Task-Flow - This is the default activity in the Main-Task-Flow

    Both of these does not use page fragments.

    Dashboard-Task-Flow has a page, let's call this Dashboard.jspx which registers a contextEventMap. This map basically utilizes a NavigationHandler to navigate to a TaskFlowReturn activity.

    Return activity is registered in the Main-Task-Flow to navigate to different taskflows.

    I noticed, that only when i call this navigation case using contextEvent, i am getting an invalid view port. Which starts with these:

    UNMATCHED_STATE_ON_STACKv5hztfeem_0 v5hztfeem_15
    RegistrationConfiguratorhandleError Server Exception during PPR, #1
    javax.servlet.ServletException: ADFC-14000: View port ID 'v5hztfeem_15' is invalid.
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
    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)
    etc...
    Caused by: oracle.adf.controller.internal.InvalidViewPortIdException: ADFC-14000: View port ID 'v5hztfeem_15' is invalid.
    at oracle.adfinternal.controller.state.ControllerState.setCurrentViewPort(ControllerState.java:1245)
    at oracle.adfinternal.controller.ControllerContextImpl.setCurrentViewPort(ControllerContextImpl.java:133)
    at oracle.adfinternal.controller.ControllerContextImpl.setCurrentViewPort(ControllerContextImpl.java:52)
    etc....

    I've been trying to figure if it was coding wise, but i simply use the NavigationHandler being triggered by a button then it works.

    So i tried something else, i placed the Dashboard.jspx directly in Main-Task-Flow and this issue is gone. I tried debugging the currentView and it all prints correct that i'm in Dashboard.jspx.

    I wonder if i'm doing something wrong here. I tried searching for this exception and i barely find any information about it.