Error in report "8.2 ORacle Essbase- Source Blending Page"

Hi,
I got an error in the report in "8.2 ORacle Essbase- Source Blending Page" after i deployed sample core and aslo configured with hyperion Essbase cubes related to this dashboard page.
The main issue i was struggling is i have 2 more working instances configure with same essbase cube, those are working fine and report is showing in other 2 instances, but the 3 rd instance is showing error.. I deployed sample app core perfectly and all reports are showing only this report is giving me error.
Even i tried by copying the xmls from the working instances also but no luck..Can any one suggest wat will be went wrong at my side.. 2 more instance are working fine with those cubes.
Please see the below error message i was getting for that report.
Odbc driver returned an error (SQLExecDirectW).
Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 17001] Oracle Error code: 34500, message: ORA-34500: FROM is a reserved keyword that cannot be used in this context. measure olap_rev_gross_revenue from OLAP_REV_GROSS_REVENUE dimension olap_cust_segment_id from OLAP_CUST_SEGMENT with attribute olap_cust_segment_level from hierarchy ( 'CUST_SEGMENT') inhierarchy dimension olap_employee_id from OLAP_EMPLOYEE with hierarchy ( 'ORG') inhierarchy dimension olap_office_id from OLAP_OFFICE with attribute olap_office_level from hierarchy ( 'COMPANY_HIER') inhierarchy dimension at OCI call OCIStmtExecute. [nQSError: 17010] SQL statement preparation failed. (HY000)
SQL Issued: SELECT s_0, s_1, s_2, s_3, s_4, s_5, s_6, s_7, s_8, s_9, s_10, s_11, s_12, s_13, s_14, s_15, s_16, s_17, s_18, s_19, s_20, s_21, s_22, s_23 FROM ( SELECT 0 s_0, "D - Sample Federated"."Products"."P4 Brand" s_1, "D - Sample Federated"."Time"."T05 Per Name Year" s_2, 'Total Products' s_3, CAST(NULL AS VARCHAR(1)) s_4, IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Total Products") s_5, "D - Sample Federated"."Measures"."1d- Revenue (Orcl Db Cube Only)" s_6, "D - Sample Federated"."Measures"."20d - Unit Price (Orcl Cube/Orcl Db)" s_7, "D - Sample Federated"."Measures"."2a- Qty (Orcl Db Tables Only)" s_8, CAST(NULL AS DOUBLE) s_9, REPORT_AGGREGATE("D - Sample Federated"."Measures"."20d - Unit Price (Orcl Cube/Orcl Db)" BY "D - Sample Federated"."Time"."T05 Per Name Year",IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Total Products")) s_10, CAST(NULL AS DOUBLE) s_11, CAST(NULL AS DOUBLE) s_12, REPORT_AGGREGATE("D - Sample Federated"."Measures"."20d - Unit Price (Orcl Cube/Orcl Db)" BY IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Total Products")) s_13, CAST(NULL AS DOUBLE) s_14, REPORT_SUM("D - Sample Federated"."Measures"."1d- Revenue (Orcl Db Cube Only)" BY "D - Sample Federated"."Time"."T05 Per Name Year",IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Total Products")) s_15, CAST(NULL AS DOUBLE) s_16, CAST(NULL AS DOUBLE) s_17, REPORT_SUM("D - Sample Federated"."Measures"."1d- Revenue (Orcl Db Cube Only)" BY IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Total Products")) s_18, CAST(NULL AS INTEGER) s_19, REPORT_SUM("D - Sample Federated"."Measures"."2a- Qty (Orcl Db Tables Only)" BY "D - Sample Federated"."Time"."T05 Per Name Year",IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Total Products")) s_20, CAST(NULL AS INTEGER) s_21, CAST(NULL AS INTEGER) s_22, REPORT_SUM("D - Sample Federated"."Measures"."2a- Qty (Orcl Db Tables Only)" BY IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Total Products")) s_23 FROM "D - Sample Federated" UNION ALL SELECT 1 s_0, "D - Sample Federated"."Products"."P4 Brand" s_1, "D - Sample Federated"."Time"."T05 Per Name Year" s_2, 'Total Products' s_3, IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Brand") s_4, IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Total Products") s_5, "D - Sample Federated"."Measures"."1d- Revenue (Orcl Db Cube Only)" s_6, "D - Sample Federated"."Measures"."20d - Unit Price (Orcl Cube/Orcl Db)" s_7, "D - Sample Federated"."Measures"."2a- Qty (Orcl Db Tables Only)" s_8, CAST(NULL AS DOUBLE) s_9, CAST(NULL AS DOUBLE) s_10, REPORT_AGGREGATE("D - Sample Federated"."Measures"."20d - Unit Price (Orcl Cube/Orcl Db)" BY "D - Sample Federated"."Time"."T05 Per Name Year",IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Total Products"),IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Brand")) s_11, CAST(NULL AS DOUBLE) s_12, CAST(NULL AS DOUBLE) s_13, CAST(NULL AS DOUBLE) s_14, CAST(NULL AS DOUBLE) s_15, REPORT_SUM("D - Sample Federated"."Measures"."1d- Revenue (Orcl Db Cube Only)" BY "D - Sample Federated"."Time"."T05 Per Name Year",IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Total Products"),IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Brand")) s_16, CAST(NULL AS DOUBLE) s_17, CAST(NULL AS DOUBLE) s_18, CAST(NULL AS INTEGER) s_19, CAST(NULL AS INTEGER) s_20, REPORT_SUM("D - Sample Federated"."Measures"."2a- Qty (Orcl Db Tables Only)" BY "D - Sample Federated"."Time"."T05 Per Name Year",IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Total Products"),IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Brand")) s_21, CAST(NULL AS INTEGER) s_22, CAST(NULL AS INTEGER) s_23 FROM "D - Sample Federated" WHERE (IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Total Products") IN (1)) AND (("D - Sample Federated"."Time"."T05 Per Name Year" IN ('2008')) OR ("D - Sample Federated"."Time"."T05 Per Name Year" IN ('2009')) OR ("D - Sample Federated"."Time"."T05 Per Name Year" IN ('2010'))) UNION ALL SELECT 2 s_0, "D - Sample Federated"."Products"."P4 Brand" s_1, "D - Sample Federated"."Time"."T05 Per Name Year" s_2, CAST(NULL AS VARCHAR(1)) s_3, CAST(NULL AS VARCHAR(1)) s_4, CAST(NULL AS INTEGER) s_5, "D - Sample Federated"."Measures"."1d- Revenue (Orcl Db Cube Only)" s_6, "D - Sample Federated"."Measures"."20d - Unit Price (Orcl Cube/Orcl Db)" s_7, "D - Sample Federated"."Measures"."2a- Qty (Orcl Db Tables Only)" s_8, REPORT_AGGREGATE("D - Sample Federated"."Measures"."20d - Unit Price (Orcl Cube/Orcl Db)" BY "D - Sample Federated"."Time"."T05 Per Name Year") s_9, CAST(NULL AS DOUBLE) s_10, CAST(NULL AS DOUBLE) s_11, REPORT_AGGREGATE("D - Sample Federated"."Measures"."20d - Unit Price (Orcl Cube/Orcl Db)" BY ) s_12, CAST(NULL AS DOUBLE) s_13, REPORT_SUM("D - Sample Federated"."Measures"."1d- Revenue (Orcl Db Cube Only)" BY "D - Sample Federated"."Time"."T05 Per Name Year") s_14, CAST(NULL AS DOUBLE) s_15, CAST(NULL AS DOUBLE) s_16, REPORT_SUM("D - Sample Federated"."Measures"."1d- Revenue (Orcl Db Cube Only)" BY ) s_17, CAST(NULL AS DOUBLE) s_18, REPORT_SUM("D - Sample Federated"."Measures"."2a- Qty (Orcl Db Tables Only)" BY "D - Sample Federated"."Time"."T05 Per Name Year") s_19, CAST(NULL AS INTEGER) s_20, CAST(NULL AS INTEGER) s_21, REPORT_SUM("D - Sample Federated"."Measures"."2a- Qty (Orcl Db Tables Only)" BY ) s_22, CAST(NULL AS INTEGER) s_23 FROM "D - Sample Federated" ) djm
Any help was greatly appreciable...Thanks in Advancne..
Regards
Rushi

