Session-syncronized web portlets (a la master-detail), how to?

Hi.
Here is what I want: I have a number of servlet portlets on a page. The user activates a form action on one portlet. The parameters go to that portlet only. The portlet calls some data provider (e.g. a servlet) to fetch some data. When the data arrives the portlet makes it available to all portlet-threads (do i undersstand it correctly?) in the session and tell them to go and present the data according to their predefined XSLTs.
Now my questions are: Is there built-in support for this syncronization in Portal? What should be the preferred way to do this? Or have I missed something in the docs? (In that case my appologies, but please point out for me.)
FYI, our current solution is to have all portlets send requests with session info to a "conventional" servlet where the threads for slave portlets are put on hold and the master is passed on to the data layer. When the data comes back it is converted to XML. Then all threads in the session fetch the XML and send back to their respective portlets where the XSLT is done. Any comments on this solution?
BTW, what is the best way to syncronize servlet threads based on session?
Any information are much appreciated.
Jian Hu

One way of approaching your issue is to simplify. While portlets are executed in parallel, you are guaranteed that they will all be called at a point right after the page is requested and that they will all complete when the page is rendered (either by success or timeout).
You cannot predict the order of execution between those two points in time, but you can use those bounds to your advantage.
For example, if you can guarantee that you can commit information to a database before a new page request, you can have all your portlets read from that source.
Synchronization is a tricky issue and there are others that may know more about it. I'm just presenting one possibility.

