2013/1/9 Christina Kaskoura <christina.kasko...@eurodyn.com>: > Hi Lukasz, > > Unfortunately the felix.jar contained in GlassFish does not include all the > classes included in the felix-related jars declared as dependencies of the > OSGi plugin. So if I exclude the felix main jar as you suggest I get the > following error during deployment: > > java.lang.Exception: java.lang.IllegalStateException: > ContainerBase.addChild: start: org.apache.catalina.LifecycleException: > java.lang.NoClassDefFoundError: org/apache/felix/main/Main > > I have also tried excluding the felix main jar and then manually including > some or all of its dependencies in the hope of finding a combination that > works but I haven't had any luck with that either.
This is a bit strange :\ Maybe GlassFish uses a different version of Felix container or the plugin based on too old version ;-) As I have very limited knowledge how OSGi works (I know the concept ;-) it would be nice to extend my it in that area :D I've tried upgrade Felix to the latest version (4.0.3) but there is lot of changes so the current version of plugin must be a bit adjusted. Anyway, could you register an issue targeting this and attach a sample Maven based demo application ? Adding a better OSGi support to Struts2 (and upcoming Struts3) would be awsome :-) Regards -- Ćukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org