Hi Julien, You are right, this is a known problem (https://issues.apache.org/jira/browse/DOSGI-69) I think it's related to the XML parsing not being fully set up correctly as apparently it tries to go to the internet to resolve XML Schemas. Not what you want, especially given that these schemas are actually inside the CXF-DOSGi jar files.
I once spent an hour or so on this but couldn't find the problem and I know Marc has looked into it as well. It's somewhere deep in the Spring code that does the XML parsing... It should be possible to switch the Schema Loading to the local jar file... Maybe someone else who knows a bit more about Spring configuration would like to have a look? Patches are always welcome :) The purpose of the intent-map.xml is to configure high-level intents, like reliable messaging, or SOAP 1.2 (see the OSGi Remote Services spec chapter 13 for more details: http://www.osgi.org/Download/Release4V42). If your bundle doesn't contain an intent-map.xml file, it will use the default from CXF-DOSGi... Cheers, David On 5 May 2010 10:02, Julien Vey <[email protected]> wrote: > Hi all > > I have a "problem" that requires your help. > When I try with D-OSGI (in a basic configuration) to expose a remote > service, sometimes, it blocks for a few seconds to this : > > /Loading Intent map from [classpath:/OSGI-INF/cxf/intents/intent-map.xml] > > /then it works fine but the time spent here is not normal. > > What is the purpose of this intent-map.xml ? > Is it normal that it spends so much time here or is there a way to avoid it > (Maybe a configuration problem on my host) ? > > Thanks. > > Julien. > / > > / >
