Re: [Stripes-users] OSGi + Stripes

2015-11-03 Thread VANKEISBELCK Remi
Hi Yann, Stripes's classpath scanning has its ways. It does several tricks in order to try to find the classes in the "CLASSPATH", but this is off the Java spec, and therefore not guaranteed to work correctly everywhere. It depends a lot on the environment that creates the app's class loaders...

Re: [Stripes-users] OSGi + Stripes

2015-11-03 Thread Yann Bourdeau
Hi Remi, Thanks for replying. I use Apache Karaf 3.0.3 on top of Apache Felix. I use the felix maven bundle creator in Maven. I have exported the package the contains the Action Bean. I have modified the class path ton include WEB-INF/classes (where if i’m not mistaken

Re: [Stripes-users] OSGi + Stripes

2015-11-03 Thread Alessio Stalla
I'm not an OSGi guru, but I don't think you can deploy a war like that. You should not have to modify the class path. You should use a container, or install the appropriate bundles into yours, that can deploy web applications (like ServiceMix for example; "Pax Web" is the keyword to search for).

Re: [Stripes-users] OSGi + Stripes

2015-11-03 Thread VANKEISBELCK Remi
I have absolutely zero knowledge of those OSGI servers, but as soon as they manage class (re)loading etc, I guess that Stripes "Virtual File System" gets confused. This is one of the major issues today with Stripes IMHO, the VFS. We already have regular JEE servers that we don't support, so I