WAR-file deployment / how to access reportdesignfiles

SandroSandro Junior Member
Hello



I have problem when I try do deploy my reporting application in a WAR-file on a TomCat-server.



If I deploy my application in a WAR-file the method

design = birtReportEngine.openReportDesign(sc.getRealPath("/Reports") + "/" + reportName);



Thows an exception that says:



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]





But if I extract the WAR-File and deploy the files “normal” everything works fine.



Until now I haven’t found an solution for this problem.



My Reports are in the WAR-File in a folder named “Reports”.



I have set BIRTHome to “” like I read it that you should do this for deploying BIRT in a WAR-file.



Can anybody tell me how I can access the Reports in de WAR-file when I deploy my application this way?



Greetings

Comments

Sign In or Register to comment.