mattrpav commented on issue #2116:
URL: https://github.com/apache/karaf/issues/2116#issuecomment-3781605792
Definitely a bootstrap issue. Reproduce steps:
1. Take stock Apache Karaf v4.4.6
2. Update etc/org.apache.karaf.features.cfg to add few features
(specifically jndi)
3. Start karaf using ./bin/karaf or ./bin/start
4. Observe a double-digit percentage of start attempts fail to bind to port
44444
Extra features to add:
```
shell-compat/4.4.6, \
jaas-deployer/4.4.6, \
aries-blueprint, \
jasypt-encryption, \
scr, \
jndi/4.4.6, \
```
Default with v4.4.6:
```
featuresBoot = \
instance/4.4.6, \
package/4.4.6, \
log/4.4.6, \
ssh/4.4.6, \
framework/4.4.6, \
system/4.4.6, \
eventadmin/4.4.6, \
feature/4.4.6, \
shell/4.4.6, \
management/4.4.6, \
service/4.4.6, \
jaas/4.4.6, \
deployer/4.4.6, \
diagnostic/4.4.6, \
wrap/2.6.14, \
bundle/4.4.6, \
config/4.4.6, \
kar/4.4.6
```
Setting 'management' last appears to help:
```
featuresBoot = \
instance/4.4.6, \
package/4.4.6, \
log/4.4.6, \
ssh/4.4.6, \
framework/4.4.6, \
system/4.4.6, \
eventadmin/4.4.6, \
feature/4.4.6, \
shell/4.4.6, \
shell-compat/4.4.6, \
service/4.4.6, \
jaas/4.4.6, \
deployer/4.4.6, \
jaas-deployer/4.4.6, \
diagnostic/4.4.6, \
wrap/2.6.14, \
bundle/4.4.6, \
config/4.4.6, \
kar/4.4.6, \
aries-blueprint, \
jasypt-encryption, \
scr, \
jndi/4.4.6, \
management/4.4.6
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]