Hi,
I got an error in the report in "8.2 ORacle Essbase- Source Blending Page" after i deployed sample core and aslo configured with hyperion Essbase cubes related to this dashboard page.
The main issue i was struggling is i have 2 more working instances configure with same essbase cube, those are working fine and report is showing in other 2 instances, but the 3 rd instance is showing error.. I deployed sample app core perfectly and all reports are showing only this report is giving me error.
Even i tried by copying the xmls from the working instances also but no luck..Can any one suggest wat will be went wrong at my side.. 2 more instance are working fine with those cubes.
Please see the below error message i was getting for that report.
Odbc driver returned an error (SQLExecDirectW).
Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 17001] Oracle Error code: 34500, message: ORA-34500: FROM is a reserved keyword that cannot be used in this context. measure olap_rev_gross_revenue from OLAP_REV_GROSS_REVENUE dimension olap_cust_segment_id from OLAP_CUST_SEGMENT with attribute olap_cust_segment_level from hierarchy ( 'CUST_SEGMENT') inhierarchy dimension olap_employee_id from OLAP_EMPLOYEE with hierarchy ( 'ORG') inhierarchy dimension olap_office_id from OLAP_OFFICE with attribute olap_office_level from hierarchy ( 'COMPANY_HIER') inhierarchy dimension at OCI call OCIStmtExecute. [nQSError: 17010] SQL statement preparation failed. (HY000)
SQL Issued: SELECT s_0, s_1, s_2, s_3, s_4, s_5, s_6, s_7, s_8, s_9, s_10, s_11, s_12, s_13, s_14, s_15, s_16, s_17, s_18, s_19, s_20, s_21, s_22, s_23 FROM ( SELECT 0 s_0, "D - Sample Federated"."Products"."P4 Brand" s_1, "D - Sample Federated"."Time"."T05 Per Name Year" s_2, 'Total Products' s_3, CAST(NULL AS VARCHAR(1)) s_4, IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Total Products") s_5, "D - Sample Federated"."Measures"."1d- Revenue (Orcl Db Cube Only)" s_6, "D - Sample Federated"."Measures"."20d - Unit Price (Orcl Cube/Orcl Db)" s_7, "D - Sample Federated"."Measures"."2a- Qty (Orcl Db Tables Only)" s_8, CAST(NULL AS DOUBLE) s_9, REPORT_AGGREGATE("D - Sample Federated"."Measures"."20d - Unit Price (Orcl Cube/Orcl Db)" BY "D - Sample Federated"."Time"."T05 Per Name Year",IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Total Products")) s_10, CAST(NULL AS DOUBLE) s_11, CAST(NULL AS DOUBLE) s_12, REPORT_AGGREGATE("D - Sample Federated"."Measures"."20d - Unit Price (Orcl Cube/Orcl Db)" BY IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Total Products")) s_13, CAST(NULL AS DOUBLE) s_14, REPORT_SUM("D - Sample Federated"."Measures"."1d- Revenue (Orcl Db Cube Only)" BY "D - Sample Federated"."Time"."T05 Per Name Year",IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Total Products")) s_15, CAST(NULL AS DOUBLE) s_16, CAST(NULL AS DOUBLE) s_17, REPORT_SUM("D - Sample Federated"."Measures"."1d- Revenue (Orcl Db Cube Only)" BY IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Total Products")) s_18, CAST(NULL AS INTEGER) s_19, REPORT_SUM("D - Sample Federated"."Measures"."2a- Qty (Orcl Db Tables Only)" BY "D - Sample Federated"."Time"."T05 Per Name Year",IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Total Products")) s_20, CAST(NULL AS INTEGER) s_21, CAST(NULL AS INTEGER) s_22, REPORT_SUM("D - Sample Federated"."Measures"."2a- Qty (Orcl Db Tables Only)" BY IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Total Products")) s_23 FROM "D - Sample Federated" UNION ALL SELECT 1 s_0, "D - Sample Federated"."Products"."P4 Brand" s_1, "D - Sample Federated"."Time"."T05 Per Name Year" s_2, 'Total Products' s_3, IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Brand") s_4, IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Total Products") s_5, "D - Sample Federated"."Measures"."1d- Revenue (Orcl Db Cube Only)" s_6, "D - Sample Federated"."Measures"."20d - Unit Price (Orcl Cube/Orcl Db)" s_7, "D - Sample Federated"."Measures"."2a- Qty (Orcl Db Tables Only)" s_8, CAST(NULL AS DOUBLE) s_9, CAST(NULL AS DOUBLE) s_10, REPORT_AGGREGATE("D - Sample Federated"."Measures"."20d - Unit Price (Orcl Cube/Orcl Db)" BY "D - Sample Federated"."Time"."T05 Per Name Year",IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Total Products"),IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Brand")) s_11, CAST(NULL AS DOUBLE) s_12, CAST(NULL AS DOUBLE) s_13, CAST(NULL AS DOUBLE) s_14, CAST(NULL AS DOUBLE) s_15, REPORT_SUM("D - Sample Federated"."Measures"."1d- Revenue (Orcl Db Cube Only)" BY "D - Sample Federated"."Time"."T05 Per Name Year",IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Total Products"),IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Brand")) s_16, CAST(NULL AS DOUBLE) s_17, CAST(NULL AS DOUBLE) s_18, CAST(NULL AS INTEGER) s_19, CAST(NULL AS INTEGER) s_20, REPORT_SUM("D - Sample Federated"."Measures"."2a- Qty (Orcl Db Tables Only)" BY "D - Sample Federated"."Time"."T05 Per Name Year",IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Total Products"),IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Brand")) s_21, CAST(NULL AS INTEGER) s_22, CAST(NULL AS INTEGER) s_23 FROM "D - Sample Federated" WHERE (IDOF("D - Sample Federated"."Products"."Products Hierarchy"."Total Products") IN (1)) AND (("D - Sample Federated"."Time"."T05 Per Name Year" IN ('2008')) OR ("D - Sample Federated"."Time"."T05 Per Name Year" IN ('2009')) OR ("D - Sample Federated"."Time"."T05 Per Name Year" IN ('2010'))) UNION ALL SELECT 2 s_0, "D - Sample Federated"."Products"."P4 Brand" s_1, "D - Sample Federated"."Time"."T05 Per Name Year" s_2, CAST(NULL AS VARCHAR(1)) s_3, CAST(NULL AS VARCHAR(1)) s_4, CAST(NULL AS INTEGER) s_5, "D - Sample Federated"."Measures"."1d- Revenue (Orcl Db Cube Only)" s_6, "D - Sample Federated"."Measures"."20d - Unit Price (Orcl Cube/Orcl Db)" s_7, "D - Sample Federated"."Measures"."2a- Qty (Orcl Db Tables Only)" s_8, REPORT_AGGREGATE("D - Sample Federated"."Measures"."20d - Unit Price (Orcl Cube/Orcl Db)" BY "D - Sample Federated"."Time"."T05 Per Name Year") s_9, CAST(NULL AS DOUBLE) s_10, CAST(NULL AS DOUBLE) s_11, REPORT_AGGREGATE("D - Sample Federated"."Measures"."20d - Unit Price (Orcl Cube/Orcl Db)" BY ) s_12, CAST(NULL AS DOUBLE) s_13, REPORT_SUM("D - Sample Federated"."Measures"."1d- Revenue (Orcl Db Cube Only)" BY "D - Sample Federated"."Time"."T05 Per Name Year") s_14, CAST(NULL AS DOUBLE) s_15, CAST(NULL AS DOUBLE) s_16, REPORT_SUM("D - Sample Federated"."Measures"."1d- Revenue (Orcl Db Cube Only)" BY ) s_17, CAST(NULL AS DOUBLE) s_18, REPORT_SUM("D - Sample Federated"."Measures"."2a- Qty (Orcl Db Tables Only)" BY "D - Sample Federated"."Time"."T05 Per Name Year") s_19, CAST(NULL AS INTEGER) s_20, CAST(NULL AS INTEGER) s_21, REPORT_SUM("D - Sample Federated"."Measures"."2a- Qty (Orcl Db Tables Only)" BY ) s_22, CAST(NULL AS INTEGER) s_23 FROM "D - Sample Federated" ) djm
Any help was greatly appreciable...Thanks in Advancne..
Regards
Rushi

