Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Isolating birt classes from web app
Isolating birt classes from web app [message #1008080] Fri, 08 February 2013 14:31 Go to next message
James Mising name is currently offline James Mising name
Messages: 26
Registered: November 2010
Junior Member
Good afternoon,

How would you recommend we isolate BIRT such the JARs for BIRT and its dependencies do not cause any class/package conflicts with those used for our application. We'd like for the BIRT classes to not be inadvertently accessible/usable for most of our app code.

For example: BIRT packages Rhino, which our application also uses. As the versions of these libraries are different, and as we need to use a specific version of the Rhino JAR which we've tested/certified, we need a way to ensure that BIRT uses its copy and we use our copy.

Using a different ClassLoader for all of the BIRT code seems to be a reasonable approach, but we're unsure how to do this. Can you offer any suggestions as to how we might go about it?

Thanks in advance!

Re: Isolating birt classes from web app [message #1008110 is a reply to message #1008080] Fri, 08 February 2013 22:46 Go to previous messageGo to next message
Michael Williams is currently offline Michael Williams
Messages: 1547
Registered: July 2009
Senior Member

What is your BIRT version? If 3.7.2+, what version of the runtime are you using?

Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Re: Isolating birt classes from web app [message #1008219 is a reply to message #1008110] Mon, 11 February 2013 09:37 Go to previous messageGo to next message
James Mising name is currently offline James Mising name
Messages: 26
Registered: November 2010
Junior Member
Our runtime is v 4.2.1
Re: Isolating birt classes from web app [message #1008250 is a reply to message #1008219] Mon, 11 February 2013 13:16 Go to previous messageGo to next message
Michael Williams is currently offline Michael Williams
Messages: 1547
Registered: July 2009
Senior Member

Sorry. I should have clarified. Are you using the OSGi or POJO runtime? If using the POJO, you might try switching to the OSGi.

Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Re: Isolating birt classes from web app [message #1008469 is a reply to message #1008250] Tue, 12 February 2013 10:53 Go to previous messageGo to next message
James Mising name is currently offline James Mising name
Messages: 26
Registered: November 2010
Junior Member
We're currently using the POJO runtime, but we're certainly willing to switch to the OSGi one. Can you perhaps provide a little more detail as to how using it might solve our issue? Just curious -- this is all a little exotic to us.

Thanks!
Re: Isolating birt classes from web app [message #1008510 is a reply to message #1008469] Tue, 12 February 2013 14:08 Go to previous message
Michael Williams is currently offline Michael Williams
Messages: 1547
Registered: July 2009
Senior Member

The OSGi runtime requires specific folders for jars and such, whereas with the POJO runtime, they just need to be in the classpath. So, with the POJO, if you have conflicting jars in your classpath, you could run into issues.

Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Previous Topic:Need Help Regarding Report
Next Topic:Data Source issue which is not picking dynamically
Goto Forum:
  


Current Time: Thu Jul 31 05:32:11 EDT 2014

Powered by FUDForum. Page generated in 0.01764 seconds