Re: The problem in ActiveMQ CPP 2.0 Released

2007-04-23 Thread tommy.li
Thanks. Timothy Bish wrote: > > tommy.li wrote: >> producer->setDeliveryMode( DeliveryMode::PERSISTENT ); >> When i restart broker,the mesages are lost. >> >> producer->setDeliveryMode( DeliveryMode::NON_PERSISTENT ); >> When i restart broker,the mesages are recovered. >> >> Why? >> >> >> > Y

Re: XATransaction

2007-04-23 Thread Christopher G. Stach II
[EMAIL PROTECTED] wrote: > I'm currently using Bitronix Transaction Manager. (http://bitronix.be/) > It is an open source transaction manager that is extremely stable. > (Unlike JOTM) It implements the JTA completely and is very easy to > configure and integrate with Spring. Plus you will not need

RE: XATransaction

2007-04-23 Thread Christopher . Mathrusse
I'm currently using Bitronix Transaction Manager. (http://bitronix.be/) It is an open source transaction manager that is extremely stable. (Unlike JOTM) It implements the JTA completely and is very easy to configure and integrate with Spring. Plus you will not need to using Jenks. BTM is a co

Re: Message could not be added to long term store

2007-04-23 Thread Kamlesh
HI, All Can anybody help? I am using Active MQ 4.1.0 with ojdbc14.jar. Here is more detailed message: 2007-04-20 15:57:31,830 [eckpoint worker] WARN JournalMessageStore - Message could not be added to long term store: Failed to broker message: ID:snkxw-gdev-1289-1177098726692-1:0:23:

Re: OutOfMemoryError using 4.1.1

2007-04-23 Thread Christopher G. Stach II
avin98 wrote: > I have hit an OOMError without using persistent messages, and even if AMQ is > inactive for a period of about a day or so. Did you take a baseline dump after the app reaches a steady state, turn on heap dumps on memory errors, and then compare the two dumps and see where the memory

XATransaction

2007-04-23 Thread Daniel Gradecak
Hi, I would like to make an ActiveMQ participate in a XA Transaction. I have speial needs is that i may suspend a transaction and resume it in antoher thread. I am using spring for configuring all that together and its JmsTmplate. I saw http://activemq.apache.org/jms-and-jdbc-operations-in-one

Re: OutOfMemoryError using 4.1.1

2007-04-23 Thread avin98
I have hit an OOMError without using persistent messages, and even if AMQ is inactive for a period of about a day or so. [4/22/07 11:17:44:727 PDT] [WARN] - [GeronimoConnectionEventListener] - connectionErrorOccurred called with null javax.jms.JMSException: Channel was inactive for too long.

Re: 3.1 broker OutofMemoryError : unable to create new native thread

2007-04-23 Thread Ale Sarco
Further investigation led to find this one, by setting the log to DEBUG. This happens when a new message is about to be received: 2007-04-23 18:16:05,966 [ActiveMQ Transport: tcp:///127.0.0.1:54165] DEBUG org.apache.activemq.broker.region.AbstractRegion - Removing consumer: ID:magellan-15043-117

Expiration not set in messages in dynamic queue

2007-04-23 Thread xbranko
I'm trying to set expiration for messages that I'm writing to a dynamic queue. When I look at the messages with the queue and message browser, the expiration appears as 0. The version is apache-activemq-4.2-20070328.130210-35. Java is 1.5.0_04 running the broker, and 1.6 for the client producer. I

OutOfMemoryError using 4.1.1

2007-04-23 Thread Justin C. van Vorst
On our production server this weekend, activemq-4.1.1 hit a java.lang.OutOfMemoryError exception and then proceeded to stop functioning. The process was using about 3GB of RAM. I've seen some other posts about OOME, but none that quite match the stack of ours. Does anyone have a place for me to

Re: Durable consumer reconnect problem

2007-04-23 Thread Tero
James.Strachan wrote: > > AFAIK this should work fine against 4.2-SNAPSHOT as we recently fixed > a bug that was causing the stomp connection to stick around on the > broker after the stomp client had been stopped. > -- > > James > --- > http://radio.weblogs.com/0112098/ > > I am runni

org.apache.activemq.openwire.v2.BaseDataStreamMarshaller error

2007-04-23 Thread LukeH
Sometime in an aplication I develop using ActiveMQ I get an error. It appears quite "random" and not very often Here is a stack: Exception in thread "ActiveMQ Task" java.lang.NullPointerException at org.apache.activemq.openwire.v2.BaseDataStreamMarshaller.tightMarshalString2(BaseDataStream

Re: 3.1 broker OutofMemoryError : unable to create new native thread

2007-04-23 Thread Ale Sarco
Hi James, It happened again friday night on a different production server (same application). I have duplicated the file handlers (to 103062) for the OS (Fedora Core 3), but it seems like the important setting here is a per user setting, since whenever this happens, I cannot login into the accoun