[jboss-osgi-issues] [JBoss JIRA] Resolved: (JBOSGI-300) Felix integration breaks jbossas/trunk bootstrap

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Tue Mar 30 11:33:38 EDT 2010


     [ https://jira.jboss.org/jira/browse/JBOSGI-300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Diesler resolved JBOSGI-300.
-----------------------------------

    Resolution: Done


Done

> Felix integration breaks jbossas/trunk bootstrap
> ------------------------------------------------
>
>                 Key: JBOSGI-300
>                 URL: https://jira.jboss.org/jira/browse/JBOSGI-300
>             Project: JBoss OSGi
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Integration (Felix)
>            Reporter: Thomas Diesler
>            Assignee: Thomas Diesler
>             Fix For: JBossOSGi 1.0.0 Beta7
>
>
> The Felix OSGi Framework registers URLHandlers
> http://svn.apache.org/repos/asf/felix/releases/org.apache.felix.framework-2.0.4/src/main/java/org/apache/felix/framework/URLHandlers.java
> If it does so all access to file resources breaks and you should see
> 14:00:38,361 INFO [FelixIntegration] JBossOSGi Felix - 2.0.2.SP1-SNAPSHOT
> 14:01:52,483 WARN [JBossEntityResolver] Trying to resolve systemId as a non-file URL: http://java.sun.com/dtd/web-app_2_3.dtd
> 14:02:00,703 WARN [JBossEntityResolver] Trying to resolve systemId as a non-file URL: http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd
> 14:02:01,190 WARN [JBossEntityResolver] Trying to resolve systemId as a non-file URL: http://www.jboss.org/j2ee/dtd/service-ref_5_0.dtd
> 14:02:03,064 WARN [JBossEntityResolver] Cannot load systemId from resource: connector_1_5.xsd
> 14:02:03,065 WARN [JBossEntityResolver] Trying to resolve systemId as a non-file URL: http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd
> 14:02:04,243 WARN [JBossEntityResolver] Cannot load systemId from resource: j2ee_1_4.xsd
> 14:02:04,245 WARN [JBossEntityResolver] Trying to resolve systemId as a non-file URL: http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd
> 14:02:05,411 WARN [JBossEntityResolver] Cannot load systemId from resource: xml.xsd
> Later there are also various classloading issues.
> The URLHandlers can be disabled like this
>         <entry><key>felix.service.urlhandlers</key><value>false</value></entry>
> However then, you'll see a variation of [JBVFS-142]
> Caused by: java.lang.NullPointerException
> at org.jboss.vfs.VirtualJarInputStream.read(VirtualJarInputStream.java:149)
> at org.jboss.vfs.VirtualJarInputStream.read(VirtualJarInputStream.java:142)
> at org.apache.felix.framework.cache.BundleCache.copyStreamToFile(BundleCache.java:254)
> at org.apache.felix.framework.cache.JarRevision.initialize(JarRevision.java:167)
> at org.apache.felix.framework.cache.JarRevision.<init>(JarRevision.java:80)
> at org.apache.felix.framework.cache.JarRevision.<init>(JarRevision.java:58)
> at org.apache.felix.framework.cache.BundleArchive.createRevisionFromLocation(BundleArchive.java:1020)
> at org.apache.felix.framework.cache.BundleArchive.revise(BundleArchive.java:631)
> at org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.java:147)
> at org.apache.felix.framework.cache.BundleCache.create(BundleCache.java:176)
> at org.apache.felix.framework.Felix.installBundle(Felix.java:2317)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-osgi-issues mailing list