> {quote:title=Guest wrote:}{quote}
> Hello friends.
> 
>  
> 
> I found the blocker bug.
> 
> I work with Nuxeo Remouting. My web-app uses Spring for web. I tried to
> attach Nuxeo Remouting to my app but if I initialize Nuxeo runtime, Spring
> can't see classes in web-inf/classes!
> 
> I found, that when Nuxeo is initializes it replaces default ClassLoaders!!!
> 
> There are 5 java classes, where it is happens. But only in one class
> developer returns default classloader in the finally section.
>
Hi Alexander,
There is indeed a bug in  org.nuxeo.ecm.core.schema.TypeService. 
The original class loader were not restored at method exit. I fixed it. 
Can you try now to see if it is working?

The other classes are not a problem because they restore the original class 
loader in a try { } finally { ... } block

> Classes:
> 
> org.nuxeo.ecm.core.schema.TypeService
> 
> org.nuxeo.runtime.jboss.adapter.deployment.XMLComponentDeployer
> 
> org.nuxeo.runtime.jboss.osgi.JBossOSGiAdapter
> 
> org.nuxeo.runtime.launcher.RuntimeLoader
> 
> org.nuxeo.runtime.launcher.StandaloneBundleLoader
> 
>  
> 
> (see Thread.currentThread().setContextClassLoader() methods).
> 
>  
> 
> Alexander
> 
> [att1.html]
>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to