activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Giles DSilva (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMQ-4575) JDBCIOExceptionHandler does not restart TransportConnector when JMX is enabled on broker - java.io.IOException: Transport Connector could not be registered in JMX
Date Tue, 29 Apr 2014 15:17:37 GMT

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

Giles DSilva updated AMQ-4575:
------------------------------

    Attachment:     (was: DuplicateTransportConnectorsInListTest.java)

> JDBCIOExceptionHandler does not restart TransportConnector when JMX is enabled  on broker
- java.io.IOException: Transport Connector could not be registered in JMX
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-4575
>                 URL: https://issues.apache.org/jira/browse/AMQ-4575
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.8.0
>         Environment: tested against latest apache trunk  (5.9 - snapshot)
> svn 14900032
>            Reporter: Pat Fox
>            Assignee: Timothy Bish
>             Fix For: 5.9.0
>
>         Attachments: JDBCIOExceptionHandlerTest.java
>
>
> Without JMX enabled on the broker; when the DB is shutdown and subsequently restarted
the JDBCIOExceptionHandler does a shutdown and restart on the transport connector as expected.
> However when JMX is enabled on the broker the transport connector fails to restart throwing
the following exception and subsequently shutting down the broker 
> {code}
> 2013-06-06 15:25:22,113 [st IO exception] - INFO  DefaultIOExceptionHandler      - Stopping
the broker due to exception, java.io.IOException: Transport Connector could not be registered
in JMX: org.apache.activemq:type=Broker,brokerName=localhost,connector=clientConnectors,connectorName=tcp_//sideshow.home_61616
> java.io.IOException: Transport Connector could not be registered in JMX: org.apache.activemq:type=Broker,brokerName=localhost,connector=clientConnectors,connectorName=tcp_//sideshow.home_61616
> 	at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)
> 	at org.apache.activemq.broker.BrokerService.registerConnectorMBean(BrokerService.java:1972)
> 	at org.apache.activemq.broker.BrokerService.startTransportConnector(BrokerService.java:2434)
> 	at org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerService.java:2351)
> 	at org.apache.activemq.util.DefaultIOExceptionHandler$2.run(DefaultIOExceptionHandler.java:101)
> Caused by: javax.management.InstanceAlreadyExistsException: org.apache.activemq:type=Broker,brokerName=localhost,connector=clientConnectors,connectorName=tcp_//sideshow.home_61616
> 	at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:453)
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1484)
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963)
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
> 	at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
> 	at org.apache.activemq.broker.jmx.ManagementContext.registerMBean(ManagementContext.java:380)
> 	at org.apache.activemq.broker.jmx.AnnotatedMBean.registerMBean(AnnotatedMBean.java:72)
> 	at org.apache.activemq.broker.BrokerService.registerConnectorMBean(BrokerService.java:1969)
> 	... 3 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message