Page lifeCycle JDEV10.1.3 ADFBC

Hi,
How can I force query execution every time a page is opened?
I observed that the first time a page is opened the cycle is:
0 - 1 - Execute Query - 8.
The next time the page is opened the cycle is:
0- 1- 8
The numbers shown are phase Id.
Thanks for any help.

Go to the pagedef.xml, now using your structure window and right clicking.
in the Binding section add an Action binding to your execute operation.
Then in the Execuables section add a invokeAction that binds to it, and place it before the others.

Similar Messages

  • Insert Only Forms with custom Page Lifecycle class

    I discovered a bug/inconsistency in the JHS Generator:
    The business case (translated to the HR schema) is
    We have an Insert Only form for creating new Departments. (Group name: DepartmentsEntry)
    When the user saves a new Department, we want to forward them
    using the Faces Navigation Handler to the group named "Departments".
    The implementation we used:
    - Create a custom class which extends oracle.jheadstart.controller.jsf.lifecycle.JhsPageLifecycle.
    This class overrides the onCommit method: if there are errors we stay on this page,
    otherwise we redirect the user.
    - Specify this classname in the Page Lifecycle Class property (under "Customization Settings") within the Application Definition Editor.
    When we then try to run the page, the Insert-Only form does not work as expected;
    The user has to click on the "New Department" button first.
    I see that the specified classname occurs in the ControllerClass property of
    the Page Definition file DepartmentsEntryPageDef.xml file.
    The way I solved the problem was to create a custom groupFacesConfig.vm template
    which specifies the managed-bean-class property of the ${JHS.current.group.name}PageLifecycle managed bean.
    This then solves the problem - the InsertOnly form works as expected.
    This is not as I would expect the "Page Lifecycle Class" property to be used.
    In my opinion the "Page Lifecycle Class" property should also be used in the default groupdFacesConfig.vm template and not only in the Page Definition file.
    Is this behaviour expected?

    Cliff,
    You are right, this is a bug that has been fixed for the upcoming 10.1.3.2 release.
    Steven Davelaar,
    JHeadstart Team.

  • Error when run a page from jdev10.1.3.3

    Hi All,
    i ve loaded all the files(.class & .xml) from the server to my local machine jdevhome/jdev/myprojects and myclasses folder. also loaded the pages and region from mds to myprojects folder. but when Im trying to run a page from jdev 10.1.3.3. an error page is displayed
    the error stack is as follows
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
         at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.lang.NullPointerException
         at java.util.Hashtable.put(Hashtable.java:396)
         at oracle.apps.fnd.framework.webui.OAPageContextImpl.putSessionValue(Unknown Source)
         at oracle.apps.pos.supplier.webui.ByrAddCntctCO.processRequest(ByrAddCntctCO.java:97)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    java.lang.NullPointerException
         at java.util.Hashtable.put(Hashtable.java:396)
         at oracle.apps.fnd.framework.webui.OAPageContextImpl.putSessionValue(Unknown Source)
         at oracle.apps.pos.supplier.webui.ByrAddCntctCO.processRequest(ByrAddCntctCO.java:97)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    any help is greatly appreciated..
    Thanks.
    Message was edited by:
    user597582

    Most probably you are using the wrong Jdev and keep in mind that 10G versions are only for R12.
    Check the metalink Note 416708.1 - How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Error when run page from jdev10.1.3.3

    Hi,
    Im getting the following error when running pages from jdev 10.1.3.3. I have loaded all the frequired files from the server(.class and .xml).please help..
    Thanks.
    ## Detail 0 ##
    java.lang.NullPointerException
         at java.util.Hashtable.put(Hashtable.java:396)
         at oracle.apps.fnd.framework.webui.OAPageContextImpl.putSessionValue(Unknown Source)
         at oracle.apps.pos.supplier.webui.ByrAddCntctCO.processRequest(ByrAddCntctCO.java:97)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(Unknown Source)

    The OA Framework forum is available at the following URL:
    OA Framework
    Regards,
    Didier.

  • Building a SelectChoice or SelectListbox based in Arrays JDev10.1.3 - ADFBC

    Hi
    I need to create a SelectOneChoice component based on a SelectItem array built in a session scope backing bean.
    The questions are:
    1. Is it possible to build the SelectOneChoice component without creating a visual object based on the array?
    2. If the answer is "yes", how do I build it?
    Thanks a lot for any help.
    AG

    Hi,
    I managed to answer my question:
    The scene:
    1. A form used to create or update records.
    2. The record contains a column "MyData" that is to be binded to a SelectOneChoice component.
    3. The SelectOneChoice choices are to be built using an array of SelectItem instances (private SelectItem[] selItem;). This array is defined and filled in in a session scope backing bean (mySessionBackingBean).
    Now to the action:
    1. Drag a SelectOneChoice from the component palette onto your form.
    2. In the opened window, select the "Bind to List" option and bind to #{mySessionBackingBean.selItem}.
    3. In the "Common Properties" tab, do the Value: binding. Sould look like #{bindings.MyData.inputValue}
    Thats all to it.
    I hope this is clear and helps somebody.
    AG

  • Calling a method in a backing bean  JDev10.3.1 ADFBC

    Hi
    How can I execute a method existing in a session bean (uses a parameter) from within a method in a request backing bean?
    Thanks a lot in advance
    AG

    Maguri,
    Here some example code demonstrating how to call on a session bean. Simply lookup the session bean and call the appropriate method on the bean. This code can called from within any method within in a managed bean.
    Regards,
    Ric
    try {
    final Context context = getInitialContext();
    SessionEJB sessionEJB = (SessionEJB)context.lookup("SessionEJB");
    System.out.println( "Departments before insert: " );
    List<Departments> depts = sessionEJB.queryDepartmentsFindAll();
    for ( Departments dept:depts ) {
    System.out.println( "\tName: " + dept.getDepartmentName() + ", id= " + dept.getDepartmentId() );
    Departments newDept = new Departments();
    newDept.setDepartmentName( "Ric's 'Really Big' Department" );
    sessionEJB.persistEntity(newDept);
    System.out.println("\nDepartments after insert: ");
    depts = sessionEJB.queryDepartmentsFindAll();
    for ( Departments dept:depts ) {
    System.out.println( "\tName: " + dept.getDepartmentName() + ", id= " + dept.getDepartmentId() );
    } catch (Exception ex) {
    ex.printStackTrace();
    }

  • Lifecycle phase for Single ADF Bounded Page

    Hi,
    I registered a Page LifeCycle listener for single ADF bounded page in 'ControllerClass' property of pagedef file. When i m evaluating a simple condition for a lifecycle phase, it is executing two times.
    The Listener class is also a managed bean with scope of session, registered in adfc-config.xml file . This i am doing in Jdev 11.1.1.3 .
    Why it is happening & how to corret this ? Can anyone help me?
       public void afterPhase(PagePhaseEvent pagePhaseEvent) {
            if(pagePhaseEvent.getPhaseId() == Lifecycle.PREPARE_RENDER_ID){
              System.out.println("After Phase : " + Lifecycle.getPhaseName(pagePhaseEvent.getPhaseId()));
    public void beforePhase(PagePhaseEvent pagePhaseEvent) {
    }Regards,

    Frank,
    Actually i m executing a managed bean method in afterPhase of PREPARE_RENDER_ID. Method is executing & providing the result in console, but unable to refresh the af:table. I m trying to refresh table programmatically by
    AdfFacesContext.getCurrentInstance().addPartialTarget(this.t2) , where t2 is binding instance of af:table. But it is not working. Anyway, on calling method its not executing twice, but sop statement executing twice.
        public void afterPhase(PagePhaseEvent pagePhaseEvent) {
            if(pagePhaseEvent.getPhaseId() == Lifecycle.PREPARE_RENDER_ID){
              //System.out.println("After Phase : " + Lifecycle.getPhaseName(pagePhaseEvent.getPhaseId()));
              this.get_empid_for_nationality();       //this method is populating a ArrayList collection used for populating af:table
              AdfFacesContext.getCurrentInstance().addPartialTarget(this.t2);
    }

  • Error when trying to view page from Peoplesoft CI using JDeveloper

    I am new to JDeveloper and have created a web service using Peoplesoft. The wsdl was published to the web server and JDeveloper recognized it and allowed me to create a page from it. When I try to run it I get the following. What am I doing wrong?
    *** Using port 7101 ***
    "C:\Documents and Settings\cohnr\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\bin\startWebLogic.cmd"
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=C:\oracle\MIDDLE~1\patch_wls1031\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\oracle\MIDDLE~1\utils\config\10.3.1.0\config-launch.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.1.0.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\oracle\MIDDLE~1\modules\ORGAPA~1.0/lib/ant-all.jar;C:\oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\oracle\Middleware\jdeveloper\webcenter\modules\oracle.portlet.server_11.1.1\oracle-portlet-api.jar;C:\oracle\MIDDLE~1\JDEVEL~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip
    PATH=C:\oracle\MIDDLE~1\patch_wls1031\profiles\default\native;C:\oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\oracle\MIDDLE~1\modules\ORGAPA~1.0\bin;C:\oracle\MIDDLE~1\JDK160~1\jre\bin;C:\oracle\MIDDLE~1\JDK160~1\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\oracle\product\10.2.0\client_1\bin;C:\j2sdk1.4.2_04\jre\bin;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Adaptec Shared\System;;C:\bea\Tuxedo8.1\bin;C:\Program Files\Common Files\OpSession\Shared;C:\Program Files\Common Files\OpSession\Viewer Shared;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\QuickTime\QTSystem\;C:\SSH Secure Shell;C:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_11"
    Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
    Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode)
    Starting WLS with line:
    C:\oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Xverify:none -da -Dplatform.home=C:\oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\DOCUME~1\cohnr\APPLIC~1\JDEVEL~1\SYSTEM~1.07\DEFAUL~1 -Doracle.home=C:\oracle\MIDDLE~1\JDEVEL~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=C:\oracle\MIDDLE~1\JDEVEL~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.security.jps.config=C:\DOCUME~1\cohnr\APPLIC~1\JDEVEL~1\SYSTEM~1.07\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.alternateTypesDirectory=C:\oracle\MIDDLE~1\JDEVEL~1\modules\oracle.ossoiap_11.1.1,C:\oracle\MIDDLE~1\JDEVEL~1\modules\oracle.oamprovider_11.1.1 -Dsso.filter.enable=true -DUSE_JAAS=false -Djps.policystore.hybrid.mode=false -Djps.combiner.optimize.lazyeval=true -Djps.combiner.optimize=true -Djps.auth=ACC -noverify -Doracle.core.ojdl.logging.usercontextprovider=oracle.core.ojdl.logging.impl.UserContextImpl -XX:+UseParallelGC -XX:+DisableExplicitGC -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\oracle\MIDDLE~1\patch_wls1031\profiles\default\sysext_manifest_classpath;C:\oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
    <Nov 21, 2009 6:52:40 PM GMT-07:00> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
    C:\Documents and Settings\cohnr\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\lib\mbeantypes\csp-id-asserter.jar;C:\oracle\Middleware\wlserver_10.3\L10N\beehive_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\beehive_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\beehive_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\beehive_zh_TW.jar;C:\oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_TW.jar;C:\oracle\Middleware\wlserver_10.3\L10N\testclient_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\testclient_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\testclient_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\testclient_zh_TW.jar;C:\oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_TW.jar;C:\oracle\Middleware\wlserver_10.3\L10N\workshop_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\workshop_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\workshop_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\workshop_zh_TW.jar>
    <Nov 21, 2009 6:52:42 PM GMT-07:00> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 11.0-b16 from Sun Microsystems Inc.>
    <Nov 21, 2009 6:52:50 PM GMT-07:00> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.1.0 Wed Jun 10 22:24:41 MDT 2009 1227385 >
    <Nov 21, 2009 6:53:01 PM GMT-07:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Nov 21, 2009 6:53:01 PM GMT-07:00> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Nov 21, 2009 6:53:02 PM GMT-07:00> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\cohnr\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Nov 21, 2009 6:53:02 PM GMT-07:00> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\cohnr\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00003. Log messages will continue to be logged in C:\Documents and Settings\cohnr\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
    <Nov 21, 2009 6:53:02 PM GMT-07:00> <Notice> <Log Management> <BEA-170019> <The server log file C:\Documents and Settings\cohnr\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    <Nov 21, 2009 6:53:18 PM GMT-07:00> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Nov 21, 2009 6:53:32 PM GMT-07:00> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\cohnr\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\access.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Nov 21, 2009 6:53:32 PM GMT-07:00> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\cohnr\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\access.log00002. Log messages will continue to be logged in C:\Documents and Settings\cohnr\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\access.log.>
    <Nov 21, 2009 6:53:42 PM GMT-07:00> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at 'C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.>
    <Nov 21, 2009 6:53:42 PM GMT-07:00> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at 'C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.>
    <Nov 21, 2009 6:53:47 PM GMT-07:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Nov 21, 2009 6:53:47 PM GMT-07:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    Nov 21, 2009 6:54:00 PM oracle.mds.internal.lcm.logging.MDSLCMLogger info
    INFO: Application ID : wsm-pm
    Nov 21, 2009 6:54:01 PM oracle.mds.internal.lcm.logging.MDSLCMLogger info
    INFO: "Metadata Services: Metadata archive (MAR) not found."
    <Nov 21, 2009 6:54:35 PM GMT-07:00> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\cohnr\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Nov 21, 2009 6:54:35 PM GMT-07:00> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\cohnr\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log00003. Log messages will continue to be logged in C:\Documents and Settings\cohnr\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log.>
    <Nov 21, 2009 6:54:35 PM GMT-07:00> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    Nov 21, 2009 6:54:36 PM oracle.wsm.audit.Auditor <init>
    INFO: Created J2EE application auditor for componentType=oracle.security.jps.internal.audit.AuditServiceImpl$Auditor@154d3ac
    Nov 21, 2009 6:54:36 PM oracle.adf.share.config.ADFConfigFactory getInstance
    INFO: ADF Config instance implementation in use is : oracle.adf.share.config.MDSConfigFactory
    Nov 21, 2009 6:54:42 PM oracle.adf.share.config.ADFMDSConfig parseADFConfiguration
    INFO: Configuration file:/META-INF/adf-config.xmlcannot not be read by MDS. Reading directly from the classpath
    <Nov 21, 2009 6:54:43 PM GMT-07:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Nov 21, 2009 6:54:43 PM GMT-07:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Nov 21, 2009 6:54:44 PM GMT-07:00> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 140.198.4.154:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 21, 2009 6:54:44 PM GMT-07:00> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 21, 2009 6:54:44 PM GMT-07:00> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <Nov 21, 2009 6:54:45 PM GMT-07:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Nov 21, 2009 6:54:45 PM GMT-07:00> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    DefaultServer startup time: 145457 ms.
    DefaultServer started.
    [Running application PSFTtoADF on Server Instance DefaultServer...]
    Nov 21, 2009 6:55:15 PM oracle.mds.internal.lcm.logging.MDSLCMLogger info
    INFO: Application ID : PSFTtoADF
    Nov 21, 2009 6:55:15 PM oracle.mds.internal.lcm.logging.MDSLCMLogger info
    INFO: "Metadata Services: Metadata archive (MAR) not found."
    <Nov 21, 2009 6:55:25 PM GMT-07:00> <Warning> <HTTP> <BEA-101299> <The servlet-mapping for servlet-name "jsp" will override the default mapping for *.jsp. This can lead to a show code vulnerability.>
    Nov 21, 2009 6:55:37 PM oracle.adf.share.jndi.MDSBackingStore isReadOnlyMDSStore
    INFO: Read only backing store
    Nov 21, 2009 6:55:37 PM oracle.adf.share.jndi.MDSBackingStore isReadOnlyMDSStore
    INFO: Read only backing store
    Run startup time: 52658 ms.
    [Application PSFTtoADF deployed to Server Instance DefaultServer]
    Target URL -- http://127.0.0.1:7101/PSFTtoADF-ViewController-context-root/faces/Employee.jspx
    Nov 21, 2009 6:57:12 PM oracle.jbo.uicli.mom.CpxUtils$Visitor logMainApplicationCpx
    INFO: file:/C:/Documents and Settings/cohnr/Application Data/JDeveloper/system11.1.1.1.33.54.07/o.j2ee/drs/PSFTtoADF/PSFTtoADF-ViewController-webapp/WEB-INF/classes/view/DataBindings.cpx
    Nov 21, 2009 6:57:13 PM oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl setLifecycleContextBuilder
    INFO: ADFc: Initializing ADF Page Lifecycle for the JSF environment, LifecycleContextBuilder is 'oracle.adfinternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.
    Nov 21, 2009 6:57:17 PM oracle.adf.share.jndi.MDSBackingStore isReadOnlyMDSStore
    INFO: Read only backing store
    Nov 21, 2009 6:57:17 PM oracle.adf.share.jndi.MDSBackingStore documentExists
    INFO: MDS-00013: no metadata found for metadata object "/META-INF/connections.xml"
    Nov 21, 2009 6:57:17 PM oracle.adfinternal.model.adapter.webservice.WSDefinition loadFromMetadata
    WARNING: 'loadFromMetadata' did not complete successfully due to a failure to load the connection metadata for the target webservice.
    Nov 21, 2009 6:57:17 PM oracle.adfinternal.model.adapter.webservice.WSDefinition loadFromMetadata
    WARNING: The following error message was recieved null
    Nov 21, 2009 6:57:17 PM oracle.adfinternal.model.adapter.webservice.WSDefinition loadFromMetadata
    WARNING: Either the 'META-INF/connections.xml' is not accessible or does not exist
    Nov 21, 2009 6:57:17 PM oracle.adfinternal.model.adapter.webservice.WSDefinition loadFromMetadata
    WARNING: Verify if the connections.xml has valid metadata defined for connection 'PersonalData'
    Nov 21, 2009 6:57:17 PM oracle.adf.share.jndi.MDSBackingStore isReadOnlyMDSStore
    INFO: Read only backing store
    Nov 21, 2009 6:57:17 PM oracle.adfinternal.model.adapter.webservice.WSDefinition createDataControl
    SEVERE: Failed to create a Connection to the target Webservice
    Nov 21, 2009 6:57:17 PM oracle.adfinternal.model.adapter.webservice.WSDefinition createDataControl
    SEVERE: Ensure that the META-INF/connections.xml exists
    Nov 21, 2009 6:57:17 PM oracle.adfinternal.model.adapter.webservice.WSDefinition createDataControl
    SEVERE: Verify if the connections.xml has valid metadata defined for the webservice connection PersonalData
    Nov 21, 2009 6:57:17 PM oracle.adf.model.adapter.DataControlFactoryImpl createSession
    SEVERE: Exception:
    oracle.adf.model.adapter.AdapterException: DCA-40012: The Web Service call failed. A connection to the target Web Service could not be created.
         at oracle.adfinternal.model.adapter.webservice.WSDefinition.createDataControl(WSDefinition.java:565)
         at oracle.adf.model.adapter.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:173)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:166)
         at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:819)
         at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1070)
         at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:973)
         at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:933)
         at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:939)
         at oracle.adf.model.BindingContext.get(BindingContext.java:896)
         at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1519)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.initDataControl(JUMethodIteratorDef.java:589)
         at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2348)
         at oracle.adf.model.binding.DCIteratorBinding.getSortCriteria(DCIteratorBinding.java:3658)
         at oracle.adf.model.binding.DCInvokeMethod.setAssociatedIteratorBinding(DCInvokeMethod.java:851)
         at oracle.adf.model.binding.DCIteratorBinding.cacheRefOnOperation(DCIteratorBinding.java:5263)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.getActionBinding(JUMethodIteratorDef.java:283)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef.isRefreshable(JUMethodIteratorDef.java:59)
         at oracle.adf.model.binding.DCExecutableBindingDef.isRefreshable(DCExecutableBindingDef.java:274)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2888)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2759)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:112)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:80)
         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.mav$executePhase(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:352)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
         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:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         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.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         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:3588)
         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:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Nov 21, 2009 6:57:17 PM oracle.adf.share.jndi.MDSBackingStore isReadOnlyMDSStore
    INFO: Read only backing store
    Nov 21, 2009 6:57:17 PM oracle.adfinternal.model.adapter.webservice.WSDefinition loadFromMetadata
    WARNING: 'loadFromMetadata' did not complete successfully due to a failure to load the connection metadata for the target webservice.
    Nov 21, 2009 6:57:17 PM oracle.adfinternal.model.adapter.webservice.WSDefinition loadFromMetadata
    WARNING: The following error message was recieved null
    Nov 21, 2009 6:57:17 PM oracle.adfinternal.model.adapter.webservice.WSDefinition loadFromMetadata
    WARNING: Either the 'META-INF/connections.xml' is not accessible or does not exist
    Nov 21, 2009 6:57:18 PM oracle.adfinternal.model.adapter.webservice.WSDefinition loadFromMetadata
    WARNING: Verify if the connections.xml has valid metadata defined for connection 'PersonalData'
    Nov 21, 2009 6:57:18 PM oracle.adf.share.jndi.MDSBackingStore isReadOnlyMDSStore
    INFO: Read only backing store
    Nov 21, 2009 6:57:18 PM oracle.adfinternal.model.adapter.webservice.WSDefinition createDataControl
    SEVERE: Failed to create a Connection to the target Webservice
    Nov 21, 2009 6:57:18 PM oracle.adfinternal.model.adapter.webservice.WSDefinition createDataControl
    SEVERE: Ensure that the META-INF/connections.xml exists
    Nov 21, 2009 6:57:18 PM oracle.adfinternal.model.adapter.webservice.WSDefinition createDataControl
    SEVERE: Verify if the connections.xml has valid metadata defined for the webservice connection PersonalData
    Nov 21, 2009 6:57:18 PM oracle.adf.model.adapter.DataControlFactoryImpl createSession
    SEVERE: Exception:
    oracle.adf.model.adapter.AdapterException: DCA-40012: The Web Service call failed. A connection to the target Web Service could not be created.
         at oracle.adfinternal.model.adapter.webservice.WSDefinition.createDataControl(WSDefinition.java:565)
         at oracle.adf.model.adapter.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:173)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:166)
         at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:819)
         at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1070)
         at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:973)
         at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:933)
         at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:939)
         at oracle.adf.model.BindingContext.get(BindingContext.java:896)
         at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1519)
         at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2403)
         at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2348)
         at oracle.adf.model.binding.DCBindingContainer.getDataControl(DCBindingContainer.java:4640)
         at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:430)
         at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2369)
         at oracle.adf.model.binding.DCIteratorBinding.getSortCriteria(DCIteratorBinding.java:3658)
         at oracle.adf.model.binding.DCInvokeMethod.setAssociatedIteratorBinding(DCInvokeMethod.java:851)
         at oracle.adf.model.binding.DCIteratorBinding.cacheRefOnOperation(DCIteratorBinding.java:5263)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.getActionBinding(JUMethodIteratorDef.java:283)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef.isRefreshable(JUMethodIteratorDef.java:59)
         at oracle.adf.model.binding.DCExecutableBindingDef.isRefreshable(DCExecutableBindingDef.java:274)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2888)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2759)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:112)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:80)
         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.mav$executePhase(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:352)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
         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:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         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.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         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:3588)
         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:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    <Nov 21, 2009 6:57:18 PM GMT-07:00> <Error> <HTTP> <BEA-101020> <[ServletContext@16582293[app:PSFTtoADF module:PSFTtoADF-ViewController-context-root path:/PSFTtoADF-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    java.lang.NullPointerException
         at oracle.adf.model.binding.DCIteratorBinding.getSortCriteria(DCIteratorBinding.java:3658)
         at oracle.adf.model.binding.DCInvokeMethod.setAssociatedIteratorBinding(DCInvokeMethod.java:851)
         at oracle.adf.model.binding.DCIteratorBinding.cacheRefOnOperation(DCIteratorBinding.java:5263)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.getActionBinding(JUMethodIteratorDef.java:283)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef.isRefreshable(JUMethodIteratorDef.java:59)
         Truncated. see log file for complete stacktrace
    >

    DCA-40012: The Web Service call failed. A connection to the target Web Service could not be created.
    First of all test the web service you have created in model project. Right click the web service name and select "Test WebService". If you see any issue(s) while testing fix it first before you run the jspx page.
    Check the port number in the URL and connections.xml, it have to be same.

  • ADFBC Deployment of JBOSS 5.1.0

    I am deploying ADF BC application 11.1.1.2.0 on JBOSS 5.1.0 by following steps
    1. When creating an ADF BC Module that will be used on a JBoss application server,
    one needs to set the SQL Flavor to SQL92 and the Type Map to Java.
    Can be set for an existing AM at
    AM --> Configurations --> Properties tab
    Set jbo.SQLBuilder = SQL92
    jbo.TypeMapEntries = Java
    2. Changed the data source as follows
    AM --> Configurations --> Application Module - JDBC DataSource = java:/liveDS
    Note: By default datasource will be something like 'java:comp/env/jdbc/liveDS'
    where 'liveDS' is the application connection name.
    3. Added the 'jboss-app.xml' under 'src/META-INF' folder of the application
    jboss-app.xml:
         <?xml version="1.0" encoding="UTF-8"?>
         <!DOCTYPE jboss-app
         PUBLIC "-//JBoss//DTD J2EE Application 5.0//EN"
         "http://www.jboss.org/j2ee/dtd/jboss-app_5_0.dtd">
         <jboss-app>
         <loader-repository>
         com.oracle.adfpojo:loader=adfm.jar
         <loader-repository-config>java2ParentDelegation=true</loader-repository-config>
         </loader-repository>
         </jboss-app>
    4. Added 'jboss-web.xml' under 'ViewController/public_html/WEB-INF' folder
    jboss-web.xml:
         <?xml version="1.0" encoding="UTF-8"?>
         <!DOCTYPE jboss-web PUBLIC
         "-//JBoss//DTD Web Application 5.0//EN"
         "http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd">
         <jboss-web>
              <class-loading>
              <loader-repository>
              com.oracle.adfpojo:loader=adfm.jar
              <loader-repository-config>java2ParentDelegation=true</loader-repository-config>
              </loader-repository>
              </class-loading>
         </jboss-web>
    5. Need to deploy our application as a EAR. Changes done in the Application Deployment profile:
    a. Check the assembly of your application
    b. Make sure 'jboss-app.xml' is selected under 'File Groups - Application Descriptors - Filters - Files'
    c. Set the 'Platform - Default Platform = JBoss 5.x'
    6. Similarly change the ViewController WAR Deployment profile:
    a. Make sure 'jboss-web.xml' is selected under 'File Groups - Web Files - Filters - Files'
    b. Set the 'Platform - Default Platform = JBoss 5.x'
    7. ADF Lib's included in the EAR (can be included at the application lib or at the war level) are as follows
         adf-controller-api.jar
         adf-controller.jar
         adf-controller-rt-common.jar
         adf-controller-schema.jar
         adf-controller-security.jar
         adf-dt-at-rt.jar
         adfdt_common.jar
         adf-faces-databinding-rt.jar
         adflogginghandler.jar
         adfm-debugger.jar
         adfm.jar
         adfmweb.jar
         adf-pageflow-dtrt.jar
         adf-pageflow-fwk.jar
         adf-pageflow-impl.jar
         adf-pageflow-rc.jar
         adf-richclient-api-11.jar
         adf-richclient-impl-11.jar
         adf-share-base.jar
         adf-share-ca.jar
         adfsharembean.jar
         adf-share-security.jar
         adf-share-support.jar
         adf-transactions-dt.jar
         bc4j-mbeans.jar
         bc4jtester.jar
         bc4jwizard.jar
         cache.jar
         com.bea.core.apache.commons.collections_3.2.0.jar
         commons-cli-1.0.jar
         commons-el.jar
         db-ca.jar
         dms.jar
         dvt-databindings.jar
         dvt-facesbindings.jar
         dvt-faces.jar
         dvt-jclient.jar
         dvt-trinidad.jar
         dvt-utils.jar
         fmw_audit.jar
         glassfish.el_2.1.1.jar
         glassfish.jsf_1.2.9.0.jar
         glassfish.jstl_1.2.0.1.jar
         groovy-all-1.6.3.jar
         help-share.jar
         identitystore.jar
         idert.jar
         inspect4.jar
         jacc-spi.jar
         javatools.jar
         javatools-nodeps.jar
         javax.activation_1.1.0.0_1-1.jar
         javax.jsf_1.2.0.1.jar
         javax.jsp_1.1.0.0_2-1.jar
         javax.management_1.2.1.jar
         javax.management.j2ee_1.0.jar
         javax.security.jacc_1.0.0.0_1-1.jar
         javax.servlet_1.0.0.0_2-5.jar
         jdev-cm.jar
         jdev-rt.jar
         jewt4.jar
         jmxframework.jar
         jmxspi.jar
         jps-api.jar
         jps-common.jar
         jps-internal.jar
         jrf-api.jar
         jrf-client.jar
         jrf.jar
         jsp-el-api.jar
         ldapjclnt11.jar
         mdsrt.jar
         ohj.jar
         ojdbc6.jar
         ojdl.jar
         ojmisc.jar
         oracle-el.jar
         oracle_ice.jar
         oraclepki.jar
         oracle.ucp_11.1.0.jar
         orai18n-collation.jar
         orai18n.jar
         orai18n-lcsd.jar
         orai18n-mapping.jar
         orai18n-servlet.jar
         orai18n-translation.jar
         orai18n-utility.jar
         oramds.jar
         org.apache.commons.beanutils_1.6.jar
         org.apache.commons.logging_1.0.4.jar
         osdt_cert.jar
         osdt_core.jar
         osdt_xmlsec.jar
         regexp.jar
         resourcebundle.jar
         runtime12.jar
         share.jar
         trinidad-api.jar
         trinidad-impl.jar
         wls.jsf.di.jar
         xmlef.jar
         xml.jar
         xmlparserv2.jar
    Note:
    a. Few of the above jars might not be used and we can drill down to clean up this further.
    b. We were also facing the issue with the 'adf-richclient-impl-11.jar' (Jdev - 11.1.1.2.0)
    Opened the jar, removed the "AdfSignedClientFileWriterApplet.jar" available inside "adf-richclient-impl-11/afr/archives"
    folder and saved the adf-richclient-impl-11.jar.
    Copied this jar in the lib folder.
    JBoss related changes:
    8. Copy 'oracle-ds.xml' file into 'jboss-5.0.0.GA/server/default/deploy'
    oracle-ds.xml:
         <?xml version="1.0" encoding="UTF-8"?>
         <datasources>
         <local-tx-datasource>
         <jndi-name>liveDS</jndi-name>
         <use-java-context>true</use-java-context>
         <connection-url>jdbc:oracle:thin:@host:port:sid</connection-url>
         <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
         <user-name>username</user-name>
         <password>password</password>
         <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
         </local-tx-datasource>
         </datasources>
    where 'liveDS' is the datasource name provided in the AM.
    9. Copy the Application.EAR into the 'jboss-5.0.0.GA/server/default/deploy' folder and start the server.
    The Application deployed successfully but when I access the page in the browser (page having FORM) , Its display nothing,
    At the log the following message appears
    2010-08-01 12:49:04,968 INFO [oracle.adf.mbean.share.connection.ConnectionsMXBeanImpl] (main) Registering Connection Runtime MBean
    *2010-08-01 12:49:15,750 WARNING [oracle.adf.share.jndi.ReferenceStoreHelper] (main) Incomplete connection reference object for connection:hr*
    2010-08-01 12:49:19,375 INFO [org.apache.coyote.http11.Http11Protocol] (main) Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
    2010-08-01 12:49:19,421 INFO [org.apache.coyote.ajp.AjpProtocol] (main) Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
    2010-08-01 12:49:19,453 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] (main) JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 2m:22s:172ms
    2010-08-01 12:49:42,796 INFO [oracle.jbo.uicli.mom.CpxUtils$Visitor] (http-127.0.0.1-8080-1) jndi:/localhost/BossADFRel2-MVC-context-root/WEB-INF/classes/mvc/DataBindings.cpx
    *2010-08-01 12:49:43,140 INFO [oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl] (http-127.0.0.1-8080-1) ADFc: Initializing ADF Page Lifecycle for the JSF environment, LifecycleContextBuilder is 'oracle.adfinternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.*
    but nothing appears in the browser.
    I need immadiate Help.
    Tanks in Advance.
    Edited by: MuhabbatAli on Aug 1, 2010 2:19 PM

    User,
    As you may know, ADF 11g applications have only been certified/supported on WLS 10.3.x at the moment. Any other application server (whether it be JBoss, Tomcat, Glassfish, WAS, etc) aren't officially documented/supported. There are certainly people who have tried to get it working with varying degrees of success (a quick search of the forum would find some of them), and Shay has indeed highlighted a blog entry of someone who has worked with JBoss.
    John

  • About migrating from 10.1.2 to 10.1.3 (page events)

    Hi forum,
    As authentication based on public key certificates only works under jdev 10.1.3.1, I'm upgrading my 10.1.2 application to that version. I'm following the Oracle document "Converting to the ADF Page Lifecycle from 10.1.2" (http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3?topic=adf_convertingfrom10_1_2_html) that it's a really great help. However, this document doesn't explain how to migrate page events. In UIX, a submitButton may have an "event" attribute that fires the method called onEventName in the DataPage class. In ADF Faces, I don't know how to do that. The document previously mentioned doesn't say anything about this topic. The solution I've tryed is the following:
    As document "API Changes from ADF UIX" (http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/api-changes.html) explains, submitButton turns into commandButton and event attribute is replaced by an actionlistener. So, in my jspx page:
    <af:commandButton id="myButton" text="Search" actionListener="#{pageCode.listen}"/>
    <af:commandButton id="myOtherButton" text="All" actionListener="#{pageCode.listen}" />
    In faces-config.xml:
    <managed-bean>
    <managed-bean-name>pageCode</managed-bean-name>
    <managed-bean-class>com.mycompany.web.struts.actions.MyPageController</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    In controller class, I replace DataActionContext by PageLifecycleContext in events parameters. Furthermore, a listen method is added:
    public class MyPageController extends PageController
    // I want to migrate this event
    public void onSearch (PageLifecycleContext ctx)
    // code of page event inherited from 10.1.2
    // I want to migrate this event
    public void onAll (PageLifecycleContext ctx)
    // code of page event inherited from 10.1.2
    // This is the method I've just added
    public void listen (ActionEvent e)
    FacesContext context = FacesContext.getCurrentInstance();
    HttpServletRequest request = (HttpServletRequest)context.getExternalContext().getRequest();
    PageLifecycleContext plc = (PageLifecycleContext)request.getAttribute("ADFLifecycleContext");
    String idButton = (String)e.getComponent().getAttributes().get("id");
    if (idButton.equals("myButton"))
    onSearch(plc);
    else if (idButton.equals("myOtherButton"))
    onAll(plc);
    I'd like to know if there is any other simplier way to do event migration from 10.1.2 to 10.1.3.
    Thanks in advance.
    Luis Serrano.

    If you change your view objects to use the new named bind variables in 10.1.3, then you can do what you were doing in prepareModel in a declarative way now using the invokeAction executable in your page definition to trigger the firing of an executeWithParams action.
    You can study example #76 on my blog to see an example of doing this:
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#76
    If you want to do things programmatically still, which is fine of course, then you can reference section 10.5.4.3 "Using Custom ADF Page Lifecycle to Invoke an onPageLoad Backing Bean Method" in the ADF Developer's Guide for Forms/4GL Developers on the ADF Learning Center at http://www.oracle.com/technology/products/adf/learnadf.html The key benefit of this approach is that if you have a backing bean for your page, it allows you to put your prepareModel code inside the backing bean in an onPageLoad() method so you don't end up with both a backing bean and a page controller class for that page.
    Of course, you can also still use a customized PageController class and override prepareModel() as you did before. All of these ways are viable.

  • Lifecycle issue with table binding + read-only attributes: ADF BUG

    Hello all,
    I have found what I believe to be an easily reproducible bug in ADF that reproduces in 10.1.3.x, but not in 11g (at least not in drop 6). The best way to describe the bug would be to walk through a simple set of steps to reproduce the bug:
    1). Create a new application (ADF BC + ADF Faces).
    2). In the model project, create a new Entity Object from the Employee table in the default HR schema. Allow JDev to create an updatable view object and an AM as well.
    3). Put a validation rule on the first name attribute of the EO (can be anything, really - I made mine so that the first name cannot be "foo").
    4). Test everything using the BC tester if you like.
    5). In the UI project, create a new JSPX page.
    6). Drag the updatable VO on to your page as an updatable af:table.
    7). Put an af:commandButton on the page. Bind its Action or ActionListener to a method in a new backing bean. Put some simple code (I used System.out.println) in the backing bean method.
    8). Run the jspx page.
    9). Put some invalid data in (e.g. "foo" in the first name field) and click the af:commandButton. Verify that you get an error message and that the Action/ActionListener method DOES NOT fire. So far, so good.
    10). Now, to demonstrate the problem. First, look at the page definition for the jspx file. Identify the first attribute that is mentioned (in my case, it was the employee id).
    11). Go to the updatable view object and make the attribute from #10 read-only or updatable when new only.
    12. Now, repeat step 9 - you should see the error message AND also see that the Action/ActionListener method was executed. You will also see in the messages window that ADF attempted to set the value of the read-only attribute, and thus got a ReadOnlyAttrException.
    This issue only happens if the first attribute mentioned in the table binding is read-only. A workaround would simply be to re-order the attributes in the table binding of the pagedef so that the first attribute isn't read-only.
    Don't ask how I figured this out ;)
    Best,
    John

    Hi Frank,
    Yes, I simply scripted it out this way to contrast the behaviour if the first attribute was read-only vs not read-only. I found the issue on a page in our app that was simply drag-and-drop the VO from the data control on the page.
    It's quite annoying, because our particular use case that hit this error is a "save" button on the page. If the commit operation doesn't return any errors (and it doesn't in this use case!), we add a JSF message saying "save successful" - then the attribute errors are further added later in the page lifecycle, so we get 3 messages: "Save successful" and "Fix this error" and "Tried to set read-only attribute" - quite confusing to the end-user when the only message they should see is "fix this error."
    At any rate, the fix is to simply re-order the attributes in the page definition - that doesn't affect the UI at all, other than to fix this issue.
    John

  • Customize JSF LifeCycle

    Hi all,
    Presently i am working on JDeveloper 11g. I want to customize JSF PageLifecycle in my project for customizing error messages to get proper error messages to the client. Can anybody help me ?

    This question has been ask here before. Have you searched the forum?
    Did you check the docs?
    [26.8 Customizing Error Handling|http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/web_adv.htm#CIHHBEEJ] shows how to do this.
    For the life cycle read [19 Understanding the Fusion Page Lifecycle|http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/adf_lifecycle.htm]
    Timo

  • JSF Simple Page Communication

    Hi All,
    I have a question about how is the best way to create a simple search page, I have one but I must not understand the page Lifecycle because it acts wierd...? Here is what I want
    2 Pages -
    Page 1 Default.jspx has two inputTexts for first and last name and one commandLink which calls an action in the SearchBean managed request bean
    Page 2 has an ADF Table bound to a Table of search results Plus more inputTexts which are used to filter the results.
    What I am doing.
    When the link calls getSearchResults i have the following method in the bean
    public String searchEmployees()
    String fname = this.itFirstName.getValue() != null ? this.itFirstName.getValue().toString() : "";
    String lname = this.itLastName.getValue() != null ? this.itLastName.getValue().toString() : "";
    JSFUtils.storeOnSession("fname",fname);
    JSFUtils.storeOnSession("lname",lname);
    JSFUtils.storeOnSession("SearchType","Simple");
    return "gotoEmployeeResults";
    the return is used for JSF Navigation to send the App to the Results page where the Databound Table calls the getEmployees method
    public List<Employee> getEmployees()
    try
    String searchType = (String)JSFUtils.getFromSession("SearchType") != null ? (String)JSFUtils.getFromSession("SearchType") : "Simple" ;
    if(!"".equals(searchType) && searchType != null && searchType.equals("Filter"))
    FilterEmployeeSearch();
    else
    simpleEmployeeSearch();
    catch(Exception e)
    return this.employees;
    Now the user can use the filters and submit a new request using another commandLink which calls the following method
    public String filterSearchEmployees(){
    String fname = this.itFilterFirstName.getValue() != null ? this.itFilterFirstName.getValue().toString() : "";
    String lname = this.itFilterLastName.getValue() != null ? this.itFilterLastName.getValue().toString() : "";
    String site = this.itFilterSite.getValue() != null ? this.itFilterSite.getValue().toString() : "";
    String dept = this.itFilterDepartment.getValue() != null ? this.itFilterDepartment.getValue().toString() : "";
    String ext = this.itFilterExtension.getValue() != null ? this.itFilterExtension.getValue().toString() : "";
    JSFUtils.storeOnSession("fname",fname);
    JSFUtils.storeOnSession("lname",lname);
    JSFUtils.storeOnSession("site",site);
    JSFUtils.storeOnSession("dept",dept);
    JSFUtils.storeOnSession("ext",ext);
    JSFUtils.storeOnSession("SearchType","Filter");
    return "gotoEmployeeResults";
    and the Table gets the employees again
    The problem is that not only does the get employees method get called a ton of times but my filterSearchEmployees is never called hence my session SearchType never gets set to filter and the filter search never runs.
    I Guess the main question here is am I going about this the right way? Passing session values and using JSF Navigation? I am a .NET guy and it seems like this is much simpler in .NET so I hope there is an easier approach for JSF?
    Thanks in advance for any help.

    Hi,
    Your pages are semi-correct. From the code snippet, I see that you're probably using the "binding" attribute instead of EL to bind the field values. As for the multiple method calls, it's normal, hence why the getter should cache the result for the current request in an instance variable of the managed bean. So I would see:
    public class SearchFilter implements Serializable
        private String firstName;
        private String lastName;
        // Add missing fields
        public String getFirstName()
            return firstName;
        public String getLastName()
            return lastName;
        public void setFirstName(String firstName)
            this.firstName = firstName;
        public void setLastName(String lastName)
            this.lastName = lastName;
    public class EmployeeManager
        private SearchFilter filter;
        private transient List<Employee> filteredList;
        public SearchFilter getSearchFilter()
            return lastName;
        public void setSearchFilter(SearchFilter filter)
            this.filter = filter;
        public List<Employee> getEmployees()
            if (filteredList == null)
                // Get the full list and apply the filter on it then cache the result in filteredList
            return filteredList;
    }The searchFilter bean should be pageFlow scoped (or session) while the manager should be backingBean scoped (or request). The filter should be injected in the manager by JSF
    Regards,
    ~ Simon

  • How to execute a backing-bean method before loading JSP Page?

    Hi everybody.
    Scene:
    An AdfForm, with
    -SelectChoice, referenced to a <list> of pageDef, which is referenced to an ADF BC.
    Goal:
    -Executing the query of the ADF BC before load the SelectChoice, to load the correct values.
    A good question to know:
    Exists any way to execute a method of backing before loading a JSP Page?
    Any similar to onload method of javascript. It could be fantastic.
    Thanks in advance,
    Jaime

    hi Jaime
    If I understand correctly, you are using the ADF Model for data binding.
    Because your goal is "Executing the query of the ADF BC ...", maybe you can also consider to refresh an executable in your Page Definition.
    See also "10.5.5 How to Use Refresh Correctly for InvokeAction and Iterator Bindings"
    at http://download.oracle.com/docs/html/B25947_01/bcdcpal005.htm#BJECHBHF
    It says "... You can use the Refresh property on iterator bindings and invokeAction executables in your page definition to control when each are evaluated during the ADF page lifecycle, either during the prepareModel phase, the prepareRender phase, or both. ...".
    Although you have posted your question in a structured way, which is a good thing, I think it would help to understand your question if you can explain how you determine "the correct values" for your list, what is varying?
    success
    Jan Vervecken

  • [SOLVED] ADFBC:Auto Popup

    Hai all
    I'm developing a web application using Jdeveloper 10.1.3 and ADF BC.
    I need to implement the following feature in my application.
    When my home page is loaded, one popup should be displayed on the screen
    with another jsp page.It automatically loaded without any user action after login.
    Is there any way in ADF to invoke a popup along with another page?.
    Please help.......
    Ans

    Hi,
    you could use the dialog framework to programatically invoke a dialog once the main page is loaded. There is no declarative way for doing this, but you can customize the caller ADF page lifecycle to detect that the page finished loading to the call the dialog window.
    Frank
    Ps.: Didn't tried this in praxis but if I had to do it, this is what i would look at

Maybe you are looking for

  • Error while running progress bar

    Hi , I wrote the following code in process form request to get the progress bar. if (pageContext.getParameter("submit") != null) while(i<20) try{ OAProcessingPage page = new OAProcessingPage("xxx.oracle.apps.xxap.apr.webui.testingCO"); page.setConcis

  • Apple TV 2 v4.4.2 (3160) Going to Sleep Regardless of Never Setting.

    Is anyone else having this problem?  We have our photos as our screen saver and lately we've noticed the system going to sleep even though we have it set to never.

  • Error when opening connection in SQL Developer 3.1

    I just downloaded SQL Dev 3.1 and had it copy my preferences from 3.0.0.4. Now when I try to open a connection I get the error message in the logging page: SEVERE     29     9453     oracle.dbtools.raptor.utils.Connections     For input string: "" Th

  • Condition based Preventive Maintenance - IMRC0001

    Hi Friends , Can we create notifications of a particular type against a particular equipement automatically , only with the help of user exit IMRC0001 or some other are also required . Actually our main requirement is that user will post measurement

  • Make my directory as FTP

    Hi,               My scenario is File to File. The sender communication channel has to pick the file from my local desk top. I configured sender communication channel as a FTP. Now how can I make my local desk top as a FTP folder