[
https://jira.jboss.org/jira/browse/JBOSGI-297?page=com.atlassian.jira.plu...
]
Thomas Diesler resolved JBOSGI-297.
-----------------------------------
Fix Version/s: (was: JBossOSGi 1.0.0 Beta7)
Resolution: Cannot Reproduce Bug
Sorry, can't reproduce
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
Assignee: Thomas Diesler
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