Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » birt-viewer frameset SLOW(frameset loading is very slow in birt-viewer)
birt-viewer frameset SLOW [message #674432] Thu, 26 May 2011 21:53 Go to next message
Eclipse User is currently offline Eclipse User
Messages: 3
Registered: May 2011
Junior Member
Hi!

I'm facing a very strange issue while running the birt-viewer application in Tomcat 6/7 on Ubuntu 10.04 (AMD 64bit).

Rendering the very basic sample report (test.rptdesign) takes around 2 minutes, when I use the "frameset" URL:

/frameset?__report=test.rptdesign

It's very fast (< 1sec) rendering the same report with the "run" URL:

/frameset?__report=test.rptdesign

It seems, the problem is related to some component(s) in the frameset UI, but I don't see why. I tried Tomcat 6, Tomcat 7, several versions of the birt runtime,
different Java version (SUN, OpenJDK), but without any luck. It's always the same behaviour: the UI gets loaded up to a certain point, then it seems to hang. No
data is being transfered for up to 100 seconds and then suddenly the report appears. During this time, I can see no trace of activity (using top) on the Linux server.

I'm using birt since years and installed the birt-viewer in many different environments but never faced a similar issue. It's
driving me crazy!

Maybe someone here has some suggestion. Any ideas are welcome!

Oli
Re: birt-viewer frameset SLOW [message #674437 is a reply to message #674432] Thu, 26 May 2011 22:12 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Oli

After you run it initially, if you run it again does it take a long
time? Can you check the web-inf/platform/configuration directory? After
running do you have files in this directory other than the config.ini?

Jason

On 5/26/2011 5:53 PM, forums-noreply@eclipse.org wrote:
> Hi!
>
> I'm facing a very strange issue while running the birt-viewer
> application in Tomcat 6/7 on Ubuntu 10.04 (AMD 64bit).
>
> Rendering the very basic sample report (test.rptdesign) takes around 2
> minutes, when I use the "frameset" URL:
>
> /frameset?__report=test.rptdesign
>
> It's very fast (< 1sec) rendering the same report with the "run" URL:
>
> /frameset?__report=test.rptdesign
>
> It seems, the problem is related to some component(s) in the frameset
> UI, but I don't see why. I tried Tomcat 6, Tomcat 7, several versions of
> the birt runtime, different Java version (SUN, OpenJDK), but without any
> luck. It's always the same behaviour: the UI gets loaded up to a certain
> point, then it seems to hang. No data is being transfered for up to 100
> seconds and then suddenly the report appears. During this time, I can
> see no trace of activity (using top) on the Linux server.
>
> I'm using birt since years and installed the birt-viewer in many
> different environments but never faced a similar issue. It's
> driving me crazy!
>
> Maybe someone here has some suggestion. Any ideas are welcome!
>
> Oli
Re: birt-viewer frameset SLOW [message #674487 is a reply to message #674437] Fri, 27 May 2011 06:33 Go to previous messageGo to next message
Eclipse User is currently offline Eclipse User
Messages: 3
Registered: May 2011
Junior Member
Jason

I have these files in the configuration directory:

/usr/local/tomcat7/webapps/birt/WEB-INF/platform/configuration# ls -l
total 20
-rw-r--r-- 1 root root  297 2010-02-22 16:37 config.ini
drwxr-xr-x 3 root root 4096 2011-05-26 23:11 org.eclipse.core.runtime
drwxr-xr-x 3 root root 4096 2011-05-26 23:10 org.eclipse.equinox.app
drwxr-xr-x 4 root root 4096 2011-05-27 00:03 org.eclipse.osgi
drwxr-xr-x 3 root root 4096 2011-05-27 00:03 org.eclipse.update

Loading takes a long time on every run, not just the first one.

Oli
Re: birt-viewer frameset SLOW [message #675131 is a reply to message #674487] Mon, 30 May 2011 11:36 Go to previous messageGo to next message
Eclipse User is currently offline Eclipse User
Messages: 3
Registered: May 2011
Junior Member
After doing some testing, my best guess is, that this problem somehow relates to a network issue. Some component in the birt viewer might do a network operation (name resolution etc.), that blocks processing and finaly fails after a certain timeout. This could be due to some firewall restriction or even a missconfiguration on network level.

Does that make sense? Is there any component in the birt viewer frameset, that connects to the outside network when opening a report?

Oli
Re: birt-viewer frameset SLOW [message #675447 is a reply to message #675131] Tue, 31 May 2011 14:42 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

The viewer AJAX code used in the /frameset mapping uses web services to
connect back to the server, but it should not be connecting outside.

Jason

On 5/30/2011 7:36 AM, forums-noreply@eclipse.org wrote:
> After doing some testing, my best guess is, that this problem somehow
> relates to a network issue. Some component in the birt viewer might do a
> network operation (name resolution etc.), that blocks processing and
> finaly fails after a certain timeout. This could be due to some firewall
> restriction or even a missconfiguration on network level.
>
> Does that make sense? Is there any component in the birt viewer
> frameset, that connects to the outside network when opening a report?
>
> Oli
Previous Topic:Bar chart x-axis labels changed to letters after upgrade
Next Topic:Bar chart: show only part of picture
Goto Forum:
  


Current Time: Fri Oct 31 07:04:16 GMT 2014

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

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