cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien Vey <Julien....@bull.net>
Subject Re: DOSGI problem when "Loading Intent map from [classpath:/OSGI-INF/cxf/intents/intent-map.xml]"
Date Fri, 07 May 2010 14:52:38 GMT
Hi David,

I had not set my proxy configuration in the jvm options, so it spent 
much time trying to resolve the schema from the internet. Now it's a 
little better.

Thanks for your answers.

Julien
> 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<Julien.Vey@bull.net>  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.
>> /
>>
>> /
>>
>>      
>
>    


Mime
View raw message