Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Isolating birt classes from web app
Isolating birt classes from web app [message #1008080] Fri, 08 February 2013 19:31 Go to next message
James Mising name is currently offline James Mising nameFriend
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] Sat, 09 February 2013 03:46 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

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

Michael

Developer Evangelist, Silanis
Re: Isolating birt classes from web app [message #1008219 is a reply to message #1008110] Mon, 11 February 2013 14:37 Go to previous messageGo to next message
James Mising name is currently offline James Mising nameFriend
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 18:16 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
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

Developer Evangelist, Silanis
Re: Isolating birt classes from web app [message #1008469 is a reply to message #1008250] Tue, 12 February 2013 15:53 Go to previous messageGo to next message
James Mising name is currently offline James Mising nameFriend
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 19:08 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
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

Developer Evangelist, Silanis
Previous Topic:Need Help Regarding Report
Next Topic:Data Source issue which is not picking dynamically
Goto Forum:
  


Current Time: Fri Apr 19 20:37:35 GMT 2024

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

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

Back to the top