Hi !

I've a really strange problem and I need some help.

I've got two OSGI bundle, one with some Xsd, and the second with a camel
route using this xsd.

This xsd file is in a package exported by the first bundle, and imported by
the second.

And my xsd is importing another xsd, in another package, which is correctly
importer / exported.

This xsd is used like this : <to
uri="validator:classpath:/my/package/grammar.xsd"/>

All of this works well on my computer (with apache servicemix 4.4.1 on
windows).

But when I deploy these bundles on my dev plateform, (version 4.5.1 or the
fuse-esb 7.0.1 on debian) i've got this error :

Caused by: org.apache.camel.RuntimeCamelException:
java.io.FileNotFoundException: Cannot find resource in classpath for URI:
/my/package/../package2/grammar2.xsd

And a third bundle doing the same validation get a "content not allowed in
prolog error" on the dev plateform, and is working in local.

Can anyone tell me how this can happen ? It seems that my VM on the
plateform is messing it up but i can't understand how ...

Regards, 





--
View this message in context: 
http://servicemix.396122.n5.nabble.com/XML-resources-management-tp5719303.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to