activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-1715) Still getting STOMP Client connect error in AMQ 5.1.0 Release
Date Mon, 26 May 2008 05:34:56 GMT

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

Hari commented on AMQ-1715:
---------------------------

On upgrading the apache.NMS.net client to the latest there is no exception on the server side.
The latest NMS client creates a new clientid for a reconnect and hence it makes sense that
i dont see the exception on the server side. 
There is a problem with the no of connections. The NMS client is connected first with the
server(running on 51616) on port 3000. On a reconnect its connected on 3002, but the old connection
is also alive ??. On invoking the stop method from the jconsole on the connection(3000) the
connection is killed (monitoring using netstat on the machine). Should the activemq server
automatically know that a connection is stale and disconnect/kill the old connection ?

on the client side a netstat shows only one connection(3002) , we did a reconnect by disabling
and enabling the lan connection in the windows tray.

> Still getting STOMP Client connect error in AMQ 5.1.0 Release 
> --------------------------------------------------------------
>
>                 Key: AMQ-1715
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1715
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.1.0
>         Environment: Sun Solaris 10 
>            Reporter: vik dhawan
>             Fix For: 4.1.2
>
>
> I started getting this following error again in AMQ 5.1.0 stable release. I used to get
this error on 4.1.0 and 5.0.0. This error disapeard for a while in AMQ 4.1.2 but came back
again in 5.1.0. 
> My client also gets this exception. at the AMQ side it shows up as a WARN but to the
C STOMP client it goes an ugly java stacktrace. 
> AMQ Log:
> javax.jms.InvalidClientIDException: Broker: localhost - Client: WRK_batch01_9121 already
connected from /xx.xxx.xxx.xx:51577
>         at org.apache.activemq.broker.region.RegionBroker.addConnection(RegionBroker.java:211)
>         at org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:81)
>         at org.apache.activemq.advisory.AdvisoryBroker.addConnection(AdvisoryBroker.java:75)
>         at org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:81)
>         at org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:88)
>         at org.apache.activemq.broker.TransportConnection.processAddConnection(TransportConnection.java:662)
>         at org.apache.activemq.broker.jmx.ManagedTransportConnection.processAddConnection(ManagedTransportConnection.java:86)
>         at org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:125)
>         at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:292)
>         at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:180)
>         at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)
>         at org.apache.activemq.transport.stomp.StompTransportFilter.sendToActiveMQ(StompTransportFilter.java:80)
>         at org.apache.activemq.transport.stomp.ProtocolConverter.sendToActiveMQ(ProtocolConverter.java:134)
>         at org.apache.activemq.transport.stomp.ProtocolConverter.onStompConnect(ProtocolConverter.java:461)
>         at org.apache.activemq.transport.stomp.ProtocolConverter.onStompCommad(ProtocolConverter.java:186)
>         at org.apache.activemq.transport.stomp.StompTransportFilter.onCommand(StompTransportFilter.java:70)
>         at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84)
>         at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:196)
>         at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:183)
>         at java.lang.Thread.run(Thread.java:619)
> C STOMP Client END: 
> Response: ERROR, javax.jms.InvalidClientIDException: Broker: localhost - Client: WRK_batch01_9121
already connected from /xx.xxx.xxx.xx:51577
>     at org.apache.activemq.broker.region.RegionBroker.addConnection(RegionBroker.java:211)
>   at org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:81)
>   at org.apache.activemq.advisory.AdvisoryBroker.addConnection(AdvisoryBroker.java:75)
>     at org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:81)
>   at org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:88)
>     at org.apache.activemq.broker.TransportConnection.processAddConnection(TransportConnection.java:662)
>     at org.apache.activemq.broker.jmx.ManagedTransportConnection.processAddConnection(ManagedTransportConnection.java:86)
>    at org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:125)
>     at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:292)
>  at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:180)
>      at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)
>      at org.apache.activemq.transport.stomp.StompTransportFilter.sendToActiveMQ(StompTransportFilter.java:80)
>         at org.apache.activemq.transport.stomp.ProtocolConverter.sendToActiveMQ(ProtocolConverter.java:134)
>      at org.apache.activemq.transport.stomp.ProtocolConverter.onStompConnect(ProtocolConverter.java:461)
>      at org.apache.activemq.transport.stomp.ProtocolConverter.onStompCommad(ProtocolConverter.java:186)
>       at org.apache.activemq.transport.stomp.StompTransportFilter.onCommand(StompTransportFilter.java:70)
>      at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84)
>    at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:196)
>   at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:183)
>     at java.lang.Thread.run(Thread.java:619)
> , SessionId=unknown
> Please help!
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message