[
https://jira.jboss.org/jira/browse/JBOSGI-297?page=com.atlassian.jira.plu...
]
Thomas Diesler edited comment on JBOSGI-297 at 3/5/10 5:18 AM:
---------------------------------------------------------------
My wife says:
OSX 10.5.8
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03-226)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-92, mixed mode)
jboss-osgi-1.0.0.Beta6 $ cd runtime/
runtime $ bin/run.sh
=========================================================================
JBossOSGi Bootstrap Environment
OSGI_HOME: /Users/dorothea/jboss-osgi-1.0.0.Beta6/runtime
JAVA: java
JAVA_OPTS: -Dprogram.name=run.sh
-Dosgi.home=/Users/dorothea/jboss-osgi-1.0.0.Beta6/runtime -Xms128m -Xmx512m
-XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000
=========================================================================
11:07:55,304 INFO [OSGiBundleManager] JBossOSGi Core Framework - 1.0.0.Alpha3
11:07:55,350 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=1
classes=[org.osgi.service.startlevel.StartLevel]}
11:07:55,358 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=2
classes=[org.jboss.osgi.spi.service.MicrocontainerService]}
11:07:55,421 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=3
classes=[org.jboss.osgi.deployment.interceptor.LifecycleInterceptorService]}
11:07:55,424 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=4
classes=[org.osgi.service.packageadmin.PackageAdmin]}
11:07:55,492 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=5
classes=[org.jboss.osgi.deployment.deployer.DeploymentRegistryService]}
11:07:55,497 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=6
classes=[org.jboss.osgi.deployment.deployer.DeployerService]}
11:07:55,500 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=7
classes=[org.jboss.osgi.deployment.interceptor.LifecycleInterceptor]}
11:07:55,563 INFO [VFSCacheFactory] Using VFSCache [NoopVFSCache]
11:07:55,693 INFO [CopyMechanism] VFS temp dir:
/var/folders/am/am8aSON0E58GOccAiSHJ5E+++TI/-Tmp-
11:07:57,171 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=8
classes=[org.osgi.service.log.LogService]}
11:07:57,183 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=9
classes=[org.osgi.service.log.LogReaderService]}
11:07:57,221 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=10
classes=[org.jboss.osgi.common.log.LoggingService]}
11:07:57,299 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=11
classes=[org.jboss.osgi.hotdeploy.DeploymentScannerService]}
11:07:57,300 INFO [DeploymentScannerImpl] Start DeploymentScanner:
[scandir=.../server/default/deploy,interval=2000ms]
11:07:57,304 INFO [FrameworkEventsPluginImpl] Bundle STARTED:
Bundle{system.bundle-0.0.0}
11:07:57,314 INFO [OSGiBootstrapBean] JBossOSGi Runtime booted in 2.01sec
11:07:57,361 INFO [FrameworkEventsPluginImpl] Framwork STARTED
11:07:57,996 INFO [FrameworkEventsPluginImpl] Bundle INSTALLED:
Bundle{jboss-osgi-common-core-2.2.13.GA}
11:07:58,011 INFO [FrameworkEventsPluginImpl] Bundle INSTALLED:
Bundle{jboss-osgi-jmx-1.0.3}
11:07:58,038 INFO [FrameworkEventsPluginImpl] Bundle INSTALLED:
Bundle{jboss-osgi-jndi-1.0.2}
11:07:58,050 INFO [FrameworkEventsPluginImpl] Bundle INSTALLED:
Bundle{org.apache.felix.eventadmin-1.0.0}
11:07:58,265 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=12
classes=[javax.management.MBeanServer]}
11:07:58,340 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=13
classes=[org.jboss.osgi.spi.management.ManagedFramework]}
11:07:58,403 INFO [FrameworkEventsPluginImpl] Bundle STARTED:
Bundle{jboss-osgi-jmx-1.0.3}
11:07:58,418 INFO [FrameworkEventsPluginImpl] Bundle STARTED:
Bundle{jboss-osgi-common-core-2.2.13.GA}
DEBUG: EventAdmin: org.apache.felix.eventadmin.CacheSize=30
DEBUG: EventAdmin: org.apache.felix.eventadmin.ThreadPoolSize=10
DEBUG: EventAdmin: org.apache.felix.eventadmin.Timeout=5000
DEBUG: EventAdmin: org.apache.felix.eventadmin.RequireTopic=true
11:07:58,608 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=14
classes=[org.osgi.service.event.EventAdmin]}
11:07:58,635 INFO [FrameworkEventsPluginImpl] Bundle STARTED:
Bundle{org.apache.felix.eventadmin-1.0.0}
11:07:59,911 INFO [JNPServer] JNDI started: JNP=localhost:1099, RMI=localhost:1098
11:07:59,922 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=15
classes=[javax.naming.InitialContext]}
11:07:59,922 INFO [FrameworkEventsPluginImpl] Bundle STARTED:
Bundle{jboss-osgi-jndi-1.0.2}
11:07:59,934 INFO [DeploymentScannerImpl] JBossOSGi Runtime started in 2.639sec
11:08:00,342 INFO [JMXServiceActivator] MBeanServerConnection bound to:
jmx/invoker/RMIAdaptor
was (Author: thomas.diesler(a)jboss.com):
My wife says:
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03-226)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-92, mixed mode)
jboss-osgi-1.0.0.Beta6 $ cd runtime/
runtime $ bin/run.sh
=========================================================================
JBossOSGi Bootstrap Environment
OSGI_HOME: /Users/dorothea/jboss-osgi-1.0.0.Beta6/runtime
JAVA: java
JAVA_OPTS: -Dprogram.name=run.sh
-Dosgi.home=/Users/dorothea/jboss-osgi-1.0.0.Beta6/runtime -Xms128m -Xmx512m
-XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000
=========================================================================
11:07:55,304 INFO [OSGiBundleManager] JBossOSGi Core Framework - 1.0.0.Alpha3
11:07:55,350 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=1
classes=[org.osgi.service.startlevel.StartLevel]}
11:07:55,358 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=2
classes=[org.jboss.osgi.spi.service.MicrocontainerService]}
11:07:55,421 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=3
classes=[org.jboss.osgi.deployment.interceptor.LifecycleInterceptorService]}
11:07:55,424 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=4
classes=[org.osgi.service.packageadmin.PackageAdmin]}
11:07:55,492 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=5
classes=[org.jboss.osgi.deployment.deployer.DeploymentRegistryService]}
11:07:55,497 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=6
classes=[org.jboss.osgi.deployment.deployer.DeployerService]}
11:07:55,500 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=7
classes=[org.jboss.osgi.deployment.interceptor.LifecycleInterceptor]}
11:07:55,563 INFO [VFSCacheFactory] Using VFSCache [NoopVFSCache]
11:07:55,693 INFO [CopyMechanism] VFS temp dir:
/var/folders/am/am8aSON0E58GOccAiSHJ5E+++TI/-Tmp-
11:07:57,171 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=8
classes=[org.osgi.service.log.LogService]}
11:07:57,183 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=9
classes=[org.osgi.service.log.LogReaderService]}
11:07:57,221 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=10
classes=[org.jboss.osgi.common.log.LoggingService]}
11:07:57,299 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=11
classes=[org.jboss.osgi.hotdeploy.DeploymentScannerService]}
11:07:57,300 INFO [DeploymentScannerImpl] Start DeploymentScanner:
[scandir=.../server/default/deploy,interval=2000ms]
11:07:57,304 INFO [FrameworkEventsPluginImpl] Bundle STARTED:
Bundle{system.bundle-0.0.0}
11:07:57,314 INFO [OSGiBootstrapBean] JBossOSGi Runtime booted in 2.01sec
11:07:57,361 INFO [FrameworkEventsPluginImpl] Framwork STARTED
11:07:57,996 INFO [FrameworkEventsPluginImpl] Bundle INSTALLED:
Bundle{jboss-osgi-common-core-2.2.13.GA}
11:07:58,011 INFO [FrameworkEventsPluginImpl] Bundle INSTALLED:
Bundle{jboss-osgi-jmx-1.0.3}
11:07:58,038 INFO [FrameworkEventsPluginImpl] Bundle INSTALLED:
Bundle{jboss-osgi-jndi-1.0.2}
11:07:58,050 INFO [FrameworkEventsPluginImpl] Bundle INSTALLED:
Bundle{org.apache.felix.eventadmin-1.0.0}
11:07:58,265 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=12
classes=[javax.management.MBeanServer]}
11:07:58,340 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=13
classes=[org.jboss.osgi.spi.management.ManagedFramework]}
11:07:58,403 INFO [FrameworkEventsPluginImpl] Bundle STARTED:
Bundle{jboss-osgi-jmx-1.0.3}
11:07:58,418 INFO [FrameworkEventsPluginImpl] Bundle STARTED:
Bundle{jboss-osgi-common-core-2.2.13.GA}
DEBUG: EventAdmin: org.apache.felix.eventadmin.CacheSize=30
DEBUG: EventAdmin: org.apache.felix.eventadmin.ThreadPoolSize=10
DEBUG: EventAdmin: org.apache.felix.eventadmin.Timeout=5000
DEBUG: EventAdmin: org.apache.felix.eventadmin.RequireTopic=true
11:07:58,608 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=14
classes=[org.osgi.service.event.EventAdmin]}
11:07:58,635 INFO [FrameworkEventsPluginImpl] Bundle STARTED:
Bundle{org.apache.felix.eventadmin-1.0.0}
11:07:59,911 INFO [JNPServer] JNDI started: JNP=localhost:1099, RMI=localhost:1098
11:07:59,922 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=15
classes=[javax.naming.InitialContext]}
11:07:59,922 INFO [FrameworkEventsPluginImpl] Bundle STARTED:
Bundle{jboss-osgi-jndi-1.0.2}
11:07:59,934 INFO [DeploymentScannerImpl] JBossOSGi Runtime started in 2.639sec
11:08:00,342 INFO [JMXServiceActivator] MBeanServerConnection bound to:
jmx/invoker/RMIAdaptor
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
Fix For: JBossOSGi 1.0.0 Beta7
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