You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "David Bosschaert (JIRA)" <ji...@apache.org> on 2010/12/13 14:54:06 UTC

[jira] Commented: (DOSGI-69) CXF-DOSGi requires internet access when reading XML

    [ https://issues.apache.org/jira/browse/DOSGI-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970813#action_12970813 ] 

David Bosschaert commented on DOSGI-69:
---------------------------------------

Hi Julien,

It looks good, but the Single-Bundle system tests fail with an exception [1]. So there's probably some additional changes needed.

You can reproduce this by running:
  $ .../systests2/single-bundle> mvn install

Thanks, David

[1] java.lang.NoClassDefFoundError: org/springframework/asm/ClassVisitor
        at org.springframework.context.support.GenericApplicationContext.<init>(
GenericApplicationContext.java:103)
        at org.springframework.context.support.GenericXmlApplicationContext.<ini
t>(GenericXmlApplicationContext.java:47)
        at org.apache.cxf.dosgi.dsw.OsgiUtils.readIntentMap(OsgiUtils.java:409)
        at org.apache.cxf.dosgi.dsw.OsgiUtils.getIntentMap(OsgiUtils.java:382)
        at org.apache.cxf.dosgi.dsw.handlers.AbstractPojoConfigurationTypeHandle
r.getIntentMap(AbstractPojoConfigurationTypeHandler.java:182)
        at org.apache.cxf.dosgi.dsw.handlers.AbstractPojoConfigurationTypeHandle
r.mergeWithMaster(AbstractPojoConfigurationTypeHandler.java:210)
        at org.apache.cxf.dosgi.dsw.handlers.AbstractPojoConfigurationTypeHandle
r.applyIntents(AbstractPojoConfigurationTypeHandler.java:98)
        at org.apache.cxf.dosgi.dsw.handlers.PojoConfigurationTypeHandler.create
Server(PojoConfigurationTypeHandler.java:119)
        at org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminCore.exportService
(RemoteServiceAdminCore.java:244)
        at org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance$1.run(Rem
oteServiceAdminInstance.java:78)
        at org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance$1.run(Rem
oteServiceAdminInstance.java:71)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance.exportSer
vice(RemoteServiceAdminInstance.java:71)
        at org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance.exportSer
vice(RemoteServiceAdminInstance.java:40)
        at org.apache.cxf.dosgi.topologymanager.TopologyManager$2.run(TopologyMa
nager.java:254)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: org.springframework.asm.ClassVisito
r
        at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation
(ModuleImpl.java:738)
        at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:60)
        at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(Mod
uleImpl.java:1650)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        ... 18 more

> CXF-DOSGi requires internet access when reading XML
> ---------------------------------------------------
>
>                 Key: DOSGI-69
>                 URL: https://issues.apache.org/jira/browse/DOSGI-69
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>          Components: DSW
>    Affects Versions: 1.1
>            Reporter: David Bosschaert
>            Assignee: David Bosschaert
>         Attachments: dosgi69-withoutEmbeddedDependencies.patch, dosgi69.patch
>
>
> When the DOSGi system parses XML (such as an intent map or remote-services.xml file) it tries to resolve the used XML schema's from the internet, even though they are part of the distribution. This shouldn't be happening.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.