You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "mattrpav (via GitHub)" <gi...@apache.org> on 2026/01/21 23:27:32 UTC

Re: [I] JMX RMI port 44444 not consistently coming online [karaf]

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: issues-unsubscribe@karaf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org