WAR-file deployment / how to access reportdesignfiles
Options
Hello<br />
<br />
I have problem when I try do deploy my reporting application in a WAR-file on a TomCat-server.<br />
<br />
If I deploy my application in a WAR-file the method<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>design = birtReportEngine.openReportDesign(sc.getRealPath("/Reports") + "/" + reportName);</pre>
<br />
Thows an exception that says:<br />
<br />
30 Okt 2009 08:58:43,437 ERROR org.eclipse.birt.report.engine.api.EngineException: The design file null/anfragen_1.rptdesign can not be found. [http-8080-Processor20]<br />
<br />
<br />
But if I extract the WAR-File and deploy the files “normal” everything works fine.<br />
<br />
Until now I haven’t found an solution for this problem.<br />
<br />
My Reports are in the WAR-File in a folder named “Reports”.<br />
<br />
I have set BIRTHome to “” like I read it that you should do this for deploying BIRT in a WAR-file.<br />
<br />
Can anybody tell me how I can access the Reports in de WAR-file when I deploy my application this way?<br />
<br />
Greetings
<br />
I have problem when I try do deploy my reporting application in a WAR-file on a TomCat-server.<br />
<br />
If I deploy my application in a WAR-file the method<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>design = birtReportEngine.openReportDesign(sc.getRealPath("/Reports") + "/" + reportName);</pre>
<br />
Thows an exception that says:<br />
<br />
30 Okt 2009 08:58:43,437 ERROR org.eclipse.birt.report.engine.api.EngineException: The design file null/anfragen_1.rptdesign can not be found. [http-8080-Processor20]<br />
<br />
<br />
But if I extract the WAR-File and deploy the files “normal” everything works fine.<br />
<br />
Until now I haven’t found an solution for this problem.<br />
<br />
My Reports are in the WAR-File in a folder named “Reports”.<br />
<br />
I have set BIRTHome to “” like I read it that you should do this for deploying BIRT in a WAR-file.<br />
<br />
Can anybody tell me how I can access the Reports in de WAR-file when I deploy my application this way?<br />
<br />
Greetings
0
Comments
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 102 General Questions
- 123 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 898 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 124 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax