Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » self written (web) viewer - where to put libs/runtime
self written (web) viewer - where to put libs/runtime [message #200932] Wed, 15 November 2006 09:41
Eclipse UserFriend
Originally posted by: xxx.yyy.com

I had written an own birt viewer, which runs in a web container (Tomcat). It
seems to work perfectly.
Now I had to consider where to put all the jars and OSGi runtime.
OK, I can put it into the war - the war file size increases 40MB. This would
be OK, if there is only one or a few webapps on a server, but I have a lot
(small) webapps running on one tomcat. So adding 40MB to each war is not a
good idea.

One solution I've tested, is to put the jars (found in ReportEngine/lib)
into tomcats shared/lib directory and the runtime itself somewhere in the
filesystem. Platform.startup() and shutdown() is called from a tomcat
lifecyclelistener. So the webapps itself must not call startup() and
shutdown(). The webapps get a birt engine and execute reports. So the OSGi
rumtime ist started only once. May I have problems e.g. by reloading,
un/deplyoing several webapps? If one birt engine crashes, are the other
webapps affected by this?

The second solution, I tried, is to put the jars for startup() into each
webapp (WEB-INF/lib). The webapps itselfes call startup() and shutdown(). So
each webapp starts its own OSGI runtime.

Which is the better solution?
Is it better to start one OSGi rumtime for each webapp? Or is the runtime so
stable, that a crash in one webapp's birt engine does not affect the birt
engine in a second webapp, if there is only one runtime for all webapps?

thx,
Gernot
Previous Topic:Oracle Stored Procedure that return Parameters of type TABLE in BIRT2.1
Next Topic:Accessing a value of a specific row
Goto Forum:
  


Current Time: Wed Jul 17 23:25:03 GMT 2024

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

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

Back to the top