Invoking discoverer from OA framework page

When i try to invoke the disoverer link from the home page via RUNDISCOVERER function, it works. But if we try the some from OA framwork page, it gave error (page cannot be displayed).
Is there any other function for this ?

Is this what counts as "support" for the OA framework?
I haven't been able to get my report to work properly, but at least I get a different error. In my case, the OA framework is truncating part of the parameter list. But since it looks like I may have gotten one step further, maybe what I did will help you:
1. Create a the pl/sql function per oracle's note (check metalink)
2. Create a "link" item in the OA Fwk "page" that calls a function.
3. For the "destination function" property of the "link" I used the name of the function I defined in the Oracle application.
NOTE, make sure when you save the Discoverer report in the DB, you use the name in File > Manage Workbooks > Properties for the report name. You also need to run the report in viewer to get the "workbook/wbk" number.
4. Write code in the page controller to add any parameters to your report. Here's a partial example:
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
paramStringBuffer.append("parameters=wsk~28*qp_Project_Number_Parameter~");
OALinkBean linkDJ =
(OALinkBean)webBean.findIndexedChildRecursive("LinkToDJReport"); //Name of the link on whateverPG.xml
if (linkDJ != null)
linkDJ.setInvokeFunctionParams(paramStringBuffer.toString());
}//if
Note the parameters for the actual report should be written with "*" for "&" and "~" for equals.
5. Make sure the discoverer profile options are set up properly. It sounds like you already did that, but I changed ICX: Discoverer Default End User Layer Schema Prefix and ICX: Discoverer Parameters. The parameters I have are: po=10011110101101111111000&act=Apply Parameters&anlsdf=DD-MON-RRRR&pg=1
Of course this works fine for everywhere OTHER than the OA framework.
My issue is that from the OA framework page, when it's run from the server the link apparently only sends one parameter as part of the URL. I'm really disappointed to see you don't appear to have gotten any help for the relatively simple problem you're having. Maybe it's not too late for me to consider another product for my project.

