Execute SQLJ/JDBC within InfoBus Data Form???

Is there a way to execute SQLJ or JDBC from within the InfoBus data forms without opening a new connection?
Is there a way to execute SQLJ or JDBC via the Business Components using the connection already established in the InfoBus frame?
Please post any samples if this can be done.
Thanks
Andrew

Andrew,
The best way to do what you are asking is to create a custom method at the application module or view object level, export that to your client, then call the method from the form.
Here is an example from a JSP Web Application. The basic idea is the same though.
1. Double-click the appmoduleImpl.java file for your application module to open it in the code editor (expand the Application Module node to find this source file, if there is not one there, edit your app module, click on the Java tab, and check the Generate Java Files checkbox, click Finish and rebuild your project).
2. Enter the code that you want to execute (I've included an example below that calls a stored PL/SQL procedure to calculate a value).
3. Compile the file to make sure your code is OK.
4. Edit the Application Module and click on the Client Methods tab. You should see your new method in the Available list.
5. Shuttle the method to the Selected list.
6. Click Finish and rebuild your project.
7. From your Infobus client code, call the method you just wrote. You may need to include the package that contains the business components code.
Note that when you export client methods from your BC4J project, you may need to include the stubs for these methods in your client project, depending on how you deploy your BC4J project. For example, if you deploy your BC4J app module as an EJB, the deployment process will generate the client stubs for these exported methods into a separate project (or you can specify to have them generated into your client project on the Remotable tab of the app module wizard). See the online docs for deployment for more information.
Example exported client method:
public int getTotalHits(String mon, String year) {
CallableStatement stmt = null;
int total;
String totalhits = "{? = call walkthru.total_hits(?,?)}";
stmt = getDBTransaction().createCallableStatement(totalhits, 1);
try
// Bind the Statement Parameters and Execute this Statement
stmt.registerOutParameter(1,Types.INTEGER);
stmt.setString(2,mon);
stmt.setString(3,year);
stmt.execute();
total = stmt.getInt(1);
catch (Exception ex)
throw new oracle.jbo.JboException(ex);
finally
try
stmt.close();
catch (Exception nex)
return total;
null

Similar Messages

  • Infobus data form wizard returning ORA-03115

    Hi,
    I was trying to create a single table data form using (JBuilder2
    )infobus data form wizard and during the step 3 (select database
    objects)i got following error:
    >>
    ORA-03115 Unsupported network data taype or representation
    java.sql.SQLException
    <<
    I was connected to Oracle 8.0.5 database runing on AlphaVMS!
    What I am doing wrong ?
    Thanks
    Nadeem
    null

    Nadeem Siddique (guest) wrote:
    : Hi,
    : I was trying to create a single table data form using
    (JBuilder2
    : )infobus data form wizard and during the step 3 (select
    database
    : objects)i got following error:
    : >>
    : ORA-03115 Unsupported network data taype or representation
    : java.sql.SQLException
    : <<
    : I was connected to Oracle 8.0.5 database runing on AlphaVMS!
    : What I am doing wrong ?
    : Thanks
    : Nadeem
    I have tried all the JDBC /JDBC OCI drivers ! and geting the
    same error as mentioned above!
    null

  • I cannot use "InfoBus Data Form wizard"

    I can't use "InfoBus Data Form wizard", because it doesn not apper in anywhare of my JDeveloper 3.1, on Win NT 4.0/SP5.
    Any help will be much appreciated.

    Nadeem Siddique (guest) wrote:
    : Hi,
    : I was trying to create a single table data form using
    (JBuilder2
    : )infobus data form wizard and during the step 3 (select
    database
    : objects)i got following error:
    : >>
    : ORA-03115 Unsupported network data taype or representation
    : java.sql.SQLException
    : <<
    : I was connected to Oracle 8.0.5 database runing on AlphaVMS!
    : What I am doing wrong ?
    : Thanks
    : Nadeem
    I have tried all the JDBC /JDBC OCI drivers ! and geting the
    same error as mentioned above!
    null

  • No connections in the combo box of Infobus Data Form Wizard?

    I am trying to create a new project but when I try and select a
    connection, the "Connection" drop-down combo-box is empty. I have
    created 9 connections, but cannot select them. I have tried
    adding a new one and editing but still they do not appear.
    Am I doing something stupidly wrong here?
    Any help would be appreciated,
    Thanks,
    Andy Shiels
    null

    JDeveloper Team (guest) wrote:
    : Andy,
    : The Infobus controls can only talk via the Oracle JDBC drivers
    : (thin and OCI only, not Oracle Lite) to an Oracle database
    : (again, not Oracle Lite), so the wizard will only display
    : connections that meet those criteria.
    : If you have created IIOP connections, or connections that use
    a
    : driver other than the Oracle JDBC Thin or OCI drivers
    (including
    : the Oracle Lite JDBC driver), these connections will not
    appear
    : in the list of available connections to use.
    : L
    : Andy Shiels (guest) wrote:
    : : I am trying to create a new project but when I try and
    select a
    : : connection, the "Connection" drop-down combo-box is empty. I
    : have
    : : created 9 connections, but cannot select them. I have tried
    : : adding a new one and editing but still they do not appear.
    : : Am I doing something stupidly wrong here?
    : : Any help would be appreciated,
    : : Thanks,
    : : Andy Shiels
    I have a similar problem using JDBC-ODBC bridge with MS access
    (just for testing JDeveloper). How do I select the connection,
    get pass the step to move on to the next step in the DB Servlet
    wizard? Thanks.
    null

  • Commiting changes in an Infobus data form

    I use such a form without the navigation
    bar, instead i want to have standard behaviour(a save-button).
    When i edit a cell the status bar
    shows "modified: true".
    My problem is: i tried several ways to
    commit the changes (call the flush method
    in RowsetAccess, get the appmodules'
    transaction and call commit upon it, amongst others)
    but the "modified"-flag doesn't switch
    back afterwards and when i want to close
    the form, the standard commit dialog appears,
    though with the 2nd way the data get
    written to the db (but only the first
    time i use it).
    What is the correct way to commit changes?
    null

    Markus,
    Look at RowsetAccess.getDb().commitTransaction();
    Laura

  • How to reset values in a Data Form Bean?

    I have created an ADF application that has a search facility in it. The architecture is as follows:
    DataPage (search.jsp) --> DataAction (validateSearch) -->DataAction (refreshCollection) --> DataPage (results.jsp)
    I have successfully created a data form bean to hold the data that is submitted in the search and bind it to the refresh method of the collection. I have also successfully overridden the validate method, which catches and throws and displays appropriate ActionErrors on the search.jsp page.
    I have added a link back to the search.jsp page from the results.jsp page (as a user may wish to perform another search), the ActionErrors are resetting ok but I have not managed to work out how to reset the values of the actual data form bean.
    I have tried several different ways of overriding the reset method within the data form bean but so far have been unsuccessful - I would appreciate any assistance with this matter.
    Shown here is a basic example of a form bean that I have been trying different things out with - I can not get the reset method to even be called - please help!
    package uk.dmf.eg02;
    import javax.servlet.http.HttpServletRequest;
    import org.apache.struts.action.ActionError;
    import org.apache.struts.action.ActionErrors;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionMapping;
    public class searchForm extends ActionForm
    String search;
    public setupForm()
    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)
    ActionErrors errors = new ActionErrors();
    if (search.trim().length()==0)
    errors.add("search", new ActionError("error.search"));
    return errors;
    public void reset(ActionMapping mapping, HttpServletRequest request)
    System.err.println("EXECUTING RESET METHOD");
    this.search = "";
    public void setSearch(String search)
    this.search = search;
    public String getSearch()
    return search;

    If you run in request scope the reset method is called, however in session scope is't only called once (or never?). See documentation of method reset():
    public void reset(ActionMapping mapping,
    javax.servlet.http.HttpServletRequest request)
    Reset bean properties to their default state, as needed. This method is called before the properties are repopulated by the controller.
    The default implementation does nothing. In practice, the only properties that need to be reset are those which represent checkboxes on a session-scoped form. Otherwise, properties can be given initial values where the field is declared.
    If the form is stored in session-scope so that values can be collected over multiple requests (a "wizard"), you must be very careful of which properties, if any, are reset. As mentioned, session-scope checkboxes must be reset to false for any page where this property is set. This is because the client does not submit a checkbox value when it is clear (false). If a session-scoped checkbox is not proactively reset, it can never be set to false.
    This method is not the appropriate place to initialize form value for an "update" type page (this should be done in a setup Action). You mainly need to worry about setting checkbox values to false; most of the time you can leave this method unimplemented.

  • Data form crashes at connect window

    I have used the form wissard and created a simple
    form. When I compile the form I get warnings and
    when I run the form I can see the connect screen
    but I can not type anything in this window
    null

    George,
    Did you try setting the 'Prompt user for security info' to false
    and re-running it?
    - L
    George Xu (guest) wrote:
    : JDeveloper Product Team (guest) wrote:
    : : Are you using the (JBCL) Data Form or the Infobus Data Form?
    : : Try generating and running the form with the 'Prompt for
    : : Security' checkbox set to false.
    : : Check the release notes for some known problems in the
    Infobus
    : : controls.
    : : Regards
    : : peter schlaeger (guest) wrote:
    : : : I have used the form wissard and created a simple
    : : : form. When I compile the form I get warnings and
    : : : when I run the form I can see the connect screen
    : : : but I can not type anything in this window
    : I am using Data Form. The data shown up in the design mode.
    : When I ran it, the connection logon window show up, it
    : hang....................
    null

  • 5200: Error executing query: The data form grid is invalid.

    Hi,
    I am getting this error " 5200: Error executing query: The data form grid is invalid. Verify that all members selected are in Essbase. Check log for details.
    com.hyperion.planning.HspException;hasPovDims=1;povXML=<?xml version="1.0"?><datasources><datasource name="Profit " dsid="228af2c3_129ca3dd85c_-77b1" allowEdit="1"><dim name="Period" dimIndex="1" dsName="Profit " keyDimName="Period" memberName="Apr" displayName="Period: Apr"/><dim name="Year" dimIndex="2" dsName="Profit " keyDimName="Year" memberName="FY10" displayName="Year: FY10"/><dim name="Entity" dimIndex="5" dsName="Profit " keyDimName="Entity" memberName="9999" displayName="Entity: 9999"/></datasource></datasources>"
    I have checked that both the systems essbase and planning are same. nothing's different. still i cannot find the exact reason why the report is not working.
    can any please help me.
    btw, i am using Hyperion Planning 9.3.1
    Thanks,
    BIMS

    Hi
    You probably deleted some members from outline that are used by report
    I would recommend you to open you report/grid via rep.client and try to find which elements are abcent
    Regards
    Alexander
    Edited by: Softperson on 19/8/2010 17:38

  • HBR sequence on data form does not execute when Planning data form is saved

    Has anyone experienced this issue before in Planning? Below I have included the scenario and what has been attempted to correct the situation.
    We are using Hyperion Planning/Essbase 9.3.1, sequence contains 3 business rules - 2 executed on the Workforce Cube and 1 transfers totals from Workforce Cube to Main cube. 2 of the BR's contain run-time prompts - 1st BR in the sequence (calculation in Workforce) and 3rd BR in the sequence (transfer of Workforce totals to Main). We are using Projects to assign access priviledges to the BR's and sequences. All 3 business rules, as well as the sequence itself, validate successfully in the admin services console.
    In Planning the data form contains BR Properties to "Save on Exit", "Use members on data form" and "Hide prompt". Have tried removing BR from data form, then put BR back on data form. Also tried building a new sequence in EAS console and attaching that BR to the existing data form. Neither of these attempts were successful. Tried building an entirely new data form with the newly created sequence, still unsuccessful. Was able to execute the sequence successfully when processed from the Tools -> Business Rules menu. Sequence was once again successful when I tried modifying the data form to remove property "Hide prompt". Problem with leaving the form in that state is, our users would not know which Planning server they were on as they access the Planning application through Workspace and we currently have 2 application servers in this environment - so essentially they have a 50/50 chance of selecting the correct server.
    We have this same setup in another environment where the execution of the sequence on the data form works successfully. We have compared everything that I can think of and it all appears the same in both environments - in fact this used to be successful in this environment, but all of a sudden stopped working earlier this year - we have not applied any patches or upgrades to either environment. Do not know if this is relevant or not, but we do currently utilize Netscaler in both of these environments.
    Any experiences with this type of situation or suggestions at this point would be greatly appreciated.

    I don't have a solution for you but more steps to solve the problem
    You are ultimately on the right track in some ways but break it down into it's components.
    The problem could like in the business rule, the form connection, the variables, even the order of operations could all be in play.
    So I would strip this baby down to its bare bones then build it back up.
    1) Run the business rule. Each one separately and only after the previous ones is complete without variables and without touching the form
    Is it successful: go to 2
    If it isn't successful: trouble shoot the calc and or try running in EAS natively to see if that gives you ideas
    2) Run the calc outside the form but with variables included. Did it prompt you correctly.
    Is it successful: go to 3
    If it isn't. What is wrong with the variable
    3) Now attach it to the form but don't hide the prompts
    Still good go to 4
    4) hide the prompts and run on save
    And if it fails on step four then it's not picking up the right variables in the prompt. And you need to look at why it wouldn't grab the right item.
    This will isolate your problem for you and give you steps to fix it. Ultimately 99% of the time something did change in the structure for example that is impacting the calc. And when you isolate the problem this will reveal itself quite quickly.

  • Use JDBC to query data for JSP Report

    Hi all,
    I met a trouble when use JDBC to query data,
    it can show data in report builder, but get error when call from url for exxample: http://localhost:8889/reports/TestJDBCReport.jsp
    found error message:
    javax.servlet.jsp.JspException: rwlib-1: REP-4100: Failed to execute data source. REP-0069: Internal error JDBCPDS-62000:Invalid sign-on parameter P_JDBCPDS
    javax.servlet.jsp.JspException: rwlib-1: REP-4100: Failed to execute data source.
    REP-0069: Internal error
    JDBCPDS-62000:Invalid sign-on parameter P_JDBCPDS
    anyone know pls help me
    Many thanks

    As a general rule, it's a good idea to separate the
    presentation (JSP and HTML) from the business rules
    (database access). I know you didn't do that on the
    AS/400, you had display files and business logic in
    the same program (at least, we certainly do in ours),
    but it's a good policy to follow in the web world.
    That means, don't put your database access code in
    the JSP. Other than that, it depends on the data.
    If you have simple data (e.g. customer's name and
    d address) then a Java bean would suffice. If you
    have complex data (e.g. customer's payment history)
    then a bean still might suffice. You would use an
    "include" if you had some data (static or dynamic)
    that you wanted to appear in several different pages
    in the same form.Thanks, I figured putting the code in the JSP was not the best way, but I wasn't sure about the other options.

  • Report is executing in background and need data(output) in excel format

    Report is executing in background and need data(output) to get downloaded in excel format in my PC from an internal table;;in any drive i.e. C: or D: .When executing in backround it prompt to user with which location excel file to be saved and the name of file.How to download in background in excel format?
    Edited by: PRASHANT BHATNAGAR on Aug 26, 2008 6:24 AM

    Hi
    Download a report to excel with format (border, color cell, etc)
    Try this program...it may help you to change the font ..etc.
    Code:
    REPORT ZSIRI NO STANDARD PAGE HEADING.
    this report demonstrates how to send some ABAP data to an
    EXCEL sheet using OLE automation.
    INCLUDE OLE2INCL.
    handles for OLE objects
    DATA: H_EXCEL TYPE OLE2_OBJECT,        " Excel object
          H_MAPL TYPE OLE2_OBJECT,         " list of workbooks
          H_MAP TYPE OLE2_OBJECT,          " workbook
          H_ZL TYPE OLE2_OBJECT,           " cell
          H_F TYPE OLE2_OBJECT.            " font
    TABLES: SPFLI.
    DATA  H TYPE I.
    table of flights
    DATA: IT_SPFLI LIKE SPFLI OCCURS 10 WITH HEADER LINE.
    *&   Event START-OF-SELECTION
    START-OF-SELECTION.
    read flights
      SELECT * FROM SPFLI INTO TABLE IT_SPFLI UP TO 10 ROWS.
    display header
      ULINE (61).
      WRITE: /     SY-VLINE NO-GAP,
              (3)  'Flg'(001) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
              (4)  'Nr'(002) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
              (20) 'Von'(003) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
              (20) 'Nach'(004) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
              (8)  'Zeit'(005) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP.
      ULINE /(61).
    display flights
      LOOP AT IT_SPFLI.
      WRITE: / SY-VLINE NO-GAP,
               IT_SPFLI-CARRID COLOR COL_KEY NO-GAP, SY-VLINE NO-GAP,
               IT_SPFLI-CONNID COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
               IT_SPFLI-CITYFROM COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
               IT_SPFLI-CITYTO COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
               IT_SPFLI-DEPTIME COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP.
      ENDLOOP.
      ULINE /(61).
    tell user what is going on
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
              PERCENTAGE = 0
               TEXT       = TEXT-007
           EXCEPTIONS
                OTHERS     = 1.
    start Excel
      CREATE OBJECT H_EXCEL 'EXCEL.APPLICATION'.
    PERFORM ERR_HDL.
      SET PROPERTY OF H_EXCEL  'Visible' = 1.
    CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING #1 = 'c:\kis_excel.xls'
    PERFORM ERR_HDL.
    tell user what is going on
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
              PERCENTAGE = 0
               TEXT       = TEXT-008
           EXCEPTIONS
                OTHERS     = 1.
    get list of workbooks, initially empty
      CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
      PERFORM ERR_HDL.
    add a new workbook
      CALL METHOD OF H_MAPL 'Add' = H_MAP.
      PERFORM ERR_HDL.
    tell user what is going on
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
              PERCENTAGE = 0
               TEXT       = TEXT-009
           EXCEPTIONS
                OTHERS     = 1.
    output column headings to active Excel sheet
      PERFORM FILL_CELL USING 1 1 1 'Flug'(001).
      PERFORM FILL_CELL USING 1 2 0 'Nr'(002).
      PERFORM FILL_CELL USING 1 3 1 'Von'(003).
      PERFORM FILL_CELL USING 1 4 1 'Nach'(004).
      PERFORM FILL_CELL USING 1 5 1 'Zeit'(005).
      LOOP AT IT_SPFLI.
    copy flights to active EXCEL sheet
        H = SY-TABIX + 1.
        PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
        PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
        PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
        PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
        PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
      ENDLOOP.
    changes by Kishore  - start
    CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
      CALL METHOD OF H_EXCEL 'Worksheets' = H_MAPL." EXPORTING #1 = 2.
      PERFORM ERR_HDL.
    add a new workbook
      CALL METHOD OF H_MAPL 'Add' = H_MAP  EXPORTING #1 = 2.
      PERFORM ERR_HDL.
    tell user what is going on
      SET PROPERTY OF H_MAP 'NAME' = 'COPY'.
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
              PERCENTAGE = 0
               TEXT       = TEXT-009
           EXCEPTIONS
                OTHERS     = 1.
    output column headings to active Excel sheet
      PERFORM FILL_CELL USING 1 1 1 'Flug'(001).
      PERFORM FILL_CELL USING 1 2 0 'Nr'(002).
      PERFORM FILL_CELL USING 1 3 1 'Von'(003).
      PERFORM FILL_CELL USING 1 4 1 'Nach'(004).
      PERFORM FILL_CELL USING 1 5 1 'Zeit'(005).
      LOOP AT IT_SPFLI.
    copy flights to active EXCEL sheet
        H = SY-TABIX + 1.
        PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
        PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
        PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
        PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
        PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
      ENDLOOP.
    changes by Kishore  - end
    disconnect from Excel
         CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING  #1 = 'C:\SKV.XLS'.
      FREE OBJECT H_EXCEL.
      PERFORM ERR_HDL.
          FORM FILL_CELL                                                *
          sets cell at coordinates i,j to value val boldtype bold       *
    FORM FILL_CELL USING I J BOLD VAL.
      CALL METHOD OF H_EXCEL 'Cells' = H_ZL EXPORTING #1 = I #2 = J.
      PERFORM ERR_HDL.
      SET PROPERTY OF H_ZL 'Value' = VAL .
      PERFORM ERR_HDL.
      GET PROPERTY OF H_ZL 'Font' = H_F.
      PERFORM ERR_HDL.
      SET PROPERTY OF H_F 'Bold' = BOLD .
      PERFORM ERR_HDL.
    ENDFORM.
    *&      Form  ERR_HDL
          outputs OLE error if any                                       *
    -->  p1        text
    <--  p2        text
    FORM ERR_HDL.
    IF SY-SUBRC <> 0.
      WRITE: / 'Fehler bei OLE-Automation:'(010), SY-SUBRC.
      STOP.
    ENDIF.
    ENDFORM.                    " ERR_HDL
    Regards
    Murali Papana

  • Error while creating Data Form Definition report from Planning

    Hi All,
    Working on Planning 11.1.2 (x64)
    I tried to generate a Data Form Definition report from Planning and found that I get an error if I select the option "Include member selection list". By going a bit deeper, I realised that it errors for some forms while works fine for others.
    I have tried to find any differences in setting or selection between the forms but haven't been able to see anything that struck me as a reason for error.
    Help please.
    Thanks,
    Abhishek

    The Planning sysout log says:
    [120910_091125126][oracle.apps.xdo.common.xml.XSLTWrapper][EXCEPTION] XSL error:
    <Line 1, Column 1068>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 1068>: XML-20250: (Fatal Error) Missing entity 'ThisYear'.
    <Line 1, Column 1075>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 1075>: XML-20250: (Fatal Error) Missing entity 'Year2'.
    <Line 1, Column 1082>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 1082>: XML-20250: (Fatal Error) Missing entity 'Year3'.
    <Line 1, Column 1089>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 1089>: XML-20250: (Fatal Error) Missing entity 'Year4'.
    <Line 1, Column 1096>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 1096>: XML-20250: (Fatal Error) Missing entity 'Year5'.
    <Line 1, Column 4586>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 4586>: XML-20250: (Fatal Error) Missing entity 'ThisYear'.
    <Line 1, Column 4593>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 4593>: XML-20250: (Fatal Error) Missing entity 'Year2'.
    <Line 1, Column 4600>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 4600>: XML-20250: (Fatal Error) Missing entity 'Year3'.
    <Line 1, Column 4607>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 4607>: XML-20250: (Fatal Error) Missing entity 'Year4'.
    <Line 1, Column 4614>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 4614>: XML-20250: (Fatal Error) Missing entity 'Year5'.
    <Line 1, Column 12215>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 12215>: XML-20250: (Fatal Error) Missing entity 'ThisYear'.
    <Line 1, Column 12222>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 12222>: XML-20250: (Fatal Error) Missing entity 'Year2'.
    <Line 1, Column 12229>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 12229>: XML-20250: (Fatal Error) Missing entity 'Year3'.
    <Line 1, Column 12236>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 12236>: XML-20250: (Fatal Error) Missing entity 'Year4'.
    <Line 1, Column 12243>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 12243>: XML-20250: (Fatal Error) Missing entity 'Year5'.
    <Line 1, Column 18528>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 18528>: XML-20250: (Fatal Error) Missing entity 'ThisYear'.
    <Line 1, Column 18535>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 18535>: XML-20250: (Fatal Error) Missing entity 'Year2'.
    <Line 1, Column 18542>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 18542>: XML-20250: (Fatal Error) Missing entity 'Year3'.
    <Line 1, Column 18549>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 18549>: XML-20250: (Fatal Error) Missing entity 'Year4'.
    <Line 1, Column 18556>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 18556>: XML-20250: (Fatal Error) Missing entity 'Year5'.
    <Line 1, Column 39824>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 39824>: XML-20250: (Fatal Error) Missing entity 'Scenario'.
    <Line 1, Column 39905>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 39905>: XML-20250: (Fatal Error) Missing entity 'PriorYear'.
    <Line 1, Column 39985>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 39985>: XML-20250: (Fatal Error) Missing entity 'ThisYear'.
    <Line 1, Column 39992>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 39992>: XML-20250: (Fatal Error) Missing entity 'Year2'.
    <Line 1, Column 39999>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 39999>: XML-20250: (Fatal Error) Missing entity 'Year3'.
    <Line 1, Column 40006>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 40006>: XML-20250: (Fatal Error) Missing entity 'Year4'.
    <Line 1, Column 40013>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 40013>: XML-20250: (Fatal Error) Missing entity 'Year5'.
    <Line 1, Column 41613>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 41613>: XML-20250: (Fatal Error) Missing entity 'CommentYearTarget'.
    <Line 1, Column 41702>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 41702>: XML-20250: (Fatal Error) Missing entity 'CommentYearTarget'.
    <Line 1, Column 41791>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 41791>: XML-20250: (Fatal Error) Missing entity 'CommentYearTarget'.
    <Line 1, Column 41880>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 41880>: XML-20250: (Fatal Error) Missing entity 'CommentYearTarget'.
    <Line 1, Column 41960>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 41960>: XML-20250: (Fatal Error) Missing entity 'ThisYear'.
    <Line 1, Column 41967>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 41967>: XML-20250: (Fatal Error) Missing entity 'Year2'.
    <Line 1, Column 41974>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 41974>: XML-20250: (Fatal Error) Missing entity 'Year3'.
    <Line 1, Column 41981>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 41981>: XML-20250: (Fatal Error) Missing entity 'Year4'.
    <Line 1, Column 41988>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 41988>: XML-20250: (Fatal Error) Missing entity 'Year5'.
    <Line 1, Column 46124>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 46124>: XML-20250: (Fatal Error) Missing entity 'CostCentre'.
    <Line 1, Column 47563>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 47563>: XML-20250: (Fatal Error) Missing entity 'Scenario'.
    <Line 1, Column 47644>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 47644>: XML-20250: (Fatal Error) Missing entity 'PriorYear'.
    <Line 1, Column 47724>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 47724>: XML-20250: (Fatal Error) Missing entity 'ThisYear'.
    <Line 1, Column 47731>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 47731>: XML-20250: (Fatal Error) Missing entity 'Year2'.
    <Line 1, Column 47738>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 47738>: XML-20250: (Fatal Error) Missing entity 'Year3'.
    <Line 1, Column 47745>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 47745>: XML-20250: (Fatal Error) Missing entity 'Year4'.
    <Line 1, Column 47752>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 47752>: XML-20250: (Fatal Error) Missing entity 'Year5'.
    <Line 1, Column 49431>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 49431>: XML-20250: (Fatal Error) Missing entity 'Scenario'.
    <Line 1, Column 49512>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 49512>: XML-20250: (Fatal Error) Missing entity 'PriorYear'.
    <Line 1, Column 49592>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 49592>: XML-20250: (Fatal Error) Missing entity 'ThisYear'.
    <Line 1, Column 49599>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 49599>: XML-20250: (Fatal Error) Missing entity 'Year2'.
    <Line 1, Column 49606>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 49606>: XML-20250: (Fatal Error) Missing entity 'Year3'.
    <Line 1, Column 49613>: XML-20100: (Fatal Error) Expected ';'.
    <Line 1, Column 49613>: XML-20250: (Fatal Error) Missing entity 'Year4'.
    Most of these are Substitution Variables. I dont know why it is showing a few lines for "Scenario" as well.
    The Planning syserr log says
    java.net.SocketException: socket write error: Connection reset by peer.
         at jrockit.net.SocketNativeIO.writeBytesPinned(Native Method)
         at jrockit.net.SocketNativeIO.socketWrite(SocketNativeIO.java:73)
         at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
         at weblogic.utils.io.ChunkedOutputStream.writeTo(ChunkedOutputStream.java:193)
         at weblogic.servlet.internal.ResponseHeaders.writeHeaders(ResponseHeaders.java:443)
         at weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseImpl.java:1291)
         at weblogic.servlet.internal.ServletOutputStreamImpl.sendHeaders(ServletOutputStreamImpl.java:260)
         at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:108)
         at weblogic.servlet.internal.ServletResponseImpl.sendRedirect(ServletResponseImpl.java:907)
         at HspValidatingHttpResponse.sendRedirect(Unknown Source)
         at jsp_servlet.__planninglogoff._jspService(__planninglogoff.java:1411)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:35)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at HspValidationFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    oracle.xml.parser.v2.XMLParseException: Expected ';'.
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:323)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:335)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:318)
         at oracle.apps.xdo.common.xml.XSLTClassic.transform(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
         at HspReportingServlet.Handle(Unknown Source)
         at HspHttpServlet.initialize(Unknown Source)
         at HspHttpServlet.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at HspValidationFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Would be great if you could interpret these log and let me know how I can resolve this.
    Cheers

  • How to Commit in InfoBus Data Items

    Hi,
    I created an Applet using JDev2.0. I called the DB schema using
    Connection Manager, InfoBus Data Items, SessionInfo and
    rowSetInfo.
    I customised the UI form using Infoswing. As per my logic, after
    user modified the data and press the SUBMIT button, I should call
    the commit for the rowSetInfo.
    How can I issue commit or how to resolv the modified rowSetInfo.
    Previously I used Jdev1.1 and Borland's dataset and it works
    fine.
    Now, Oracle is not supporting Borland's dataset and AWT. So, now
    I am rewritting the whole application using JDev2.0.
    Thanks in advance.
    Ramesh S.
    null

    Hi,
    If your jsp is of type <ViewName>_SubmitInsertForm.jsp created by JDeveloper,then it should be having NavigationBar,EditCurrentRecord and ViewCurrentRecord, in that order
    If that is the case, you should also see a "Save Changes" Button in the form, which should commit the changes to the database
    --Sandeep                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Automatic debit to customer, if customer fails to pay within due date

    Dear Gurus,
    i belong to consumer products company. we give incentives to our customer in form of different discounts e.g. booking discount, monthly discount, trade discount, foreign tours etc etc.
    At present our payment terms ranges 30 to 60 days and we book invoice at gross rate and above mentioned discounts are subject to clearance of payment so we create accrual of discount in invoice and if payment is received within due date discount is given to customer through credit memo process
    Accounting entries are as follow ---example
    At the time of invoice
    AR                                                10,000   Dr
    discount expense                          2,000   Dr
    Sales                                                               10,000      Cr
    Discount provision                                             2,000     Cr
    as payment is cleared credit note is issued
    Discount provision                         2,000 Dr
    AR                                                                    2,000     Cr
    now our credit control deparment says its not easy to handle separate credit notes to customer. there wish is as follow
    At the time of INvoice
    AR                                                 8000   Dr
    Discount Expense                        2000   Dr
    Sales                                                              10,000 Cr
    and if payment is not received on time, system should raise debit note automatically by passing this entry
    AR                                            2000 Dr
    Discount Expense 2000 Cr
    please advice in this regard

    Hi Henri,
    I found the answer, when user enter the original document number in reference field of credit memo, the system can auto calculated the net due date!
    no reference doc
    [PIC1|http://www.flickr.com/photos/44956360@N08/5208025267/]
    input reference doc
    [PIC2|http://www.flickr.com/photos/44956360@N08/5208623198/]
    Thanks for your help.
    Best regards,
    Eric

  • Hyperion Planning Data form alias issue

    Hi,
    I am using Hyperion Planning version 11.1.2.2. I created data form and after member selection is over I selected alias in dimension properties. But when I am opened the data form I see member names but not alias. I want to see alias name in the data form instead of member name. Please give me solution to this?

    Hi
    In the later releases you now as a user override the data form setting with your own personal user preferences.
    Navigate to FIle->User Preferences and then Planning. In there within the display properties you will see an area for Alias settings. There is an option for member name/alias display. Make your selection there.
    Thanks
    Anthony

Maybe you are looking for

  • How do I delete time machine backups if I can't zoom back in time?

    Hi, I'v been backing up my 250GB HD using time machine very successfully over the years. I store additional home movies that aren't on my HD on my time capsule machine in a seperate folder from the backups that are made daily. My 250GB HD is now full

  • Recording iSight Video plays back too fast in Adobe Presenter/Office 2010?

    Adobe E-Learning Suite 2.5 installed over Microsoft Office 2010 Home and Student Running Presenter within PowerPoint detects and records using iSight. But the Playback is too fast, chipmonk like. Perhaps its an FLV codecs issue. Running Bootcamp 3.2

  • Incompatible mode issue with 50" Vizio

    I hope this is the right place for this question. OK, I've been doing this stuff so long that when I encounter problems like this I worry I'm just missing the obvious. I have been running my older Intel Mini (1.66 core duo) to my 50" Vizio plasma, vi

  • How to call tuxedo in Visial basic?

    The version we are using is Tuxedo 6.5. Now we want to call tuxedo in our VB application. but tuxedo is a field we have little touch with. So i have no idea how to bind these two together. Hope you kindly give a hand (maybe some documents on this) th

  • Square thumbnails in web gallery?

    I love the ease of Aperture's web galleries but they would look so much more professional if there was an option to crop the thumbnails to a square without changing the large image. Does anyone know of a way to do this with Aperture?