Similar Messages

  • Obiee 11g - Master/detail : How to initialize details ?

    Hi gurus,
    I'm using the last version of obiee.
    I have a dashboard with master/detail. The master/details are working great when I click on cells.
    But I have some "initialization" problems.
    - master/detail with a prompt list on the master table
    a change on the list won't initialize the detail. I would like to have the detail refreshed with the first row of the master.
    - master/detail with different order by on master and detail
    the initialization value of the detail does not fit with the first row of the master.
    Is it possible to achieve this ?
    Thanks in advance for your help.
    Emmanuel

    Hi Dpka,
    Thanks for sharing your view . I ,even observe the same 'error' message returining false value at the bottom-left of my browser when set up the Master detail even and clicked my table column to reflect the value in the graph .
    But my situation is bit tricky . I can't expose two different views to see if separating the interaction works well or not . In my case I have only 1 report with 4 compound layout(with pivot table(master) and Graph(detail)) having view selector . So this is practically not separable as this incurs loss of other functionalities.
    Do you have any suggestion in mind . I tried to see Supportweb and doesn't have any valid bug reported :(
    Rgds,
    DxP

  • Master-detail: how to change master pk

    ADF Business Components 10.1.3.42.70
    JHeadstart 10.1.3.3.81
    all,
    i have a requirement to allow my users to change the primary key of a master record. the master record has multiple detail entities and about three levels deep. before i dive into it, i was wondering if there is any easy way to complete this using built-in adf capabilities?
    thanks,
    paul

    Paul,
    In a relational database like Oracle, primary keys are supposed to be immutable (unchangable). If you have a requirement to allow the user to change the primary key, then by definition, that "thing" is not the primary key.
    If I had this requirement, what I would do is to use an Oracle sequence to generate a surrogate primary key for my master and put a unique key + not null constraint on the "thing" which is currently being used as the primary key.
    Best,
    John

  • Master - Detail -- How to Hide page if no detail records

    I'm hoping to be able to hide a page if no detail records exist for the master query.
    My master query:
    "Company" and "account" and balances for each account
    (balances carry forward from previous months)
    Detail Query:
    transactions for each account for a month
    -- Linked to the master by "account-id"
    The master query is grouped into 2 parts:
    a) Company
    b) account and balance
    Sometimes an account won't have any transactions during the month (especially if the report is run at the beginning of the month)
    If I create a "summary" count field in the "account" group based on the transactions, then I can hide (not print) the "account" frame.
    But I can't figure out how to do this for the "company" frame.
    I'm probably missing something simple (or maybe not)
    Any suggestions?
    Thanks,
    Eric

    So basically you are showing each account on a separate page?
    Move the objects shown in Company repeating frame to the account repeating frame. In this case company repeating frame will be blank. And your already created format trigger to hide account frame will work for both (company+account). So whenever any account is zero, it will hide all objects within the frame. Parent frame doesn’t contain any objects, it would not show the parent frame for that account. Make sure vertically elasticity of the frame is variable.
    Hope this helps.

  • Questions on Master-Detail HTMLDB HOW-TO

    Hi all
    I have created a 3 page application based on the master detail how-to given at http://www.oracle.com/technology/products/database/htmldb/howtos/index.html
    Instead of DEPT and EMP tables I have PERSON and PERSON_ADDR tables. The PK of PERSON is the person_id and the PK of PERSON_ADDR is the person_id and addr_start_dt. Person_id column in PERSON_ADDR is obviously the FK to the master table PERSON(person_id).
    At first I had problems trying to create the pages themselves because the wizard always hides the person_id column on all the forms(and I don't want that,even though it is a sequence number I still want people to see it) , it being the PK, then somehow I managed it to display the person_id by replacing the EDIT link with the person_id itself. Now if a person already has an address and I click on EDIT then it copies the person_id values and others to the next page and all looks good but when I try to create a new address it does it ?? (It should take across the person_id as well)
    My PERSON report is on page 1, when I click edit against a person it takes me to page 2 where I can see+change all the person details plus I can see the person_addr details. When I click edit against a person address it takes me to page 3 and I can edit all the address details nicely copied to the new page but when I click CREATE on the page 2, then all the fields appear as NULL on page 3( all the fields but the person_id should be null here). How can I fix this ?
    Also, for my person address I would like to validate the address dates , there should be no overlapping start and end dates for a person's address. How to do this ? I think I will need to create a function to which I pass the person id and the new start and end dates and this function returns error message,if any, or null. I had a play around with validation and I think I need to use "function returning error text", what should I put in the "validate expression 1" box then...just something like
    begin
    my_function(param_1,param_2)
    end;
    If yes, then what variables would store the new start date and new end date of an address.
    Lastly, for every table do I have to user a sequence number or a trigger to define a primary key, what if the primary key is just a character code and I want the users to add it ?
    Thanks a lot in advance !!

    thanks Marc.
    Yes you are right, I used the 1.5 viewlet. I will try the master-detail wizard now.
    With the primary key problems, for things to work nicely in HTMLDB, do you suggest each and every tables should have a sequence number generated primary key ? We have some tables for various statuses like ACTIVE,CLOSED where these codes themselves are the primary keys, so you suggest making these codes unique keys but still have a sequence number PK ? Also when I want the users to enter the primary key themselves I will let them enter new ones but not update existing ones, so data entegrity is maintained.
    I was able to work out how to create validations using "functions returning error text" but my problem is I need to be able to compare what the user has just updated/entered with the data that already exists in the table. I have a table called person_Address having columns like person_id, start_dt,end_dt and various other fields. The primary key is person_id and start_dt and I need to put a validation which avoids any overlapping addresses. Overlap as in there can be only 1 active address for a given start and end date range. Does HTMLDB has something like :new.start_dt the way we can write database triggers ? Please suggest a way to do this.
    Lastly, how does HTMLDB handles error messages raised by table triggers. Can they be shown along with the item on the page as we can with the other HTMLDB validations ? I have many tables with all sorts of triggers and if any validation fails I generally do...raise_application_error(-20001,get_my_message(234));
    get_my_message function returns the message text for message number 234 . Will this message be displayed somewhere or not ? Do I have to duplicate my validations , once in the triggers and then in HTMLDB as well ?

  • More than 5 rows in the detail table for a Master Detail Portlet

    I have a Master Detail Portlet.   I originally had 5 fields in the detail portlet.  I have added a column to the detail portlet and now the last column is wrapped around in the portlet.  I do not see a way to force it to be on the same line as the rest of the columns for the detail table.
    Do I need to just delete it and re-create the portlet?
    Below is the from the browser when executing the portlet.
    function show_context_help(h) {   newWindow = window.open(h,"Help", "menubar=1,toolbar=1,scrollbars=1,resizable=1,width=700, height=500"); }  
    Master action:
    [None]
    Insert
    Update
    Delete
    Carrier
    Carname
    Line Haul Carrier?
    Detail actions
    Warehouse
    Carrier
    Service
    Ship To
    Country Code
    Hold for
    Pickup
    Service?
    Associate LPN
    Required?
    [None]
    Insert
    Update
    Delete
    [None]
    Insert
    Update
    Delete
    [None]
    Insert
    Update
    Delete
    [None]
    Insert
    Update
    Delete
    [None]
    Insert
    Update
    Delete
    [None]
    Insert
    Update
    Delete
    [None]
    Insert
    Update
    Delete
    [None]
    Insert
    Update
    Delete
    [None]
    Insert
    Update
    Delete
    [None]
    Insert
    Update
    Delete

    Easy, The default on the detail field had the Begin on New Line flag set to on.   By unchecking it I got the desired behavior.

  • Session storage errors in master-detail form

    hi,
    as the sequences do not work in master detail forms, i'm using session variables but the form does not compile and gives error.
    following is my code in the SAVE button of the master-detail form -
    declare
    new_prod_id number(10);
    begin
    select BPSIDEV.PRODUCT_ID_SEQ.NEXTVAL
    into new_prod_id
    from dual;
    p_session.set_value
    p_block_name => 'MASTER_BLOCK',
    p_attribute_name => 'A_PRODUCT_ID',
    p_value => new_prod_id
    doSave; -- This is generated code
    end;
    the action item values is as foloows -
    Master - INSERT
    Detail - INSERT
    am i missing here something ? or is anything wrong here ?? pls advise ...
    after the above changes the form would not compile at all.
    also how would i populate the the detail records with the foreign key ??
    thanx...
    null

    This problem is fixed in 3.0.8 release of Portal which will be available with the next release of iAS.
    Actuallty the fix is simple look at the generated package of EXAMPLE_MD_FORM from EXAMPLE_APP, onSave event handler looks like this:
    procedure onSave
    p_block_name in varchar2,
    p_object_name in varchar2,
    p_instance in integer,
    p_event_type in varchar2,
    p_user_args in varchar2,
    p_session in out WWV_30898.wwa_api_module_session
    is
    "_master_block" varchar2(30) := 'MASTER_BLOCK';
    Some more code.......
    And then closer to the end in detail processing section there is something like:
    "_d_data_rec".COMM:=p_session.get_value_as_NUMBER(
    p_block_name => "_detail_block",
    p_attribute_name => 'A_COMM',
    p_index => "_cnt"
    "_d_data_rec".DEPTNO:=p_session.get_value_as_NUMBER(
    p_block_name => "_detail_block",
    p_attribute_name => 'A_DEPTNO',
    p_index => "_cnt"
    ===========================================
    You'll need to insert following code, just one if statement, that's it. Please note every time you regenerate the package this code will be lost, so you'll need to add this agains and again. Not a perfect solution, that's why I like JS workaround better.
    ============================================
    if "_d_data_rec".DEPTNO is NULL and "_m_data_rec".DEPTNO is NOT NULL
    then
    "_d_data_rec".DEPTNO := "_m_data_rec".DEPTNO;
    end if;
    ============================================
    ============================================
    if "_detail_action" = 'DELETE' and "_DETAIL_ROWID" is not null then
    DELETE FROM WWV_30898_DEMO.EMP WHERE ROWID = "_DETAIL_ROWID";
    "_detail_deleted" := "_detail_deleted" + 1;
    elsif "_detail_action" = 'UPDATE' then
    UPDATE WWV_30898_DEMO.EMP SET EMPNO="_d_data_rec".EMPNO,ENAME="_d_data_rec".ENAME,JOB="_d_data_rec".JOB,MGR="_d_data_rec".MGR,HIREDATE="_d_data_rec".HIREDATE,SAL="_d_data_rec".SAL,COMM="_d_data_rec".COMM,DEPTNO ="_d_data_rec".DEPTNO WHERE ROWID = "_DETAIL_ROWID" ;
    "_detail_updated" := "_detail_updated" + 1;
    elsif "_detail_action" = 'INSERT' then
    INSERT INTO WWV_30898_DEMO.EMP (EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO) VALUES ("_d_data_rec".EMPNO,"_d_data_rec".ENAME,"_d_data_rec".JOB,"_d_data_rec".MGR,"_d_data_rec".HIREDATE,"_d_data_rec".SAL,"_d_data_rec".COMM,"_d_data_rec".DEPTNO) RETURNING ROWID INTO "_DETAIL_ROWID";
    "_detail_inserted" := "_detail_inserted" + 1;
    end if;
    ............................

  • Master-Detail Problem SESSION & REQUEST

    I'd really appreciate some help with this:
    I got a very simple master detail application, with a data table in the master page that gets it's data from a spring-hibernate bean, pretty straightforward.
    My business requirement indicates that at first the list will be empty, and after selecting a few criteria values, the list should return with the results(query results).....
    I'm using one of the columns with a commandLink tag as usual, to go to the detail page like any number of applications you have seen.
    Now the problem arises in that, if my backing bean for my list and criteria is set as a SESSION, everything works fine. However if i set the backing bean in REQUEST scope navigation doesn't ocurr acording to the action and it just redisplays an empty list in the same page (the master list page).....
    I changed everything back and forth between sun and apache's releases and nothing...tried a bunch of different things and nothing either...the log doesn't show any exceptions or anything...
    Anybody have a clue on this?????
    public class PersonList {
    private PersonManager personManager;
    private List    personsData;
    private String  inputTextEmpId;
    private String  inputTextJobCode;
    private String  inputTextFirstName;
    private String  inputTextLastName;
    private boolean initialFlag = true;
       public void setPersonManager(PersonManager personManager) {
           this.personManager = personManager;
       public PersonManager getPersonManager() {
          return personManager;
      public List getPersonsData() {
           List results = (personManager.getAllPersonsQuery(
             initialFlag,
           inputTextEmpId, 
           inputTextJobCode,
           inputTextFirstName,
           inputTextLastName);
          initialFlag = true;
          if (results == null) return new ArrayList();
          else return results;
    public void setPersonsData(List personsData) {
         this.personsData = personsData;
    public String getInputTextEmpId() {
         return inputTextEmpId;
    public void setInputTextEmpId(String inputTextEmpId) {
         this.inputTextEmpId = inputTextEmpId;
    public String getInputTextFirstName() {
         return inputTextFirstName;
    public void setInputTextFirstName(String inputTextFirstName) {
         this.inputTextFirstName = inputTextFirstName;
    public String getInputTextLastName() {
         return inputTextLastName;
    public void setInputTextLastName(String inputTextLastName) {
         this.inputTextLastName = inputTextLastName;
       public void queryGenerator (ActionEvent event) {
            setInitialFlag(false);
       public boolean isInitialFlag() {
            return initialFlag;
       public void setInitialFlag(boolean initialFlag) {
            this.initialFlag = initialFlag;
    <%@ include file="/taglibs.jsp"%>
    <h:form id="personX">
    <h:messages layout="table" styleClass="conversionError"/>
    <h:panelGrid styleClass="data-table-column-header" columns="9">
      <h:outputText value="#{messages.personEmpId}"/>
      <h:outputText value="#{messages.personJobCode}"/>
      <h:outputText value="#{messages.personFirstName}"/>
      <h:outputText value="#{messages.personLastName}"/>
      <h:inputText value="#{personList.inputTextEmpId}" size="4" styleClass="data-table-column-text"/>
      <h:selectOneMenu value="#{personList.inputTextJobCode}" styleClass="data-table-column-text">
           <f:selectItem itemValue="%"  itemLabel="ALL"/>
           <f:selectItem itemValue="AA" itemLabel="AA"/>
           <f:selectItem itemValue="BB" itemLabel="BB"/>
           <f:selectItem itemValue="OT" itemLabel="OT"/>
      </h:selectOneMenu>
      <h:inputText value="#{personList.inputTextFirstName}" size="9" styleClass="data-table-column-text"/>
      <h:inputText value="#{personList.inputTextLastName}" size="9"  styleClass="data-table-column-text"/>
    </h:panelGrid>
      <t:dataTable
        value             =  "#{personList.personsData}"
        var               =  "person"
        id                =  "personDataList"
        border            =  "0"
        columnClasses     =  "rightAlign,centerAlign,leftAlign,leftAlign,rightAlign,
                              centerAlign,centerAlign,centerAlign,centerAlign"
        rowClasses        =  "data-table-row-odd,data-table-row-even"
        styleClass        =  "data-table"
        headerClass       =  "data-table-header"
        footerClass       =  "boldLeft" >
       <f:facet name="header">
        <h:outputText value="#{messages.personList}"/>
       </f:facet>
       <h:column>
         <t:commandLink action="personform" immediate="true" >
            <h:outputText value="#{person.id}" />
            <t:updateActionListener property="#{personForm.id}" value="#{person.id}" />
         </t:commandLink>
       </h:column>
       <h:column><h:outputText value="#{person.jobCode}"/></h:column>
       <h:column><h:outputText value="#{person.firstName}"/></h:column>
       <h:column><h:outputText value="#{person.lastName}"/></h:column>
      </t:dataTable>
    <h:commandButton value="Generate Report" actionListener="#{personList.queryGenerator}" styleClass="button"/>
    </h:form>

    What is the meaning of initialFlag?
    If the bean in request scope, when firstly invoking
    getPersonData()
    the flag is true because queryGenerator() is not
    invoked yet in the request.
    If the bean in session scope, the value of
    initialFlag may hold to be false
    since invoking queryGenerator() in the previous
    request.initialFlag is just something I use to bring back an empty list
    when the action is performed....
    However my problem is not displaying the list correctly, is actually Jumping to the detail form (a different JSP) from the commandLink on the datatable results....,
    instead it just re-renders the same page (just like if there was a conversion or validation error)
    Fragment: From DAO..
         public List getAllPersonsQuery(
                   boolean initialFlag,               
                   String empId,
                   String jobCode,
                   String firstName, String lastName)
    if (initialFlag) return new ArrayList();
    else {
      String status = "A";
      return getHibernateTemplate().find("from Person person where person.employmentStatus=(?) " +
    getNormalClause(empId,            " person.empId "  )+
    getNormalClause(jobCode,          " person.jobCode ")+
    getNormalClause(firstName,        " person.firstName ")+
    getNormalClause(lastName,         " person.lastName ")+
    " order by person.lastName, person.firstName" , status);
      <navigation-rule>
       <from-view-id>/persons.jsp</from-view-id>
       <navigation-case>
          <from-outcome>personform</from-outcome>
          <to-view-id>/personForm.jsp</to-view-id>
        </navigation-case>
      </navigation-rule>
    <%@ include file="/taglibs.jsp"%>
    <h:messages layout="table" styleClass="error"/>
    <h:form id="personForm">
    <h:inputHidden value="#{personForm.person.id}"/>
    <h:inputHidden value="#{personForm.id}"/>
    <h:inputHidden value="#{personForm.person.empId}" binding="#{personForm.empId}"/>
    <h:inputHidden value="#{personForm.person.jobCode}" binding="#{personForm.jobCode}"/>
    <h:inputHidden value="#{personForm.person.firstName}" binding="#{personForm.firstName}"/>
    <h:inputHidden value="#{personForm.person.lastName}" binding="#{personForm.lastName}"/>
    <h:inputHidden value="#{personForm.person.createdUser}" binding="#{personForm.createdUser}"/>
    <h:inputHidden value="#{personForm.person.createdTime}" binding="#{personForm.createdTime}">
      <f:convertDateTime pattern="MM/dd/yyyy"/>
    </h:inputHidden>
    <h:inputHidden value="#{personForm.person.lastUpdateUser}" binding="#{personForm.lastUpdateUser}"/>
    <h:inputHidden value="#{personForm.person.lastUpdateTime}" binding="#{personForm.lastUpdateTime}">
      <f:convertDateTime pattern="MM/dd/yyyy"/>
    </h:inputHidden>
      <h:panelGrid columns="2" columnClasses="exclusions-column-text,exclusions-column-text-green">
        <h:outputText value="Employee#:"/>
        <h:outputText value="#{personForm.empId.value}"/>
        <h:outputText value="Job Title:"/>
        <h:outputText value="#{personForm.jobCode.value}"/>
        <h:outputText value="First Name:"/>
        <h:outputText value="#{personForm.firstName.value}"/>
        <h:outputText value="Last Name:"/>
        <h:outputText value="#{personForm.lastName.value}"/>
       </h:panelGrid>
    </h:panelGrid>
    <h:panelGrid columns="4" style="width:300px" headerClass="exclusions-table-header" styleClass="exclusions-table">
      <f:facet name="header">
        <h:outputText value="Record Control"/>
      </f:facet>
      <h:outputText value="Created By:" styleClass="bold"/>
      <h:outputText value="#{personForm.createdUser.value}"/>
      <h:outputText value="Created On:" styleClass="bold"/>
      <h:outputText value="#{personForm.createdTime.value}">
        <f:convertDateTime pattern="MM/dd/yyyy"/>
      </h:outputText>
      <h:outputText value="Modified By:" styleClass="bold"/>
      <h:outputText value="#{personForm.lastUpdateUser.value}"/>
      <h:outputText value="Updated On:" styleClass="bold"/>
      <h:outputText value="#{personForm.lastUpdateTime.value}">
        <f:convertDateTime pattern="MM/dd/yyyy"/>
      </h:outputText>
    </h:panelGrid>
    </h:panelGrid>
    </h:panelGrid>
    <h:panelGrid columns="2">
    <h:commandButton value="Save Record" action="#{personForm.save}" id="savePerson" styleClass="button"/>
    <h:commandButton value="Query Screen" action="#{personList.cleanData}" immediate="true" id="cancelPerson"  
       styleClass="button"/>
    </h:panelGrid>
    </h:form>

  • Master/Detail Viewer Application in Web Dynpro ABAP

    Hello @ll,
    i search a Master/Detail Viewer Application in Web Dynpro ABAP like this in WEB Dynpro Java (show below).
    http://help.sap.com/saphelp_nw04/helpdata/en/84/8bc1a36a38da41a46517b114ca0974/frameset.htm
    Have anyone a tutorial or can help how i config the event "onLeadSelect".
    I create a master- and detail table done all context mapping.
    Thanks in advance
    regards
    armin

    Hi Armin,
    Please go through
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7a89b067-0801-0010-8192-a9896a60938e?quicklink=index&overridelayout=true
    Thanks,
    Prahsant

  • Master-detail module in Web PL/SQL

    Hi, I'm a beginner and I'd like to ask how many tables can I use in order to create a master-detail module. The example I have is only 2 tables which is master table and detail table respectively.
    What should I do if I want to include more than 2 tables in a master-detail module?
    For my case, the module i created is to create customer orders where order, order details, customer, employee and product tables are necessary .
    Thanks.

    This probably belongs over in the Products->DeveloperSuite->Designer forum. But I can start an answer here.
    On any single designer-generated web pl/sql page, you can typically only show two levels: a master and 0->many details. You can also only edit one table per page.
    You'll typically be setting up several module components using "key-based links" between them. It's not that hard, but you'll want to experiment a bit or use some resources. For example, there are a number of useful papers over on the odtug site, www.odtug.com
    -- jim

  • OTN HOS1.1-Using ADF to Quickly Build a Master-Detail Web Page doesn't work

    Referencing the Hands-On Session at this site 'http://www.oracle.com/technology/products/jdev/collateral/4gl/HO_Workshop/hos1_1/hos1_1_ADF_Forms_Designer.htm'. Under 'Creating the Java Server Page' section 10 through 12 does not provide the proper run results. The orders linked to the CustomerID do not display. The titles for the columns display, but nothing else for the OrdersView2.
    I'd sure like to know how to make this work. Please get back with me. I feel that some small detail was left out.
    Thanks

    Paul - Thanks for that info but I have not been able to reproduce this on 2.0 (even using htmldb.oraclecorp.com) using emp/dept master detail form.
    Scott

  • Problem with Master-Detail web page tutorial

    My student asked me about this problem:
    I just completed the following Master-Detail tutorial...
    http://www.oracle.com/technology/products/jdev/collateral/4gl/HO_Workshop/hos1_1/HOS1_1_ADF_Forms_Designer.pdf
    ... The problem here is that when I try to define Order By CUSTOMER_ID in CustomersView the App Module test and the application both fail...
    JBO-30003: The application pool (model.OrderEntryAMLocal) failed to checkout an application module due to the following exception:oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.domain.DataCreationException, msg=JBO-25029: Data class (a domain?) String not found     at oracle.jbo.JboException.<init>(JboException.java:343)     at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1772)     at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
    (etc...)
    Note that I can define Order By ORDER_ID in OrdersView without problems.

    Thanks Frank... I had entered just CUSTOMER_ID as you said. After trying this, the App Module is "permanently" broken. It will not work again even if I remove the Order By entry. I was able to use Order By ORDER_ID successfully in the OrdersView. The Order By is not part of the tutorial, but I wanted to use it because I would if this was a real application.
    Message was edited by:
    user463505

  • More than one Detail table in the Master Detail forms!

    Hi,
    I need to have more than one Detail table in Master Detail Forms.
    I want to see the details of the rows of the first Detail table in the Second Detail table. Please guide me to do this.
    Sincerely yours,
    Mozhdeh

    You can do one of two things
    1) Depends on the nature of your data model. I was able to manage many to many
    relationships using views and instead of triggers. This solution is somewhat complex but can work in certain situations.
    2)Works for situations where master record exists. create a page with mulitple portlets syncronized on some related key.
    create the following package to use on the md forms to place on the one page to be rendered.
    -- this package will facilitate the storage and retrieval of keys used by the related forms.
    create or replace package session_var
    IS
    session_parms portal30.wwsto_api_session;
    g_domain varchar2(2000) := portal30.wwctx_api.get_user;
    function get_id (id in varchar2) return number;
    PROCEDURE SET_ID
    (ID in VARCHAR2
    ,p_val in VARCHAR2
    ,P_URL in VARCHAR2
    END SESSION_VAR;
    create or replace package body session_var
    IS
    --pkg body
    function get_id(id in varchar2) return number is
    l_store_session portal30.wwsto_api_session;
    l_id number;
    begin
    l_store_session := portal30.wwsto_api_session.load_session(
    p_domain => session_var.g_domain,
    p_sub_domain => 'your domain');
    l_id := l_store_session.get_attribute_as_varchar2( p_name => id);
    return l_id;
    end get_id;
    PROCEDURE SET_ID
    (ID in VARCHAR2
    ,p_val in VARCHAR2
    ,P_URL in VARCHAR2
    IS
    l_store_session portal30.wwsto_api_session;
    begin
    l_store_session := portal30.wwsto_api_session.load_session(
    p_domain => session_var.g_domain,
    p_sub_domain => 'your domain');
    l_store_session.set_attribute(
    p_name => id,
    p_value => p_val );
    l_store_session.save_session;
    * Redirect to the page using p_url;
    portal30.wwv_redirect.url(P_URL);
    end set_id;
    END SESSION_VAR;
    --the form master detail form, section  before display page enter the following code and publish as portlet.
    declare
    l_fs varchar2(4000);
    l_s varchar2(4000);
    v_con_id number;
    begin
    v_con_id :=rfq.session_var.get_id('CON_ID'); -- primary key and key used to relate details
    p_session.set_shadow_value( p_block_name => 'MASTER_BLOCK',
    p_attribute_name => 'A_CON_ID', -- attribute on form related to primary key
    p_value => '= '|| v_con_id,
    p_language => portal30.wwctx_api.get_nls_language ,
                   p_index => 1
    l_fs := p_session.get_value_as_varchar2(p_block_name => 'MASTER_BLOCK', p_attribute_name => '_FORM_STATE');
    l_s := p_session.get_value_as_varchar2(p_block_name => 'MASTER_BLOCK', p_attribute_name => '_STATUS');
    if l_fs = 'SAVE' and l_s is null then
    WWV_MASTER_GENSYS_1(p_block_name => p_block_name,
    p_object_name => p_object_name,
    p_instance => p_instance,
    p_event_type => p_event_type,
    p_user_args => p_user_args,
    p_session => p_session);
    p_session.save_session;
    end if;
    if l_fs = 'QUERY_AND_SAVE' and l_s is null then
    WWV_MASTER_GENSYS_1(p_block_name => p_block_name,
    p_object_name => p_object_name,
    p_instance => p_instance,
    p_event_type => p_event_type,
    p_user_args => p_user_args,
    p_session => p_session);
    p_session.save_session;
    end if;
    exception
    when others then
    PORTAL30.wwerr_api_error.add(PORTAL30.wwerr_api_error.DOMAIN_WWV,'app','generic','onLink', p1 => sqlerrm);
    raise;
    end;
    --then create other md forms and publish as portlets in a similar manner.
    -- create a form (form_session_vars) to call procedure session_vars and place the following code in the
    addiontional pl/sql tab
    WWV_GENSYS_1(
    p_block_name => p_block_name ,
    p_object_name => p_object_name,
    p_instance => p_instance ,
    p_event_type => p_event_type ,
    p_user_args => p_user_args ,
    p_session => p_session);
    --then create a page and place the md forms created above as portlets on the page.
    --create a link and target the form_session_vars and in the link target inputs
    enter the values for your user parameters
    id= CON_ID --"your primary key name"
    p_url= url/page/"your_page"
    --finally create a report (QBE or standard).
    in the column formation section use the link created earlier to direct the user to the target page.
    How it works.
    When the link is selected the form_session_Var is called and automatically runs setting the primary key values
    in the user session store. The step is required or the resulting page will not render properly. Then the user is redirected to the page where the portlets are rendered. The portlets start rendering, the before display page calls the session vars package to retrieve the key and put the form into query_update mode returning the data.
    The portlets finish in query_and_save mode with details in update mode, the allowable insert, delete and none actions will be available for the details.
    benefits: The session_Var package code is resuable as well as the form form_session_Var and the link. passing the key name and values are done at the report level and detailed in the report links. the md forms will need to reference their related keys.

  • ADF master-detail master selection not updating detail tables properly

    Hi All,
    I am using JDev version : 11.1.2.0.0
    I created new Fusion Web Application Module. In that module I created a master-detail data model and added them to a page fragment with a query panel. When I run it as a separate module, It works perfectly and Master selection correctly updates detail tables.
    But when I integrate that module to another Fusion Application(Add application jar file to the Master Application libraries), Master-details master selection not updating detail tables properly. This problem occurred sequentially.
    The problem is that.
    After the page load, first selection of the Master Table works correctly and detail tables update correctly.
    But second selection doesn't work, means detail table doesn't get update according to the Master table.
    And again in the third selection works correctly.
    This happens in a sequential manner. I monitor the behavior using Firebug. Observations are as follows,
    When running correctly, Response of the Post Definition is
    <?xml version="1.0" ?> <partial-response><changes><update id="pt1:t1"><![CDATA[<div tabindex="0" id="pt1:t1" class="xpa xpi" _leafColClientIds="['pt1:t1:c1','pt1:t1:c2','pt1:t1:c3','pt1:t1:c4','pt1:t1:c5','pt1:t1:c6','pt1:t1:c7','pt1:t1:c8','pt1:t1:c9','pt1:t1:c10','pt1:t1:c11','pt1:t1:c12','pt1:t1:c13']"><div id="pt1:t1::ch" style="overflow:hidden;position:relative;width:1365px;" _afrColCount="13" class="xz4"><table class="xz6" summary="This table contains column headers corresponding to the data body table below" id="pt1:t1::ch::t" style="position:relative;table-layout:fixed;width:1365px" cellspacing="0"><tr><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th><th style="padding:0px;padding-left:5px;width:100px;"></th></tr><tr><th id="pt1:t1:c1" _d_index="0" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c1::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">DateFormat</div></th><th id="pt1:t1:c2" _d_index="1" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c2::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">DefinisionId</div></th><th id="pt1:t1:c3" _d_index="2" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c3::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">FieldId</div></th><th id="pt1:t1:c4" _d_index="3" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c4::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">FieldLabel</div></th><th id="pt1:t1:c5" _d_index="4" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c5::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">FieldLength</div></th><th id="pt1:t1:c6" _d_index="5" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c6::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">FieldOffset</div></th><th id="pt1:t1:c7" _d_index="6" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c7::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">FieldOrder</div></th><th id="pt1:t1:c8" _d_index="7" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c8::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">FieldStatus</div></th><th id="pt1:t1:c9" _d_index="8" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c9::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">FieldType</div></th><th id="pt1:t1:c10" _d_index="9" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c10::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">FieldTypeLen</div></th><th id="pt1:t1:c11" _d_index="10" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c11::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">IgnoreField</div></th><th id="pt1:t1:c12" _d_index="11" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c12::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">IsMandatory</div></th><th id="pt1:t1:c13" _d_index="12" _afrLeaf="true" _afrRoot="true" align="left" class="xz7"><div style="position:relative; float:right"><table id="pt1:t1:c13::afrSI" _afrHoverable="true" style="display:none" class="xzs" cellpadding="0" cellspacing="0"><tr><td _afrSortAsc="1"><a tabIndex="-1" class="xza" title="Sort Ascending"></a></td><td _afrSortDesc="1"><a tabIndex="-1" class="xzb" title="Sort Descending"></a></td></tr></table></div><div class="x19d">RecordType</div></th></tr></table></div><div id="pt1:t1::db" class="xyx" style="position:relative;width:100%;overflow:hidden" _afrColCount="13"></div><div id="pt1:t1::sm" class="xzt" style="position:absolute;display:none"></div><div id="pt1:t1::ri" class="xyz" style="position:absolute;display:none;overflow:hidden"></div><div id="pt1:t1::dataW" style="display:none"></div></div>]]></update><update id="f1::postscript"><![CDATA[<span id="f1::postscript"><span id="f1::postscript:st"><input type="hidden" name="javax.faces.ViewState" value="!-75cc188st"></span></span>]]></update><update id="d1::iconC"><![CDATA[<span id="d1::iconC" style="display:none"><span id="af_table::disclosed-icon"></span><span id="af_table::undisclosed-icon"></span></span>]]></update><update id="javax.faces.ViewState"><![CDATA[!-75cc188st]]></update><eval><![CDATA[AdfPage.PAGE.__handleRichResponseAction('/MillenniumCSD-ViewController-context-root/faces/FileDefinition?_adf.ctrl-state=cmpl0ptfg_7');]]></eval><eval><![CDATA[AdfPage.PAGE.sendStreamingRequest("pt1:t1");]]></eval><extension id="adf-script-library">/MillenniumCSD-ViewController-context-root/afr/partition/gecko/default/opt/dnd-SHERMAN-1147.js</extension><extension id="adf-script-library">/MillenniumCSD-ViewController-context-root/afr/partition/gecko/default/opt/nav-SHERMAN-1147.js</extension><extension id="adf-script-library">/MillenniumCSD-ViewController-context-root/afr/partition/gecko/default/opt/menu-SHERMAN-1147.js</extension><extension id="adf-script-library">/MillenniumCSD-ViewController-context-root/afr/partition/gecko/default/opt/table-SHERMAN-1147.js</extension><eval>AdfPage.PAGE.addResource('javascript','/MillenniumCSD-ViewController-context-root/JarLoaderPages/jquery-1.7.1.min.js');</eval><eval>AdfPage.PAGE.addResource('javascript','/MillenniumCSD-ViewController-context-root/JarLoaderPages/dis_contx.js');</eval><eval>AdfPage.PAGE.addResource('javascript','/MillenniumCSD-ViewController-context-root/js/floating_bar_bottom.js');</eval><eval>if(self.window.name != "MillenniumDepository"){   self.location = "mcsd.html";   }</eval><eval><![CDATA[AdfDhtmlLookAndFeel.addSkinProperties({"af|table-tr-column-scroll-animation-duration":"300","af|table-tr-column-reorder-animation-duration":"600","af|table-tr-hover-highlight-row":"true"});AdfPage.PAGE.addComponents(new AdfRichTable('pt1:t1',{'rowSelection':'single','rowBandingInterval':0,'editingMode':'none','afrSelListener':true}),new AdfRichColumn('pt1:t1:c1',{'sortProperty':'DateFormat','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c2',{'sortProperty':'DefinisionId','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c3',{'sortProperty':'FieldId','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c4',{'sortProperty':'FieldLabel','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c5',{'sortProperty':'FieldLength','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c6',{'sortProperty':'FieldOffset','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c7',{'sortProperty':'FieldOrder','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c8',{'sortProperty':'FieldStatus','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c9',{'sortProperty':'FieldType','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c10',{'sortProperty':'FieldTypeLen','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c11',{'sortProperty':'IgnoreField','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c12',{'sortProperty':'IsMandatory','sortable':true,'minimumWidth':12,'rowHeader':false}),new AdfRichColumn('pt1:t1:c13',{'sortProperty':'RecordType','sortable':true,'minimumWidth':12,'rowHeader':false}));AdfPage.PAGE.__recordSessionTimeout(1800000, 120000, "http://127.0.0.1:7101/MillenniumCSD-ViewController-context-root/faces/FileDefinition");AdfPage.PAGE.__initPollingTimeout(600000);AdfPage.PAGE.clearMessages();AdfPage.PAGE.clearSubtreeMessages('pt1:t1');AdfPage.PAGE.clearSubtreeMessages('pt1:resId1');]]></eval></changes></partial-response>
    When not running correctly, Response of the Post Definition is
    <?xml version="1.0" ?> <partial-response><changes><update id="f1::postscript"><![CDATA[<span id="f1::postscript"><span id="f1::postscript:st"><input type="hidden" name="javax.faces.ViewState" value="!-75cc188st"></span></span>]]></update><update id="javax.faces.ViewState"><![CDATA[!-75cc188st]]></update><eval><![CDATA[AdfPage.PAGE.__handleRichResponseAction('/MillenniumCSD-ViewController-context-root/faces/FileDefinition?_adf.ctrl-state=cmpl0ptfg_7');]]></eval><eval>AdfPage.PAGE.addResource('javascript','/MillenniumCSD-ViewController-context-root/JarLoaderPages/jquery-1.7.1.min.js');</eval><eval>AdfPage.PAGE.addResource('javascript','/MillenniumCSD-ViewController-context-root/JarLoaderPages/dis_contx.js');</eval><eval>AdfPage.PAGE.addResource('javascript','/MillenniumCSD-ViewController-context-root/js/floating_bar_bottom.js');</eval><eval>if(self.window.name != "MillenniumDepository"){   self.location = "mcsd.html";   }</eval><eval><![CDATA[AdfPage.PAGE.__recordSessionTimeout(1800000, 120000, "http://127.0.0.1:7101/MillenniumCSD-ViewController-context-root/faces/FileDefinition");AdfPage.PAGE.__initPollingTimeout(600000);AdfPage.PAGE.clearMessages();AdfPage.PAGE.clearSubtreeMessages('pt1:t1');AdfPage.PAGE.clearSubtreeMessages('pt1:resId1');]]></eval></changes></partial-response>
    I could not figure out what went wrong when integrating to another module.
    Can you please help me to rectify this problem.
    Thanks
    dk

    Hi,
    sound to be an implementation specific issue that is hard to comment on without knowing how to reproduce it. If you have a rerooducible test case based on the Oracle HR schema using JDeveloper 11.1.1.6, zip it up, rename the "zip "extension to "unzip" and sent it to the mail address you find in my OTN profile. If you don't have that test case, explain how this can be reproduced
    Frank

  • Error trying to run a sample master-detail JSF form in Jdev 10.1.3

    I've tried JDeveloper 10.1.3 folowing a tutorial , master-detail one , involving Adf Faces which I found it here http://www.oracle.com/technology/products/jdev/101/tutorials/e2ebcfaces/buildmaster-detailpagewithjdevandadfbc.htm.
    1. I dowloaded JDeveloper 10.1.3
    2. I made -in Jdeveloper- a connection to OE8 schema
    2. I created an application with web application template ; in my new workspace i had 2 projects Model and ViewController
    3. In model i choose Business Tier - ADF Bussiness Components - Business Components from Tables and I followed instructions in tutorial
    4. In ViewController I created Web Tier - JSF - JSF JSP , with the JSF-JSP wizard a jsp page browseCustomerOrders.jsp. For building a master detail form i folowed instructions in tutorial
    However ...
    5. When I tried to run i received ....
    " [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    **** Unable to obtain password from principals.xml. Using default.
    D:\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\config>
    D:\jdevstudio1013\jdk\bin\javaw.exe -ojvm -classpath D:\jdevstudio1013\j2ee\home\oc4j.jar;D:\jdevstudio1013\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config D:\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    05/11/30 12:04:16 Exception in thread "OC4J Launcher" oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: oracle.core.ojdl.logging.LoggingConfiguration
         Dependent class: com.evermind.server.XMLApplicationServerConfig
         Loader: oc4j:10.1.3
         Code-Source: /D:/jdevstudio1013/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in boot.xml in D:\jdevstudio1013\j2ee\home\oc4j.jar
    The missing class is not available from any code-source or loader in the server.
    05/11/30 12:04:16      at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2073) [D:/jdevstudio1013/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1681) [D:/jdevstudio1013/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1633) [D:/jdevstudio1013/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1618) [D:/jdevstudio1013/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap]
         at com.evermind.server.XMLApplicationServerConfig.initJ2eeLogging (XMLApplicationServerConfig.java:243) [D:/jdevstudio1013/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in D:\jdevstudio1013\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.XMLApplicationServerConfig.postInit (XMLApplicationServerConfig.java:255) [D:/jdevstudio1013/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in D:\jdevstudio1013\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.xml.XMLConfig.init (XMLConfig.java:200) [D:/jdevstudio1013/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in D:\jdevstudio1013\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.xml.XMLConfig.init (XMLConfig.java:117) [D:/jdevstudio1013/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in D:\jdevstudio1013\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServerLauncher.run (ApplicationServerLauncher.java:74) [D:/jdevstudio1013/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in D:\jdevstudio1013\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap]
    05/11/30 12:04:16 Fatal error: server exiting
    Process exited with exit code 1. "
    Where do you think i am wrong?
    Many thanks

    Hi,
    the problem seems not to be within your application but in missing files on your embedded OC4J. Just try and unzip the JDeveloper 10.1.3 install again.
    Frank

Maybe you are looking for

  • Im have trouble

    i am having trouble with Adobe reader it says i don't have it and i do have so what im i suppose to do now

  • 'commit' cant be called when a global transaction is active

    I have a edit Form build from a findBreederById(Method), which comes from a toplink object. After changing any field and pressing the save button nothing is changed, and the OC4J logs shows the exception in this email subject. This is the code attach

  • Bluetooth VoIP Headset for MacBook?

    Has anyone come across a Bluetooth headset that works well-that is, sounds tolerable-with a MacBook for VoIP communications? My Plantronics Voyager 510 is close to worthless.

  • Hotmail and Yahoo Incoming and Outgoing Mail Servers

    Does anyone know what the incoming and outgoing mail servers are for hotmail and yahoo? I'm trying to put them into my mail account, and can't seem to figure out which one (pop or imap) to use. Thank you! -Kat

  • Purchased music to new computer for new ipod nano

    I purchased music for my old shuffle ipod and now have a laptop and new nano and wish to get my already purchased music onto my laptop and put on to my nano.. I have tried everything! Please help.. Bill