activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "R.I.Pienaar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-3135) ActiveMQ.Advisory.Connection messages should contain client ip/host
Date Mon, 30 May 2011 13:54:47 GMT

    [ https://issues.apache.org/jira/browse/AMQ-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13041133#comment-13041133
] 

R.I.Pienaar commented on AMQ-3135:
----------------------------------

This seems to break the network of broker feature :)

2011-05-30 14:49:21,813 [98.xx.xx:49408] INFO  TransportConnection            - Started responder
end of duplex bridge dev3-dev1@ID:dev3.xx.net-59818-1305794003658-0:1
2011-05-30 14:49:21,814 [ctiveMQ Task-11] WARN  Service                        - Async error
occurred: java.lang.NullPointerException
java.lang.NullPointerException
        at org.apache.activemq.broker.jmx.ManagedRegionBroker.createObjectName(ManagedRegionBroker.java:674)
        at org.apache.activemq.broker.jmx.ManagedRegionBroker.addProducer(ManagedRegionBroker.java:271)
        at org.apache.activemq.broker.BrokerFilter.addProducer(BrokerFilter.java:93)
        at org.apache.activemq.advisory.AdvisoryBroker.addProducer(AdvisoryBroker.java:133)
        at org.apache.activemq.broker.CompositeDestinationBroker.addProducer(CompositeDestinationBroker.java:56)
        at org.apache.activemq.broker.BrokerFilter.addProducer(BrokerFilter.java:93)
        at org.apache.activemq.broker.BrokerFilter.addProducer(BrokerFilter.java:93)
        at org.apache.activemq.broker.BrokerFilter.addProducer(BrokerFilter.java:93)
        at org.apache.activemq.broker.BrokerFilter.addProducer(BrokerFilter.java:93)
        at org.apache.activemq.security.AuthorizationBroker.addProducer(AuthorizationBroker.java:168)
        at org.apache.activemq.broker.MutableBrokerFilter.addProducer(MutableBrokerFilter.java:99)
        at org.apache.activemq.broker.TransportConnection.processAddProducer(TransportConnection.java:507)
        at org.apache.activemq.command.ProducerInfo.visit(ProducerInfo.java:105)
        at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:306)
        at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:179)
        at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:116)
        at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:69)
        at org.apache.activemq.transport.vm.VMTransport.dispatch(VMTransport.java:121)
        at org.apache.activemq.transport.vm.VMTransport.start(VMTransport.java:136)
        at org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58)
        at org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58)
        at org.apache.activemq.broker.TransportConnection.start(TransportConnection.java:896)
        at org.apache.activemq.broker.TransportConnector$1$1.run(TransportConnector.java:217)
        at java.lang.Thread.run(Thread.java:636)
2011-05-30 14:49:21,816 [m://localhost#2] INFO  DemandForwardingBridgeSupport  - Network connection
between vm://localhost#2 and tcp:///88.xx.xx.181:49408 shutdown due to a local error: java.lang.NullPointerException

> ActiveMQ.Advisory.Connection messages should contain client ip/host
> -------------------------------------------------------------------
>
>                 Key: AMQ-3135
>                 URL: https://issues.apache.org/jira/browse/AMQ-3135
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.4.2
>         Environment: CentOS, OpenJDK 6, ActiveMQ 5.4.2
>            Reporter: R.I.Pienaar
>            Assignee: Dejan Bosanac
>            Priority: Minor
>             Fix For: 5.6.0
>
>
> At present a connection advisory message recieved over stomp looks like:
> "ConnectionInfo": {
>   "commandId": 0,
>   "responseRequired": true,
>   "connectionId": {
>     "value": "ID:monitor1.xx.net-57901-1294599217160-5:10017"
>   },
>   "clientId": "ID:monitor1.xx.net-57901-1294599217160-5:10017",
>   "userName": "",
>   "password": "",
>   "brokerMasterConnector": false,
>   "manageable": false,
>   "clientMaster": true,
>   "faultTolerant": false,
>   "failoverReconnect": false
> }}
> Where monitor1.xx.net is the broker name.
> It would be very useful if these messages also included the IP Address, Hostname, Port
of the client connecting.
> There other advisories that would also greatly benefit from this like ActiveMQ.Advisory.NetworkBridge
> thanks

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message