]
Thomas Diesler commented on AS7-4820:
-------------------------------------
Its a reporting issue
{code}
while (startLevel < level) {
startLevel++;
LOGGER.infoStartingBundlesForStartLevel(level);
{code}
OSGi Start Level change doesn't iterate through intermediate
levels
-------------------------------------------------------------------
Key: AS7-4820
URL:
https://issues.jboss.org/browse/AS7-4820
Project: Application Server 7
Issue Type: Bug
Components: OSGi
Reporter: David Bosschaert
Assignee: Thomas Diesler
When changing the OSGi start level using the management API, the framework doesn't
appear to go through the intermediate start levels.
When the following command is issued from the console:
{code}/subsystem=osgi:write-attribute(name=startlevel,value=3){code}
it seems like start level 2 is skipped in the framework from looking at the log:
{noformat}16:13:33,332 INFO [org.jboss.osgi.framework] (OSGi StartLevel Thread)
JBOSGI011007: Increasing start level from 1 to 3
16:13:33,332 INFO [org.jboss.osgi.framework] (OSGi StartLevel Thread)
JBOSGI011011: Starting bundles for start level: 3
16:13:33,332 INFO [org.jboss.osgi.framework] (OSGi StartLevel Thread)
JBOSGI011011: Starting bundles for start level: 3
16:13:33,333 INFO [system.bundle] (Thread-80) FrameworkEvent STARTLEVEL
CHANGED{noformat}
The same happens when moving down in start level.
I haven't checked whether this is only a reporting issue or whether the intermediate
start level are really skipped.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: