Problems with ADF auto submit.

Hi,
I am new to ADF application development and I face an issue while working with the auto submit attribute.Please help me if I am doing anything wrong. The scenario is as follows....
I have a adf table where columns values needs to be entered by the user thorough LOV, inputtext box and checkboxes. For the sake off validation to occur while typing manually in the lov fields we have included auto submit in LOV field. We have set auto submit to true to other fields also to set the values as in while we change it since it was refreshing the values to it previous state/empty when the LOV field get loaded.
Now the problem is that when I change value in a text field and without shifting the focus (the auto submit is not triggered yet), I click the check box (now auto submit is triggered for the input text box) to deselect/select. What happens is that the checkbox gets refreshed back to it previous state (since the change event for the input box is in progress when I clicked the checkbox).
What I do have in my code when I debug is the getter setter methods in the viewRowImpl class for that table view object is called 5-6 times before it renders the page. I tried to figure it out by understanding the phases in the life cycle but I couldnt get it right......
I like to add that i didnt implement any value change listener thinking it will increase complexity. Correct me if I am wrong.....
So pls help me with these .
1. how to make the checkbox persist even if I change it before the change event autoSubmit process is in progress for other fields.
2. Why is the getter methods called 5-6 time before it get the page rendered ?.
3. Is it a mistake I did implement the valueChangeListener to set the values.
4. Finally is there any alternate way to implement the above scenario more efficiently.
thank you.....

Hi subu,
I am sorry that have not got it right.... let me explain in with an example code.
<af:table value="............"
var="row"
rows="..........."
selectedRowKeys="........................."
selectionListener="........................."
rowSelection="single" id="t1" styleClass="SimpleTable"
contentDelivery="immediate"
columnSelection="none"
disableColumnReordering="true"
horizontalGridVisible="false"
verticalGridVisible="false" dontPersist="ALL"
partialTriggers="........................."
autoHeightRows="5"
binding=".........................">
<af:column headerText="..............................." id="c6" width="45">
<af:inputListOfValues id="bankTypeId" value="......" required="......" columns="...." autoSubmit="true">
<f:validator binding="..............................."/>
</af:inputListOfValues>
</af:column>
<af:column sortProperty="....," sortable="false" id="c3" width="75">
<af:inputText value="....." required="....." autoSubmit="true" id="it23" >
<f:validator binding="...."/>
</af:inputText>
</af:column>
<af:column sortProperty="PayableByBacs" sortable="false" headerText="......." id="c7" width="60" align="center">
<af:selectBooleanCheckbox value="...." autoSubmit="true" id="sbc2"/>
</af:column>
</af:table>
Now the when I change value in 'bankTypeId' (LOV) the other pre-entered values gets refreshed even though they have no partial trigger. So I have included the autosubmit to the checkbox and text field too.....
Now the value stays when I change the LOV field value. But When I enter a new value in the text field (it23) and without shifting the focus I change the selectBooleanCheckbox value. It load for a second and the value gets changed to previous value.
I think now I made myself little bit more clearer.... Pls do tell if there needs any more clarity.
Thank you.......

