Re: Secure messaging?

2007-06-26 Thread pascals
James.Strachan wrote: > > It is; in Java use stomp+ssl://hostname:port to configure it. You just > need a Stomp client which also supports SSL > I am not sure that my Stomp client (PHP) supports SSL. BTW it is not very clear for me where to find the "best" Stomp PHP library. I have found at le

Re: Java stomp subscriber, StompConnect?

2007-06-26 Thread Tom Samplonius
What you are doing is fairly unclear. It seems like you are trying to use the StompConnect JMS to Stomp bridge as a JMS client. It is not a JMS client though. StompConnect is messaging middle-ware. It presents a Stomp protocol front-end, and translate to some other vendors JMS API. Its m

RE: Weird problem with network of brokers

2007-06-26 Thread Steven Dalton
Hi all, I also have the same problem as Pieter but using Active MQ 4.1.1. My application requires messages to be sent from one site to another, but he network connections may not be available. Each site has its own instance of ActiveMQ running which is always available. (ActiveMQ is required for

Re: Firewall and tcp connection

2007-06-26 Thread Tom Samplonius
- "Jon" <[EMAIL PROTECTED]> wrote: > Hi! > I wonder what the status is on the following post: > http://www.nabble.com/Firewall-tf2258067s2354.html#a6263450 > > In a firewall situation only one connection initiated by the broker > behind > the firewall would work if messages would flow two-way

embedded broker configuration

2007-06-26 Thread Suchitha Koneru (sukoneru)
Hello active Mq users , I hope this mail reaches you all in good spirits. This is in regard to the topic of starting active mq embedded broker automatically by the Tomcat server. Our application has two web apps which exchange messages through the embedded active mq broker.

Java stomp subscriber, StompConnect?

2007-06-26 Thread Ianjl
The Goal I need a Java subscriber client which runs locally. This client needs to connect to an ActiveMQ message broker and read messages from stomp://WKS-W0106843:61613 (this is the local machine also) the queue is pvcrawlerXML. The Situation I have a perl script that parses files on the server

What are version 5.0 release dates?

2007-06-26 Thread xbranko
What are the release dates for version 5.0? Even having tentative dates (with no obligations or strings attached) would be great. Thanks, Branko -- View this message in context: http://www.nabble.com/What-are-version-5.0-release-dates--tf3984671s2354.html#a11313442 Sent from the ActiveMQ - User

Re: Out of memory errors

2007-06-26 Thread sambit
Hi James, Thank you very much for a quick response. We are using ActiveMQ 4.1.1. I think this is the latest build as of now. We are using Topics and fast consumers. In case i go for Journal option, Could you please let me know how much time it takes to persist the message from Journal files

Re: Orphan connections from .NET clients

2007-06-26 Thread Jim_Cross
Thanks Chris. I just tried this against the Active MQ running on my Windows box, and it worked fine. Then tried it against Active MQ running on the Linux server, and the connections leak appeared again. So it either seems to be related to the OS it's running on, or the fact that when running agai

Re: Memory usage always increasing

2007-06-26 Thread Gnanaprakash
Hi, The heap size I configured was min - 512 MB and max 1024 MB in Jboss. My Activemq memory limit was 512 MB. The application as such does not use more that 250 - 300 MB. I tried configuring GC interval to every 15 mins. The GC seems to work but the activemq memory usage is not coming down.

Re: 'idle in transaction' open connection problems

2007-06-26 Thread James Strachan
On 6/26/07, AlexB <[EMAIL PROTECTED]> wrote: We found that activemq with postgresql persistance backend opens a connection, starts a transaction and waits forever. Due to this reason (extremely long lasting transaction ) all our 'vacuuming DB' fail. Can't you exclude the ActiveMQ lock table?

Re: Out of memory errors

2007-06-26 Thread James Strachan
What version of ActiveMQ are you using? Using topics/queues? Do you have slow consumers? When using the journal, it always writes messages to the journal then checkpoints them later on to persistent store. If you want a high throughput (say 3000 messages/second for persistent messages) then I'd r

Re: Out of memory errors

2007-06-26 Thread sambit
Hi James, We are doing a stress test on ActiveMQ to see if it can be used for production ready requirements. Our requirement is 3K mesages per second. During the stess test we tried with small amount of messages. Hee is the details. But after sending 130K messages it started giving outofmemory

Re: Orphan connections from .NET clients

2007-06-26 Thread Dris
OK, I compiled the following against a recent-ish version of NMS. I haven't done a more recent compile because as I pointed out in the NMS issue tracker there was a bug in the use of selectors which I had fixed in my source but which hadn't been fixed in the SVN Repo (though it might have been ver

Firewall and tcp connection

2007-06-26 Thread Jon
Hi! I wonder what the status is on the following post: http://www.nabble.com/Firewall-tf2258067s2354.html#a6263450 In a firewall situation only one connection initiated by the broker behind the firewall would work if messages would flow two-ways. -Jon -- View this message in context: http://ww

'idle in transaction' open connection problems

2007-06-26 Thread AlexB
We found that activemq with postgresql persistance backend opens a connection, starts a transaction and waits forever. Due to this reason (extremely long lasting transaction ) all our 'vacuuming DB' fail. Therefore all DB on that postgresql server became very slow. Does anyone know how to force a

Message persistence migration

2007-06-26 Thread Eduardo Corral
Hi everyone We are performing some tests with different broker versions (4.1.1, 4.2-SNAPSHOT, 5.0-SNAPSHOT). In one particular test, we had 1 message remaining on a queue, persisted over DB with JDBC. The broker was the 4.2. Later, we changed the broker to the 5.0, and started it. When trying

Re: Performance problem in ActiveMQ4.2-SNAPSHOT

2007-06-26 Thread James Strachan
FWIW I still don't follow how working with newly created objects like ByteArrayOutputStream() on the stack can be a memory leak. Are you sure its just that the GC kicks in shortly after you're running the code? On 6/26/07, comchyi <[EMAIL PROTECTED]> wrote: James.Strachan wrote: > > On 6/25/

Re: Performance problem in ActiveMQ4.2-SNAPSHOT

2007-06-26 Thread comchyi
James.Strachan wrote: > > On 6/25/07, comchyi <[EMAIL PROTECTED]> wrote: >> >> I find an performance problem in ActiveMQ4.2-SNAPSHOT when >> i subscribe an topic and consume 50 messages,the problem >> is that the memory of CPU is consumed increasely all long until >> the free heap of JVM'

JMS Connector HTTP servlet TOMCAT

2007-06-26 Thread sandert
Hi, The aim of this mail is to know how to retreive a JMS message through a method like doPost in a servlet (tomcat5.5 server). In a tomcat’s servlet, we usually have to implement 4 methods : - Init() used to initialize the servlet; - doGet ( HttpServletRequest req, HttpServletResponse res) whe

Re: ActiveMQ Dropping Connections

2007-06-26 Thread Jan Stette
Hi James, thanks for your reply. I tried the option you mention, but it didn't seem to make a difference. I will try the latest 5.0 snapshot as well to see if that's any better. Regards, Jan On 25/06/07, James Strachan <[EMAIL PROTECTED]> wrote: On 6/25/07, Jan Stette <[EMAIL PROTECTED]> wr

Re: Secure messaging?

2007-06-26 Thread James Strachan
On 6/26/07, pascals <[EMAIL PROTECTED]> wrote: Jack Britton-4 wrote: > > Yes, see http://activemq.apache.org/ssl-transport-reference.html > Thanks for your answer. I forgot to mention that one of our clients is a PHP program, which is thus forced to use the Stomp protocol instead of OpenWire (

Re: Secure messaging?

2007-06-26 Thread pascals
Jack Britton-4 wrote: > > Yes, see http://activemq.apache.org/ssl-transport-reference.html > Thanks for your answer. I forgot to mention that one of our clients is a PHP program, which is thus forced to use the Stomp protocol instead of OpenWire (if I am right). Is it possible to use Stomp ove

Re: Orphan connections from .NET clients

2007-06-26 Thread Jim_Cross
Sure, thanks for checking this out. As per your last suggestion, here's a version which closes and disposes the consumer and session, and only disposes the connection. public void Disconnect() { try { if (consumer != null) {