karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (Jira) <j...@apache.org>
Subject [jira] [Updated] (KARAF-6796) Startup w/ jndi feature causes intermittent JMX bind failure
Date Wed, 29 Jul 2020 04:44:00 GMT

     [ https://issues.apache.org/jira/browse/KARAF-6796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré updated KARAF-6796:
----------------------------------------
    Fix Version/s: 4.2.10
                   4.3.0

> Startup w/ jndi feature causes intermittent JMX bind failure
> ------------------------------------------------------------
>
>                 Key: KARAF-6796
>                 URL: https://issues.apache.org/jira/browse/KARAF-6796
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.2.9
>            Reporter: Matt Pavlovich
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: 4.3.0, 4.2.10
>
>
> Clean startup of Karaf 4.2.9 w/ the jndi feature added to featuresBoot causes JMX listener
bind failure
> {noformat}
> Exception in thread "JMX Connector Thread [service:jmx:rmi://0.0.0.0:44444/jndi/rmi://0.0.0.0:1099/karaf-root]"
java.lang.RuntimeException: Could not start JMX connector server                         
                                                                                         
                            
> 	at org.apache.karaf.management.ConnectorServerFactory.lambda$init$0(ConnectorServerFactory.java:435)
> 	at java.base/java.lang.Thread.run(Thread.java:834)
> Caused by: java.io.IOException: Cannot bind to URL [rmi://0.0.0.0:1099/karaf-root]: javax.naming.NoInitialContextException
> 	at java.management.rmi/javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:854)
> 	at java.management.rmi/javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:501)
> 	at org.apache.karaf.management.ConnectorServerFactory.lambda$init$0(ConnectorServerFactory.java:418)
> 	... 1 more
> Caused by: javax.naming.NoInitialContextException
> 	at org.apache.aries.jndi.DelegateContext.getDefaultContext(DelegateContext.java:233)
> 	at org.apache.aries.jndi.DelegateContext.getURLContext(DelegateContext.java:256)
> 	at org.apache.aries.jndi.DelegateContext.findContext(DelegateContext.java:214)
> 	at org.apache.aries.jndi.DelegateContext.bind(DelegateContext.java:82)
> 	at java.naming/javax.naming.InitialContext.bind(InitialContext.java:417)
> 	at java.management.rmi/javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:713)
> 	at java.management.rmi/javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:496)
> 	... 2 more
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message