Similar Messages

  • PDF file cannot be viewed from OA Framework page.

    Hi all,
    I have developed an OA Framework page which shall present an XMLP report in pdf within the browser.
    When I click on my menu item which opens the oa page, the Open file.. diaglog appears. When I open or save the file (and thereafter opening if) the following error appears: _Acrobat could not open [filename] because it is either not a supported file type or because the file has been damaged._
    I can open the file if I go to the server and copies the output file to my own machine.
    The error that i'm describing is happening on the server and NOT in my development environment. I cannot get it to work at all on my own machine.
    Some facts:
    JDeveloper 9i RUP7
    XML Publisher 6.5.3
    APPS 11.5.10 CU2
    The code:
    package bksv.oracle.apps.bkfnd.bkrepgw.webui;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.common.AppsContext;
    import oracle.apps.fnd.framework.server.OADBTransactionImpl;
    import oracle.apps.xdo.dataengine.Parameter;
    import oracle.apps.xdo.oa.util.DataTemplate;
    import oracle.apps.xdo.oa.schema.server.TemplateHelper;
    import java.io.OutputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.FileInputStream;
    import java.util.Properties;
    import java.util.Calendar;
    import java.text.SimpleDateFormat;
    import com.sun.java.util.collections.ArrayList;
    import com.sun.java.util.collections.Iterator;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletOutputStream;
    import oracle.cabo.ui.data.DataObject;
    * Controller for ...
    public class ReportGenerationCO extends OAControllerImpl
      public static final String RCS_ID="$Header$";
      public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
       * Layout and page setup logic for a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
        String currentDateTime = ReportGenerationCO.now();
        String filename = "/home/appsamba/kkristoff/KKR_TEST_" + currentDateTime;
        //Get application context
        OAApplicationModule am = pageContext.getApplicationModule(webBean);
        AppsContext appsContext = ((OADBTransactionImpl)am.getOADBTransaction()).getAppsContext();
        DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
        HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
        // Set the Output Report File Name and Content Type
        String contentDisposition = "attachment;filename=" + filename + ".pdf";
        response.setHeader("Content-Disposition",contentDisposition);
        response.setContentType("application/pdf");
        //Initilization//   
        try {
          ServletOutputStream os = response.getOutputStream();
          DataTemplate dataTemplate = new DataTemplate(appsContext, "CS", "BKCSSR");
         //Get Parameters
        ArrayList parameters = dataTemplate.getParameters();
         //set Parameter Values as ArrayList of oracle.apps.xdo.dataengine.Parameter
          Iterator it = parameters.iterator();
          while (it.hasNext())
             Parameter p = (Parameter)it.next();
             if (p.getName().equals("P_INCIDENT_NUMBER")) {
              p.setValue("369");
             if (p.getName().equals("P_REPAIR_ORDER_NUMBER")) {
              p.setValue("");
             if (p.getName().equals("P_REPORT_NAME")) {
              p.setValue("Service Request Overview");
             if (p.getName().equals("P_SERVICE_TYPE")) {
              p.setValue("ALL");
         dataTemplate.setParameters(parameters);
          dataTemplate.setOutput(filename + ".xml");
          dataTemplate.processData();
          OutputStream outputStream = new FileOutputStream(filename + ".pdf");
          InputStream inputStream = new FileInputStream(filename + ".xml");
          Properties prop = new Properties();
          // Process template
         TemplateHelper.processTemplate(appsContext, // AppsContext
         "CS", // Application short name of the template
         "BKCSSR", // Template code of the template
         "en", // ISO language code of the template
         "00", // ISO territory code of the template
         inputStream, // XML data for the template
         TemplateHelper.OUTPUT_TYPE_PDF, // Output type of the procesed document
         prop, // Properties for the template processing
         outputStream); // OutputStream where the processed document goes.
          String sByteArray = outputStream.toString();
          byte[] outputBytes = sByteArray.getBytes();
          response.setContentLength(outputBytes.length);
          os.write(outputBytes, 0, outputBytes.length);
          os.flush();
          os.close();
        inputStream.close();
        outputStream.close();
         } catch (Exception e)
            //throw new OAException("An Error has occured master: " + e.getStackTrace().toString(), OAException.ERROR);
       * Procedure to handle form submissions for form elements in
       * a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
      public static final String DATE_FORMAT_NOW = "yyyy-MM-dd";
      public static String now() {
        Calendar cal = Calendar.getInstance();
        SimpleDateFormat sdf = new SimpleDateFormat(DATE_FORMAT_NOW);
        return sdf.format(cal.getTime());
    Thank you in advance.
    Regards
    Kenneth
    Edited by: Kenneth_ on 2010-07-30 12:58
    Edited by: Kenneth_ on 2010-07-30 13:33

    I have now found a solution to this problem. Thank god!
    See the code below.
    Thank you all for helping me getting this far.
    Kenneth
    package bksv.oracle.apps.bkfnd.bkrepgw.webui;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.OAApplicationModule;n
    import oracle.apps.fnd.common.AppsContext;
    import oracle.apps.fnd.framework.server.OADBTransactionImpl;
    import oracle.apps.xdo.dataengine.Parameter;
    import oracle.apps.xdo.oa.util.DataTemplate;
    import oracle.apps.xdo.oa.schema.server.TemplateHelper;
    import java.io.OutputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.FileInputStream;
    import java.util.Properties;
    import java.util.Calendar;
    import java.text.SimpleDateFormat;
    import com.sun.java.util.collections.ArrayList;
    import com.sun.java.util.collections.Iterator;
    import java.io.ByteArrayOutputStream;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletOutputStream;
    import oracle.cabo.ui.data.DataObject;
    * Controller for ...
    public class ReportGenerationCO extends OAControllerImpl
      public static final String RCS_ID="$Header$";
      public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
       * Layout and page setup logic for a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
        String currentDateTime = ReportGenerationCO.now();
        String filename = "/home/appsamba/kkristoff/KKR_TEST_" + currentDateTime;
        //Get application context
        OAApplicationModule am = pageContext.getApplicationModule(webBean);
        AppsContext appsContext = ((OADBTransactionImpl)am.getOADBTransaction()).getAppsContext();
        DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
        HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
        // Set the Output Report File Name and Content Type
        String contentDisposition = "attachment;filename=" + filename + ".pdf";
        response.setHeader("Content-Disposition",contentDisposition);
        response.setContentType("application/pdf");
        //Initilization//   
        try {
          ServletOutputStream os = response.getOutputStream();
          DataTemplate dataTemplate = new DataTemplate(appsContext, "CS", "BKCSSR");
         //Get Parameters
        ArrayList parameters = dataTemplate.getParameters();
         //set Parameter Values as ArrayList of oracle.apps.xdo.dataengine.Parameter
          Iterator it = parameters.iterator();
          while (it.hasNext())
             Parameter p = (Parameter)it.next();
             if (p.getName().equals("P_INCIDENT_NUMBER")) {
              p.setValue("369");
             if (p.getName().equals("P_REPAIR_ORDER_NUMBER")) {
              p.setValue("");
             if (p.getName().equals("P_REPORT_NAME")) {
              p.setValue("Service Request Overview");
             if (p.getName().equals("P_SERVICE_TYPE")) {
              p.setValue("ALL");
         dataTemplate.setParameters(parameters);
          dataTemplate.setOutput(filename + ".xml");
          dataTemplate.processData();
          //OutputStream outputStream = new FileOutputStream(filename + ".pdf");
          ByteArrayOutputStream localByteArrayOutputStream = new ByteArrayOutputStream();
          InputStream inputStream = new FileInputStream(filename + ".xml");
          Properties prop = new Properties();
          // Process template
         TemplateHelper.processTemplate(appsContext, // AppsContext
         "CS", // Application short name of the template
         "BKCSSR", // Template code of the template
         "en", // ISO language code of the template
         "00", // ISO territory code of the template
         inputStream, // XML data for the template
         TemplateHelper.OUTPUT_TYPE_PDF, // Output type of the procesed document
         prop, // Properties for the template processing
         localByteArrayOutputStream); // OutputStream where the processed document goes.
          byte[] b = localByteArrayOutputStream.toByteArray();
          response.setContentLength(b.length);
          os.write(b, 0, b.length);
          os.flush();
          os.close();
        inputStream.close();
        localByteArrayOutputStream.close();
         } catch (Exception e)
            //throw new OAException("An Error has occured master: " + e.getStackTrace().toString(), OAException.ERROR);
       * Procedure to handle form submissions for form elements in
       * a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
      public static final String DATE_FORMAT_NOW = "yyyy-MM-dd";
      public static String now() {
        Calendar cal = Calendar.getInstance();
        SimpleDateFormat sdf = new SimpleDateFormat(DATE_FORMAT_NOW);
        return sdf.format(cal.getTime());
    }

  • Exporting data into multiple tabs of Excel from OA Framework Page.

    Hii,
    I have a requirement like exporting data into multiple tabs of Excel from OA Framework.
    Like One Quarter Data should be in one Excel Sheet, and the Second Quarter data should go into other Excel Sheet, like wise ...
    I have tried searching forums, and developers guide, But couldn't find any correct answer on this. If its there on developers guide can somebody point me exactly where it is located.
    If someone can help me through this or can guide me through any document in this. It would be really helpful.
    Thanks
    Prakash.

    I guess, tabs are not supported in XML publisher as well.
    I would be worth checking at with BI publisher forum.
    --Prasanna                                                                                                                                                                                                                                                               

  • How to call OA Framework Page from Oracle Forms?

    Hi,
    I have read the OA Guide on "Forms / OA Framework Page Integration" which guide on how to launch OA framework pages from Oracel Applications Forms.
    I would like to perform the same whereby to call the OAF page from Oracle Form itself. However I do not quite understand on the below section:
    To make use of the Oracle Application API - fnd_function.execute.
    Where should I use this function? Should I create a button triggered to link to OA Page?
    Appreciate advise on this.
    Thanks and Regards,
    Shiau Chin

    Hi Ashok,
    You can refer the topic Forms / OA Framework Page Integration in Developers Guide.
    There you can find details about the below :
    Launching Oracle Applications Forms from OA Framework Pages
    Launching OA Framework Pages from Oracle Applications Forms
    Thanks
    Jegan

  • Error FND_WF_IN_PROGRESS_FOR_TXN while invoking workflow via OA Framework

    Hello,
    I am invoking a workflow from OA Framework page.
    Basically I am creating an entity and at the end of the entity creation, I am triggering workflow for its approval. It works first time and now I create a new entity and
    try to trigger approval, I get this error.
    Error MESSAGE_NAME is FND_WF_IN_PROGRESS_FOR_TXN and Text is (from FND_NEW_MESSAGES table)
    Workflow with item type (&ITEMTYPE) and item key (&ITEMKEY) is in progress. Abort existing workflow before launching a new process for this transaction.
    For some reason, exception shows item key, of the workflow which got successfully triggered earlier.
    So second time, when I try to trigger workflow Item key used is Item key: XXIFMS_NO_100072
    but exception is for previous key
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_WF_IN_PROGRESS_FOR_TXN. Tokens: ITEMTYPE = XXIFMSSA; ITEMKEY = XXIFMS_NO_100071; at oracle.apps.fnd.framework.webui.OANavigation.initialize(OANavigation.java:233) at oracle.apps.fnd.framework.webui.OANavigation.createProcess
    Here is my code to generate, item key (based on a sequence)
    String serialNumber = "XXIFMS_NO_";
    String wfItemKey = serialNumber + tr.getSequenceValue("POR_REQ_NUMBER_S").toString();Error seems to suggest that within one transaction only one workflow can be launched.
    Is there a way to explicitly start a new transaction using AM?
    regards, Yora

    The error comes from the initialize method in the OANavigation class. You can either extend the class and override any needed methods, or add code to the AM to set up the Workflow context so that you can use the API w/o the Oracle Applications wrapper. It looks like the Wrapper was made available mainly for using WF for the pages in OA framework.
    Instead of creating a new class, I added the code to my application module. Afterwards I can submit multiple workflows. An overview of what I did is:
    1. Add required imports to AMimpl
    2. Add two methods to AMimpl: setUpWF, releaseWFJdbcConnection, submitToWorkflow
    3. Call the methods to submit to workflow in the apply method before calling the commit method.
    4. Call the apply method as normal from the controller.
    AM IMPL --->
    import java.text.SimpleDateFormat;
    import java.math.BigDecimal;
    import oracle.apps.fnd.framework.server.OADBTransactionImpl;
    import oracle.apps.fnd.wf.WFContext;
    import oracle.apps.fnd.wf.engine.WFEngineAPI;
    import oracle.apps.fnd.wf.WFDB;
    import oracle.apps.fnd.common.AppsContext;
    import java.sql.Connection;
    public void apply()
    OADBTransactionImpl txn = null;
    //Now we need to save the new attrs to the database.
    try
    txn = ((OADBTransactionImpl)this.getTransaction());
    EntryVOImpl vo = getEntryVO1();
    this.setUpWF(txn);
    Row[] rows = vo.getAllRowsInRange();
    for (int i = 0; i < rows.length; i++)
    String requestID = rows.getAttribute("RecordId").toString();
    if (requestID.equals(null))
    throw new OAException ("No record ID available for line " + String.valueOf(i) + ". Skipping...");
    }//if
    if (rows[i].getAttribute("LineStatus").toString().equals("In Process"))
    System.out.println("Record for line " + String.valueOf(i) + " is in process. Skipping...");
    }//if
    else
    String[] workflowValues = submitToWorkflow(requestID);
    //Now Assign he workflow values to the attributes.
    rows[i].setAttribute("WfItemType", workflowValues[0]);
    rows[i].setAttribute("WfItemKey", workflowValues[1]);
    }//else
    }//for
    }//try
    catch (Exception e)
    throw new OAException("Error submitting to New Demand Workflow: "+e.getMessage());
    finally
    releaseWFJdbcConnection(txn);
    try
    this.getTransaction().commit();
    }//try
    catch (Exception e)
    System.out.println("Error saving demand request data; " + e.getMessage());
    e.printStackTrace();
    throw new OAException("Error saving demand request data; " + e.getMessage());
    }//catch
    }//apply
    private String[] submitToWorkflow(String recordID)
    String [] returnValues = {"", ""};
    try
    String wfItemType = this.getWFItemType();
    String wfProcess = this.getWFProcess();
    java.util.Date currentDate = new java.util.Date();
    SimpleDateFormat formatter = new SimpleDateFormat("MMddyyyyHHmmss");
    String wfItemKey = recordID + ":" + formatter.format(currentDate); /*Concat the header and the date string from current record*/
    OADBTransactionImpl txn = ((OADBTransactionImpl)this.getTransaction());
    WFContext ctx = null;
    ctx = (WFContext)txn.findObject("wfContext");
    if (ctx == null)
    throw new OAException ("Transaction Context is Null!!");
    System.out.println("\n\n\tAttempting to Submit to workflow: " + wfItemKey + "...");
    BigDecimal recordIDBD = new BigDecimal(recordID);
    //Call Workflow
    WFEngineAPI.createProcess((WFContext)txn.findObject("wfContext"), wfItemType, wfItemKey, wfProcess );
    System.out.println("1");
    WFEngineAPI.setItemOwner((WFContext)txn.findObject("wfContext"), wfItemType, wfItemKey, txn.getUserName());
    //System.out.println("2");
    WFEngineAPI.setItemAttrNumber((WFContext)txn.findObject("wfContext"), wfItemType, wfItemKey, "XXAAI_RECORD_ID", recordIDBD);
    System.out.println("3");
    WFEngineAPI.startProcess((WFContext)txn.findObject("wfContext"), wfItemType, wfItemKey);
    System.out.println("4");
    returnValues[0] = wfItemType;
    returnValues[1] = wfItemKey;
    return returnValues;
    }//try
    catch (OAException oe)
    System.out.println("OA Framework Error launching workflow: " + oe.getMessage());
    throw oe;
    }//catch
    catch (Exception e)
    System.out.println("Error launching workflow: " + e.getMessage());
    e.printStackTrace();
    throw new OAException (e.getMessage());
    }//submitToWorkflow
    private void releaseWFJdbcConnection(OADBTransactionImpl oadbtransactionimpl)
    AppsContext appscontext = oadbtransactionimpl.getAppsContext();
    WFContext wfcontext = (WFContext)oadbtransactionimpl.findObject("wfContext");
    Connection connection = wfcontext.getJDBCConnection();
    if(connection != null)
    appscontext.releaseExtraJDBCConnection(connection);
    wfcontext.setJDBCConnection(null);
    }//releaseWFJdbcConnection
    private void setUpWF (OADBTransactionImpl txn)
    try
    WFDB wfdb = new WFDB();
    AppsContext appsContext = txn.getAppsContext();
    String enc = appsContext.getCurrLangCode();
    if(enc == null)
    enc = "US";
    }//if
    String s1 = enc.substring(enc.indexOf('.') + 1);
    wfSessionID = appsContext.getSessionId();
    Connection connection = appsContext.getExtraJDBCConnection(wfdb, appsContext.getSessionId());
    wfdb.setConnection(connection);
    WFContext wfcontext = new WFContext(wfdb, s1);
    txn.registerObject("wfContext", wfcontext);
    catch(Exception exception)
    this.releaseWFJdbcConnection(txn);
    throw new OAException("Error getting workflow context: " + exception.getMessage());
    }//catch
    }//setUpWF
    Oracle is removing some text. For instance areas with [i] are being removed. If reposting does not fix the issue, then note in the example code you need to recompile and you may need to add the array indexes manually.
    ***** NOte Oracle's Editor is remvoing text from the code I posted. I don't have time to troubleshoot this. The ARRAY Indicators are being removed. Make sure you compile and manually put back the ARRAY INDEXES as needed in the sample code.*****************

  • Calling portal framework page from non portal page

    Hi,
    We are having some difficulty in passing control from the non portal pages to
    the Portal Pages.
    To explain you more elaborately, I am writing down the scenario:
    Both our portal and non portal pages reside under the same web application folder.
    We have a Portal Page containing one portlet.Clicking on one of the hyperlink
    on this portlet page takes us out of the portal environment where we are doing
    some processing.
    (Why we are going out of the portal environment is because we want to call the
    existing pages as it is and our intention is not to make the existing pages portal
    enabled to start with).
    Somewhere down the journey on the non portal page, there is a requirement to call
    the Portal Framework page.
    We can call the portal Framework page from the non portal page by hard coding
    the URL of the Portal page by writing something like this in href:
    http://localhost:7501/application?origin=content.jsp&event=bea.portal.framework.internal.portlet.event&pageid=home&portletid=bachome_carsearchlink&wfevent=link.next
    But this is not what we want. We want to call the portal page without hard coding
    the URL.
    If we use portlet tag in non portal page to call the Portal Framework page ( <a
    href="<portlet:createWebflowURL event="link.next"/>">Next Page</a>), it throws
    us error "Could not find current Portlet State" which is quite understandable,
    because portlet state is now lost.
    Is there any way we can achieve this .
    Any suggestions or ideas?
    Thanks
    Ajay

    Hi
    i think you should use portal:createPortalPageChangeURL (you are effectively changing
    your portal page) .
    if you want to invoke a specific event in your portlet webflow you can either
    write a RefreshControllerIP or use WebflowJSPHelper.createWebflowURL.
    bear in mind if you have urls that directly go to an intermediate event in the
    portlets webflow you may need
    http://dev2dev.bea.com/codelibrary/code/portlet_pp.jsp
    regards
    deepak
    "Ajay" <[email protected]> wrote:
    >
    Hi,
    We are having some difficulty in passing control from the non portal
    pages to
    the Portal Pages.
    To explain you more elaborately, I am writing down the scenario:
    Both our portal and non portal pages reside under the same web application
    folder.
    We have a Portal Page containing one portlet.Clicking on one of the
    hyperlink
    on this portlet page takes us out of the portal environment where we
    are doing
    some processing.
    (Why we are going out of the portal environment is because we want to
    call the
    existing pages as it is and our intention is not to make the existing
    pages portal
    enabled to start with).
    Somewhere down the journey on the non portal page, there is a requirement
    to call
    the Portal Framework page.
    We can call the portal Framework page from the non portal page by hard
    coding
    the URL of the Portal page by writing something like this in href:
    http://localhost:7501/application?origin=content.jsp&event=bea.portal.framework.internal.portlet.event&pageid=home&portletid=bachome_carsearchlink&wfevent=link.next
    But this is not what we want. We want to call the portal page without
    hard coding
    the URL.
    If we use portlet tag in non portal page to call the Portal Framework
    page ( <a
    href="<portlet:createWebflowURL event="link.next"/>">Next Page</a>),
    it throws
    us error "Could not find current Portlet State" which is quite understandable,
    because portlet state is now lost.
    Is there any way we can achieve this .
    Any suggestions or ideas?
    Thanks
    Ajay

  • Calling Framework Pages from Apps (Custom Pll)

    Hi All,
    What a usefull forum I've been searching on metalink but didnt
    know this forum existed till now!
    Anyway I have written a few framework pages and would like to invoke them from an apps form I was thinking a menu option enabled by a custom pll is this possible? I would like to call the jsp and pass them parameters such as project_name, task_nam etc
    Thanks in advance
    Guy

    Yes you can. You can simply define a Form Function of JSP Type and have the WebHtml call pointing to your PG.xml file and with the necessary parameters required.

  • Invoking BPEL Process from a JSP Page 500 Internal Server Error

    Hi,
    I try to invoke a BPEL Process from a JSP Page and receive the following error. I just pasted the example from the Oracle PM Developer's Guide tutorial. Previously I deployed the CreditRatingService BPEL Process.
    Can anyone help me, please?
    D.
    Here is a sequence from my JSP / and the error I get:
    String ssn = request.getParameter("ssn");
    if(ssn == null)
    ssn = "123-12-1234";
    String xml = "<ssn xmlns=\"http://services.otn.com\">"
    + ssn + "</ssn>";
    Locator locator = new Locator("default","welcome1");
    IDeliveryService deliveryService =
    (IDeliveryService)locator.lookupService
    (IDeliveryService.SERVICE_NAME );
    // construct the normalized message and send to oracle bpel process manager
    NormalizedMessage nm = new NormalizedMessage( );
    nm.addPart("payload", xml );
    NormalizedMessage res =
    deliveryService.request("CreditRatingService", "process", nm);
    Map payload = res.getPayload();
    out.println( "BPELProcess CreditRatingService executed!<br>" );
    out.println( "Credit Rating is " + payload.get("payload") );
    500 Internal Server Error
    java.lang.Exception: Erstellen von "ejb/collaxa/system/DeliveryBean"-Bean nicht erfolgreich. Es wurde folgende Exception gemeldet: "javax.naming.NameNotFoundException: ejb/collaxa/system/DeliveryBean not found
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:257)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.ApplicationContext.lookup(ApplicationContext.java:197)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
         at _InvokeBP._jspService(_InvokeBP.java:65)
         [InvokeBP.jsp]
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    Message was edited by:
    user603180
    Message was edited by:
    user603180
    Message was edited by:
    user603180
    Message was edited by:
    user603180
    Message was edited by:
    user603180
    Message was edited by:
    user603180
    Message was edited by:
    user603180
    Message was edited by:
    user603180
    Message was edited by:
    user603180

    Here is the solution:
    Properties props = new Properties();
    props.setProperty("orabpel.platform", "oc4j_10g");
    props.setProperty("java.naming.factory.initial",
    "com.evermind.server.rmi.RMIInitialContextFactory");
    props.setProperty("java.naming.provider.url", "ormi://localhost/orabpel");
    props.setProperty("java.naming.security.principal", "oc4jadmin");
    props.setProperty("java.naming.security.credentials", "welcome1");
    and several jars have to be added to the project:
    Orabpel.jar , Orabpel-common.jar, oc4j*.jar,
    %ANT_HOME%\lib\ant.jar;
    %ANT_HOME%\lib\xercesImpl.jar;
    %ANT_HOME%\lib\xml-apis.jar;
    %AXIS_HOME%\lib\axis.jar;
    %AXIS_HOME%\lib\axis-ant.jar;
    %AXIS_HOME%\lib\commons-discovery.jar;
    %AXIS_HOME%\lib\commons-logging.jar;
    %AXIS_HOME%\lib\jaxrpc.jar;
    %AXIS_HOME%\lib\log4j-1.2.8.jar;
    %AXIS_HOME%\lib\saaj.jar;
    %AXIS_HOME%\lib\wsdl4j.jar;

  • Opening an ADF page from an OA framework page

    Hello,
    We have an OA framework page (a custom app) deployed in Oracle 9i Application server. We intend to develop some ADF pages which will be deployed in a separate Oracle 10g AS. I would like to know if it is possible to open an ADF page from an OA page and the basic interoperability between them. If someone can throw some light on the feasibility of this approach, it would really be helpful. Are there any material available on this?
    Please let me know your thoughts on this. Thanks in advance
    Raja

    You way want to ask this on the OA Forum as well.
    Because you are running the apps on different servers the interoperability can only be through the db layer. I'm not aware of a solution where the apps are running in the same context, meaning you can't have an transaction spanning both apps.
    To open a page of an other app is simply done by putting a link in one app which points to the second app.
    Timo

  • Displaying pdf from file system in OA framework pages

    Hi,
    If anyone could help me with this I would be very grateful.
    We have a number of pdfs containing sensitive information, held on our Unix file system in directories not publicly available.
    I want to create an OA framework page which takes the name of a pdf as a parameter and displays the content of that pdf on the user's browser. I cannot simply do a redirect because the pdfs are not publicly available.
    I've found some sample java code that allows you to set InputStream and OutputStream and read the content of the file. However, I cannot see how to redirect the output stream to the browser. Of course, this may be entirely the wrong approach.
    Can anyone suggest anything or point me to some documentation that might help?
    Many thanks,
    Mike Thorn.

    Hi Shiv,
    Thanks for responding. I'm not sure whether I've explained my problem properly, so I've included a code snipet below.
    I've got my head around how to stream the contents of a file to an output string but cannot see how to bolt this into the controller region for an OA framework page. In the code below, you'll see I have a dofile which reads from my D: drive and streams to the System.out. I'm calling this from the processRequest for the page controller but do not understand how to get the output stream into the OAHTMLWebBean (my inclusion of Google works just fine).
    All this Java is rather new to me I'm afraid.
    public static void dofile()
    try{
    OutputStream outStream = System.out;
    String fileName= (String)"index.htm";
    String filePath = "D:\\Jdeveloper\\jdevdoc\\";
    File f = new File(filePath, fileName);
    String fileType = fileName.substring(fileName.indexOf(".")+1,fileName.length());
    byte[] buf = new byte[8192];
    FileInputStream inStream = new FileInputStream(f);
    int sizeRead = 0;
    while ((sizeRead = inStream.read(buf, 0, buf.length)) > 0) {
    outStream.write(buf, 0, sizeRead);
    inStream.close();
    outStream.close();
         catch (Exception e) {
              System.err.println(e);
              System.err.println("dofile error");
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    dofile(); //but how do I egt the output to the OAHTMLWebBean?
    // the following works fine to include Google
    OAHTMLWebBean outRegion = (OAHTMLWebBean)createWebBean(pageContext, HTML_WEB_BEAN, null, "IFRAME");
    outRegion.setHTMLAttributeValue("src","http://www.google.co.uk");
    outRegion.setHTMLAttributeValue("width", "100%");
    outRegion.setHTMLAttributeValue("height", "60%");
    outRegion.setHTMLAttributeValue("title","My title");
    outRegion.setHTMLAttributeValue("name", "My name");
    pageContext.getPageLayoutBean().addIndexedChild(outRegion);
    Many thanks again for any help you can offer this Java virgin,
    Mike Thorn

  • WebSpace Server 10 - How to seamlessly invoke a user's portal page from a U

    Hello,
    I am new to this. I am writing a portlet that will display patient-related information for a specific patient. I have a general practitioner user in web space 10 server. This user has access to the portlet. I would like to be able to construct a URL, embed it in a PDF document that the GP gets by email, allow the GP to click the URL and have the portal present user's page with the portlet parameters specified as part of the URL causing the portlet to display information for a particular patient.
    What I need to know are:
    0. Is this possible?
    1. Can a URL be constructed so that it invokes specific user's portal page (I suspect the answer is yes but I need to know what the URL will look like)
    2. Can I add query parameters to the URL in 1 so that a portlet can read them and act on them (how would I do this? I am using the JSF portlet bridge functionality since my portlets are of the Visual Web JSF Portlet kind). What Java incantation and XML incantations would I put in the prerender method of my JSF Portlet to get hold of the parameters embedded in the URL?
    Thanks in advance
    Michael
    Edited by: Michael.Czapski-Sun on Jun 3, 2009 12:11 PM
    Edited by: Michael.Czapski-Sun on Jun 3, 2009 12:12 PM

    Hi Vijay,
    Could you check below links
    Tracing Single User Sessions - Administration - SAP Library
    Display and Manage User Sessions (SAP Library - Tools for Monitoring the System)
    Hope this helps.
    Regards,
    Deepak Kori

  • 11.5.10.2 - Custom Framework Pages

    Hello.
    We will soon be designing extensions to existing framework pages, and creating brand new ones. We have our development methods well established for other objects such as forms and reports. We use a version control production and a migration tool for our change management of those well established objects.
    For example, we can migrate a form from one instance to another and the tool will copy and compile the form into the destination instance with a shell script.
    The question is this: How can we automate the migration and installation of framework customizations from one instance to another using scripting? Has anyone done this? Suggestions?
    Thank you.

    Sharath,
    Yes there is a way to give popup using javascript.
    You have to create a rawtextbean(which will hold the javascript/html code) then you can invoke the javascript depending upon your logic.
    Check this mukul's blog for sample code,
    http://mukx.blogspot.com/2007/07/javascript-in-oa-framework.html
    Thanks.
    With Regards,
    Kali.
    OSSI.

  • Consume a Web Service from a Web Page

    I had tried out the Tutorial "Consume a Web Service from a Web Page". I have encountered this error :
    ; nested exception is: java.lang.NullPointerException.
    oracle.adf.model.adapter.AdapterException: DCA-40010: The Web Service call failed. The service returned a SOAP fault with the message: [S:Receiver] EJB Exception: : java.lang.NullPointerException
         at oracle.model.freightjb.CalculateFreightBean.calculateFreightCost(CalculateFreightBean.java:23)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:55)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy170.calculateFreightCost(Unknown Source)
         at oracle.model.freightjb.CalculateFreight_5vfuh6_WSOImpl.__WL_calculateFreightCost_WS(CalculateFreight_5vfuh6_WSOImpl.java:72)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    I tried to modify abit the code as i changed the web method parameter from object (BatchOrder order) to variables(eg. int) and it works. When I test the Web Services I need to select the include checkbox den it works nicely else i will also encounter this problem. Does this mean the web services can not take it object as parameter?

    Hi Paolo,
    maybe I faced the same issue. I solved it reading the thread:
    web service deployable client
    Hope this help
    Cheers
    Roberto

  • Capturing Information on OA Framework Page

    Hi All,
    I need to Capture Information on OA Framework Page into Temporay Table whenever a new record is created. We're currently using R12. Under { Purchasing SuperUser -> Suppliers Base -> Suppliers}. On the Supplers OA Framework Page, Navigate to [Company Profile -> Address Book]. I need to capture following fields information on ADDRESS BOOK Page, whenever a new record is created.
    1) Address Name
    2) Site Name
    3) Address Details
    4) Name
    5) Address
    6) Country
    7) communication
    8) purpose
    9) Status
    10) Site Name
    11) Operating Unit
    Can anyone help me out in Capturing this Information on OA Framework Page? Is there is way to do It. I would really appreciate your help.
    Thanks
    Kal

    I am getting following error message while trying to run Tutorial.jpr from Jdeveloper 10.1.3. We're currently using R12. Can you please let me know what could be causing this problem?
    java.lang.ExceptionInInitializerError     at oracle.apps.fnd.common.WebRequestUtil.validateContextPrivate(WebRequestUtil.java:439)     at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:322)     at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:225)     at OAErrorPage.jspService(_OAErrorPage.java:66)     [OAErrorPage.jsp]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:847)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:813)     at test_fwktutorial._jspService(_test__fwktutorial.java:104)     [test_fwktutorial.jsp]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)     at java.lang.Thread.run(Thread.java:595)Caused by: java.lang.IllegalArgumentException: WebAppsContext.getJDBCConnection() == null     at oracle.apps.fnd.functionSecurity.FunctionSecurity.init(FunctionSecurity.java:1602)     at oracle.apps.fnd.functionSecurity.FunctionSecurity.<init>(FunctionSecurity.java:188)     at oracle.apps.fnd.sso.SSOUtil.getLocalPwdChangeUrl(SSOUtil.java:709)     at oracle.apps.fnd.sso.SSOUtil.getLocalPwdChangeUrl(SSOUtil.java:765)     at oracle.apps.fnd.sso.SSOManager.<clinit>(SSOManager.java:2209)     ... 37 more

  • OA Framework pages gives oracle.apps.jtf.cache.CacheLoaderNotFoundExecption

    I have installed the right version of JDeveloper and started working on as per anilpassi demos and friends guidence.I was able to work on OA Framework pages, I have added some attributes in Tutorial page and also I was able to see isupplier page that I have to customize. While running the pages, it will take nearly 10mins to show every page.
    With the same configuration,Now I am getting error when I run any page from yesterday afternoon. So I have tried to reconfigure again the Jdeveloper and even I have tried by reinstalling it. Still I am getting the Error page. Here are details regarding the error page. I request you to go through these please and give your suggestions.
    I have set the JDEV_USER_HOME Environment Variable to “E:\jdevhome\jdev” and also I have set the database connection.
    The runtime settings I have given is below:
    Selected the DBC file.
    also the username and password i given is correct only. and also the user has the turorials responsibility.
    Error in IE while running:
    ==============
    Error Page Exception Details.
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = oracle.apps.jtf.cache.CacheLoaderNotFoundException;
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
    at OAErrorPage.jspService(OAErrorPage.jsp:34)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:119)
    at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:547)
    at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:518)
    at runregion.jspService(runregion.jsp:143)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
    at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.apps.jtf.cache.CacheLoaderNotFoundException
    at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:3236)
    at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:3203)
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:248)
    at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1293)
    at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:384)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)
    at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1147)
    at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1008)
    at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:977)
    at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:944)
    at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:931)
    at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
    at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:894)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:879)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:848)
    at oracle.apps.fnd.common.AppsContext.(AppsContext.java:707)
    at oracle.apps.fnd.common.WebAppsContext.(WebAppsContext.java:940)
    at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:352)
    at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
    at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
    at runregion.jspService(runregion.jsp:96)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
    at java.lang.Thread.run(Thread.java:534)
    oracle.apps.jtf.cache.CacheLoaderNotFoundException
    at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:3236)
    at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:3203)
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:248)
    at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1293)
    at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:384)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)
    at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1147)
    at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1008)
    at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:977)
    at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:944)
    at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:931)
    at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
    at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:894)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:879)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:848)
    at oracle.apps.fnd.common.AppsContext.(AppsContext.java:707)
    at oracle.apps.fnd.common.WebAppsContext.(WebAppsContext.java:940)
    at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:352)
    at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
    at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
    at runregion.jspService(runregion.jsp:96)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
    at java.lang.Thread.run(Thread.java:534)
    ==============
    Then in JDeveloper below messages are shown in Embedded OC4J Server tab:
    ==============
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    E:\jdevbin\jdk\bin\javaw.exe -client -classpath E:\jdevbin\j2ee\home\oc4j.jar;E:\jdevbin\jdev\lib\jdev-oc4j.jar -Xbootclasspath/p:E:\jdevbin\jdev\appslibrt\ojdbc14.jar;E:\jdevbin\jdev\appslibrt\nls_charset12.zip -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m -Doracle.j2ee.dont.use.memory.archive=false -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 com.evermind.server.OC4JServer -config E:\jdevhome\jdev\system9.0.3.5.1453\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 3797 ms.
    Auto-deploying OA Framework web application deployment descriptor (New server version detected)...
    Oracle9iAS (9.0.3.1.0) Containers for J2EE initialized
    TIME: runregion: initialization [16 ms]
    Tutalii: E:\jdevbin\jdev\appslibrt\iasjoc.zip archive
    ApplicationServer: appName = APPS_OA
    ApplicationServer: appName = bc4j
    ApplicationServer: appName = current-workspace-app
    ApplicationServer: appName = soap
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 1297 ms.
    Error creating the ORB :
    Auto-deploying OA Framework web application deployment descriptor (New server version detected)...
    TIME: runregion: initialization [16 ms]
    ====================
    Starting Embedded OC4J Server is been displayed in the status bar. Also when a OA Framework page is getting opened, huge lines of codes and messages will be shown in Embedded OC4J Server Tab, but here nothing is shown than TIME: runregion: initialization [16 ms] .
    Please help in figuring out this,
    Thank you,

    Nothing much can be done, if you don't have vpn type of tool in performance.Moreoever,to pick latest class files it is necessary to bounce local jdev oc4j server, every time you make a change.
    Most of the time it do takes latest class files, but sometimes it not, so don't know how u will manage it, because in ur case every time u terminate the server... to restart it will take another 40 minutes.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • Urgent help needed - deadline - iDVD project suddenly gone corrupt?

    Ive literally finished and ironed out the problems Ive had with a big Dual Layer project Ive been working on for 2 weeks. Yesterday I successfully burned a project to DVD - and I had not been having any problems. Then suddenly I tried another burn la

  • Is this preparedSatement possible?

    G'Day, G'day!! I am just wondering if this is possible? I am using MSAccess and have a practice table with 3 columns, a gui with 3 JTextFields and a button called save, when I click on save I want the preparedStatement to insert the values into the d

  • My disk space seems to have grown out of the blue.

    Need to know how to perform a disk cleanup to remove temp files and any other space consuming downloads.

  • PHP Security?

    Hi, I have developed a webservice utilising PHP and Oracle.. Our system administrator has pointed out that there was/is a secuirty hole with PHP and Oracle, and therefore declines to install the Oracle PHP module on linux at the corporate web server.

  • Work center reporting

    Hi, In our system in transaction OP4A lot of 'Shift definations', 'shift sequences' are maintained unnecessary. We want to clean this data (Remove unwanted). Is there any report available for work center like 'where used' function to identify shift p