Kaha store corrupted?

2007-02-15 Thread drvillo
Hi I'm using a kaha store to handle manual message spooling. I've used with success for a week or so now but today I found it unable to fetch any more message. I can still read the size, but once I call ListContainerImpl.remove() I get the following trace: --- 2007-02-15 17:56:24,076 [(12)-1

Re: Kaha store corrupted?

2007-02-16 Thread drvillo
gt; > I reported the same (or a very similar) issue here: > > https://issues.apache.org/activemq/browse/AMQ-1082 > > Maybe you could add some pertinent comments about your setup there. > Might be that I got the wrong issue though. > > Cheers, > > Albert > &g

AMQ 4.2 status

2007-02-23 Thread drvillo
Hi all I'm about to release an alpha version of my service. Since I had the impression that 4.2 was going to be released soon I've been postponing the date in the hope to release with - a more stable version of AMQ (currently it's packaged with a month old trunk rev.) - kaha storing indexes on

NPE in Kaha

2007-02-23 Thread drvillo
Hi all I'm not able to remove messages any more from a Kaha store, after a recovery. Below is the trace I get: Exception in thread "Timer-1" java.lang.NullPointerException at org.apache.activemq.kaha.impl.data.DataManagerImpl.removeDataFile(DataManagerImpl.java:297) at org.apac

Re: [Spam: 5.0] AMQ 4.2 status

2007-02-23 Thread drvillo
aim to be the next major release to version 5.0 > > cheers, > > Rob Davies > http://rajdavies.blogspot.com/ > > > > On Feb 23, 2007, at 8:39 AM, drvillo wrote: > >> >> Hi all >> >> I'm about to release an alpha version of my service

Re: [Spam: 5.0] AMQ 4.2 status

2007-02-23 Thread drvillo
otocol will be enhanced, the code will move to > Java 5 and other things are changing (such as dispatching, spool to > disk stuff and so forth). > > So if you can wait a month or so, I'd go with 5.0, otherwise go for a > 4.1.x release which should all be binary compatible with each

Negative queue size with trunk

2007-02-26 Thread drvillo
Hi all using rev. 510896 sometimes when recovering I get negative values... this isn't happening on the latest 4.1 revision. cheers Francesco -- View this message in context: http://www.nabble.com/Negative-queue-size-with-trunk-tf3293548s2354.html#a9161076 Sent from the ActiveMQ - User mailing

Re: [Spam: 5.0] Cannot shutdown cleanly [still]

2007-02-27 Thread drvillo
ng Active Sessions = X Could someone please give me an advice on this? I really don't get how to shut this thing down without kill -9, which isn't really an option. Thanks a lot Francesco drvillo wrote: > > Hi > > after more than a month I haven't been able to sol

Re: [Spam: 5.0] Cannot shutdown cleanly [still]

2007-02-27 Thread drvillo
e messages. Thanks a lot Francesco James.Strachan wrote: > > On 1/30/07, drvillo <[EMAIL PROTECTED]> wrote: >> Hi >> >> after more than a month I haven't been able to solve this... >> I'm currently destroying jencks' JCAConnectors and JCAContainer, >

Re: [Spam: 5.0] Cannot shutdown cleanly [still]

2007-02-27 Thread drvillo
zip James.Strachan wrote: > > On 2/27/07, drvillo <[EMAIL PROTECTED]> wrote: >> >> Hi James >> >> I'm fine with the traces, but the problem is that they >> don't stop...there's something AMQ is still busy doing, >> and I can't fi

Shared datasource for broker and data?

2007-02-28 Thread drvillo
Hi I know this might be quite general but I'd like to know someone else's opinion. Given that I use commons dbcp to pool connections, I face two setups: -activemq uses its own datasource to store transient messages, so I end up having two pools -activemq shares a datasource with the applicati

Messages are not consumed as expected with DUPS_OK_ACKNOWLEDGE

2007-02-28 Thread drvillo
Hi I'm seeing a strange behavior, I have configured a threadpool of 100 threads with activationspec.maxSessions=50 and acknowledgeMode="Dups-ok-acknowledge" I have 200 messages to consume, and each message actually never gets committed when processed (let's say the transaction is left running).

Not all threads being used, system underutilized

2007-03-01 Thread drvillo
Hi all this is (hopefully finally) an optimization topic: Each message I consume takes ~30 seconds to complete, thus to increase throughput I'm trying to get as many threads as possible to process them in parallel. Right now I have configured Jencks to use 300 threads, with the following Activa

Re: [Spam: 5.0] How to maximize MDB throughput with ActiveMQ and JBoss?

2007-03-06 Thread drvillo
How is JBoss configured? did you set the MaximumSize parameters accordingly? As shown here: http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMDB Cheers Francesco kchamber wrote: > > I have ActiveMQ integrated in with JBoss according to the instructions > listed on this website, and I am lo

DedicatedTaskRunner question

2007-03-07 Thread drvillo
Hi all I haven't well understood what would be the benefit of using the option -Dorg.apache.activemq.UseDedicatedTaskRunner=true Reading the code i see the comment (TaskRunnerFactory): // If your OS/JVM combination has a good thread model, you may want to avoid // using a thr

Re: [Spam: 5.0] Not all threads being used, system underutilized

2007-03-07 Thread drvillo
ue size is = #pending messages-1000 ? Thanks a lot! Francesco James.Strachan wrote: > > I've documented the settings a little better here... > http://cwiki.apache.org/ACTIVEMQ/activation-spec-properties.html > > On 3/1/07, drvillo <[EMAIL PROTECTED]> wrote: >> >

Re: [Spam: 5.0] Disconnection and reconnection in a network of brokers

2007-03-08 Thread drvillo
Hi I have just found out myself the same... I would like to have some clarification on this as either the wording failover is misleading, or there is something weird going on here. If I specify failover=true in my networkConnector I can see that they both get online, but the subscription on t

Re: [Spam: 5.0] Disconnection and reconnection in a network of brokers

2007-03-08 Thread drvillo
James.Strachan wrote: > > On 3/8/07, drvillo <[EMAIL PROTECTED]> wrote: >> >> Hi >> >> I have just found out myself the same... >> >> I would like to have some clarification on this as >> either the wording failover is misleading, or there &

Re: [Spam: 5.0] jms and jdbc operations in one transaction

2007-03-12 Thread drvillo
Hi Jencks 2 has changed the way to wire things up: I use About the jdbc part you can use the transactionManager specified above.

Re: ActiveMQ/Kaha restart failed

2007-03-23 Thread drvillo
Hi Rob I'm using Kaha to manually spool messages on certain occasions, and using 4.1. Is there any chance of backporting this package to 4.1? Or at least does it break any interfaces? in case I may want to do so... What has been fixed anyway? I also had experienced some problems on restart. Th

ArrayIndexOutOfBoundsException

2007-03-23 Thread drvillo
Hi all today my service stopped consuming messages, after ~2 hours since it was started. The exceptions thrown are the followings, after this the consumer has stopped to consume the messages. 2007-03-23 18:26:18,573 [ool-1-thread-21] ERROR ServerSessionPoolImpl - Error redispatching un

Re: ArrayIndexOutOfBoundsException

2007-03-28 Thread drvillo
Hi James it's here: https://issues.apache.org/activemq/browse/AMQ-1215 Francesco James.Strachan wrote: > > This looks like a concurrency bug; could you raise a JIRA for this please? > > On 3/23/07, drvillo <[EMAIL PROTECTED]> wrote: >> >> Hi all >&

Invalid Session state

2007-03-29 Thread drvillo
Hi all on high memory usage I randomly get these exceptions: 2007-03-29 13:14:32,574 [ool-1-thread-64] ERROR ActiveMQSession - error dispatching message: org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is

Re: ActiveMQ object cleanup

2007-04-16 Thread drvillo
Hi actually I also would like to know how to tell AMQ threads to quit... Francesco txtoth wrote: > > Well I thought I was on to something. I created a threadgroup and put my > thread in it and sure enough the activemq created threads as part of my > spring context creation get created in my

NullPointerException creating session

2007-04-21 Thread drvillo
Hi all tonight my service stopped consuming messages after the exception below: 2007-04-20 22:30:32,412 [ool-1-thread-88] ERROR ActiveMQSession - error dispatching message: java.lang.NullPointerException at org.apache.activemq.ra.ManagedConnectionProxy.createSessionProx

No redelivery/reconnect after unchecked exception

2007-06-12 Thread drvillo
Hi all I've been chasing this for quite a long time now: The issue is related to http://www.nabble.com/Neither-rollback-nor-redeliver-the-message-tf2040790s2354.html#a5617084 this post . The setup is AMQ-4.1-SNAPSHOT+Jencks-2.0+Spring2; I don't use XA transaction (see xml bean definition at th