Apache NMS : The connection is already closed

2013-06-10 Thread alex1183
Hello everyone, I have a problem with my connection server/client : My project is to make a stomp client in C# with Microsoft Visual C# Express 2010. The client must be able to connect to a server Stomp, and then subscribe to a destination to listen all messages from this destination (See

Getting Session Close error

2013-06-10 Thread Prashant
We are getting The Session is closed error in JMS client code. How to fix this? Error Trace: javax.jms.IllegalStateException: The Session is closed at org.apache.activemq.ActiveMQSession.checkClosed(ActiveMQSession.java:722) at

Two networked brokers drop/loose messages after some time

2013-06-10 Thread Bratislav Stojanovic
Hi all, We sync our software by using two brokers installed and configured on the separate machines across the internet. We have a broker A on our linux server and broker B installed on the remote site (Mac). Broker B is references using dyndns service. Broker A is embedded into a Java webapp and

Re: CMS 3.6 Socket Descriptor Leak With Failover

2013-06-10 Thread Greenbean
Another bit of information I can provide regarding the problem. Reversing the order of the task adds to the taskRunner in FailoverTransport.cpp seems to cause the CloseTransportsTask to execute during reconnects. The attached image shows the code change. Any ideas why this is the case?

Re: CMS 3.6 Socket Descriptor Leak With Failover

2013-06-10 Thread Timothy Bish
On 06/10/2013 11:24 AM, Greenbean wrote: Another bit of information I can provide regarding the problem. Reversing the order of the task adds to the taskRunner in FailoverTransport.cpp seems to cause the CloseTransportsTask to execute during reconnects. The attached image shows the code

Re: Apache NMS : The connection is already closed

2013-06-10 Thread Timothy Bish
On 06/10/2013 03:43 AM, alex1183 wrote: Hello everyone, I have a problem with my connection server/client : My project is to make a stomp client in C# with Microsoft Visual C# Express 2010. The client must be able to connect to a server Stomp, and then subscribe to a destination to listen all

Problem in the use of Proxy Broker

2013-06-10 Thread cghersi
Good evening to everybody. I'm trying to use the proxy connectors to redirect the traffic of a broker towards another broker. I need to cope with authentication through certificates in my scenario. When I use a bind uri of the type nio+ssl://192.168.1.5:61619, the communication is perfect. When I

Re: CMS 3.6 Socket Descriptor Leak With Failover

2013-06-10 Thread Greenbean
It seems like the CompositeTaskRunner always checks the task list from the beginning to see if isPending is true. The FailoverTransport is iterated (and sleeps within the iterate), then is in the pending state again. So the FailoverTransport is always executed, and the CompositeTaskRunner never

ActiveMQ in Karaf

2013-06-10 Thread Chris Geer
I've been using ActiveMQ for a while in Karaf. I'm currently running AMQ 5.6 on Karaf 2.2.10 and it's working great. I want to be able to upgrade my AMQ version but I'm running into quite a few problems. When I try and upgrade to 5.7 I have issues with XA transactions as talked about here [1].