Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » problem with exported library on design engine
problem with exported library on design engine [message #259704] Fri, 26 October 2007 23:55
Eclipse UserFriend
Originally posted by: xpanto00-birt.yahoo.com

Hi
i'm usign embeeded birt in my application. i created a report with a
exported datasource from a library. this report is modified and performed
at runtime, but i'm getting an exception caused by the library: its not
finding it.

i tried the solution for others: set the resource path when getting a new
SessionHandle: session.setResourceFolder(), doing this:
1)setting the BIRT_RESOURCE_PATH only (please look at the web.xml
section), tried this because BIRT_VIEWER_WORKING_FOLDER works nice for
other options.
2)since the first option didn't work, i tried with a full path.
None of this worked for me

When i start the birt engine, i do it on my root app.

here's my web.xml conf:
<context-param>
<param-name>BIRT_VIEWER_WORKING_FOLDER</param-name>
<param-value>/birt</param-value>
</context-param>
<context-param>
<param-name>BIRT_RESOURCE_PATH</param-name>
<param-value>/library</param-value>
</context-param>

i noticed that when designing the report birt puts this path:
WebRoot/birt/library/lib.rptlibrary
where WebRoot is my root folder in my eclipse project

this shouldn't be trouble, because for a css it simply works when running
the report, i even have changed the css at runtime and it's ok (heres what
birt puts for my linked css: WebRoot/birt/css/blue.css)

so i don't understand why, when the report is beeing performed (using a
simple jsp with taglibs), the library silently crashes with this:
[org.eclipse.birt.report.model.parser.DesignParserException: The file
"WebRoot/birt/library/lib.rptlibrary" is not found.] (found it out with
the design.getAllLibraries() method), which causes that my report has no
connection to the db.

here's what i see so far, i'm i missing something?

thanks
Jonathan
Previous Topic:Reusing data
Next Topic:Dynamic Cross Tab
Goto Forum:
  


Current Time: Sat Oct 19 08:53:56 GMT 2024

Powered by FUDForum. Page generated in 0.02976 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top