[jboss-jira] [JBoss JIRA] Updated: (AS7-930) Adhere to module start order in standalone.xml
David Bosschaert (JIRA)
jira-events at lists.jboss.org
Wed Jun 1 06:03:01 EDT 2011
[ https://issues.jboss.org/browse/AS7-930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Bosschaert updated AS7-930:
---------------------------------
Description:
In the AS7 configuration file you can specify modules to be started using the following config:
{code}<module identifier="org.apache.felix.log" startlevel="1"/>
<module identifier="org.jboss.osgi.logging" startlevel="1"/>{code}
However the order in which modules are started _within_ a startlevel is random. It would be better to adhere to the order specified in the configuration as some bundles can be picky about this. This generally relates to legacy bundles that weren't developed with OSGi in mind.
Although this can in theory be handled with start levels it's often more practical to keep the start order within a single start level too because otherwise you may end up having to introduce a large amount of startlevels in your code and this may not be what you would like to do.
was:
In the AS7 configuration file you can specify modules to be started using the following config:
{code}<module identifier="org.apache.felix.log" startlevel="1"/>
<module identifier="org.jboss.osgi.logging" startlevel="1"/>{code}
However the order in which modules can be started _within_ a startlevel is random. It would be better to adhere to the order specified in the configuration as some bundles can be picky about this. This generally relates to legacy bundles that weren't developed with OSGi in mind.
Although this can in theory be handled with start levels it's often more practical to keep the start order within a single start level too because otherwise you may end up having to introduce a large amount of startlevels in your code and this may not be what you would like to do.
> Adhere to module start order in standalone.xml
> ----------------------------------------------
>
> Key: AS7-930
> URL: https://issues.jboss.org/browse/AS7-930
> Project: Application Server 7
> Issue Type: Enhancement
> Components: OSGi
> Affects Versions: 7.0.0.CR1
> Reporter: David Bosschaert
> Assignee: David Bosschaert
>
> In the AS7 configuration file you can specify modules to be started using the following config:
> {code}<module identifier="org.apache.felix.log" startlevel="1"/>
> <module identifier="org.jboss.osgi.logging" startlevel="1"/>{code}
> However the order in which modules are started _within_ a startlevel is random. It would be better to adhere to the order specified in the configuration as some bundles can be picky about this. This generally relates to legacy bundles that weren't developed with OSGi in mind.
> Although this can in theory be handled with start levels it's often more practical to keep the start order within a single start level too because otherwise you may end up having to introduce a large amount of startlevels in your code and this may not be what you would like to do.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list