I have a similar problem about intent map. 
Once I tried to run Spring DM demo with karaf 1.4 but I've faced with the
same problem. 
http://old.nabble.com/DOSGI-Spring-DM-demo-not-working-either-with-multi-bundle-or-single-bundle-distro-ts28287633.html

And there is a jira issue about it:
https://issues.apache.org/jira/browse/DOSGI-71

Now I'm trying to run Spring DM demo with kernel 1.1 which leads me to the
same problem.
Logs of the related issue:
2010-05-06 15:31:36,398 | INFO  | pool-5-thread-1  |
PojoConfigurationTypeHandler  | dosgi.dsw.hooks.ServiceHookUtils   86 |
Using a default address :
http://localhost:9000/com/aspone/trh/springdmdemo/ExampleService
2010-05-06 15:31:36,398 | INFO  | pool-5-thread-1  |
PojoConfigurationTypeHandler | dosgi.dsw.hooks.ServiceHookUtils   86 |
Creating a com.aspone.trh.springdmdemo.ExampleService endpoint from CXF
PublishHook, address is
http://localhost:9000/com/aspone/trh/springdmdemo/ExampleService
2010-05-06 15:31:36,430 | INFO  | pool-5-thread-1  | OsgiUtils |
ractPojoConfigurationTypeHandler  186 | Could not find intent map file
/OSGI-INF/cxf/intents/intent-map.xml
2010-05-06 15:31:36,430 | INFO  | pool-5-thread-1  | IntentMap |
g.apache.cxf.dosgi.dsw.OsgiUtils  402 | Injected intents: {}
2010-05-06 15:31:37,445 | WARN  | pool-5-thread-1  | OsgiUtils |
ractPojoConfigurationTypeHandler  186 | Intent map load failed: 

Fyi,
Ilker


David Bosschaert wrote:
> 
> 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.
>> /
>>
>> /
>>
> 
> 

-- 
View this message in context: 
http://old.nabble.com/DOSGI-problem-when-%22Loading-Intent-map-from--classpath%3A-OSGI-INF-cxf-intents-intent-map.xml-%22-tp28458388p28473163.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to