Hi >From jsf side, Spring DM set the context classloader and allows to Thread.getCurrentThread().getContextClassLoader() to work. Note in OSGi, trying to locate a class through the context classloader could cause a ClassNotFoundException, and use the BundleClassLoader through jsfclass.class.getClassLoader() is not right in cases like the one found in javax.faces.FactoryFinder.
regards, Leonardo Uribe 2010/3/15 Werner Punz <werner.p...@gmail.com> > Am 15.03.10 12:19, schrieb arnold4sho: > > Thanks for your effort. Would it be advisable for me to use Spring DM >> instead of deploying a jetty web container into osgi, like i was trying to >> do? If Spring provides the better solution then i would gladly use Spring >> DM >> for it. >> >> It is definitely advisable because you might run into issues on the JPA > side was well, due to the javaagent class recompilation jpa does. > As far as I know there are some issues regarding class weaving which the > spring people apparently have solved. > > >