Skip to main content



      Home
Home » Archived » 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
Eclipse UserFriend
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
Eclipse UserFriend
What is your BIRT version? If 3.7.2+, what version of the runtime are you using?
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
Eclipse UserFriend
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
Eclipse UserFriend
Sorry. I should have clarified. Are you using the OSGi or POJO runtime? If using the POJO, you might try switching to the OSGi.
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
Eclipse UserFriend
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
Eclipse UserFriend
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.
Previous Topic:Need Help Regarding Report
Next Topic:Data Source issue which is not picking dynamically
Goto Forum:
  


Current Time: Thu Mar 20 15:22:41 EDT 2025

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

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

Back to the top