JSF/ADF How to throw UI failure on SQLException?

I have a button bound to the persistEntity action for a form listed on my page, but there can't be any mistake on whether this get's inserted in the database as it's part of a workflow. Failure was occurring and after checking the logs I found a SQLException for inserting a null value.
While this is cleared up by more exact control of required fields, I would like to know if there is a way that I can set the persistEntity to cause a noticeable or blocking UI action so that users can't proceed with a workflow when there is an error in the SQL execution.
Many thanks,
Raymond

Oop, sorry. Thanks for the redirect.
-Raymond
This post has been made at the following link: JSF/ADF How to throw UI failure on SQLException?

Similar Messages

  • How to display BLOB image column with WEB application, JSF, ADF BC

    I looking for a way to display the content from a blob column on a WEB application, JSF, ADF BC
    The blob column contains a JPEG image.
    About the application
    The model contains a viewobject where the blob column attribute (photoimg) type is of type : BlobDomain
    Now I have to create the view to display the content of photoimg inside a JSF-JSP page.
    Any advice ?

    Search is your friend
    How to display the content of a BLOB column in a ADF/BC pages ?
    John

  • YouTube - How to add videos from youtube on jsf-adf

    YouTube - How to add videos from youtube on jsf-adf.
    when i using iframe i can't send data from beans.

    you can use a <f:verbatim> tag in your page and in it just write the HTML code for embedding a video.
    and can i send data from beans class in html components?
    i wrote this
    <af:iterator id="i2" var="row"
    value="#{MyBean.src_items}"
    varStatus="st">
    <af:showDetail disclosed="false" id="sd1"
    styleClass="AFStretchWidth"
    disclosedText="#{row}">
    <f:verbatim>
    <iframe id="ifv" src="#{row}"/>
    </f:verbatim>
    </af:showDetail>
    </af:iterator>
    but that were not worked .
    Edited by: Vakhushti on May 9, 2011 12:40 PM

  • How can I can make a pre-commit in jsf adf

    Hi!
    Can anyone help me on how to create a pre-commit jsf adf page.
    thanks in advance..
    alvin

    Hi,
    not sure what a pre-commit page is in your mind. All pages that don't commit to the database are pre-commit.
    With ADF Business Components fro example, all data is first submitted to the ADF BC cache and persisted only if explicitly calling commit.
    Frank

  • Merging Two JSF, ADF BC Web Applications into One...

    My question is directly stated in the subject. What would be the best way to take two JSF, ADF BC web applications written by two developers and merge them into one web application. Any place to start would be greatly appreciated. Thank you.

    Steve I wanted to try this method out first. I ran into a problem. I get a "HTTP 404 Not Found" error in the browser. I'm running this from the embedded OC4J in JDev. Maybe I don't understand how the context roots are referenced by the OC4J as they relate to testing this on my local machine.
    Browser links when pages are run seperately:
    http://10.13.8.44:8989/DptApp-UserInterface-context-root/faces/DptApp.jspx
    http://10.13.8.44:8989/EmpApp-UserInterface-context-root/faces/EmpApp.jspx
    Page locations on my local machine:
    \JDEV32\jdev\mywork\DptApp\UserInterface\public_html\DptApp.jspx
    \JDEV32\jdev\mywork\EmpApp\UserInterface\public_html\EmpApp.jspx
    Code from the bean that I'm using to navigate from EmpApp to DptApp:
        public String rtnRedirect() throws IOException {
            FacesContext fc = FacesContext.getCurrentInstance();
            HttpServletResponse response = (HttpServletResponse)fc.getExternalContext().getResponse();
            response.sendRedirect("/DptApp/faces/DptApp.jspx");
            fc.responseComplete();
            return null;   
        }I altered my redirect to reflect what I was seeing on my local machine (response.sendRedirect("/DptApp-UserInterface-context-root/faces/DptApp.jspx")) and still got the error. I'm sure I'm referencing the location of the pages incorrectly, but I'm not sure where to look to fix this. Any suggestions would be greatly appreciated. Thanks.

  • JSF/ADF Faces - ADF-BC example/howto?

    Hi,
    Background:
    ==========
    I know that ADF-BC databinding is not included in the JDev 10.1.3 preview.
    I read and searched nearly all howto's, examples, blogs on ADF-Faces available on the net.
    For the past months I learned how to use the ADF-BC with JClient.
    This convinced me to use the ADF-BC and it's binding features (a fantastic framework!!!!) for my model layer.
    I'm developping a web application.
    Most of the examples on ADF-Faces/JSF are on the View Layer.
    My question:
    ===========
    I read somewhere that JDev 10.1.3 production with drag and drop of ADF-BC databinding will be available only in the summer.
    Question 1:
    ==========
    I suppose that meanwhile it is still possible to use the ADF-BC as the model layer for JSF or ADF-Faces, but the databinding must be done manually, is this correct?
    Question 2:
    ==========
    If answer to 1) is yes.
    Where can I find a howto/best practice document that explains how to use ADF-BC with JSF/ADF-Faces in the backing beans?
    My purpose is to develop my code so that it will be "standard" / "compatible" with the production version of JDev 10.1.3.
    I prefer to use the de-facto JSF standard and code the bindings manualy instead of using Struts with available drag'n drop ADF-BC databinding.
    Your advice will be apreciated
    Frederic

    There is no such document for (1) because we are in the process of delivering design time support for ADF BC integration with ADF Faces, as you mentioned.
    Therefore, you could either continue with ADF UIX, ADFm, ADF BC for the time being, or else try out ADF Faces with session scope Managed Beans. In either case, you'll want to convert this later on, when JDev 10.1.3 completes its support for ADF Faces / ADF BC drag-and-drop integration.
    Kind Regards.

  • ADF: How do I add a node to a selected root in a TreeModel

    I've created a TreeModel with something that follows:
    1.) Loop through a List and build the Roots:
    for (TransactRow transactionRootRow : transactionResults) {
    TransactionNode transactionRootItem = new
    TransactionNode(transactionRootRow.getTransactKey(), transactionRootRow.getParentKey());
    transactionRoot.add(transactionRootItem);
    this.setTransactModel(new ChildPropertyTreeModel(transactionRoot, "children") {
    public boolean isContainer() {
    return ((TransactionNode)getRowData()).getChildCount() > 0;
    This works great.
    What I need to do next is "click" on any of the Roots and add a node to the selected Root.
    I might have:
    |-Root1 (rowKey="r1", rowIndex=0)
    But, when I click on Root1, I should have:
    |-Root1 (rowKey="r1", rowIndex=0)
    | |-Folder1 (rowKey="r1f1", rowIndex=0)
    I am at the point that when I can get the current root in Java code, but how do I go about adding a node to the current root in a TreeModel?
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    This is JSF - ADF specific, but I'm not using JDeveloper.

  • Information about adf data model's state management in JSF/ADF faces?

    Dear All,
    i am developing an application with JSF/ADF faces + using
    adf data model (EJB, not adf bc)...
    i want to know more about state management of adf data model..
    1. under what condition, will the data in the binding context
    (methodIterator, variableIterator, accessorIterator..etc) be maintained accross
    http requests? say browse pageA.jspx, pageB.jspx, pageC.jspx..then do data
    in the corresponding pages saved somewhere else until session timeout?
    2. how do the binding context data be saved ?? http session?
    i can't find detail information in the adf bc dev guide and the adf dev guide..
    could anyone give me more information about this?? any better document??
    i have asked these question several times...but seem nobody can give me a
    full picture about the adf data model's state management....it is quite important
    in order to develop good application using adf data model.
    my company have brought oracle's support service...can i get these information
    through metalink (open a SR) ?? or actually no such information available ??
    btw, after playing with adf data model for a few weeks, i do find it is very
    hard to learn it... no complete document, information is just by providing example...
    adf data model do make:
    1. simple logic, supported by adf, more simple in coding
    2. simple logic, not supported by adf, more complex in coding
    3. complex logic, much more complex in coding...brain damage..
    lsp

    Hi,
    actually, these pages don't explain the state management about the adf data model's iterators?
    i want to know the state management of the iterators...for some iterators..it's
    state is maintained across requests...
    please see my previous post: ADF JSF data binding: why state maintained between requests? that Frank Nimphius said:
    "in this case its the iterator that survives the page navigation"...
    in the adf dev guide..section 5.5.5..it says: "Upon each request, the iterator bindings are refreshed to rebind them to the
    underlying RowSetIterator objects. By default, the rowset iterator state and the
    data caches are maintained between requests."
    in dev guide, it seems state is maintained for request for the same page, but not
    accross different pages. but in fact, the rowset iterator do survive...
    any detail document that write down the actual behavior of the iterators?
    thank you.
    lsp

  • JSF/ADF/Toplink object from multiple schemas

    We are considering starting a new project using JSF/ADF/Toplink using a already existent database.
    How is it possible to create toplink object from tables when tables belongs to different schemas?
    I think there must be a way to do this and in jdeveloper forum suggested me to post the question here.
    Thank you very much.
    Michele

    Michele,
    When you are in the wizard where it lets you select the tables you can select one schema and query and select your tables. Then you can switch schemas and query and select additional tables.
    When using TopLink this way you will most likely need the SQL generated qith schema qualified tables. To do this go to the map (under TopLink node) and edit its defaults tab and check the option 'Qualify Table Names with Schema Name".
    Doug

  • In ADF how can i insert data in multiple table if they have foreign key

    I have started working on ADF and can anybody inform me in ADF how can i insert data in multiple table if they have foreign key,please?
    Thnak you very much.

    Hello,
    Still no luck.I am surely doing silly mistakes.Anyway,Here are my workings-
    1> student_mst (id(pk),studentname) and student_guard_mst(id(fk),guardianname)
    2> created EO from both of the tables,made id in both EO as DBSequence and an association was also generated.
    3> i made that association composite by clicking the checkbox
    4> i created 2 VO from 2 EO.
    5> put those VO in Application Module.
    6> dragged and dropped 2 VO on my jspx page and dropped them as ADF Form.
    Now what to do please?

  • Running JSF/ADF web apps in JDeveloper 10.1.3.0.3 embedded OC4J

    Dear All,
    I am currently learning to use JSF/ADF in JDeveloper. I have followed a tutorial from Oracle and when I run the completed web page, I receive a 'Page Cannot Be Displayed' error. The stack trace from JDeveloper is pasted below. Any help would be appreciated as would any links to more tutorials on JSF/ADF
    Thanks
    Angus
    04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Short,null)
    04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Short)
    04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Byte,null)
    04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Byte)
    04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Integer,null)
    04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Integer)
    04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Long,null)
    04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Long)
    04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Float,null)
    04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Float)
    04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Double,null)
    04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Double)
    04-Jan-2006 12:22:09 com.sun.faces.config.rules.ValidatorRule end
    WARNING: [ValidatorRule]{faces-config/validator} Merge(javax.faces.LongRange)
    04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.DateTime,null)
    04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Number,null)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Short,null)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Short)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Byte,null)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Byte)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Integer,null)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Integer)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Long,null)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Long)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Float,null)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Float)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Double,null)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Double)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ValidatorRule end
    WARNING: [ValidatorRule]{faces-config/validator} Merge(javax.faces.LongRange)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ValidatorRule end
    WARNING: [ValidatorRule]{faces-config/validator} Merge(oracle.adf.DateTimeRange)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ValidatorRule end
    WARNING: [ValidatorRule]{faces-config/validator} Merge(oracle.adf.RegExp)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ValidatorRule end
    WARNING: [ValidatorRule]{faces-config/validator} Merge(oracle.adf.ByteLength)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(oracle.adf.Color,null)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.awt.Color)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.DateTime,null)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(oracle.adf.DateTime,null)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.util.Date)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.sql.Timestamp)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.sql.Date)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Number)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Number,null)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(oracle.adf.Number,null)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.TableSelectMany)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectInputText)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreRegionDef)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.SelectInput)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelPage)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.ShowOne)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Reset)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreMenuBar)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreMenuList)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.HtmlRowLayout)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectInputDate)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Messages)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelLabelAndMessage)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectOneListbox)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreTree)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelGroup)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.RegionDef)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreStyleSheet)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.HtmlTableLayout)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Iterator)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelPartialRoot)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreDocument)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreResetButton)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreImportScript)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Progress)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreMenuPath)
    04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectManyShuttle)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreObjectSpacer)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreObjectIcon)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.TreeTable)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreForm)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreMenuChoice)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.ShowDetail)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectInputColor)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Go)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectBooleanCheckbox)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Tree)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.HtmlFrame)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.SingleStep)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectItem)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreTable)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.HtmlHtml)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelHeader)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Output)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.SelectBoolean)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.SelectMany)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectOneRadio)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreMessage)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreMessages)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Panel)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreShowOnePanel)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreTableSelectOne)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelList)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectOrderShuttle)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Poll)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreProcessTrain)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreTableSelectMany)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSubform)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.TableSelectOne)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreInputFile)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelForm)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Page)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreShowOneRadio)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Switcher)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreMenuTabs)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectOneChoice)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreCommandLink)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelTip)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.HtmlBody)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.SelectItem)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelButtonBar)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.MenuTree)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreShowOneTab)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelBox)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelSideBar)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Menu)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePage)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Command)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.HtmlScript)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSingleStepButtonBar)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Column)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreTreeTable)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectManyListbox)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelPageHeader)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Subform)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreProgressIndicator)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Form)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.SelectOrder)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreCommandButton)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreOutputText)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreMenuTree)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectRangeChoiceBar)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreGoLink)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreObjectLegend)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreGoMenuItem)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.HtmlFrameBorderLayout)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreOutputFormatted)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Region)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreObjectImage)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Message)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Process)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.HtmlHead)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreInputHidden)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreCommandMenuItem)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreChooseDate)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreShowDetail)
    04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Input)
    04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelBorder)
    04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.MenuPath)
    04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.HtmlCellFormat)
    04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectBooleanRadio)
    04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreMenuButtons)
    04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Table)
    04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Choose)
    04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreObjectSeparator)
    04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreOutputLabel)
    04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Object)
    04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreGoButton)
    04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.SelectOne)
    04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreColumn)
    04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.SelectRange)
    04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreShowDetailItem)
    04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreShowOneChoice)
    04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreChooseColor)
    04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreInputText)
    04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreProcessChoiceBar)
    04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreShowDetailHeader)
    04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreObjectMedia)
    04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePoll)
    04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Document)

    I'm facing the same problems in the production release 10.1.3.1.0 on Linux. I followed the guidelines of "Oracle JDeveloper 10g for Forms & PL/SQL Developers". When I created the template, I didn't manage to get the page rendered in the visual editor (see note on page 345). Even after restarting JDeveloper I'm facing the same problems.
    Any idea's?

  • Problems while deploying a JSF/ ADF Faces App to Apps Server 10.1.3.0.1

    Dear All,
    I built a JSF based application (Using ADF Faces Components) developed in JDeveloper 10.1.3.1.0 (Application Configuration: [JSF, ADF BC]. The application is running fine with the embedded OC4J intance (automatically aunch by JDeveloper).
    I am now trying to deploy it on the installed Oracle Application Server (running on the same local machine). The details of the versioning for different components in this App server are as follows:
    1. OracleAS J2EE 10.1.3.0.0
    2. Oracle ADF 10.1.3.1.0
    The deployment steps I followed (as given in Chapter 34 of 'Oracle ADF - Developer's Guide for Forms/4GL Developers') seems to be running smoothly. This is because the deploy process ends up showing no erros in the message window.
    However when I tried to test the application with a browser using the Apps Server URL (HTTP://localhost:8888/<my-app>/<firstfile.jspx>), I am finding 'Page not found error'.
    I also tried a manual deployment (using deploy to a WAR file then copy the resulting war & ear files and the xml descriptor file to the Apps server's http root) and gives the war file URL in the browser.
    In this case now I am getting the following error page:
    =====================================================
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    An invalid character was found in text content. Error processing resource
    'http://localhost:8888/HousingWithADF.war'.
    =====================================================
    Any idea?
    Regards,
    Irfan Ilyas
    PS: I am doubtful about creation of Deployment Descriptors step as the documentation is not very clear about exactly which descriptors we need to create. Using my own idea, I tried to create J2EE descriptor, and one tld (taglibrary) file. However, the manual war deployment generates only the tld file in the deploy folder.

    Thanks for the hint.
    OBSERVATION #1:
    After looking through the administration console for OC4J instance, I found my application name with UP status. When drill-down further, the console gives me the URL which can be used to test the application.
    While using the URL, a different error message was found:
    URL: http://localhost:8888/KFUPMHousing/
    Error:
    ====================
    HTTP 403:(Forbidden)
    ================
    You are not authorized to view this page
    You might not have permission to view this directory or page using the credentials you supplied.
    From my experience of Microsoft IIS, I know here I may need to configure the folder permissions for a web-user. But exactly which user and where it is defined (at OS Level or in AS), I am not much sure.
    Can you elaborate?
    OBSERVATION #2:
    The log text for my application shows the following error (for the attempt I did with the URL shown above)
    Log Text
    07/01/05 22:43:38.62 HousingWithADF: JspServlet: unable to dispatch to requested page: Exception:java.io.FileNotFoundException: C
    :\product\10.1.3.1\OracleAS_1\j2ee\home\applications\HousingWithADF\HousingWithADF\HosReqInfo.jspx (The system cannot find the file specified)
    However, I can browse the file on my local disk in the path specified with a little change in the path. The file is found in 'pages' folder within the last folder,named HousingWIthADF. I tried to move the file in the exact path specified in the log and now finding the 'Page not found' error.
    Any idea?
    Irfan Ilyas

  • How to throw exception in run() method of Runnable?

    Hi, everyone:
    I want to know how to throw exception in run() method of interface Runnable. Since there is no throwable exception declared in run() method of interface Runnable in Java API specification.
    Thanks in advance,
    George

    Thanks, jfbriere.
    I must add though that if your run() methodis
    executed after a call to Thread.start(), then
    it is not a good choice to throw anyRuntimeException
    from the run() method.
    The reason is that the thrown exception won't be
    handled appropriately by a try-catch block.Why do you say that "the thrown exception won't be
    handled appropriately by a try-catch block"? Can you
    explain it in more detail?
    regards,
    George
    Because the other thread runs concurrently with and independently of the parent thread, there's no way you can write a try/catch that will handle the new thread's exception: try {
        myThread.start();
    catch (TheExceptionYouWantToThrowFromRun exc) {
        handle it
    do the next thing This won't work because the parent thread just continues on after myThread.start(). Start() doesn't throw the exception--run() does. And our parent thread here has lost touch with the child thread--it just moves on to "do the next thing."
    Now, you can do some exception handling with ThreadGroup and uncaughtException(), but make sure you understand why the above won't work, in case that was what you were planning to do.

  • How to Throw/Catch Exceptions in BPM

    Hi All,
    I've seen a couple articles that talk about how to Throw/Catch an execption in a BPM. My question has two parts:
    1) RFC Call: I was able to catch an Fault Message in an exception step when calling an RFC (Synchronous Interface). What I wanted to do is use the fault message (exception) and store it in a DB for later review.
    2) IDOC: I'm sending an IDOC to R3 from a BPM. The send step is enclosed in a block w/ an exception. The send step is throwing an error (IDOC adpater system error), but the exception is never thrown. My question is: when the error occurrs at the adapter level does it still throw an exception in a BPM?
    Thanks for any tip/advice/anything!
    Fernando.

    Hi Fernando,
    1) Define a send step in the exception branch.
    2) If u send a IDoc from R/3 to XI and the IDoc adapter is running to an error of course there cant be an exception in ur business process. Usually the IDoc adapter sends back status back up via ALEAUD. In case of success IDoc should have then '03', if the adapter cannot send anything the IDoc should remain at '39'. U should send a ALEAUD in case of exception of BPM switching to status '40', in case of success to '41'.
    Regards, Udo

  • ADF how to display a processing page when executing large queries

    ADF how to display a processing page when executing large queries
    The ADF application that I have written currently has the following structure:
    DataPage (search.jsp) that contains a form that the user enters their search criteria --> forward action (doSearch) --> DataAction (validate) that validates the inputted values --> forward action (success) --> DataAction (performSearch) that has a refresh method dragged on it, and an action that manually sets the itterator for the collection to -1 --> forward action (success) --> DataPage (results.jsp) that displays the results of the then (hopefully) populated collection.
    I am not using a database, I am using a java collection to hold the data and the refresh method executes a query against an Autonomy Server that retrieves results in XML format.
    The problem that I am experiencing is that sometimes a user may submit a query that is very large and this creates problems because the browser times out whilst waiting for results to be displayed, and as a result a JBO-29000 null pointer error is displayed.
    I have previously got round this using Java Servlets where by when a processing servlet is called, it automatically redirects the browser to a processing page with an animation on it so that the user knows something is being processed. The processing page then recalls the servlet every 3seconds to see if the processing has been completed and if it has the forward to the appropriate results page.
    Unfortunately I can not stop users entering large queries as the system requires users to be able to search in excess of 5 million documents on a regular basis.
    I'd appreciate any help/suggestions that you may have regarding this matter as soon as possible so I can make the necessary amendments to the application prior to its pilot in a few weeks time.

    Hi Steve,
    After a few attempts - yes I have a hit a few snags.
    I'll send you a copy of the example application that I am working on but this is what I have done so far.
    I've taken a standard application that populates a simple java collection (not database driven) with the following structure:
    DataPage --> DataAction (refresh Collection) -->DataPage
    I have then added this code to the (refreshCollectionAction) DataAction
    protected void invokeCustomMethod(DataActionContext ctx)
    super.invokeCustomMethod(ctx);
    HttpSession session = ctx.getHttpServletRequest().getSession();
    Thread nominalSearch = (Thread)session.getAttribute("nominalSearch") ;
    if (nominalSearch == null)
    synchronized(this)
    //create new instance of the thread
    nominalSearch = new ns(ctx);
    } //end of sychronized wrapper
    session.setAttribute("nominalSearch", nominalSearch);
    session.setAttribute("action", "nominalSearch");
    nominalSearch.start();
    System.err.println("started thread calling loading page");
    ctx.setActionForward("loading.jsp");
    else
    if (nominalSearch.isAlive())
    System.err.println("trying to call loading page");
    ctx.setActionForward("loading.jsp");
    else
    System.err.println("trying to call results page");
    ctx.setActionForward("success");
    Created another class called ns.java:
    package view;
    import oracle.adf.controller.struts.actions.DataActionContext;
    import oracle.adf.model.binding.DCIteratorBinding;
    import oracle.adf.model.generic.DCRowSetIteratorImpl;
    public class ns extends Thread
    private DataActionContext ctx;
    public ns(DataActionContext ctx)
    this.ctx = ctx;
    public void run()
    System.err.println("START");
    DCIteratorBinding b = ctx.getBindingContainer().findIteratorBinding("currentNominalCollectionIterator");
    ((DCRowSetIteratorImpl)b.getRowSetIterator()).rebuildIteratorUpto(-1);
    //b.executeQuery();
    System.err.println("END");
    and added a loading.jsp page that calls a new dataAction called processing every second. The processing dataAction has the following code within it:
    package view;
    import javax.servlet.http.HttpSession;
    import oracle.adf.controller.struts.actions.DataForwardAction;
    import oracle.adf.controller.struts.actions.DataActionContext;
    public class ProcessingAction extends DataForwardAction
    protected void invokeCustomMethod(DataActionContext actionContext)
    // TODO: Override this oracle.adf.controller.struts.actions.DataAction method
    super.invokeCustomMethod(actionContext);
    HttpSession session = actionContext.getHttpServletRequest().getSession();
    String action = (String)session.getAttribute("action");
    if (action.equalsIgnoreCase("nominalSearch"))
    actionContext.setActionForward("refreshCollection.do");
    I'd appreciate any help or guidance that you may have on this as I really need to implement a generic loading page that can be called by a number of actions within my application as soon as possible.
    Thanks in advance for your help
    David.

Maybe you are looking for

  • RFC Error While installing ECC 5.0 on EP 6.0

    Hi All, We have an EP Server installed . Now we are installing ECC 5.0 on it. but at RFC connection stage, we are getting an error message which is below. The Instance number of EP is "00" and that of ECC is "02" now while checking for the RFC it's t

  • In iOS6 hitting "reply to all" in mail, my own adress gets included in the recipients -

    I updated my iPhone 4 to iOS6 yesterday and now whenever I hit "reply all" to an email it includes my email in the CC field.  Annoying, of course, because I get a new email, and it also adds me to the list of people in the thread.  Has anyone else se

  • Mobile flash player

    Does anyone know if i can get a version of flash player to work on my W580i mobile phone, i use t-mobile web'n'walk as my provider but have no idea what os the phone uses. cheers in advance for all the help

  • Help port mapping for lorex security system

    i need to find out how to do my port mappping, not sure what to put in the fields . trying to set up for remote viewing. i have ddns set up, but need port mapping

  • Configuring MSS on Portal 6.0

    Hi, Can anybody suggest me the steps to configure MSS business package on portal 6.0. R3 server is ECC 5.0. Thanks Shiraz