Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Problem commons-logging and birt(class loader problem)
Problem commons-logging and birt [message #1012406] Thu, 21 February 2013 09:04 Go to next message
nasreddine skandrani is currently offline nasreddine skandrani
Messages: 1
Registered: February 2013
Junior Member
Hi!
I have a tomcat server with my webapp.
In my tomcat/lib, i have a "commons-logging-1.0.4.jar".
And i upgrade birt from v2.5 to v3.7. Now, i am having this error:

HTTP Status 500 - An internal error occurred: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.) 


Did some one see that problem by using Birt?
Re: Problem commons-logging and birt [message #1012602 is a reply to message #1012406] Thu, 21 February 2013 16:37 Go to previous message
Michael Williams is currently offline Michael Williams
Messages: 1560
Registered: July 2009
Senior Member

It's because 3.7 made the move to a POJO runtime. You could try deleting the version that is in BIRT and see if you run into any issues. BIRT should pick up the other version in the classpath. If you have issues with something not working properly, after this, there is an option in 3.7.2+ to use the OSGi runtime, which is like the one back in 2.5. This would solve the issue, for sure.

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:It is possible to duplicate the current feature of report viewer using GWT
Next Topic:Skip level in TOC tree???
Goto Forum:
  


Current Time: Thu Aug 21 14:04:23 EDT 2014

Powered by FUDForum. Page generated in 0.02532 seconds