[JBoss JIRA] Created: (JBOSGI-211) Cannot run Microcontainer, Blueprint example on Equinox
by Thomas Diesler (JIRA)
Cannot run Microcontainer, Blueprint example on Equinox
-------------------------------------------------------
Key: JBOSGI-211
URL: https://jira.jboss.org/jira/browse/JBOSGI-211
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Integration (Equinox)
Reporter: Thomas Diesler
Fix For: JBossOSGi 1.0.x
java.lang.ClassCastException: org.jboss.osgi.microcontainer.internal.MicrocontainerDeployerServiceImpl cannot be cast to org.jboss.osgi.deployment.deployer.DeployerService
at org.jboss.osgi.testing.internal.EmbeddedRuntime.installBundle(EmbeddedRuntime.java:80)
at org.jboss.test.osgi.example.microcontainer.MicrocontainerTestCase.setUpClass(MicrocontainerTestCase.java:61)
This only happens when all the examples are run together. Individual test runs succeed with equinox-3.5.1
--
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
15 years, 7 months
[JBoss JIRA] Created: (JBOSGI-300) Felix integration breaks jbossas/trunk bootstrap
by Thomas Diesler (JIRA)
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...
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
15 years, 7 months
[JBoss JIRA] Created: (JBOSGI-297) OSGiBootstrapBean spinning on System.in read
by Scott M Stark (JIRA)
OSGiBootstrapBean spinning on System.in read
--------------------------------------------
Key: JBOSGI-297
URL: https://jira.jboss.org/jira/browse/JBOSGI-297
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Core Framework
Affects Versions: JBossOSGi 1.0.0 Beta6
Environment: Mac OSX 10.5.8
[523][valkyrie: trunk]$ java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-9M3125)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)
Reporter: Scott M Stark
At least under OSX, I'm seeing the default runtime configuration spinning in a loop reading the System.in stream:
"Thread-2" prio=5 tid=0x0000000101955000 nid=0x13a6f9000 runnable [0x000000013a6f8000]
java.lang.Thread.State: RUNNABLE
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:199)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
- locked <0x0000000107aaf788> (a java.io.BufferedInputStream)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
- locked <0x0000000108289d20> (a java.io.InputStreamReader)
at sun.nio.cs.StreamDecoder.read0(StreamDecoder.java:107)
- locked <0x0000000108289d20> (a java.io.InputStreamReader)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:93)
at java.io.InputStreamReader.read(InputStreamReader.java:151)
at org.jboss.osgi.spi.internal.OSGiBootstrapBean$StartupThread.run(OSGiBootstrapBean.java:205)
This is a busy loop consuming 100% cpu.
--
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
15 years, 8 months