Birt logging [message #870527] |
Tue, 08 May 2012 10:36  |
Eclipse User |
|
|
|
So the newbie is trying to figure out how to get the Birt server going. Got everything setup right, because when I want to open a report:
http://localhost:8080/M2LicenseService/birt?__report=helloworld.rptdesig
I get a nice exception:
org.eclipse.birt.report.exception.ViewerException: The report file : C:\Documents and Settings\User\My Documents\m2license\server\trunk\source\service\src\main\webapp\birt\report/helloworld.rptdesig does not exist or contains errors.
Which is correct. It shows me the path where it is trying to load that report. So I created helloworld.rptdesign with only a label on it and typed the correct URL this time.
http://localhost:8080/M2LicenseService/birt?__report=helloworld.rptdesign
That response confused me, so I figured it would be good to see what is going on and added this to the web.xml.
<context-param>
<param-name>BIRT_VIEWER_LOG_DIR</param-name>
<param-value>/tmp/birtlog</param-value>
</context-param>
<context-param>
<param-name>BIRT_VIEWER_LOG_LEVEL</param-name>
<param-value>FINEST</param-value>
</context-param>
But nothing is written in that folder. Where are my logs going? The other settings (like BIRT_VIEWER_WORKING_FOLDER) are picked up.
Tom
|
|
|
|
|
|
|
|
|
|
Re: Birt logging [message #870912 is a reply to message #870864] |
Thu, 10 May 2012 04:54  |
Eclipse User |
|
|
|
On 2012-05-10 07:04, tbee wrote:
> On 2012-05-09 21:31, Jason Weathersby wrote:
>> I assume using the tag libraries is not acceptable for your app?
>
> Since I'm using Wicket, there are no JSP's. That is, I could use them, but it would be an mixing apples and oranges thing. The servlet is preferable. I'm going to work on Birt again today.
Ok, I've found the logging; apparently /tmp does not mean the filesystem's root, but somewhere in my project tree.
Seems I've got the servlets running as well. However, I'm finding the impact in my project somewhat severe; the need for axis, the requirement to roll in 70MB for the designer vs the sensitivity for the version (my eclipse plugins were 3.7.2, runtime 3.7.1, but it did not render, so I downloaded the 3.7.1 designer). The fact that some lock is blocking recompilation and I need to do clean builds and glassfish restarts every time.
I'm in doubt if I should continue. Maybe first I'm going to drop the viewer part and see how things fare with just the engine. I do like the power of the engine (based on my reading).
Tom
|
|
|
Powered by
FUDForum. Page generated in 0.11308 seconds