Similar Messages

  • Problem with ADF Table and doDML method.

    HI,
    I have a problem with ADF Trinidad Table. I have one search form and which i click on search button the result is coming it's working fine, And when i click on CreateInsert button to insert a new row it's adding after entering all the data into the table when i click on button on the page i am getting error like
    Messages for this page are listed below.
    Error     
    Missing mandatory attributes for a row with key oracle.jbo.Key[1 ] of type AppModule.CmSubscribersView1
    Error     
    Attribute Name in AppModule.CmSubscribersView1 is required
    Error     
    Attribute CreatedBy in AppModule.CmSubscribersView1 is required
    Error     
    Attribute CreationDate in AppModule.CmSubscribersView1 is required
    Here Created By and Creation Date are not available in the table i need to set these data from back end for that i have used doDML() method in the entity object and i written the logic but this method not even invoking as i couldn't able to see the logs in the server.
    protected void doDML(int operation, TransactionEvent e) {
    super.doDML(operation, e);
    System.out.println("^^^^^^^^^^^^^^^^66666Inside entity object^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ");
    // AppModuleImpl am=new AppModuleImpl();
    // Number userID= am.getUserId();
    //System.out.println("User id in the Entity Object Is: "+userID);
    oracle.jbo.domain.Date dt = new Date();
    if(operation ==DML_INSERT){
    EntityDefImpl cmSubscribers=CmSubscribersImpl.getDefinitionObject();
    CmSubscribersImpl newSubscribers=(CmSubscribersImpl)cmSubscribers.createInstance2(getDBTransaction(),null);
    Number n=new Number(1599);
    newSubscribers.setCreatedBy(n);
    newSubscribers.setCreationDate(dt);
    newSubscribers.setLastUpdateDate(dt);
    newSubscribers.setLastUpdatedBy(n);
    But still the same problem can any one help me inthis.
    Regards,
    Edited by: user5802014 on Aug 21, 2009 2:04 PM

    Hi,
    Modify your method to call super.doDML() after initialization of mandatory attributes as below:
    protected void doDML(int operation, TransactionEvent e) {
         oracle.jbo.domain.Date dt = new Date();
         if(operation ==DML_INSERT){
              //PRE-INSERT code begins     
           EntityDefImpl cmSubscribers=CmSubscribersImpl.getDefinitionObject();
           CmSubscribersImpl newSubscribers=(CmSubscribersImpl)cmSubscribers.createInstance2(getDBTransaction(),null);
           Number n=new Number(1599);
           newSubscribers.setCreatedBy(n);
           newSubscribers.setCreationDate(dt);
           newSubscribers.setLastUpdateDate(dt);
           newSubscribers.setLastUpdatedBy(n);
           //PRE-INSERT code ends
           super.doDML(operation, e);
           //POST-INSERT code if any
         }else
            super.doDML(operation, e);
    }Sireesha

  • Migration Jdev 11.1.1.1 to Jdev 1.1.2, IDE visual problems with ADF design

    Migration Jdev 11.1.1.1 to Jdev 1.1.2, IDE visual problems with ADF design
    CONTEXT
    I’ve been working my project with Jdev11.1.1.1, when I migrate to JDev 11.1.1.2. I realized that my project didn’t compile successfully as before besides I couldn’t see the design view in a WYSIWYG mode on my JSF pages.
    I had installed (initially) in C:\oracle\Middleware Jdev 11.1.1.1 with WLS 10.3 (default in Installer)
    A couple days ago I realized about the new Jdev release JDev 11.1.1.2 and I decided to migrate because of the IDE improvements such as Bugs Solutions, Maven support, code templates, etc).
    The new version seemed to be non-compatible with WLS 10.3 because I couldn’t mount it in the same middleware so I installed the new one in C:\oracle\Middleware11g2, JDev 11.1.1.2 with WLS 10.3.1 (default in Installer).
    EXAMPLE
    I have created a new sample Project named JDev112App, it only has 1 java class, 1 ADF template and 1 JSPx to show the errors and differences between releases of the IDE… However, I also have added the screenshots of the Project in each IDE, also I have included a screenshot of my real project (Business App).
    NOTE. Business APP project is under subversion SVN and the migration was done successfully when JDEv 11.1.1.2 opened it (it migrated automatically).
    What should I do?? .. thanks
    Best Regards,
    Screenshot1
    http://comunidadoraclehispana.ning.com/forum/attachment/download?id=2315969%3AUploadedFi38%3A15778
    Screenshot2
    http://comunidadoraclehispana.ning.com/forum/attachment/download?id=2315969%3AUploadedFi38%3A15779
    Example APP
    http://comunidadoraclehispana.ning.com/forum/attachment/download?id=2315969%3AUploadedFi38%3A15784

    I think that the problem could be preferences/settings migration from Jdev 11.1.1.1.0 to JDev 11.1.1.2.0, because I migrated not only the application but also the JDev preferences ( "Documents&Settings...Jdeveloper..." ).
    I have installed in a new machine without previous version of Jdev the new release JDev 11.1.1.2.0 and when I deploy my test application with errors ( showed in this post ), it works fine and also the design view is correct.
    I am not SURE but I think the bug or problem could be also the preference/settings migration between JdeveloperS.
    Can anybody tell me the real reason?? How can I fix it ... I don’t want to import each of my settings manually in JDev 11.1.1.2.0 ( I mean templates, javadocs settings, connections, repositories, etc).
    Thanks in advance for your help,

  • Problem with ADF Application after upgrade to 10.1.2.3

    Hello,
    i have some problems with my ADF applications after upgrade of AppServer to 10.1.2.3.
    The only Excteption i got is in the application.log of the container:
    Error in errorPage /faces/pages/error/error404.jspx
    javax.servlet.ServletException
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:614)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:556)
         at pages.error._error404._jspService(_error404.java:682)
         at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:356)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:498)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:402)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:674)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:230)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
         at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:674)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:230)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.EvermindHttpServletResponse.sendError(EvermindHttpServletResponse.java:1298)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.EvermindHttpServletResponse.sendError(EvermindHttpServletResponse.java:1428)
         at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:162)
         at oracle.security.jazn.oc4j.JAZNServletResponse.sendError(Unknown Source)
         at oracle.adf.view.faces.webapp.ResourceServlet.doGet(ResourceServlet.java:169)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at oracle.adf.view.faces.webapp.ResourceServlet.service(ResourceServlet.java:135)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:674)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:816)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:231)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:136)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    Does anybody know how to handle it?
    Regards.
    Krystian.

    I am also getting the similar error if I enable a particular coloumn of a table to load into ORM , I am getting the following error,
    javax.servlet.jsp.JspException     at jsp.viewsinglerecord.throwError(_viewsinglerecord.java:31)     [SRC:/jsp/standardinclude.jsp:84]     at jsp.viewsinglerecord._jspService(_viewsinglerecord.java:1185)     [SRC:/jsp/displaymultiplerecords.jsp:461]     at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:356)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:498)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:402)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:835)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:230)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:257)     at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)     at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)     at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:835)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:816)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:231)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:136)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)

  • Problem with adf tables in dynamyc region

    Hello.
    I have a problem when use ADF tables within dynamic regions. It happens that if the table is inside the first task flow that is loaded (by default) in the dynamic region, retrieves the data perfectly, but if the table is in a second, third and so on. task flow, does not retrieve data. This happens only with adf tables and graphics, if I use a component form, for example, does not present any problem.
    Any idea that can be happening?
    I'm using Jdveloper 11.1.1.1.0
    Appreciate any ideas or help with this problem
    In iexplorer 8 gives the following error:
    Detalles de error de página web
    Agente de usuario: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
    Fecha: Wed, 2 Dec 2009 16:17:48 UTC
    Mensaje: 'null' is null or not an object
    Línea: 1105
    Carácter: 2
    Código: 0
    URI: http://seisbd101.dgac.cl:7001/SGLadf-ViewController-context-root/afr/partition/ie/default/opt/collection-11-r1.js

    Hi,
    set the managed bean scope for the bean that switches between the regions to a scope larger as request: for example, set it to viewScope or pageFlowScope. This fixes the problem
    Frank

  • Custom exception problems with ADF framework

    Hi,
    I have problems with the exception handling in an web service Java class (POJO).
    In this class I throw my own exception WsException-class which extends the normal Exception-class.
    The class WebservicesAppModule extends the oracle.jbo.ApplicationModule.
    In the following I first describe the web service class and then the three tests a)-c).
    In test b) you can find my main problem.
    Web service Java class (POJO):
    public Element check(Element element) throws WsException{   
    WebservicesAppModule am = null;
    try {
    // 1) system error
    // if I comment the next line out, then am = null and a NullPointerException is thrown which appear as NullPointerException in the SOAP response
    am = (WebservicesAppModule)Configuration.createRootApplicationModule(_am,_cf);
    if(value == null){
    // 2) application error
    WsException wsex = new WsException();
    wsex.addErrorCode(WsException.C_INVALID_BANK_CONNECTION);
    throw wsex;
    } else if (value2 == null){
    // 3) explicit system error
    throw new NullPointerException();
    }catch(WsException wsex){
    // 4) application error
    throw wsex;
    }catch(Throwable ex){
    // 5) system error
    log.debug("Technischer Fehler", ex);
    WsException wsex = new WsException("system error");
    wsex.addErrorCode(WsException.C_NOK);
    throw wsex;
    } finally {
    if (_am != null) {
    Configuration.releaseRootApplicationModule(am, false);
    Test a):
    - The WebservicesAppModule is initialized (1)
    - value = null, so the process run in the "application error" if-block (2)
    - The WsException is thrown and catched in the "application error" catch-block (4)
    The SOAP repsonse is okay:
    --- Response ---
    HTTP/1.1 100 Continue
    Server: Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)
    Date: Thu, 20 Jul 2006 09:43:39 GMT
    HTTP/1.1 500 Internal Server Error
    Date: Thu, 20 Jul 2006 09:43:55 GMT
    Server: Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)
    Content-Length: 520
    Connection: Close
    Content-Type: text/xml; charset=utf-8
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server.Exception:</faultcode>
    <faultstring>[11000, 10001] [de.test.webservices.WsException]</faultstring>
    <faultactor>/app-Webservices-context-root/WebServices</faultactor>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Test b):
    - The WebservicesAppModule is NOT initialized (the line is comment out) (1)
    - The process run in system error catch-block (5)
    In the SOAP repsonse I expected the following <faultstring> (like in test c) )
    <faultstring>system error: [10000] [de.test.webservices.WsException]</faultstring>
    and not
    <faultstring> [java.lang.NullPointerException]</faultstring>
    What´s the problem?
    --- Response ---
    HTTP/1.1 100 Continue
    Server: Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)
    Date: Thu, 20 Jul 2006 08:59:12 GMT
    HTTP/1.1 500 Internal Server Error
    Date: Thu, 20 Jul 2006 09:01:02 GMT
    Server: Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)
    Content-Length: 506
    Connection: Close
    Content-Type: text/xml; charset=utf-8
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server.Exception:</faultcode>
    <faultstring> [java.lang.NullPointerException]</faultstring>
    <faultactor>/app-Webservices-context-root/WebServices</faultactor>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Test c):
    - The WebservicesAppModule is initialized (1)
    - value != null, so the process run to the next if-block (2)
    - value2 == null, so the process run in the "explicit system error" (3)
    - The WsException is thrown and catched in the "system error" catch-block (5)
    This test shows that not the NullPointerException of Test b) is the problem.
    This response is expected in Test b).
    --- Response ---
    HTTP/1.1 100 Continue
    Server: Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)
    Date: Thu, 20 Jul 2006 13:53:46 GMT
    HTTP/1.1 500 Internal Server Error
    Date: Thu, 20 Jul 2006 13:54:19 GMT
    Server: Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)
    Content-Length: 533
    Connection: Close
    Content-Type: text/xml; charset=utf-8
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server.Exception:</faultcode>
    <faultstring>system error: [10000] [de.test.webservices.WsException]</faultstring>
    <faultactor>/app-Webservices-context-root/WebServices</faultactor>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    What is the cause for the false <faultstring> in test b)? Where set the the ADF framework the NullPointerException and how can I avoid that?
    Thanks and best regards,
    Tobias

    Hi,
    I have problems with the exception handling in an web service Java class (POJO).
    In this class I throw my own exception WsException-class which extends the normal Exception-class.
    The class WebservicesAppModule extends the oracle.jbo.ApplicationModule.
    In the following I first describe the web service class and then the three tests a)-c).
    In test b) you can find my main problem.
    Web service Java class (POJO):
    public Element check(Element element) throws WsException{   
    WebservicesAppModule am = null;
    try {
    // 1) system error
    // if I comment the next line out, then am = null and a NullPointerException is thrown which appear as NullPointerException in the SOAP response
    am = (WebservicesAppModule)Configuration.createRootApplicationModule(_am,_cf);
    if(value == null){
    // 2) application error
    WsException wsex = new WsException();
    wsex.addErrorCode(WsException.C_INVALID_BANK_CONNECTION);
    throw wsex;
    } else if (value2 == null){
    // 3) explicit system error
    throw new NullPointerException();
    }catch(WsException wsex){
    // 4) application error
    throw wsex;
    }catch(Throwable ex){
    // 5) system error
    log.debug("Technischer Fehler", ex);
    WsException wsex = new WsException("system error");
    wsex.addErrorCode(WsException.C_NOK);
    throw wsex;
    } finally {
    if (_am != null) {
    Configuration.releaseRootApplicationModule(am, false);
    Test a):
    - The WebservicesAppModule is initialized (1)
    - value = null, so the process run in the "application error" if-block (2)
    - The WsException is thrown and catched in the "application error" catch-block (4)
    The SOAP repsonse is okay:
    --- Response ---
    HTTP/1.1 100 Continue
    Server: Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)
    Date: Thu, 20 Jul 2006 09:43:39 GMT
    HTTP/1.1 500 Internal Server Error
    Date: Thu, 20 Jul 2006 09:43:55 GMT
    Server: Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)
    Content-Length: 520
    Connection: Close
    Content-Type: text/xml; charset=utf-8
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server.Exception:</faultcode>
    <faultstring>[11000, 10001] [de.test.webservices.WsException]</faultstring>
    <faultactor>/app-Webservices-context-root/WebServices</faultactor>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Test b):
    - The WebservicesAppModule is NOT initialized (the line is comment out) (1)
    - The process run in system error catch-block (5)
    In the SOAP repsonse I expected the following <faultstring> (like in test c) )
    <faultstring>system error: [10000] [de.test.webservices.WsException]</faultstring>
    and not
    <faultstring> [java.lang.NullPointerException]</faultstring>
    What´s the problem?
    --- Response ---
    HTTP/1.1 100 Continue
    Server: Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)
    Date: Thu, 20 Jul 2006 08:59:12 GMT
    HTTP/1.1 500 Internal Server Error
    Date: Thu, 20 Jul 2006 09:01:02 GMT
    Server: Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)
    Content-Length: 506
    Connection: Close
    Content-Type: text/xml; charset=utf-8
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server.Exception:</faultcode>
    <faultstring> [java.lang.NullPointerException]</faultstring>
    <faultactor>/app-Webservices-context-root/WebServices</faultactor>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Test c):
    - The WebservicesAppModule is initialized (1)
    - value != null, so the process run to the next if-block (2)
    - value2 == null, so the process run in the "explicit system error" (3)
    - The WsException is thrown and catched in the "system error" catch-block (5)
    This test shows that not the NullPointerException of Test b) is the problem.
    This response is expected in Test b).
    --- Response ---
    HTTP/1.1 100 Continue
    Server: Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)
    Date: Thu, 20 Jul 2006 13:53:46 GMT
    HTTP/1.1 500 Internal Server Error
    Date: Thu, 20 Jul 2006 13:54:19 GMT
    Server: Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)
    Content-Length: 533
    Connection: Close
    Content-Type: text/xml; charset=utf-8
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server.Exception:</faultcode>
    <faultstring>system error: [10000] [de.test.webservices.WsException]</faultstring>
    <faultactor>/app-Webservices-context-root/WebServices</faultactor>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    What is the cause for the false <faultstring> in test b)? Where set the the ADF framework the NullPointerException and how can I avoid that?
    Thanks and best regards,
    Tobias

  • Problem with ADF BC 11G and datasource : javax.naming.NameNotFoundException

    Hi,
    My application works with ADF BC 10G but does not work with ADF BC 11g. In both cases I use the same data source.
    My application uses only the BC4J from ADF.
    The setting of the datasource in my EAR is only in the web.xml and weblogic.xml, as in 10g version.
    What have I forgotten?
    Thanks.
    ## Detail 0 ##
    javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name: jdbc/datasource
         at oracle.jbo.server.DataSourceContext.lookup(DataSourceContext.java:109)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1404)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)
    The setting is :
    web.xml
         <resource-ref>
              <description>JDBC connection</description>
              <res-ref-name>jdbc/datasource</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <res-auth>Container</res-auth>
         </resource-ref>
    weblogic.xml
    <weblogic-web-app>
         <description>Web Application</description>
         <weblogic-version></weblogic-version>
         <reference-descriptor>
              <resource-description>
                   <res-ref-name>jdbc/datasource</res-ref-name>
                   <jndi-name>jdbc/datasource</jndi-name>
              </resource-description>
         </reference-descriptor>
    </weblogic-web-app>
    this code finds the datasource :
    InitialContext initialContextForDatasource = new InitialContext();
    javax.sql.DataSource ds = (javax.sql.DataSource) initialContextForDatasource.lookup("java:comp/env/jdbc/datasource");
    There is no error in the logs about data source
    Edited by: jdev user on Nov 24, 2010 11:16 AM
    Edited by: jdev user on Nov 25, 2010 10:59 AM

    A change in the problem :
    This code finds the datasource :
    InitialContext initialContextForDatasource = new InitialContext();
    javax.sql.DataSource ds = (javax.sql.DataSource) initialContextForDatasource.lookup("java:comp/env/jdbc/datasource");
    There is no error in the log about data source :
    <BEA-001124> <Created Connection Pool named DS .>
    <BEA-001174> <Creating Data Source named DS , JNDI Name = jdbc/datasource.>
    <BEA-001512> <Data Source DS has been successfully created.>
    but the applicationModule don't find the data source :
    ## Detail 0 ##
    javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name: jdbc/datasource
         at oracle.jbo.server.DataSourceContext.lookup(DataSourceContext.java:109)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1404)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
    Edited by: jdev user on Nov 25, 2010 1:40 PM

  • Problems with ADF in JDeveloper 10.1.2 - Focus Handling in a Table

    Hi there,
    we have a problem with the focus handling in a JClient-Table
    (embedded in a JScrollPane).
    When I insert a new row in a table (e.g. with 2 columns),
    and insert in the second column some text and
    (while the focus is still in the second column) then
    add again a new row to the table, the text from the
    "lost-focus-column" is moved to the new row.
    Example:
    Add row 1 (columns Name, FirstName) => Result:
    Row 1: Smith John
    Add row 2 => Result:
    Row 2: <empty> John
    Row 1: Smith <empty>
    Is that a bug of the framework or does anyone know a workaround for that
    behaviour ?
    Tanks a lot...
    Cheers, Claus

    Hi,
    problem solved. It's a Swing problem. The following line of code is neccessary:
    dataTable.putClientProperty("terminateEditOnFocusLost", Boolean.TRUE);
    (dataTable is the jTable).
    Unfortunately other Swing-Components (e.g. JTextField) don't have that
    client property :-(.
    Cheers,
    Claus

  • Upgrading WLS+ADF to 11.1.1.6: problem with ADF libraries

    Hi,
    I'm upgrading a standalone ADF environment (on RHEL5 64-bit) from 11.1.1.2.0 to 11.1.1.6.0. I followed note 1408663.1 "How to upgrade a WLS domain extended with ADF libraries" so first upgraded WLS to 10.3.6., then uninstalled Application Developer and finally installed the new ADF Runtime.
    When I ran the upgradeJRF command in wlst for my existing domain, I got a listing of 11.1.1.2.0 targets and no mention of 11.1.1.6.0 (no error messages either, though). Starting the servers I'm still seeing deployments such as adf.oracle.domain(1.0,11.1.1.2.0) and adf.oracle.domain.webapp(1.0,11.1.1.2.0). Shouldn't these be 11.1.1.6.0 now? Also tried re-deploying my application, re-built with JDeveloper 11.1.1.6.0, but the library deployments are still on 11.1.1.2.0.
    How can I upgrade the existing domain to 11.1.1.6.0?
    Regards,
    Joonas

    hi Joonas
    Joonas Linkola wrote:
    ...Starting the servers I'm still seeing deployments such as adf.oracle.domain(1.0,11.1.1.2.0) and adf.oracle.domain.webapp(1.0,11.1.1.2.0). Shouldn't these be 11.1.1.6.0 now? ...See also the related ADFEMG JIRA issue ADFEMG-112, "ER 12834041 : ADF RUNTIME LIBRARIES DON'T SHOW THE CORRECT VERSION NUMBERS IN WLS CONFIG.XML"
    at http://java.net/jira/browse/ADFEMG-112
    (or the forum message at Re: ADF Version to be used on a FormsReports 11gR2 install )
    regards
    Jan Vervecken

  • Jar file import problem with ADF application

    Hi Everyone,
    I am using Jdev 11g with integrated WLS. I have an ADF application and is trying to integrate JasperReport in it. I added the JasperReport JAR file in the project properties -> Libraries and Classpath, and checked it for "export" and "Deployed by Default'. I have my JasperReport codes in my managed bean
    as follows
    +public String cb1_action() {+
    +try {+
    +JasperDesign design = JRXmlLoader.load("C:/JDeveloper/mywork/ReentryApplication/ViewController/public_html/jasper/testReport.jrxml");+
    +JasperReport report = JasperCompileManager.compileReport(design);+
    +....+
    +}+
    +}+
    I am able to compile the managed bean class successfully. However when I run the application, I got a stack of errors like this,
    +[2009-10-08T11:31:59.910-04:00] [DefaultServer] [ERROR] [] [javax.enterprise.resource.webcontainer.jsf.application] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: test123] [ecid: 0000IGollZuB5EirL4YBUA1AnVop00000L,0] [APP: ReentryApplication] java.lang.RuntimeException: net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:[[+
    +C:\Documents and Settings\MISSP29\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\testReport_1255015914097_607807.java:4: package net.sf.jasperreports.engine does not exist+
    +import net.sf.jasperreports.engine.*;+
    +....+
    It appears that the JAR file is not picked up at the runtime correctly. I tried a simple Main class with the same codes and JAR file added, it works fine. Does anyone know what I am missing within the ADF application?
    Any helps would be appreciated.
    Thanks,
    John
    Edited by: john wang on Oct 8, 2009 9:24 AM

    Timo,
    Thanks you for your prompt response.
    1. I checked The following folder (I assume this is where it supposes to be). The JAR file is there.
    C:\Documents and Settings\MISSP29\Application Data\JDeveloper\system11.1.1.1.33.54.07\o.j2ee\drs\ReentryApplication\ReentryApplication-ViewController-webapp\WEB-INF\lib
    2. I did not do anything about deployment descriptor. Since I run my application within JDev integrated WLS, I did not do anything about deployment setting. Do I need do something with deployment descriptor if I want to import additional JAR files here? With my experience with 10g, to add a JAR file within JDev, all I need to do is to add it through project properties ->libraries.
    3. I agree with your absolute path comment. This is a test of how JasperReport works with ADF application. I will work it out later.
    Thanks,
    -John

  • Problem with ADF Mobile on Android

    Hi,
    I'm trying to run a very simple test with adf mobile on android emulator.
    But when I try to open the app, the splash screen never changes.
    Only when I go to the menu and I return to the app from the device menu, this show the main screen.
    And...
    When I try to open a very simple amx page, the app launch a message that says
    Failed to initilize the AdfcContext{classname: oracle.adfmf.framework.api.Model; method: pushPageFlowScope; params: ; }
    Somebody can help me?
    I am using:
    ADF Mobile Framework oracle.adf.mobile 11.1.2.4
    Android sdk 22
    Message: http://db.tt/mIqcekCI
    Log: http://db.tt/0frlguNq
    Thanks!

    Hi, there, a couple of things to double check on your emulator settings:
    When configuring the Android emulator, please make sure the emulator emulates ARM Processor (armeabi - v7).  ADF Mobile only works with ARM processors - both device and emulator.
    Under Memory Options, please ensure RAM is at least 768 or greater.  This of course is also constraint by the amount of memory your development machine has, but generally you should have at least 768 MB allocated.  ADF Mobile app itself won't take up nearly that much RAM of course, but there are a lot of Android apps that are started in the background when Android emulator starts.
    Also, make sure there is 500 MB of internal storage configured - you can go as low as 200 MB but the space will quickly.
    Lastly, before you compile/deploy again, please go to JDeveloper menu item Build - Clean All to clean up any left over deployment artifacts.
    Thanks,
    Joe Huang

  • Problem with ADF security and task flow calls

    Hi.
    I am using JDeveloper 11.1.2.0.0.
    I encountered a problem when tried to apply ADF security to my application.
    The way to reproduce the problem:
    1. Create new Fusion Web Application;
    2. Import Business Components from Tables from any existing schema and add at least one table to the ApplicationModule.
    3. Create "welcome page" (for instance, welcome.jsf). Add a button with fixed action outcome "test".
    4. Create test page, for instance, test.jsf. Drag and drop any view object from Data Controls onto the page and create a form with navigation controls. Add a button with fixed action outcome "return".
    5. Create bounded task flow, name it "test", drag and drop our test page on it - the page will be the default activity. Add a task flow return activity. Add a control flow case from the default view activity to the return activity, set From Outcome property to "return". So our return button should cause the task flow to exit.
    6. Open adfc-config.xml in diagram mode and place our welcome page on it. Then drag and drop the test task flow to create a task flow call activity. Add a control flow case from welcome page to task flow call activity, set the From Outcome property to "test". So our test button should call the test task flow.
    7. Configure application to run the unbounded task flow starting with Welcome view activity.
    At this point all works as expected: when application runs, the welcome page is displayed with test button. Pressing the test button results in displaying the test page, return button leads back to the welcome page.
    Now let's configure ADF Security.
    Run the ADF Security configuration wizard, choose ADF Authentication and Authorization.
    On the second page select Form-Based Authentication, check the Generate Default Pages flag.
    On the third page choose No Automatic Grants.
    On the next page keep the Redirect Upon Successful Authentication unchecked. Press Finish.
    Open jazn-data.xml to configure roles, users and resource grants:
    1. Create application role test-role.
    2. Grant the test-role privileges to view the test task flow.
    3. Create user and grant him the test-role.
    Now we have the public available welcome page and the test page with restricted access.
    When application runs, the welcome page is displayed as expected. Pressing the test button redirect us to auto-generated login page. After successful authorization the test page is displayed. But nothing happens if we click now the return button for the first time. When we click the return button once more, the application crushes with Error-500 and message "Target Unreachable, identifier 'bindings' resolved to null". The exact error trace depends on UI control bindings, but looks like this:
    javax.el.PropertyNotFoundException: //C:/Users/DUDKIN/AppData/Roaming/JDeveloper/system11.1.2.0.38.60.17/o.j2ee/drs/Test1/ViewControllerWebApp.war/test.jsf @10,120 value="#{bindings.Id.inputValue}": Target Unreachable, identifier 'bindings' resolved to null
         at com.sun.faces.facelets.el.TagValueExpression.isReadOnly(TagValueExpression.java:122)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:476)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:390)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.wasSubmitted(EditableValueRenderer.java:345)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.decodeInternal(EditableValueRenderer.java:116)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.decodeInternal(LabeledInputRenderer.java:56)
         at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:342)
         at org.apache.myfaces.trinidad.render.CoreRenderer.decode(CoreRenderer.java:274)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1324)
    (the rest of lines skipped).
    Any suggestions?
    Edited by: user13307311 on Apr 16, 2013 11:39 PM

    @Lovin_JV_941794
    The welcome page is public available since it does not have appropriate PageDef file.
    Login page comes not from the welcome page, it comes after attempt to access the test page. So after the login succeeded the test page appears, because redirect to welcome page after successful login is not configured. I do not need to return the welcome page at this moment, I need to go to the test page.
    It seems the task flow call stack to be destroyed after redirect to login page.
    Edited by: user13307311 on Apr 17, 2013 12:45 AM

  • Problem with ADF Security / SQL Authenticator after upgrade to 11.1.1.6

    Hi,
    We have an ADF application built with JDeveloper 11.1.1.2 that's been in production for a couple of years. Now we are in the process of upgrading to 11.1.1.6 so I have upgraded WLS and ADF in a test environment and re-deployed the application there. The application uses users and groups from database using SQL Authenticator configured in WLS. This worked fine in the old version but now after the upgrade we can't log in with credentials from the database. I can log in if I add a user to the default authenticator. We didn't touch any of the authenticator settings or security realm configurations during the upgrade. Both authenticators are marked as SUFFICIENT, as they have always been.
    Has something changed in the way SQL Authenticator is used since 11.1.1.2? What could be the problem?
    Regards,
    Joonas

    Answering myself here: after recreating the SQL Authenticator and the ADF Security configuration logins are working again. Don't know where the problem was though.

  • ER - Problem with ADF Faces filter when running ADF Faces within a portlet

    I am attempting to get ADF Faces to run within Oracle Portal, i.e. within a portlet using the JPDK.
    This, I am sure you are about to tell me, is not something that is fully supported, as yet.
    However, I have been successful in getting MyFaces to run within a portlet, by customizing the form tag.
    MyFaces, it seems, keeps track of the current viewid by storing it in the session, then uses this within the viewhandler and navigationhandler to determine the next view to load, based on the faces-config.xml navigation entries.
    By customizing the form tag it is then possible to retrieve this viewid from the faces context and outputting it in the form's action parameter.
    It is also possible, with a few more customizations, to run JSF RI within a portlet, i.e. by adding a custom viewhandler and loading a session variable with the current viewid from the faces context, then retrieving the viewid and outputting it as the action string in the customized form tag .
    Unfortunately there does not appear to be any way of getting ADF Faces (EA19 version) to run as a portlet, with either the RI or with MyFaces.
    I have configured a basic .jspx document in the <showPage> tags of the provider.xml file.
    This uses only the form tag and a few input tags and works when executed directly within my portlet project in JDeveloper (http://localhost:8988/TestJSFAppContext/faces/htdocs/facesportlet/index.jspx) using a redirectfilter (*.jspx htdocs -> /faces/htdocs).
    It is not possible to run ADF Faces with RI as a portlet since customization of the ADF Faces ViewHandler appears not to be supported.
    When attempting to run this with MyFaces as a portlet, however, I get the following message:
    oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl verifyFilterIsInstalled
    WARNING: The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution.
    I am having difficulty in understanding as to why this is happening but am guessing it must be something to do with either redirect URLs or due to the .jspx files being under /htdocs, i.e. the ADF Faces renderkit is checking that the ADF Faces filter is configured but the check fails since the filter does not execute.
    I have configured the filter in web.xml, as detailed in the documentation:
      <filter>
        <filter-name>adfFaces</filter-name>
        <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
      </filter>
      <filter-mapping>
        <filter-name>adfFaces</filter-name>
        <servlet-name>ADF Faces Servlet</servlet-name>
      </filter-mapping>
    <servlet>
        <servlet-name>ADF Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
      </servlet>
      <servlet-mapping>
        <servlet-name>ADF Faces Servlet</servlet-name>
        <url-pattern>/faces/*</url-pattern>
      </servlet-mapping>and have modified the provider.xml file as follows:-
          <renderer class="oracle.portal.provider.v2.render.RenderManager">
             <renderContainer>true</renderContainer>
             <renderCustomize>true</renderCustomize>
             <autoRedirect>true</autoRedirect>
             <contentType>text/html</contentType>
      <showPage>/faces/htdocs/facesportlet/index.jspx</showPage>        
             <editPage>/htdocs/facesportlet/FacesportletEditPage.jsp</editPage>
             <editDefaultsPage>/htdocs/facesportlet/FacesportletEditDefaultsPage.jsp</editDefaultsPage>
          </renderer>with the following tags also set:
       <session>true</session>
       <passAllUrlParams>true</passAllUrlParams>In order to ensure that the session stays alive so that the views are retrieved.
    As I say, the page loads OK when run directly within the JPDK project within JDeveloper, with a redirect filter (*.jspx -> /faces/*.jspx) but not when run from within Oracle Portal.
    In fact I have found that this filter is very sensitive, i.e. ADF Faces will not run in any project unless the configuration is exactly as above.
    It seems that the MyFaces team have got around the problem of maintaining session state with redirections but that ADF Faces needs the page URL that is passed in to the filter to be consistent.
    Is there some way around this, i.e. some kind of customization that I can implement to get the filter working?
    Thnks

    I have found a way to go round the problem.
    I use the servlet 2.4/jsp 2.0 route and then
    change the web.xml header to the servlet 2.3/jsp 1.2
    format. Everything then works fine after this!
    Please fix this for production.
    Behnam

  • Multiple user login problem with ADF

    Hi All,
    I am using Jdev 11g. I have an ADF application which is running inside JDev enbedded WLS. I implemented "Authentication Only" security into the application and created a few users. If I try to login/logout/re-login with individual user, all of users work perfectly. However, when I have one user already logged in, I open another browser and try to login with another user (or the same user), I always get an "Error 403--Forbidden" error. Basically I have an application which can only work for one user at one time. Does anyone know how to fix this problem so that I can have multiple users logged in at the same time?
    Thank you very much in advance,
    John

    Chris,
    Thank you for your response.
    I am using Firefox version 2.0.0.20. When I add the security component into my ADF application, I just take whatever it has by default without any customization. That includes default login.html and error.html. Here is my experience,
    1) Execute my starting task flow activity inside the JDeveloper. This will invoke a new login page in my default browser Firefox.
    2) Login the application with user "abc" and do something. Keep this session open.
    3) Open another Firefox browser and enter login URL. and then Login the application with user "xyz" (or even "abc"). I got the error page.
    To me, it should be basic web application behavior. I can do things like this in other J2EE application. This one doesn't make sense at all. I am not sure if this is the behavior I would see when I deploy it to a standalone WLS.
    Any ideas?
    Thanks,
    John

Maybe you are looking for

  • Mapping a database formely in 9i to run in 10g

    I have migrated my database from 9i to 10g, have also compiled forms in 10g and configured my formwebs and tnsnames which I suspect am not getting right. how do I point my migrated database in from 9i to run in 10g and still using the former URL that

  • Illustrator CC editing symbol goes infinite loop, how to get out of?

    Hey all I'm editing a fairly complex illustrator symbol instance (its a world map vector), and now I've gone to go back to the original artboard but for whatever reason the program can't get out of a PROGRESS / SAVE modal popup box and the progess ba

  • Large app icon submission not working

    I've been trying to update my app with recent code that fixed a bunch of bugs, but I'm currently stuck on this large app icon submission. I'm honestly using the same picture (1024x1024) as I used in my first submission of my app and now it just refus

  • HT4718 are there any reported problems with safari with the new OS X Mavericks?

    My early 2008 iMac running OS X 10.9.2 all of the sudden has problems loading pages in safari.  The problem timing is the same as the upgrade to Maverick. The computer is connecting to wifi and other devices such as iPhones and three PCs have no prob

  • Connect ECC and BI

    Hi i have installed ECC and BI on two different virtual machines on a single machine. I want to connect them so that i can test extractors . Please tell he steps in details. thankyou