Similar Messages

  • New Project for Oracle Open Source Projects Page

    Another SQL*Plus clone but this one is written in pure java, feel free to add it to the Oracle Open Source Projects page:
    SQL*More is a tool to execute commands against SQL databases in the same vein as SQL*Plus for Oracle. Key features are platform independence, database independence, a self-contained networking stack, a terminal friendly CLI implementation, and macro-like commands.
    Thanks,
    Marc

    Happy to, but we'll need your project URL.
    Cheers, OTN

  • Ora-06502 pl/sql numeric or value error in Report Query in oracle apex

    Hello all,
    I need your help...
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    I am using bi publisher to generate PDF reports in oracle apex.
    We were using APEX 4.0 and migrated to 4.2 just a week ago.
    Now we have apex 4.2.
    When I try to Create report query,
    Shared Components >> Report Queries then create.
    and test a report in a create wizard I am getting a error "ORA-06502: PL/SQL: numeric or value error: character string buffer too small".
    I have also applied a patch "16760897".
    This issue is because of number of columns in a query is more then 26.
    If I run a report with 26 or less number of columns then the is working fine, otherwise getting this error.
    My before migration report queries working perfectly even now, but not new queries.
    This issue is also in apex.oracle.com.
    You can see
    Not working  - http://apex.oracle.com/pls/apex/f?p=619:4
    Working - http://apex.oracle.com/pls/apex/f?p=619:2:
    Please give a solution.
    Thanks you.

    check the DB version compatibility with apex 4 or your DB version to apex 4.0 support for upgrade!
    Oracle Application Express Installation Requirements for 4.0

  • Error while creating a report that uses Oracle OCI JDBC connectivity

    Please let me know why my CR and LF characters are removed from my forum posting *****
    Hi,
    I was trying to create a report that uses Oracle OCI JDBC connectivity. I am using Eclipse3.4 download from "cr4e-all-in-one-win_2.0.2.zip".  I have successfully created a JDBC OCI connection.
    The connection parameters are given below:
    URL: jdbc:oracle:oci8:@xe
    Database: xe
    username: <userName>
    password: <password>
    I have tested the above connection in Data source Explorer and it works fine!!!
    But I am getting the following error when I drag-and-drop a table from the list of tables. Not sure what I am missing here?  Any help is highly appreciated.
    com.businessobjects.reports.jdbinterface.common.DBException: InvalidURLOrClassName
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
         at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
         at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1771)
         at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:491)
         at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2979)
         at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2408)
         at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)
         at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
         at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
         at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1163)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:657)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:163)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:525)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:523)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$3.doWork(ExecutorWithIdleProcessing.java:182)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(PriorityTask.java:75)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(PriorityCompoundCancellableRunnable.java:187)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(PriorityProgressAwareRunnable.java:90)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(PriorityCompoundCancellableRunnable.java:144)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$IdleTask.run(ExecutorWithIdleProcessing.java:320)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Thanks
    Karthik
    Edited by: KARTHIK1 on Oct 14, 2009 9:38 PM

    Hi Ted,
    Thanks for the feedback. I was able to create a report in Creystal Reports Designer 2008 using OCI.  It is not allowing only in the Eclipse plugin. In our environment we are not allowed to user Oracle thin connections and ONLY OCI is allowed.
    1) Can you please let me know if there is a way to do this? 
    2) Will it allow data sources using native database driver?
    3) If so, can I use JRC to create these reports from a desktop java program?
    Thanks & Regards
    Karthik
    Edited by: KARTHIK1 on Oct 15, 2009 4:38 PM

  • CrystalReports error in XI 3.1 with Oracle Data Source

    Having trouble running Crystal Reports with Oracle data source off XI 3.1 SP3. Reports hang through CMC or InfoView. Have no trouble on identical environment (presumably) with the same reports. Basically this happened after migration.
    Report can be run on designer on the server box (suggesting the connection is good) however once uploaded to CMS, it hangs with error. This is not about an specific report only reports with Oracle Data source (Oracle client already installed and connection established)
    Any comments appreciated.

    Thank you for your reply.
    Seems like a re-boot resolved the problem.
    Edited by: Amir Eskandari on Feb 10, 2011 3:57 PM

  • Error Running Reports as Portlet in Oracle AS 10g

    #First, I create the report server using Reports Server Access Portlet (Administration>     Oracle Reports Security Setting)
    When defining the Server Name and Printers, I fill the fields like this:
    Display Name : MY_REPORTS_SERVER
    Reports Server Name : myserver
    Oracle Reports Web Gateway URL for JSP reports : http://stts:7778/
    Oracle Reports Web Gateway URL for RDF reports : http://stts:7778/reports/rwservlet
    #Second, I create the report definition using Reports Definition File Access portlet
    Display Name : myreport
    Reports Servers : MY_REPORTS_SERVER
    Oracle Reports File Name : test.rdf (default report sample)
    Execute : via servlet
    #The problem is.....
    When I tried to run the report by clicking Run / Run as Portlet link, the report doesn't show up.
    Then, I rightclick-View Page Source on the page
    <iframe name="iFramePortlet"
    src="http://sttsstts/reports/rwservlet?report=test.rdf&server=myserver&destype=Cach....
    I found that the src tag is doubling my computername into sttsstts, it supposed to be stts only.
    How come this happen???
    I already tried to change server definition into
    Oracle Reports Web Gateway URL for JSP reports : http://localhost/
    Oracle Reports Web Gateway URL for RDF reports : http://localhost/reports/rwservlet
    but the when tried to run the report again, the src still added by computername become:
    src="http://localhoststts/reports/rwservlet?report=test.rdf&server=myserver&destype=Cach............
    plaease help me...
    Thanx before,
    Chris

    Hi,
    I found two Metalink Notes that could of use to you :-
    Metalink Note:230544.1 :- How To Install And Configure OSA AS Portlets (Main Document)
    Metalink Note:247595.1 :- Installing AS Portlets 1.0 with OFA or OSA Version 6.4
    Regards,
    Sandeep

  • Error: The report source could not be retrieved from the state object.

    I have been trying to create a report in a JSF page. The relevant parts are below:
    Inside the JSP page, this is the code:
                  <jsp:useBean id="MyBean" class="com.nm.facade.rto.POJOViewerBean" scope="session" />
                    <jsp:setProperty name="MyBean" property="reportLocation" value="Report1.rpt" />
                   <v:reportPageViewer reportSource="#{MyBean.reportSource}"
                                           displayToolbarPrintButton="true"
                                           printMode="ActiveX"
                                           zoomPercentage="100"
                                           displayToolbarExportButton="true"
                                           displayToolbarRefreshButton="true"
                                           viewerName="My Viewer"
                   ></v:reportPageViewer>
    In the backing bean, this is the relevant code:
        public Object getReportSource() throws ReportSDKException
            if (propertiesChanged || reportSource == null)
                propertiesChanged = false;
                if (reportLocation == null)
                    throw new RuntimeException("The reportLocation property must be set before a report source is retrieved");
                ReportClientDocument rcd = new ReportClientDocument();
                rcd.setReportAppServer(ReportClientDocument.inprocConnectionString);
                rcd.open(reportLocation, 0);
                DatabaseController dbc = rcd.getDatabaseController();
                //Create the POJO collection and populate it with data
                ReportData[] data =
                  new ReportData("B.B.", "King", 6, new Date(25, 9, 16)),
                    new ReportData("Muddy", "Waters", 7, new Date(15, 4, 4)),
                    new ReportData("John Lee", "Hooker", 8, new Date(16, 8, 16)),
                    new ReportData("Otis", "Rush", 9, new Date(34, 4, 29)),
                    new ReportData("Buddy", "Guy", 10, new Date(36, 7, 30))
                //Create the result set from the collection of POJOs
                POJOResultSetFactory factory = new POJOResultSetFactory(ReportData.class);
                factory.setVerbose(true);
                POJOResultSet results = factory.createResultSet(data);
                ResultSetMetaData metaData = results.getMetaData();
                //Set the resultset as the report datasource
                      //Get the table name from the 'Set Datasource Location' dialog in the Crystal Reports designer
                String reportTable = "getReportDataDataSource";
                dbc.setDataSource(results, reportTable, reportTable);       
                IReportSource reportSource = rcd.getReportSource();
                if (reportSource == null)
                    throw new RuntimeException("Unable to get a report source.");
            return reportSource;
    In the CRConfig.xml, this is what is there:
    <?xml version="1.0" encoding="utf-8"?>
    <CrystalReportEngine-configuration>
        <reportlocation>../reports</reportlocation>
        <timeout>0</timeout>
        <ExternalFunctionLibraryClassNames>
             <classname></classname>
        </ExternalFunctionLibraryClassNames>
    </CrystalReportEngine-configuration>
    The report template 'Report1.rpt' is packaged under WEB-INF/reports in the war file.
    When I try to generate the report by accessing the JSF page, I am getting an error: "The report source could not be retrieved from the state object. "
    I am not sure what is wrong. Can someone help me in resolving this issue?
    Edited by: renshai on Jul 9, 2009 3:21 AM

    My formatting gets lost and the message looks unintelligible. After some experimentation, I found that if the message exceeds some length, the formatting is removed. Since I couldn't find any way to delete this post, I made another post with the same subject. Please ignore this post and help me to find a solution for the problem posted in the other thread with the same subject. Thanks in advance.

  • SQL Server Reporting Services: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

    Hey everyone, So I am trying to get a report onto the server, and in BIDS I kept getting a login screen repeating over and over when I tried to deploy my report, so I tried to upload the file at http://<servername>/Reports This worked, but then trying
    to run this report from http://<servername>/Reports did not work either because "An error has occurred during report processing. (rsProcessingAborted) Cannot create a connection to data source 'FTYDataSource'. (rsErrorOpeningConnection) For more information
    about this error navigate to the report server on the local server machine, or enable remote errors" Anyways I tried to add a New Data Source (which I would use in the report) at http://<servername>/Reports, type ODBC, with the connection string Dsn=blah_blahblah.
    I try to test the connection here and get the error ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified This is really getting old fast, everything I try, a new error comes up. Granted I am new at this,
    but this still should not be this troublesome. Does anyone have any ideas on what could FINALLY allow me to just put a report out onto the server?!? THANK YOU in advance for ANY help.

    Hi,
    Please try setting the credentials of the datasource.
    1. Double click and open the datasource in your project.
    2. Click on the credentials tab, and click on option button 'Use this username and password'
    3. Enter the username and password to connect to the datasource
    4. Deploy or upload the datasource to the report server and try accessing the reports.
    Hope this helps.
    Please click "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful.
    BH

  • Oracle Data Source for Essbase

    Hi, Good Morning to ALL,
    I have a doubt using Oracle Data Source with Essbase. When we use Oracle as the Data Source to load the data into Essbase cubes which of the following options would be better?
    1. Is it better to create a single table or view, when the data is in multiple tables and then load into essbase?
    OR
    2. Is it better to join the tables by entering the SELECT statement in the Administration Services Console during the data load?
    Which of these methods can be processed faster?
    Please Advice.......
    Thanks for the help in Advance...........

    There are a couple of theories for loading Essbase from relational sources.
    To be optimal there are techniques that you can create in the relational database to make joining more efficient.
    Single View/Table
    Everything you need in one large view. You can create one of these every period if you are performing incremental loads.
    Star Schema
    One large fact table all dimensions are represented with single Id foreign keys
    One dimension table per dimension whose primary keys are connected to the fact
    Snow-flake Schema
    One large fact table all dimensions are represented with single Id foreign keys
    Mutiple dimension tables per dimension whose primary keys are foreign keys in each connecting table then to the fact
    These are the "text book" options; many other hybrid ways have been developed in recent years.
    I would recommend using EIS against any relational source, as it will guide you through the OLAP loading process.
    Brian Chow

  • Not able to connect to Oracle Data source in Oracle Essbase Studio 11.1.2.2

    Hi,
    When i tried to connect to Oracle data source, i get this error "Unable to establigh connection. Ensure that the server is running, the user name and password are correct, and the ohter data fields match the server's configuration" when i tried to select database.
    If i change server name from to localhost, it allows to select database and does not give any error. but clicking on next button says localhost is not accepted, it needs machine name. Then how to connect to Oracle Data source?
    Edited by: User006 on Oct 10, 2012 12:45 PM

    It is possible the Oracle db has not been installed correctly, I take this is a personal install on a laptop, if so did you install the loopback adaptor.
    Have you tried the connection using the ip of the machine.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Not able to start report server component, getting error : oracle.reports.RWException: IDL:oracle/reports/RWException:1.0

    [2014-06-03T14:16:13.257+02:00] [WLS_REPORTS] [INCIDENT_ERROR] [] [oracle.reports.servlet] [tid: 18] [userId: <anonymous>] [ecid: 0000KPXe7kGFk3S6yFaeMG1JZR_f00000G,0:1] [APP: reports#11.1.2] ServerManager:getServer  Bind to Reports Server rep_wls_reports_xyz_asinst_1 failed.
    [2014-06-03T14:16:13.258+02:00] [WLS_REPORTS] [INCIDENT_ERROR] [REP-51002] [oracle.reports.servlet] [tid: 18] [userId: <anonymous>] [ecid: 0000KPXe7kGFk3S6yFaeMG1JZR_f00000G,0:1] [APP: reports#11.1.2] REP-51002 : Bind to Reports Server rep_wls_reports_xyz_asinst_1 failed.  [[
    oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
      at oracle.reports.utility.Utility.newRWException(Utility.java:1053)
      at oracle.reports.client.ServerManager.getServer(ServerManager.java:284)
      at oracle.reports.client.ServerManager.isSecure(ServerManager.java:420)
      at oracle.reports.client.ServerManager.isSecure(ServerManager.java:405)
      at oracle.reports.rwclient.CommandManager.getServerSecuritySetting(CommandManager.java:347)
      at oracle.reports.rwclient.ServletCmdMgr.handleWebCommand(ServletCmdMgr.java:319)
      at oracle.reports.rwclient.RWClient.handleWebCommand(RWClient.java:1302)
      at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1822)
      at oracle.reports.rwclient.RWClient.doPost(RWClient.java:780)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      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:301)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3748)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3714)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2283)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2182)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    Hi,
    Please review following note:How to Troubleshoot Errors FRM-41213 / REP-51002 / REP-178 with Oracle Reports 10gR2 / 11g (Doc ID 460976.1)
    Regards,

  • Error / fails to connect Oracle data source using deploy tool

    Hi,
    I want to deploy SAP AS on my company's J2EE application. I deployed the application using Deploy Tool successfully. The application is started without error.
    When I tried connecting the log on page.  I got error in LogViewer:
    Error while accessing porting layer for ORACLE database via getDatabaseHost().
    Relatives : com.sap.sql.jdbc.direct.DirectConnectionFactory
    Resource Bundlename : com.sap.sql.log.OpenSQLResourceBundle
    Source : /System/Database/sql/jdbc/direct
    Argument Objs : ORACLE,getDatabaseHost(),
    Where to look for debugging errors?
    -- Joe

    Hi Markus,
    I changed to Vendor SQL and set Initial Connection to 1.
    On Monitor tab, I see a green line running across the screen. 
    I believe this proves that the connection has been established.
    Thanks a lot!
    -- Joe

  • Using Oracle Essbase For Report Purpose

    Good afternoon all,
    I am new in Oracle Essbase. I will appreciate If I can get a link on how to setup Essbase and use it for report purpose.

    start here http://download.oracle.com/docs/cd/E12825_01/nav/portal_1.htm it has all of the information on installation and setup

  • Unable to load database connector - using JRC w/report connecting to Oracle

    A simple Java program was created to test a Crystal Report using JRC. The Java program is a thick-client Swing desktop application (modified from an example of crxi_r2_migrating_rdc_to_jrc.pdf). The program failed to execute the report with the following error:
    Unable to load database connector u2018com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'
    It might be something simple to correct the problem, but I am not able to find related answers in the documentation and from the forum.
    CR version is XI R2. The Java program was compiled and run using jdk1.4.2_13. Oracle is 10.2.
    Do I have to use JDBC? or the CR Oracle driver will do? What needs to be setup? If I use JDBC, what do I need to setup (I tried to following the links in the forums or other documentation, but most of the links to http://support.businessobjects.com/.... are broken - i.e. re-route to the SAP support page but not directly linked to the articles)
    When the report JRCTestReport.rpt was saved with the option "Save Data With Report", it works fine. So the problem is only with Oracle database driver, the other jars are fine.
    In the report JRCTestReport.rpt the database properties are:
           DatabaseDLL             crdb_oralce.dll
           Password
           Server                        myTestDB
           Trusted_Connection    False
           User ID                      MyUser
    The crdb_oracle.dll is located at:
    C:\Program Files\Business Objects\Common\3.5\bin
    Files are stored in the following tree structure:
    <Testing Folder>
         JRCTest.java
         JRCTest.class
         WEB-INF
                   lib
                        All required JRC jars and CRConfig.xml
         Reports
                   JRCTestReport.rpt
    Java source code JRCTest.java
    import java.awt.*;
    import javax.swing.*;
    import java.io.*;
    import com.crystaldecisions.ReportViewer.*;
    // Use this for talking to JRC in-process
    import com.crystaldecisions.reports.sdk.*;
    import com.crystaldecisions.sdk.occa.report.reportsource.*;
    public class JRCTest
         private static void createAndShowGUI()
              try
                   //Make sure we have nice window decorations.
                   JFrame.setDefaultLookAndFeelDecorated(false);
                   //Create and set up the window.
                   JFrame frame = new JFrame("JRCTest");
                   frame.setTitle("JRCTest");
                   frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                   ReportViewerBean viewer = new ReportViewerBean();
                                      System.out.println("ReportViewerBean.init");
                   viewer.init(new String[0], null, null, null);
                                      System.out.println("new ReportClientDocument");
                   ReportClientDocument rpt = new ReportClientDocument();
                                      try
                                              System.out.println("Openning Report...");
                                              rpt.open("JRCTestReport.rpt", 0);
                                      catch (Exception ex)
                                              System.out.println("Failed to open report");
                                              System.out.println(ex.toString());
                                              return;
                                      try
                                              System.out.println("logon...");
                                              rpt.getDatabaseController().logon("myUser", "myPass");
                                      catch (Exception ex)
                                              System.out.println("Failed to logon");
                                              System.out.println(ex.toString());
                                              return;
                                      System.out.println("ReportClientDocument.getReportSource");
                   IReportSource rptSource = rpt.getReportSource();
                   viewer.setReportSource(rptSource);
                                                    System.out.println("viewer.setReportSource");
                   frame.getContentPane().add
                        (viewer, BorderLayout.CENTER);
                   frame.setSize(700, 500);
                   frame.setVisible(true);
                   viewer.start();
              catch (Exception exception)
                   System.out.println(exception.toString());
         public static void main(String[] args)
              javax.swing.SwingUtilities.invokeLater(new Runnable()
                   public void run()
                        createAndShowGUI();
    Execution result:
    C:\tmp\CrystalJavaTest>java -classpath .;./WEB-INF/lib;./WEB-INF/lib/ReportViewe
    r.jar;./WEB-INF/lib/jrcerom.jar;./WEB-INF/lib/jrcadapter.jar;./WEB-INF/lib/Concu
    rrent.jar;./WEB-INF/lib/CrystalCharting.jar;./WEB-INF/lib/CrystalCommon.jar;./WE
    B-INF/lib/CrystalContentModels.jar;./WEB-INF/lib/CrystalExporters.jar;./WEB-INF/
    lib/CrystalExportingBase.jar;./WEB-INF/lib/CrystalFormulas.jar;./WEB-INF/lib/Cry
    stalQueryEngine.jar;./WEB-INF/lib/CrystalReportEngine.jar;./WEB-INF/lib/CrystalR
    eportingCommon.jar;./WEB-INF/lib/icu4j.jar;./WEB-INF/lib/keycodeDecoder.jar;./WE
    B-INF/lib/log4j.jar;./WEB-INF/lib/MetafileRenderer.jar;./WEB-INF/lib/rasapp.jar;
    ./WEB-INF/lib/rascore.jar;./WEB-INF/lib/rpoifs.jar;./WEB-INF/lib/Serialization.j
    ar;./WEB-INF/lib/URIUtil.jar;./WEB-INF/lib/xercesImpl.jar;./WEB-INF/lib/xml-apis
    .jar JRCTest
    Starting
    Crystal Report Viewer 2.1.21.2
    java.vendor = Sun Microsystems Inc.
    java.version = 1.4.2_13
    os.name = Windows XP
    os.version = 5.1
    os.arch = x86
    ReportViewerBean.init
    new ReportClientDocument
    Openning Report...
    logon...
    ReportClientDocument.getReportSource
    viewer.setReportSource
    ERROR - JRCAgent1 detected an exception: Unable to load database connector 'com.
    crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
            at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwRepo
    rtSDKException(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
            at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unkno
    wn Source)
            at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unkno
    wn Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage
    (Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource
    .getPage(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReport
    Source.getPage(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.rs.b.if(Unknown Source
            at com.businessobjects.crystalreports.viewer.core.av.a(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.av.run(Unknown Source)
            at java.lang.Thread.run(Thread.java:534)
    Unable to load database connector 'com.crystaldecisions.reports.queryengine.driv
    erImpl.DriverLoader'.

    After I switched the report to use JDBC, I am still getting the same error.
    Machine has multiple jdk, oracle 10g, Oracle11g client installed though. So I need to set my path to use the jdk from Crystal Report and Oracle 10g.
    The program was compiled and ran with the following path and CLASSPATH:
    set path="C:\Program Files\Business Objects\j2sdk1.4.2_08\bin";"C:\Program Files\Business Objects\j2sdk1.4.2_08\jre\bin";"C:\Program Files\Business Objects\j2sdk1.4.2_08\jre\bin\client";c:\oracle\ora102\bin
    set CLASSPATH=.;./WEB-INF/lib;./WEB-INF/lib/ReportViewer.jar;./WEB-INF/lib/jrcerom.jar;./WEB-INF/lib/jrcadapter.jar;./WEB-INF/lib/Concurrent.jar;./WEB-INF/lib/CrystalCharting.jar;./WEB-INF/lib/CrystalCommon.jar;./WEB-INF/lib/CrystalContentModels.jar;./WEB-INF/lib/CrystalExporters.jar;./WEB-INF/lib/CrystalExportingBase.jar;./WEB-INF/lib/CrystalFormulas.jar;./WEB-INF/lib/CrystalQueryEngine.jar;./WEB-INF/lib/CrystalReportEngine.jar;./WEB-INF/lib/CrystalReportingCommon.jar;./WEB-INF/lib/icu4j.jar;./WEB-INF/lib/keycodeDecoder.jar;./WEB-INF/lib/log4j.jar;./WEB-INF/lib/MetafileRenderer.jar;./WEB-INF/lib/rasapp.jar;./WEB-INF/lib/rascore.jar;./WEB-INF/lib/rpoifs.jar;./WEB-INF/lib/Serialization.jar;./WEB-INF/lib/URIUtil.jar;./WEB-INF/lib/xercesImpl.jar;./WEB-INF/lib/xml-apis.jar;C:/oracle/ora102/jdbc/lib/ojdbc14.jar
    I modified my java testing program to display more info:
    Modified program:
    import java.awt.*;
    import javax.swing.*;
    import java.io.*;
    import com.crystaldecisions.ReportViewer.*;
    // Use this for talking to JRC in-process
    import com.crystaldecisions.reports.sdk.*;
    import com.crystaldecisions.sdk.occa.report.reportsource.*;
    import com.crystaldecisions.sdk.occa.report.exportoptions.*;
    import com.crystaldecisions.sdk.occa.report.data.*;
    import com.crystaldecisions.sdk.occa.report.lib.PropertyBag;
    import com.crystaldecisions.sdk.occa.report.lib.IStrings;
    public class JRCTest2
       private static void createAndShowGUI()
          try
             System.out.println("Starting");
             //Make sure we have nice window decorations.
             JFrame.setDefaultLookAndFeelDecorated(false);
             //Create and set up the window.
             JFrame frame = new JFrame("JRCTest2");
             frame.setTitle("Testing 1, 2, 3");
             frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
             System.out.println("new ReportViewerBean");
             ReportViewerBean viewer = new ReportViewerBean();
             System.out.println("ReportViewerBean.init");
             viewer.init(new String[0], null, null, null);
             System.out.println("new ReportClientDocument");
             ReportClientDocument rpt = new ReportClientDocument();
             try
                 System.out.println("Openning Report...");
                 rpt.open("JRCTestReport.rpt", 0);
             catch (Exception ex)
                System.out.println("Failed to open report");
                System.out.println(ex.toString());
                return;
             try
                // try logon here to see if any exceptions
                rpt.getDatabaseController().logon("myUser", "myPass");
             catch (Exception ex)
                System.out.println("Failed to logon");
                System.out.println(ex.toString());
                return;
             IDatabase idb = rpt.getDatabaseController().getDatabase();
             Tables dtb = idb.getTables();
             IConnectionInfo conInfo = dtb.getTable(0).getConnectionInfo();
             PropertyBag attrs = conInfo.getAttributes();
             conInfo.setPassword("myPass");
             conInfo.setUserName("myUser");
             IStrings s = attrs.getPropertyIDs();
             for (int i=0; i < s.size(); i++)
                System.out.println(s.getString(i));
                System.out.println(attrs.getStringValue(s.getString(i)));
             System.out.println(" ");
             conInfo.setAttributes(attrs);
             attrs = conInfo.getAttributes();
             s = attrs.getPropertyIDs();
             // Print property again after setting attributes
             for (int i=0; i < s.size(); i++)
               System.out.println(s.getString(i));
               System.out.println(attrs.getStringValue(s.getString(i)));
             System.out.println(" ");
             System.out.println("ReportClientDocument.getReportSource");
             IReportSource rptSource = rpt.getReportSource();
             viewer.setReportSource(rptSource);
             frame.getContentPane().add
         (viewer, BorderLayout.CENTER);
             frame.setSize(700, 500);
             frame.setVisible(true);
             viewer.start();
          catch (Exception exception)
             System.out.println(exception.toString());
       public static void main(String[] args)
          System.out.println("main");
          javax.swing.SwingUtilities.invokeLater(new Runnable()
             public void run()
                createAndShowGUI();
    Running result:
    C:\tmp\CrystalJavaTest>java JRCTest2
    main
    Starting
    new ReportViewerBean
    Crystal Report Viewer 2.1.21.2
    java.vendor = Sun Microsystems Inc.
    java.version = 1.4.2_13
    os.name = Windows XP
    os.version = 5.1
    os.arch = x86
    ReportViewerBean.init
    new ReportClientDocument
    Openning Report...
    Trusted_Connection
    false
    Server Name
    dbHost
    Connection String
    Use JDBC=b(true);Connection URL=s(jdbc:oracle:thin:@dbHost:1521:myDB);Database Class Name=s(oracle.jdbc.OracleDriver);Server=s(dbHost);User ID=s(myUser);Password=;Trusted_Connection=b(false);JDBC Connection String=s(!oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB)
    Server Type
    JDBC (JNDI)
    Database Class Name
    oracle.jdbc.OracleDriver
    Use JDBC
    true
    URI
    !oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB
    Database DLL
    crdb_jdbc.dll
    Trusted_Connection
    false
    Server Name
    dbHost
    Connection String
    Use JDBC=b(true);Connection URL=s(jdbc:oracle:thin:@dbHost:1521:myDB);Database Class Name=s(oracle.jdbc.OracleDriver);Server=s(dbHost);User ID=s(myUser);Password=;Trusted_Connection=b(false);JDBC Connection String=s(!oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB)
    Server Type
    JDBC (JNDI)
    Database Class Name
    oracle.jdbc.OracleDriver
    Use JDBC
    true
    URI
    !oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB
    Database DLL
    crdb_jdbc.dll
    ReportClientDocument.getReportSource
    ERROR - JRCAgent1 detected an exception: Unable to load database connector 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
            at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
            at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.getPage(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.rs.b.if(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.av.a(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.av.run(Unknown Source)
            at java.lang.Thread.run(Thread.java:534)
    Unable to load database connector 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
    Also got similar error when the path and classpath was switched to Oracle 11g.
    Is there a way to tell which file that it failed to load?
    Thanks
    Kin

  • Error execute report in R12

    Hi all,
    I think I better change this question into a sharing because I'd solved my problem :p.
    Below is my first post in this thread before I found the solution :
    I hoped I put this in the right forum. Before I ask the question, here are my environment:
    Operating system : Oracle Enterprise Linux 4 update 6
    RDBMS : 10.2.0.3.0
    Oracle Applications : 12.0.4
    Report Builder : 10.1.2.0.2
    I created a report using Oracle Report Developer then I upload it to my Apps machine. After set all the executable and validation set I tested the report. At first the request completed with status Warning. Viewed the log I got warning like this :
    REP-0004: Warning: Unable to open user preference file
    After browse metalink and OTN (such as in Reports Compilation Errors: REP-25200 / REP-0004 / REP-1430 and in Re: REP-0004 Error... it seems that the problem was because prefs.ora was not present in $HOME so I copied the prefs.ora file from /apps/tech_st/10.1.2/tools/admin to $HOME then I requested the reports again. This time that error didn't show up and the request completed normal but there's no output at all. The same report did show output when tested in Oracle Report Developer.
    I opened the report file in Report Developer and tried to compile it (Tools > File Conversion) from rdf to rdf using different name then I copied the report and tested again. This time the request completed normal but still no output. When I viewed the log I got this error message:
    Oracle error -6502: ORA-06502: PL/SQL: numeric or value error: associative array shape is not consistent with session parameters has been detected in fnd_global.put(PERMISSION_CODE, FND_PERMIT_0000).
    APP-FND-01564: Oracle error 6502 in FDXNC
    Cause: FDXNC failed due to ORA-06502: PL/SQL: numeric or value error: associative array shape is not consistent with session parameters
    ORA-06512: at "APPS.FND_GLOBAL", line 1233
    ORA-06512: at "APPS.FND_GLOBAL", line 1432
    ORA-06512: at line 1.
    The SQL statement being executed at the time of the error was: begin fnd_global.set_nls_context( p_nls_numeric_characters => :nc ); end; and was executed from the file &ERRFILE.
    The routine FDPREP was unable to set the numeric character to .,.
    So I tried another way, I recreate the report but try to display only some fields. The fields must be put in a repeating frame because if I tried to put in a normal frame caused reports developer displayed error message that I put the field below it's frequency. After put some fields in the repeating frame I tested the report again in Oracle Apps. this time the result was Completed Normal but still no data (0 byte) though in Reports Developer it showed some data. After some test I got conclusion that the data can only be put in a repeating frame if all the data were put in the same level (e.g.: all the field put in the same repeating frame) and can't be break down where there exist repeating frame in a repeating frame (nested repeating frame) as if you want to create grouping while want I want is to create grouping. Using Reports Developer wizard to create the report gave me the same result, no data displayed.
    Now, anyone know how to solve that problem? thanks.
    and now for the solution :
    For REP-0004: Warning: Unable to open user preference file error message
    Just copy the prefs.ora file from /apps/tech_st/10.1.2/tools/admin to $HOME then the error message wouldn't show up anymore. Though based on my experience this error message can be omitted further analyze would be good to know if there's any impact to the system or performance or anything else.
    For no data displayed error
    Make sure the setup was right especially the token field as that was my problem. The token field was not the same as the bind variable in the report query, that's why the request completed normal and no data displayed :P it's very foolish of me to miss that simple thing.
    thank you all
    Message was edited by:
    UD

    mdtaylor wrote:
    Since you are on 10.2.0.3, you may want to also look at database patch 5890966 INTERMITTENT ORA-06502 DURING PEAK LOADING
    Associative Array Shape Is Not Consistent With Session Parameter at Peak Load     
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=467688.1
    Hi Michael,
    Yes, that patch is exactly I got from oracle support, however I'm having a problem to apply it :P
    Here are what I usually did to apply patch in E-Biz :
    1. Source the application environment using the environment file in APPL_TOP
    2. Enable maintenance mode using adadmin
    3. Apply patch using adpatch
    4. Disable maintenance mode using adadmin
    5. Start all the services
    How to apply patch just for database only? Reading the readme file it said that to apply patch was only using command :
    $ opatch apply
    However we need to ensure that the directory containing the opatch script appears in $PATH. I found that opatch.pl exist in $ORACLE_HOME/Opatch but I can't use opatch though I had sourcing application enviroment or database environment.
    I echoed $PATH and $ORACLE_HOME/Opatch (which either ../db/tech_st/10.2.0 for database or ../apps/tech_st/10.1.2/Opatch) and found was not in the $PATH.
    I assumed that I shouldn't change the application environment or database environment file recklessly so that $ORACLE_HOME/Opatch appears in $PATH.
    However if I tried to run opatch directly from it's folder then I got this following error :
    OPatch cannot find a valid oraInst.loc file to locate Central Inventory
    So my questions are :
    1. Do I need to source environment before running opatch? If yes, which one, application environment or database environment?
    2. How to set the Central Inventory location so that opatch recognized it? Is it by sourcing the environment in question 1?
    3. Which opatch must I run? The one in application tier or in database tier?
    4. How to run it? Type all the path directly (as /db/tech_st/10.2.0/OPatch/opatch)?
    Thx

Maybe you are looking for

  • How do I reinstall OS X Mavericks

    I inhereited an Apple at work for testing purposes. It was set up with only one Admin user and that person is long gone, So there is currently only one unusable admin and a guest account. I think the only thing I can do is re-install OS X Mavericks.

  • Problem with JSF Page loading with WAS 6.1.0.2

    We are using Trindad Faces & the app server is Websphere 6.1.0.2. When the server starts up, its gives lots of logs (does not say error or warning) as below. 11:13:58:881 EST] 00000019 jsf W com.ibm.ws.jsf.configuration.FacesConfigParser parseShared

  • Can I insert SS just like in AppleWorks?

    Is there a way to open a SS into Pages with one or two clicks of the mouse the same way as in AppleWorks? I always found the AppleWorks tools palette very convenient, and I am disappointed that this new Apple product is lacking in simplicity and comp

  • How to look for my ipod using the serial number

    Looking for my stolen ipod using my serial number. Where do I go to do this?

  • Calling RFC placed in PI from Portal

    Dear All, We have a scenario where we have RFCs in ECC and it has to be called from Portal through PI. Please suggest the possible and easiest ways. Please note these RFC are already being called from Portal to ECC directly. So we need to change it b