Okay. This one is solved. The problem arose because I packaged the jollyday jar file into the OSGi bundle and set the classpath of the bundle accordingly. This is cute because you can supply your bundle with all needed libraries. For other libraries this worked alright. But jollyday caused problems on subsequent reloads of the same bundle (stop/start). So the solution was to repackage and deploy the jollyday jar as a bundle to the OSGi container and load the classes from the OSGi containers classloader....
Just noticed that this seems to be related to this topic but there is no statement how the workaround was made.
Hi all. I have used jollyday before in other projects and first wanted thank anyone involved for this great library. Currently I develop a new software as bundle within a running OSGi environment. This is a third-party commercial implementation (not equinox). No when the bundle gets redeployed I face classloading errors like the following: Caused by: java.lang.IllegalStateException: Cannot create parsers. at de.jollyday.impl.DefaultHolidayManager.getParsers(DefaultHolidayManager.java:190) at de.jollyday.impl.DefaultHolidayManager.parseHolidays(DefaultHolidayManager.java:151)...