The long and the short is that you should probably take a look at the 1.5 beta instead of 1.4.3. The way we scanned for classes in 1.4.3 was heavily dependent on finding a URLClassLoader to work with. The code in 1.5 is much more friendly to other class loaders and should work in a lot of environments where 1.4.3 failed with this type of issue. Sorry if that's not the answer you were looking for,
-t On Apr 23, 2008, at 3:22 PM, thorsten maus wrote: > > Hi there .. running into some problems migrating stripes to equinox. > > I was able to port the stripes 1.4.3 to an osgi bundle and started it. > > The following problem should provide an idea on the problem Im facing: > > [Start Level Event Dispatcher] ERROR > net.sourceforge.stripes.util.ResolverUtil - The current ClassLoader > is not castable to a URLClassLoader. ClassLoader is of type > [org.ops4j.pax.swissbox.core.BundleClassLoader]. Cannot scan > ClassLoader for implementations of java.lang.Class. When this is > the case you *must* put your ActionBean classes in either /WEB-INF/ > classes or in a jar in /WEB-INF/lib for Stripes to find them. > [Start Level Event Dispatcher] INFO > net.sourceforge.stripes.util.ResolverUtil - Checking for classes > in /WEB-INF/classes using ServletContext resources. > [ > > As my stripes classes are part of an bundles instead of a war file, > I will not be able to put them into something like /WEB-INF/clases > as this folder is not existent. > > Besides the fact that classloading and osgi rather often causes > issues, is there a way for me to change the default classloader of > my stripes application ? > > thanks in advance > > > > > > ______________________________________________________________________ > ______________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. http:// > mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save > $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http:// > java.sun.com/javaone > _______________________________________________ > Stripes-users mailing list > Stripes-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/stripes-users ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users