#1 2017-08-15 09:29:50

quintg
Member
Registered: 2016-10-19

Birt report not finding library

Hi, after reading all the documentation and related posts I still don't succeed in configuring a Birt report that uses items from a library.
When previewing in Birt Eclipse it looks fine. I uploaded the library file in the file system in resources/birt. In reportengines.cf I tried both :

id of the folder:
  <birt>
      <library>
         <folder>
           <id>409676</id>
         </folder>
      </library>
      <enable>true</enable>
   </birt>

path with closing slash:
  <birt>
      <library>
         <folder>
           <path>resources/birt/</pah>
         </folder>
      </library>
      <enable>true</enable>
   </birt>

and path without closing slash:
  <birt>
      <library>
         <folder>
           <path>resources/birt</pah>
         </folder>
      </library>
      <enable>true</enable>
   </birt>

But without luck: the titms from the library are not shown in pdf preview. In catalina.out I see this warning:  'WARN  n.d.r.b.s.r.FileServerServiceResourceLocator - Birt library folder not found'

I am using an admin account so permissions should be fine. I am using version 3.0.2 community edition.

Offline

#2 2017-08-15 09:54:36

quintg
Member
Registered: 2016-10-19

Re: Birt report not finding library

I made a typo in the post: <path>resources/birt</pah> should actually be: <path>resources/birt</path>

Offline

#3 2017-08-15 17:26:29

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Birt report not finding library

Hi quintg,

could you please send me a simple birt report using libraries and the libraries to info at infofabrik.de ?

Greets,
Eduardo

Offline

#4 2017-08-16 10:08:25

quintg
Member
Registered: 2016-10-19

Re: Birt report not finding library

Hi Eduardo,
I just sent you the files.
Regards, Gerard

Offline

#5 2017-08-17 14:25:57

Rodion
Member
Registered: 2017-05-17

Re: Birt report not finding library

Hello quintg,

If you update the path in your reportengines.cf from"<path>resources/birt</path>" to "<path>/resources/birt</path>" then it should work.

Hint :
be aware that you name the library in resources/birt in the same way as the extern library-file you created and binded.
And you have always reload the config at the RS-Terminal (command : "config reload") if you edit the config-file.

Greetings,
Rodion

Offline

#6 2017-08-18 07:24:44

quintg
Member
Registered: 2016-10-19

Re: Birt report not finding library

Thanks Rodion, that did the trick!
Regards Gerard.

Offline

Board footer

Powered by FluxBB