FileNotFoundException, IOException when generating reports

Dear all,
My project is about basic CRUD operations and generate reports. When running on the Intergrated Weblogic Server (JDeveloper 11.1.1.2 version), everything's fine. But when deployed to the standalone Weblogic server, I get this error when generate the reports:
* java.io.FileNotFoundException: null\ImportExportBillTmp.rtf ( The system can not find the path specified)
IOException when generating report java.io.FileNotFoundException: null\ImportExportBillTmp.rtf ( The system can not find the path specified).
I think this error has some relate to the weblogic configuration but do not have any clue where to start. Please share any suggestion you have.
=============================================================
I find the problems:
* session.getServletContext().getRealPath("/reporttemplates") return null ; when it expected to return the real path of reporttemplates folder.
But the solution is still not found.
Thanks.
Edited by: 927881 on Aug 22, 2012 9:07 PM

Found the solution, it's not in the code. It's in the config of my web server.
For me it's Weblogic 10.3, you go to Home - <your domain> - Configuration - Web Application, set Archived Real Path Enabled to true. Restart server and everything works fine.
Hope this help anyone has the same problems like me.

Similar Messages

  • Ordering messed up when generating Report as Delimited on Server

    Hi folks,
    Not sure if anyone else might have observed or faced this issue but thought I'd give it a try. I have an Oracle Report (Version 6i) and the output generated should be a tab delimited text file so the user can view the output in Excel. The Report output is sorted by Name. When I run the Report locally (Client) by doing File -> Generate to File -> Delimited (Delimiter Option: Tab), the Report works fine. The ordering is correct. However, when I am running it off the server (Using the option DELIMITED for the DESFORMAT), the ordering seems messed up. The ordering is maintained for quite a few rows and then a Name (out of order appears). Note that this record also appears in the correct place as well as above the place where its expected to be ... Here is an example:
    Name                     ID     BIRTH DATE
    ==========================================
    ALLAN, BRIAN             1001   1970/12/31
    ALLAN, SUSAN             2001   1968/01/01
    FRANCIS, JOHN            5001   1965/02/01
    BROWN, EDWARD            3001   1978/01/02
    BROWN, JENNY             4001   1976/04/01
    FRANCIS, JOHN            5001   1965/02/01
    GRAHAM, DALE             6001   1980/10/10As you can see that FRANCIS, JOHN is appearing out of order and in order (Twice). This is not happening when I run it on the Client. Any ideas what may be causing this? I realize I don't have much information out here as I myself am at my wits end.
    Thanks
    Edited by: Roxyrollers on Jan 4, 2013 2:15 PM

    Hello,
    I you have access to Metalink (http://metalink.oracle.com), you can take a look to the notes:
    Note.278044.1 How to Debug REP-1401 when executing Reports with Barcode java code
    Note.382952.1 RDF to Debug REP-1401 when using Oraclebarcode.jar
    Note 252691.1 REP-1401: 'CF_1Formula ': Fatal PL/SQL error occurred - ORA-
    06502: PL/SQL: numeric or value error when running the example "Building a Report with a Barcode"
    Note 271807.1 Report With Barcode Bean Is Causing REP-69, REP-57054, REP-1401 and ORA-39565:
    Regards

  • Getting page no. when generating report in  XML format

    hi all,
    could any one tell me. How to get page no's in XML reporting.
    Is there any facility to assign physical page no. to an other variable?
    regards,
    Vasu

    Hi Kishore,
    I have a report (D2K) of 10 pages. Normally for getting page no.s on report, we will have a field and we will assign source as physical page no. But if give like this, i am not getting page no.s when i am generating report format as XML.
    regards,
    vasu

  • Error when generating report in exe built from LV8.6

    Hi all,
    Using LV8.6 and report generation toolkit 1.1.3 i have one application in that i am generating report in 'word' and 'exel'. I have built that application as a EXE. in that exe i am unable to generate report. i am getting following error:
    Possible reason(s):
    LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
    =========================
    NI-488: Nonexistent GPIB interface.
    Complete call chain:
      Get LV Class Default Value.vi
      NI_report.lvclass:New Report.vi
      Conditionally Formatted Word Table.vi
      r.vi
    Regards,
    Santhosh M

    yes i have includeed all the class and dependents but still it is giving problem i will send my code pls build the exe and run it, thentel about that...
    Regards,
    Santhosh M
    Attachments:
    Test.zip ‏11 KB

  • Parameter values getting lost when generating report to .pdf

    Report Builder 6.0.8.26.0
    I have a report which accepts 3 parameter, :v_id, :a, :b, :v_id is numeric, other char.
    I display them on the report and use them in the query. When I run the report, everything is ok in the previewer and when I print a hard copy.
    When I select generate -> pdf, the :a & :b parameters do not display on the report and the queries run the same as if I set :a & :b to a null value.
    Anybody seen this and have anykind of fix. I know I can generate the script for the query and then use and external query & might have to, but I was trying to find something else.

    Hi Chris
    I suggest you apply Reports and Forms Integrated patch on your setup. You can download the patch from metalink site.
    Thanks
    Rohit

  • Crashed when generating report to a file.

    I'm using Oracle 9i/Oracle Form 6i/Oracle Reports 6i.
    When I run my report from my forms, I can preview it and print it fine. However, when I try to select anything from "generate to file" menu, the report will crash. My form and report works as the following:
    The form stores some account number as a string of values. Then, the report read the strings and using a function to seperate it and store in the user parameters in the report. The sql will then read each account number and search for the records in the database.
    I don't have problems to generate the pdf when I have less than 60 records. However, if the selected records is more than that, the report will crash when I use the option to "generate to file". Does anyone know why is this happening? Is there a limit on setting how much parameter on the reports?

    Hello, Does the report looks ok when you run it in the Previewer?
    -Marilyn

  • Database error when generating reports.

    When I try to generate a report I get this error message:
    A​ ​d​a​t​a​b​a​s​e​ ​e​r​r​o​r​ ​o​c​c​u​r​e​d​.​ ​T​h​e​ ​d​a​t​a​b​a​s​e​ ​e​r​r​o​r​ ​t​e​x​t​ ​i​s​:​ ​(​C​S​)​ ​"​D​B​D​r​i​v​e​r​ ​f​a​i​l​e​d​ ​t​o​ ​l​o​a​d​ ​:​ ​/​o​p​t​/​n​o​v​e​l​l​/​z​e​n​w​o​r​k​s​/​s​h​a​r​e​/​b​o​e​/​b​o​b​j​e ​/​e​n​t​e​r​p​r​i​s​e​1​2​0​/​l​i​n​u​x​_​x​8​6​/​d​a​t​a​A​c​c​e​s​s​/ ​R​D​B​M​S​/​c​o​n​n​e​c​t​i​o​n​S​e​r​v​e​r​/​l​i​b​d​b​d​_​o​c​i​1​1​. ​s​o​ ​(​l​i​b​c​l​n​t​s​h​.​s​o​.​1​1​.​1​:​ ​c​a​n​n​o​t​ ​o​p​e​n​ ​s​h​a​r​e​d​ ​o​b​j​e​c​t​ ​f​i​l​e​:​ ​N​o​ ​s​u​c​h​ ​f​i​l​e​ ​o​r​ ​d​i​r​e​c​t​o​r​y​)​"​ ​.​ ​(​W​I​S​ ​1​0​9​0​1​)
    Our reporting server runs sles 11 and the zenworks database run on Oracle 10.
    I have read TID 7004585 and checked the rights according to the Resolution.
    John Hallberg
    Jonkoping University

    When I try to generate a report I get this error message:
    A​ ​d​a​t​a​b​a​s​e​ ​e​r​r​o​r​
    ​o​c​c​u​r​e​d​.​ ​T​h​e​
    ​d​a​t​a​b​a​s​e​ ​e​r​r​o​r​
    ​t​e​x​t​ ​i​s​:​ ​(​C​S​)​
    ​"​D​B​D​r​i​v​e​r​ ​f​a​i​l​e​d​
    ​t​o​ ​l​o​a​d​ ​:​
    ​/​o​p​t​/​n​o​v​e​l​l​/​z​e​n​w​o​r​k
    ​s​/​s​h​a​r​e​/​b​o​e​/​b​o​b​j​e
    ​/​e​n​t​e​r​p​r​i​s​e​1​2 0​/​l​i​n​u
    ​x​_​x​8​6​/​d​a​t​a​A​c​c​e​s​s​/
    ​R​D​B​M​S​/​c​o​n​n​e​c​t​i​o​n​S​e r
    ​v​e​r​/​l​i​b​d​b​d​_​o​c​i​1​1 .
    ​s​o​
    ​(​l​i​b​c​l​n​t​s​h​.​s o​.​1​1​.​1​:
    ​ ​c​a​n​n​o​t​ ​o​p​e​n​
    ​s​h​a​r​e​d​ ​o​b​j​e​c​t​
    ​f​i​l​e​:​ ​N​o​ ​s​u​c​h​ ​f​i​l​e​
    ​o​r​ ​d​i​r​e​c​t​o​r​y​)​"​ ​.​
    ​(​W​I​S​ ​1​0​9​0​1​)
    Our reporting server runs sles 11 and the zenworks database run on Oracle
    10.
    I have read TID 7004585 and checked the rights according to the Resolution.
    John Hallberg
    Jonkoping University
    >>> On 2010-08-17 at 22:30, in message
    <[email protected]>, Automatic
    Reply<[email protected]> wrote:
    > hajo68,
    >
    > It appears that in the past few days you have not received a response to
    > your
    > posting. That concerns us, and has triggered this automated reply.
    >
    > Has your problem been resolved? If not, you might try one of the following
    > options:
    >
    > ‑ Visit http://support.novell.com and search the knowledgebase and/or
    check
    > all
    > the other self support options and support programs available.
    > ‑ You could also try posting your message again. Make sure it is posted
    in
    > the
    > correct newsgroup. (http://forums.novell.com)
    >
    > Be sure to read the forum FAQ about what to expect in the way of
    responses:
    >
    > http://forums.novell.com/faq.php
    >
    > If this is a reply to a duplicate posting, please ignore and accept our
    > apologies
    > and rest assured we will issue a stern reprimand to our posting bot.
    >
    > Good luck!
    >
    > Your Novell Product Support Forums Team
    > http://support.novell.com/forums/

  • Commitment item group not displayed as level node when generate report FM

    Hi all,
    We created commitment item group or funds centre group through tcode i.e FM_SETS_FIPEX1. We create group with lower node such as hierarchy.
    However when we generate the standard report with the commitment item group or funds centre group, we find no hierarchies as commitment item/funds centre group figure. Just flat, no hierarchies, no level node.
    How to make it displayed as commitment item/fundcentre group ?
    It maintained on drilldown report or something else?
    Dewi

    Dewi,
    For report painter reports you can create groups using transaction FMRP_CI_SET_HIER - Create Group Hierarchy from Master Data Hierarchy or create sets using GS01, with them you can view the reports with the master data hierarchy.
    Regards
    César

  • LMS3.2/Campus5.2.1/UT: device selector empty when generate reports

    Hi,
    Customer has LMS 3.2 on windows. He has an issue on UT when he wants to generete a report, device selector is empty.
    User Tracking -> Reports -> Report Generator:
          * Application : Switch Port Report
          * Report : Reclaim Unused Down
    He has the same issue (device selector empty) with :
    - Campus Manager >> Configuration >> VLAN Configuration
    - Campus Manager >> Reports >> Report Generator >> Switch Port Report + Switch Port Summary
    - Campus Manager >> Visualization >> RMON Configuration
    I didn't find bug in BugID Lookup Tool.
    Which logs could give me information for this issue ?
    Many thanks

    This sounds like a problem with Object Grouping Services where Campus OGS is not able to communicate with CMF OGS.
    The shortest solution might be to just restart LMS, wait 15 minutes and then check again.
    If that does not help,
    1) Enable OGS debugging for both Campus and CMF
    NMSROOT = C:\progra~1\CSCOpx or /opt/CSCOpx (unix)
    NMSROOT/MDC/tomcat/webapps/cwhp/WEB-INF/classes/log4j-ogs.properties
    NMSROOT/MDC/tomcat/webapps/campus/WEB-INF/classes/log4j-ogs.properties
    Change ALL instances of FATAL, ERROR, WARN, and INFO to DEBUG.
    (might want to back these files up first, you will want to change them back when finished)
    2) Restart LMS (wait 5 mins betweens stop/start)
    windows
    > net stop crmdmgtd
    > net start crmdmgtd
    unix
    # /etc/init.d/dmgtd stop
    # /etc/init.d/dmgtd start
    3) Reproduce the problem
    4) Collect Log files in
    C:\progra~1\CSCOpx\log or /var/adm/CSCOpx/log (unix)
    CampusOGSClient.log
    CampusOGSServer.log
    CMFOGSClient.log
    CMFOGSServer.log  
    5) Open a case with TAC
    Good luck
    Tom

  • High CPU when generating report

    I'm running Zen 6.5 sp2 on Netware 6.5 sp7, and have C1 locally installed to my XP sp3 workstation. I have set up ODBC and successfully tested my connection.
    I can get results from an inventory query with no problem, but when I try to generate one of the canned software reports and search for 1 piece of software, my C1 starts using a ton of memory and the CPU on my server jumps to 97-100% and stays there. After about 4 minutes, no results in my report, so I killed C1 and everything went back to normal. We only have about 300 workstations in inventory. Aside from the reporting problem, inventory seems to be running just fine. Any ideas what might be causing this? Thanks.

    zenking,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Connection failure error when generating Report model from datasource

    Hii all,
    I am getting error below when i am generating a Report Model from datasource from Report Manager ..
    Please help me why this error coming .. iam regenerating a Report Model but still error coming..
    Dilip Patil..

    Thanks for reply ..
    i got this at the end 
    semanticmodelgenerator!ReportServer_0-3!ab4!03/24/2015-18:31:22:: w WARN: Semantic Model Generator: MsSqlModelGenerator
    Warning Entity G38e91286-1910-4420-8afc-9858114a05a7 One of the IdentifyingAttributes.AttributeReference.AttributeID properties of the Entity "ALL DEPARTMENT GROWTH PROGRESS" references the Attribute "RID", which is a hidden Attribute. This
    property should reference a non-hidden Attribute.
    semanticmodelgenerator!ReportServer_0-3!ab4!03/24/2015-18:31:22:: w WARN: Semantic Model Generator: MsSqlModelGenerator
    Warning Entity G38e91286-1910-4420-8afc-9858114a05a7 One of the DefaultDetailAttributes.AttributeReference.AttributeID properties of the Entity "ALL DEPARTMENT GROWTH PROGRESS" references the Attribute "RID", which is a hidden Attribute.
    This property should reference a non-hidden Attribute.
    semanticmodelgenerator!ReportServer_0-3!ab4!03/24/2015-18:31:22:: w WARN: Semantic Model Generator: MsSqlModelGenerator
    Warning Entity G78dcea25-930f-4b1f-a80f-95afdef6136a One of the IdentifyingAttributes.AttributeReference.AttributeID properties of the Entity "FILE STAGE LOG" references the Attribute "FILE STAGE LOG ID", which is a hidden Attribute. This
    property should reference a non-hidden Attribute.
    semanticmodelgenerator!ReportServer_0-3!ab4!03/24/2015-18:31:22:: w WARN: Semantic Model Generator: MsSqlModelGenerator
    Warning Entity G78dcea25-930f-4b1f-a80f-95afdef6136a One of the DefaultDetailAttributes.AttributeReference.AttributeID properties of the Entity "FILE STAGE LOG" references the Attribute "FILE STAGE LOG ID", which is a hidden Attribute. This
    property should reference a non-hidden Attribute.
    semanticmodelgenerator!ReportServer_0-3!ab4!03/24/2015-18:31:22:: w WARN: Semantic Model Generator: MsSqlModelGenerator
    Warning Entity Ge9aa23a3-9a03-41e7-a233-86a71c7bc2da One of the IdentifyingAttributes.AttributeReference.AttributeID properties of the Entity "UPLOAD DOCUMENT UID" references the Attribute "UPLOAD DOC UID", which is a hidden Attribute. This
    property should reference a non-hidden Attribute.
    semanticmodelgenerator!ReportServer_0-3!ab4!03/24/2015-18:31:22:: w WARN: Semantic Model Generator: MsSqlModelGenerator
    Warning Entity Ge9aa23a3-9a03-41e7-a233-86a71c7bc2da One of the DefaultDetailAttributes.AttributeReference.AttributeID properties of the Entity "UPLOAD DOCUMENT UID" references the Attribute "UPLOAD DOC UID", which is a hidden Attribute.
    This property should reference a non-hidden Attribute.
    dont understand where it referncing the attributes
    Dilip Patil..

  • Error messages while generating reports

    I am using CR XI SP4 and i get the following message when generating reports:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unknown Database Connector Error
    Error in File D:\Temp\{67475350-F4E8-466A-B1E9-414965812A20}.rpt:
    Unknown Database Connector Error---- Error code:-2147482942 Error code name:failed
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException  (Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.t.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.z.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ak.if(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ad.int(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.bk.for(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.w.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.w.if(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setTableLocation(Unknown Source)
    In the RAS log file i see:
    ErrorLog 2009  7 21 17:45:16.188 732 3648 (\servers\ras\dtsagent\cdtsagent.cpp:3113): CDTSagent::doOneRequest reqId=250: CSResultException thrown.   ErrorSrc:"CRPE" FileName:"\servers\ras\dtsagent\reporthandler.cpp" LineNum:13209 ErrorCode:706 ErrorMsg:"Unknown Database Connector Error
    Error in File D:\Temp\{67475350-F4E8-466A-B1E9-414965812A20}.rpt: Unknown Database Connector Error"
    Any assistance would be appreciated
    Thanks

    hi,
    You are able to login in to application, Means your authentication is working.
    Open RPD in online mode and try to view data.
    Check your connection pool setting in General tab.
    Check you have selected appropriate Data Source Name, Call Interface.
    Thanks,
    Sainath Baludu.

  • When converting report to PDF, Russian characters appears as junk in adobe

    Dear all,
    When generating reports (ver 6.0.8.14.2) with Russain characters, after coverting the report to pdf, all the Russian characters appears as junk in the adobe acrobat reader. Please help how to resolve this issue.
    Note: Initially in the report I used arial font and the report runtime preview displayed all Russain characters as junk, but when I use the MS sans serif font all the russain characters appears properly in the reports runtime preview.
    Question: HOW TO DISPLAY RUSSIAN CHARACTERS PROPERLY IN PDF
    Regards
    Binu

    Hi Sriman.
    Thank you for the reply, but that does not solve my problem. I know that there is a size A4 210x297 mm, but i cannot use that as i have to use the other one only.
    It is very surprising, that i dont have that option in WAD while designing, but get that option when i execute the query.
    I guess i will have to post it to SAP, so they can create a note for this.

  • Error when generating the report in Production Server

    Hi,
    I have created one infoset query in Development server of my client. It is working fine there. I had transported the request containg this query to Production server. But whenever I am trying to generate report using this query in Production server it is giving an error message
    "Error when generating the report".
    I am not getting what 's problem.
    Samriddhi

    Samriddhi,
    Genarally its not suggested to transport Queries. Should be able to create Queries directly Production. There might be diferences between your Development and Production versions.
    Thanks.

  • Error when generating the report (see long text), Message no. AQ_AD_HOC221

    Hi All,
    I am facing a peculiar problem while executing an infoset query.I have created 2 customized fields Compa-ratio and PIR in infotype 0008 in an infoset.I have coded in these additional fields.
    When I execute a query using 1 of these customized fields the report is generated correctly.But when I put both the fields in the output the report shows an error "Error when generating the report (see long text)". The message# associated with this errAQ_AD_HOC221.
    I have also checked the data types and the references. Nothing seems to be wrong here.
    Does anybody has any clue about this ?
    Kajal

    Hi Bernd,
    I had a look at those notes. But the information provided did'nt prove to be helpful. I found out the problem. I was using the same local variable for both the fields in their code. This generated the error. This error is a very generic one and does'nt help in finding out what exactly is the problem.
    I changed the other local variable and it started working. When I was using the same variable that time I did'nt forget to clear the values but the query still generated the error.
    Anyways thanks a lot for the reply.
    Kajal

Maybe you are looking for

  • Problem with addRow and MultiLine Cell renderer

    Hi , Ive a problem with no solution to me ....... Ive seen in the forum and Ivent found an answer....... The problem is this: Ive a JTable with a custom model and I use a custom multiline cell renderer. (becuse in the real application "way" hasnt sta

  • How to "hack" a contact to simulate an email received without receiving it

    Hi everyone, This may come off as a weird question, but to explain briefly: in a lead nurturing campaign, contacts are being sent an email every 2-3 weeks, but every time they flow in the program, they pass through the decision rules *received first

  • I downloaded the latest version of itunes, now it will not open on my iMac

    I just downloaded the latest version of itunes, restarted my iMac, and now itunes will not open.. it bounces once in the dock,

  • I Love Freehand

    After working with Illustrator CS3 since it came out, I went back to Freehand MX to do a business form and was reminded how elegant and beautiful Freehand really is. The selection tool, editable round corners, guides on it's own layer, paste inside e

  • Custom Subtotals

    Hi there I am new to Crystal Reports and am struggling on my first report, so any help would be much appreciated. I have created a report with grouping levels. I have got my subtotals in for each group. I would however like to subtotal a field based