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 it is where the Action Bean
package reside). I know that class loaders are modified by the OSGi container.
Maybe it is not possible.
thanks
> Le 3 nov. 2015 à 10:14, VANKEISBELCK Remi <[email protected]> a écrit :
>
> 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...
>
> How is your app packaged (ie where are the action bean classes) ?
> What app server are you using ?
>
> Cheers
>
> Rémi
>
>
> 2015-11-02 20:27 GMT+01:00 Yann Bourdeau <[email protected]
> <mailto:[email protected]>>:
> Hi All,
>
> I’m trying to create a bundle in OSGi (Karaf 3,.0.3) of a Stripes
> application. I’m not too much familiar with OSGi but i’m familiar with
> Stripes. I’m trying to run the calculator sample and everything is working
> fine except for the scanning of the action beans. The action bean do not
> seems to be found when scanned at the startup. Do I need to do something
> special to the package that contains the action beans. Like exporting it? Any
> help is welcome.
>
> thanks in advance.
>
> Yann Bourdeau, M.Ing.
> Senior Software Developer
> 438-499-4607 <tel:438-499-4607>
> [email protected] <mailto:[email protected]>
>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/stripes-users
> <https://lists.sourceforge.net/lists/listinfo/stripes-users>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
Yann Bourdeau, M.Ing.
Senior Software Developer
438-499-4607
[email protected]
------------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users