I have solved the problem. When desinging the report I insert the data
source with drag and drop from the Libray Explorer to the report desgin.
In the XML source of the report I got:
<list-property name="libraries">
<structure>
<property
name="fileName">WebContent/reports/my.rptlibrary</property>
<property name="namespace">My</property>
</structure>
</list-property>
The property fileName is OK when I work on the local filesystem.
As a webapp the lib is located on the root path directly.
I changed the fileName property to "reports/my.rptlibrary" and it works
now.
But is there an other (better) solution?
Juergen Leeb wrote:
Hi Jason,
If you are using the api you can set the resource folder using the
EngineConfig class, but if the lib is in the same directory it should be
I tried EngineConfig.setResourcePath("/reports"), already.
finding it. Do you have your jdbc driver for your database in the
drivers directory of the jdbc plugin?
The jdbc driver is in