Slack channel access

2023-09-20 Thread Paul Gale
Hi, Can someone grant me access to the ActiveMQ Slack channel? Thanks, Paul

Re: Recovery from broker OOM

2022-12-20 Thread Paul Gale
What OS are you using? On Tue, Dec 20, 2022 at 3:18 PM John Lilley wrote: > Greetings, > > > > We were recently seeing some broker OOM errors, probably due to an > overabundance of reply-to queues. While the broker itself seems to > recover, our client code does not. I suspect that we need to

Re: NFS mount of kahadb for ActiveMQ classic clusters

2022-02-15 Thread Paul Gale
Hi Karl, We use NFS 4.0 with automount on RHEL 8.3. Our NFS mount options are: */YOUR_MOUNT_NAME -rw,noatime,soft,intr,noexec,nosuid,nodev,users,rsize=65536,wsize=65536,proto=tcp,nfsvers=4.0,sec=sys 1.2.3.4:/your_nfs_server_export_name_here* Note the user id that accesses the mount has the same

Re: if DefaultMessageListenerContainer caches consumer, will it occurs situation of PooledConnectionFactory doc said

2018-01-12 Thread Paul Gale
>if DefaultMessageListenerContainer caches consumer, will it occurs situation >of PooledConnectionFactory doc said? I don't know - or more to the point it doesn't really matter as one should never use a pooled connection factory of any kind in conjunction with the DMLC. The DMLC is designed such

Re: Amq 5.15.2 slow queues with JMSXGroupID

2017-11-09 Thread Paul Gale
A few questions: - what prefetch size are your consumers using? Ideally it should be set to 1 to prevent out of order messages. - what acknowledgement mode are you using? - as each queue supports a max of 1024 groups, by default, are you sure you're not blowing past this number? That might cause t

Re: activeMQ fails on NetApp switch

2016-10-09 Thread Paul Gale
Can you please forward the details of how you're mounting the NetApp exports? Please include all all NFS parameters. Thanks, Paul On Thursday, October 6, 2016, fg wrote: > Hi, > > We have 5 managed virtual servers with managed NetApp SAN Storage at our > hoster. On every server an instance of A

Re: ActiveMQ Broker Camel Component and wildcards

2016-05-02 Thread Paul Gale
On Thu, Apr 28, 2016 at 2:49 PM, Quinn Stevenson < qu...@pronoia-solutions.com> wrote: > > > > MyHeaderValue > > > broker://${header[JMSDestination]} > > > ​I have a nearly identical route r

Re: activemq-all jar tight coupling with log4j

2016-03-29 Thread Paul Gale
ivemq-client jar > doesn't have a dependency on log4j (I just double checked) and only slf4j > so you are free to easily plug in whatever implementation of logging you > feel like. > > > > On Tue, Mar 29, 2016 at 3:51 PM, Paul Gale wrote: > > > Per the online docu

Re: activemq-all jar tight coupling with log4j

2016-03-29 Thread Paul Gale
Per the online documentation, using activemq-all is a legitimate way to connect to a broker. For those that were happily using it up until now, whether others consider it 'overkill' or not, they are now screwed by this change. Regardless, stating that one can 'fine tune' dependencies by switching a

Re: NFS v4 locks "given up" w/o any logging?

2016-03-22 Thread Paul Gale
We're using the following with our NetApp device: -rw,soft,intr,noexec,nosuid,nodev,users,rsize=65535,wsize=65535,proto=tcp ​Whilst 'soft' is generally not recommended I've found that using 'hard' causes the broker to lock up immediately. The settings we have in place above were chosen by our sto

Re: Message Group Limitations (how many simulataneous groups are supported?)

2016-01-26 Thread Paul Gale
*>Using a key such as social security number for message groups is going to be challenging simply due to the number of groups involved* This can be overcome by using the hashing technique I described earlier which has worked out nicely for us YMMV. In practice we've found that more often than not t

Re: Message Group Limitations (how many simulataneous groups are supported?)

2016-01-25 Thread Paul Gale
The default limit is indeed 1024 message groups per destination. However you increase that by adding the following configuration to your broker's activemq.xml: In addition to cachedMessageGroupMessageFactory (default) there's also the

Re: ** JMS Client HANGING - AMQ 5.9, AIX 6.1

2015-06-26 Thread Paul Gale
Carlos, You appear to running ActiveMQ 5.9.0 on Java 6 both of which are quite old. Trying upgrading to the latest ActiveMQ (5.11.1) with Java 7 or 8 and, as Tim pointed out, enable the G1GC garbage collector. Once you've done that remove the -Xms and -Xmn flags. See if that helps. On the off cha

Re: Queue locks up , purging it allows it to work again.

2015-04-19 Thread Paul Gale
What version of ActiveMQ are you using? Please send the contents of you activemq.xml file plus details of your producer consumer and how they're implemented. Have you set the broker's logging to TRACE level prior to running your experiments? If so, please attach or use pastebin. Thanks, Paul On S

Re: ActiveMQ 5.8.0: java.io.EOFException: Chunk stream does not exist, page: 19 is marked free

2014-09-10 Thread Paul Gale
This is the value that should be plugged into the rsize/wsize parameters for the mount's definition. I hope this helps. Thanks, Paul Thanks, Paul On Wed, Sep 10, 2014 at 10:27 AM, Paul Gale wrote: > In my particular case I fixed it when I realized that I had the NFS mount > settings f

Re: ActiveMQ 5.8.0: java.io.EOFException: Chunk stream does not exist, page: 19 is marked free

2014-09-10 Thread Paul Gale
In my particular case I fixed it when I realized that I had the NFS mount settings for the mount where the KahaDB message store was located mis-configured. Since correcting the settings I've not had a single problem. Are you using NFS? Thanks, Paul On Tue, Sep 9, 2014 at 2:49 AM, khandelwalanuj

Re: Number of consumers question

2014-07-02 Thread Paul Gale
Assuming a consumer is acknowledging messages correctly then the only time I have seen the dequeue count on the topics page of the web console be non-zero is when consumers are using transactions. That's been my experience. Not sure why though. Regardless, what dequeue count do you expect to see w

KahaDB introspection command-line tool?

2014-05-19 Thread Paul Gale
Does anyone know of a command line utility for examining the contents KahaDB message store? I am experiencing occasional store corruption and need to investigate why. Thanks, Paul

Choice of IO exception handler with pluggable storage lockers?

2014-05-06 Thread Paul Gale
Hi, ActiveMQ 5.9.1 I have configured ActiveMQ to use the kaha persistence adapter with a lease-database-locker. However, this brings up the question as to which IO exception handler one should configure: the DefaultIOExceptionHandler or the JDBCIOExceptionHandler? The JDBCIOExceptionHandler's m

Fwd: Connection pooling for VM protocol?

2014-04-22 Thread Paul Gale
Hi, Connection pooling is generally recommended as a good thing. However, is pooling of VM protocol (vm://) based connections required/advised/nonsensical when communicating between Camel and a broker in which it is embedded? Please explain. >From what I have read the VM protocol bypasses the TCP

Re: Relocated broker loses all durable subscriptions

2014-04-05 Thread Paul Gale
>Without the store, it has no way to remember anything across restarts that is not in the configuration files. Understood. However, the two broker instances referenced the SAME message store (not concurrently) which they each mounted over NFS. Thanks, Paul On Sat, Apr 5, 2014 at 9:55 AM, artna

Relocated broker loses all durable subscriptions

2014-04-04 Thread Paul Gale
Hi, ActiveMQ 5.8.0 on RHEL 6.1. We recently moved an existing broker to a new server. It was really a logic move; the old broker was shutdown completely and a new one installed from scratch on another server without copying any files from the old broker. Essentially the new broker was the same a

Re: Problem propagating edits on wiki to main site

2014-01-28 Thread Paul Gale
Can one of the committers take a look into this ActiveMQ wiki issue below? On Tue, Jan 28, 2014 at 10:43 AM, Paul Gale wrote: > Hi, > > I made some edits to the ActiveMQ wiki yesterday here: > https://cwiki.apache.org/confluence/display/ACTIVEMQ/Pluggable+storage+lockers > whe

Problem propagating edits on wiki to main site

2014-01-28 Thread Paul Gale
Hi, I made some edits to the ActiveMQ wiki yesterday here: https://cwiki.apache.org/confluence/display/ACTIVEMQ/Pluggable+storage+lockers where I documented some of the changes 5.9.0 brought to pluggable storage lockers. However, my edits have not propagated over to the main site yet. Can someone

Re: Why does connection id use broker host in case of STOMP clients?

2013-12-20 Thread Paul Gale
Hi Sophia, It's not clear to me how you intend to use the load balancer. Are you expecting it to route traffic to the appropriate broker based on client_id by inspecting messages or something else? Are multiple brokers expected to be active simultaneously or master/slave? Do you have to use a loa

Re: Stomp reply-to header get altered to temporary queue by ActiveMQ in STOMP to JMS messaging

2013-12-04 Thread Paul Gale
STOMP, as protocol, does not support request-response (or request/reply, whatever you want to call it) per se. However, given that ActiveMQ has mapped the 'reply-to' header to the associated JMS header one could infer that ActiveMQ's implementation of STOMP does support request-response, or perhaps

Re: Producer Flow Block - Consumer Deadlock after max memory limits exceeded

2013-11-22 Thread Paul Gale
The checkpoint worker (which is responsible for determining which data log files should be removed) runs every 30 seconds. One can learn a lot about how the data log purge is happening by enabling its logger. See here for more details: http://activemq.apache.org/why-do-kahadb-log-files-remain-afte

Re: bin/run.jar renamed to bin/actvemq.jar

2013-11-08 Thread Paul Gale
There for me as well. On Fri, Nov 8, 2013 at 3:30 PM, Christian Posta wrote: > Are you sure it's gone? Seems there to me (attached) > > On Fri, Nov 8, 2013 at 11:31 AM, DV wrote: >> Hey guys, the 5.9.0 release once again shuffles files around - which is >> fine of course - but as a result our in

Re: 5.3 question and server upgrade question...

2013-11-05 Thread Paul Gale
Have you verified via broker logging that the prefetch values you've configured are being honored by the broker? Are consumer priorities in use? Are your consumers instances of the same executable or are they implemented individually? Can you post your broker configuration: activemq.xml? How are

Re: ActiveMQ STOMP documentation omission

2013-11-05 Thread Paul Gale
the broker must implement their own solution for doing so." On Tue, Nov 5, 2013 at 9:08 AM, Christian Posta wrote: > Done: https://cwiki.apache.org/confluence/display/ACTIVEMQ/Stomp > > Should propagate to the community wiki in a few hours. > > > > On Tue, Nov 5, 2013 at

ActiveMQ STOMP documentation omission

2013-11-05 Thread Paul Gale
Hi, I've noticed that the STOMP documentation does not mention the 'read heart-beat grace period multiplier' configuration option that was introduced in 5.9.0. Any chance someone could add that? Thanks, Paul

Re: New Web Console...

2013-10-30 Thread Paul Gale
What on earth is sirona/hawtio On Tue, Oct 29, 2013 at 4:58 PM, Romain Manni-Bucau wrote: > Hi guys, something to think about is sirona/hawtio I think. Any ideas? > Goals are not exactly the same but there are some overlaps so I'd expect > sirona amq, camel etc plugins. > Le 29 oct. 2013 21:1

Re: Transport Connection EOFs

2013-10-23 Thread Paul Gale
I believe that those exceptions occur when a client does not disconnect from the broker gracefully. Verify that your client is making the appropriate close call on the connection. Do you have STOMP based clients that are frequently connecting and disconnecting? Thanks, Paul On Wed, Oct 23, 2013

LevelDB in ActiveMQ 5.9.0

2013-10-22 Thread Paul Gale
Per Claus Ibsen's blog post: "Over time level db is planned to be default out of the box persistent store, instead of the current kahadb store. Though we are not there yet, so kahadb is still the default store." What does "we are not there yet" mean? What are the caveats regarding LevelDB usage?

Dispatched Queue Size vs Dispatched Counter vs Pending Queue Size

2013-10-11 Thread Paul Gale
(context: for active durable topic subscribers. We're not using queues) What is the definition of 'Dispatched Queue Size' that appears on the web console? What broker and/or consumer behaviors can cause it to increase? The definitions for the others I have are: Dispatched Counter - the total n

Re: Reject queue message if no Consumer is available

2013-10-08 Thread Paul Gale
Simone's requirements do seem similar to what's described in the section entitled: "Complete Example: Producer that only Produces when there is a Consumer" (speaking of which all the code examples are missing) here: http://activemq.apache.org/cms/handling-advisory-messages.html Not endorsing it,

Re: ActiveMQ 5.8.0: java.io.EOFException: Chunk stream does not exist, page: 19 is marked free

2013-10-03 Thread Paul Gale
f you can reproduce in 5.9 we have a problem that needs > work. the key to any resolution is a reproducible test case. > > In any event, you should be able to recover by rebuilding the index, > just deleting the db.data file before a restart. > > On 3 October 2013 17:04, Paul Ga

Re: ActiveMQ 5.8.0: java.io.EOFException: Chunk stream does not exist, page: 19 is marked free

2013-10-03 Thread Paul Gale
Anyone have any some thoughts about this? Thanks, Paul On Tue, Oct 1, 2013 at 12:50 AM, Paul Gale wrote: > Hi, > > I'm using ActiveMQ 5.8.0 on RHEL 6.1 > > I have noticed the following exception appearing in my broker's log > file. It appears to be related to the o

java.io.IOException: BTree corrupted: Cylce detected.

2013-09-30 Thread Paul Gale
Hi, I'm using ActiveMQ 5.8.0 on RHEL 6.1. Any troubleshooting tips folks can share as to what might be causing this exception to show up in my broker's log? Note the miss-speeling of 'cylce' in the exception. I was unable to get the broker to launch after this point despite numerous restarts. In

ActiveMQ 5.8.0: java.io.EOFException: Chunk stream does not exist, page: 19 is marked free

2013-09-30 Thread Paul Gale
Hi, I'm using ActiveMQ 5.8.0 on RHEL 6.1 I have noticed the following exception appearing in my broker's log file. It appears to be related to the once hourly check for expired messages, as these occur at _exactly_ the same time past the hour, as given by the expireMessagesPeriod attribute on our

Re: NIO transport performance for ActiveMQ

2013-09-24 Thread Paul Gale
Can you post your configuration (activemq.xml) and your launching script? On Tue, Sep 24, 2013 at 11:05 AM, johnbing wrote: > Hi Ceposta, > > When I connect my clients using NIO transport I can see NIO worker threads > in my logs. > Like: > 40 5 3 3 0

Re: Pluggable locker strategy for redelivery plugin?

2013-09-19 Thread Paul Gale
lock on a broker. > > On 16 September 2013 14:52, Paul Gale wrote: > > Hi, > > > > Is it possible to configure a locker via XML for the redelivery plugin? I > > know it's possible for KahaDB. > > > > I ask as I've just been experimenting with t

Inactivity monitoring

2013-09-19 Thread Paul Gale
Hi, Using ActiveMQ 5.8.0 and Fuse 5.3.1 on RHEL 6.1 I have configured some Camel routes running on ActiveMQ 5.8.0 to pull messages from end points exposed on Fuse 5.3.1. By default the ActiveMQConnectionFactory the Camel route uses will start its inactivity monitor to monitor the state of the con

TCP transport options.

2013-09-18 Thread Paul Gale
Hi, Of all the defined TCP transport options: minimumWireFormatVersion trace daemon useLocalHost socketBufferSize keepAlive soTimeout connectionTimeout wireFormat closeAsync soLinger maximumConnections diffServ typeOfService tcpNoDelay - which can be used ONLY on a transport connector definition

STOMP and NACK's

2013-09-17 Thread Paul Gale
Hi, ActiveMQ 5.8.0 I've noticed that messages our STOMP client NACKs are sent to the DLQ associated with the destination the message was consumed from (we have individual dead letter strategy configured). Is there a way to annotate a STOMP NACK message such that ActiveMQ will NOT put the NACK'ed

Re: Upgrade Tanuki Service Wrapper for ActiveMQ 5.9.0?

2013-09-16 Thread Paul Gale
, which is a category X for > > > Apache (so not usable in an Apache project). > > > > > > For Karaf, I compiled the native lib for new architectures. > > > > > > Regards > > > JB > > > -- > > > Jean-Baptiste Onofré > > &

Pluggable locker strategy for redelivery plugin?

2013-09-16 Thread Paul Gale
Hi, Is it possible to configure a locker via XML for the redelivery plugin? I know it's possible for KahaDB. I ask as I've just been experimenting with the redelivery plugin and noticed that it creates it's own data store for which it maintains a file based lock to govern access in a master-slave

Re: Upgrade Tanuki Service Wrapper for ActiveMQ 5.9.0?

2013-09-16 Thread Paul Gale
B > -- > Jean-Baptiste Onofré > jbono...@apache.org > http://blog.nanthrax.net > Talend - http://wwx.talend.com > > - Reply message - > From: "Paul Gale" > To: > Subject: Upgrade Tanuki Service Wrapper for ActiveMQ 5.9.0? > Date: Mon, Sep 16, 2013

Re: Upgrade Tanuki Service Wrapper for ActiveMQ 5.9.0?

2013-09-16 Thread Paul Gale
to buy a license to use it. The old > version that is shipped with ActiveMQ is still allowed to use for free > without paying. Therefore we need to stick to that version. > > This has been debated before so you can possible find old mail threads > about this. > > On Mon, Sep 16, 2013 a

Upgrade Tanuki Service Wrapper for ActiveMQ 5.9.0?

2013-09-16 Thread Paul Gale
Hi, Not sure if this has already happened or not, as I'm not using 5.9.0 yet, but I was wondering if the Tanuki Service Wrapper that ships with ActiveMQ is going to be upgraded as part of the 5.9.0 release? The version that shipped with ActiveMQ 5.8.0 is very old. I can create a JIRA for this is

Configuring the JVM's tmp dir in the wrapper script?

2013-09-16 Thread Paul Gale
Hi, ActiveMQ 5.8.0 on RHEL 6.1 I have a suggestion for the default configuration of the Tanuki Service wrapper script that ships with ActiveMQ: can it include an entry that defines a default path for the JVM's temporary directory? Example: wrapper.java.additional.n=-Djava.io.tmpdir=%ACTIVEMQ_BA

Clarification requested regarding topic subscription management in 5.8.0

2013-09-12 Thread Paul Gale
Hi, Using ActiveMQ 5.8.0 on RHEL 6.1 I'd like some clarification as to what is the expected behavior when one follows these steps: 1. Using the web console create a durable topic subscriber. In my case it was for an existing (and busy) topic (let's call it foo), the selector was blank a

Re: ActiveMQ 5.8.1 Release Date

2013-09-10 Thread Paul Gale
r: @dejanb > Blog: http://sensatic.net > ActiveMQ in Action: http://www.manning.com/snyder/ > > > On Tue, Sep 10, 2013 at 3:26 PM, Paul Gale wrote: > > > As part of the 5.9.0 release are there plans to upgrade SLF4J to 1.7.5+? > > The risk should be low. > > &g

Re: ActiveMQ 5.8.1 Release Date

2013-09-10 Thread Paul Gale
As part of the 5.9.0 release are there plans to upgrade SLF4J to 1.7.5+? The risk should be low. Thanks, Paul On Tue, Sep 10, 2013 at 9:08 AM, Dejan Bosanac wrote: > Hi, > > yes the plan is to release 5.9 soon. We're working on hardening the code > and preparing for the release. There's no pla

Re: Inconsistent exception messages.

2013-08-30 Thread Paul Gale
scribe to some advisory topic(s), if the client implementation supported it. I haven't tried to do that with ours. Thanks, Paul > > On 28 August 2013 17:39, Paul Gale wrote: > > ActiveMQ 5.8.0 on RHEL 6.1 connecting w/STOMP 1.2. > > > > I have noticed that the exc

Inconsistent exception messages.

2013-08-28 Thread Paul Gale
ActiveMQ 5.8.0 on RHEL 6.1 connecting w/STOMP 1.2. I have noticed that the exception messages that can be returned via an ERROR frame can vary in format for the same exception type depending on where in the source it originated. In my STOMP client I parse out the message header of the ERROR frame

Re: Broker leaks FDs - Too many open files

2013-08-19 Thread Paul Gale
On Mon, Aug 19, 2013 at 4:57 PM, Jerry Cwiklik wrote: > What are the consequences of using closeAsync="false"? Setting async to false means that the socket close call is blocking and is not handled in a separate thread. This is preferable and common in web applications where STOMP clients, sa

Bad .gitignore file generated by 'mvn idea:idea'

2013-08-19 Thread Paul Gale
Hi, Building ActiveMQ 5.8.0 on RHEL 6.1. The generated .gitignore file contains an entry like 'data/'. This entry causes matches against a sizeable chunk of the activemq-amq-store sub-project which are then excluded from the commit to one's local repo. You won't notice it until someone checks o

Re: STOMP heart beat 'tolerance'

2013-08-07 Thread Paul Gale
we can get that into > ActiveMQ 5.x as well? > > > On Wed, Aug 7, 2013 at 12:50 PM, Paul Gale wrote: > > > Hi, > > > > Regarding the configuration of heart beating the STOMP protocol spec > > states: > > > > "- because of timing inaccu

STOMP heart beat 'tolerance'

2013-08-07 Thread Paul Gale
Hi, Regarding the configuration of heart beating the STOMP protocol spec states: "- because of timing inaccuracies, the receiver SHOULD be tolerant and take into account an error margin" How 'tolerant' does ActiveMQ determine it will be when calculating its 'error margin' regarding the arriv

Re: Influence of persistence adapter settings on speed of failover.

2013-08-01 Thread Paul Gale
Any of the illuminati have thoughts about my observations that they could share? On Thu, Aug 1, 2013 at 11:36 AM, Paul Gale wrote: > Hi, > > I have been experimenting with failover using the Master/Slave shared > storage strategy. I have a custom lease locker (shown in the e

Error on kahaDB wiki page

2013-08-01 Thread Paul Gale
Hi, The page http://activemq.apache.org/kahadb.html has some content missing in the section entitled "Slow file system access diagnostic logging". Can someone correct this? Thanks, Paul

Influence of persistence adapter settings on speed of failover.

2013-08-01 Thread Paul Gale
Hi, I have been experimenting with failover using the Master/Slave shared storage strategy. I have a custom lease locker (shown in the example below) that correctly obtains the lock within a couple of seconds of when the other broker dies. However, depending on the value of the other settings for

STOMP login and passcode character limitations?

2013-07-30 Thread Paul Gale
Hi, The STOMP protocol definition does not specify a set of legal characters for the login and passcode headers (that I can see) on the CONNECT frame. However, I was wondering whether ActiveMQ enforces any restrictions regarding the set of legal characters for the two headers mentioned, and other

Re: ActiveMQ 5.7 master/salve nfs4 both active

2013-07-19 Thread Paul Gale
I see. I didn't realize you were using the old deprecated KahaPersistenceAdapter. On Fri, Jul 19, 2013 at 2:43 PM, zhjt80 wrote: > I upgrade the CentOS form 6.0 to 6.2, the high CPU issue is gone. > > I think the KahaPersistenceAdapter default already include the share file > lock, we don't need

Re: ActiveMQ 5.7 master/salve nfs4 both active

2013-07-18 Thread Paul Gale
Shouldn't there be a Shared File Locker element defined inside your kahaPersistenceAdapter? See this page for examples: http://activemq.apache.org/pluggable-storage-lockers.html On Thu, Jul 18, 2013 at 4:29 PM, zhjt80 wrote: > Thanks for your quick reply, Ceposta. > > I tested with below scenes

Re: ActiveMQ 5.7 master/salve nfs4 both active

2013-07-18 Thread Paul Gale
Please post the contents of your activemq.xml config file. On Thu, Jul 18, 2013 at 12:44 PM, zhjt80 wrote: > Could anybody help me ? > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/ActiveMQ-5-7-master-salve-nfs4-both-active-tp4669415p4669470.html > Sent from th

Re: Storage algorithm?

2013-07-16 Thread Paul Gale
usage which is used for non-persistent messages. > > If you have a scenario where producer and consumer are equally fast and you > don't expect messages to pile up in your broker then you can go with fairly > low values for each of the settings above. > > Hope this helps a bit.

Storage algorithm?

2013-07-15 Thread Paul Gale
Hi, Is there a known algorithm or best practice folks use for determining values for memory usage, store usage and temp usage for a broker with a known JVM heap size? I assume said algorithm would require as input the projected number of producers and consumers, average message size, message thro

Re: Activemq clustring and JMX port chnage

2013-07-11 Thread Paul Gale
I'm confused. It appears that there are two of you asking for nearly identical advice on the same email thread. Are you guys working together on the same problem or are these completely unrelated? I cannot tell whose problems I'm answering or how your respective situations differ. Thanks, Paul On

Handlersocket/MySQL for use by JDBC adapter

2013-07-11 Thread Paul Gale
Hi, Has anyone experimented with using the JDBC storage adapter with a MySQL back-end that's configured to use HandlerSocket? If so, I would love to hear about your experiences. For those who don't know about HandlerSocket it brings NoSQL functionality to MySQL whilst still supporting simplified

Re: Activemq clustring and JMX port chnage

2013-07-11 Thread Paul Gale
Try removing: -Dcom.sun.management.jmxremote In the 'ActiveMQ in Action' book it states (emphasis mine): "Don’t let the name of this property fool you, as it enables the JMX agent for local access ONLY." Remote access can only be granted once "com.sun.management.jmxremote.port" is assigned a v

Re: Activemq clustring and JMX port chnage

2013-07-11 Thread Paul Gale
Yeah, the "createConnector" attribute should be 'false' to prevent ActiveMQ from creating its own connector and instead use the one created by the JVM. It would also help if you set each broker's 'brokerName' attribute to something unique (defaults to 'localhost' otherwise) to differentiate them i

STOMP and PFC

2013-07-09 Thread Paul Gale
Hi, Using ActiveMQ 5.8.0 and STOMP 1.2. How should a STOMP based producer that wishes to honor PFC do so? By using the 'receipt' header in the SEND frame? Are there any other things the STOMP producer must do to participate in PFC? Thanks, Paul

STOMP logging documentation

2013-07-09 Thread Paul Gale
Hi, Here http://activemq.apache.org/stomp.html it states that to enable/disable STOMP tracing you should do the following: log4j.logger.org.apache.activemq.transport.stomp=TRACE, stomp # enable this line and disable the above if you just want the frame IO. #log4j.logger.org.apache.activemq.transp

PFC and cursors

2013-07-08 Thread Paul Gale
Hi, I've read where message cursors should be used when PFC is turned off or for when consumers fall behind producers. The doc states that in the normal case, so-called, where consumers keep up with producers, does not involve a pending cursor of any kind. The configured cursor is only engaged whe

Re: maxAllowableDiffFromDBTime bug?

2013-07-02 Thread Paul Gale
Apparently adding useJDBCCompliantTimezoneShift=true on the mysql connector URL fixes it. On Tue, Jul 2, 2013 at 5:07 PM, Paul Gale wrote: > Hi, > > When setting this value to 1000, say, on a lease database locker I've > noticed that the method determineTimeDifference always r

maxAllowableDiffFromDBTime bug?

2013-07-02 Thread Paul Gale
Hi, When setting this value to 1000, say, on a lease database locker I've noticed that the method determineTimeDifference always reports that our MySQL database server is four hours ahead. They're not. Is this a bug or does the mysql jdbc driver need to be configured some particular way to make i

Re: A Hawt.IO mailing list?

2013-07-02 Thread Paul Gale
lly well (much easier to keep track of and work with > than google groups so far); but if folks really really want a google > group we can spin one up; but so far we've found github issues tend to > be easier for folks to create, edit, open/close/comment on etc > > On 1 Jul

A Hawt.IO mailing list?

2013-07-01 Thread Paul Gale
Does anyone know of if there's a dedicated mailing list for communicating with the committers of Hawt.IO? The only means of communication I can see are the issue list on the Github page and some IRC channel, neither of which are particularly useful. It seems a lot has changed with the latest down

Re: 5.8.0 Java build version?

2013-07-01 Thread Paul Gale
ld be about that. I built my locally copy with 1.6.0_45. That should be ok, right? Thanks, Paul On Mon, Jul 1, 2013 at 2:28 PM, Christian Posta wrote: > Paul, > > Looks like Build-Jdk: 1.6.0_37 > > > On Mon, Jul 1, 2013 at 2:17 PM, Paul Gale wrote: > > > Hi,

5.8.0 Java build version?

2013-07-01 Thread Paul Gale
Hi, After reading the build instructions for ActiveMQ here: http://activemq.apache.org/building.html I'm wondering what was the _exact_ version of Java that was used to build the release version of 5.8.0? Thanks, Paul

expireMessagesPeriod?

2013-06-30 Thread Paul Gale
Hi, On this page of the doc: http://activemq.apache.org/manage-durable-subscribers.html it states the following: "Some applications send message with specified time to live. If those messages are kept on the broker for the offline durable subscriber we need to remove them when they reach their e

gcInactiveDestinations

2013-06-28 Thread Paul Gale
gcInactiveDestinations is defined as delete inactive destinations that are empty. An empty destination is not the only criteria under which I want a destination to be deleted. Is there a setting, or combination of settings, that will automatically delete a destination that's not empty but has not

Re: kahadb system property configuration options

2013-06-28 Thread Paul Gale
g > > threads and reduce the time spent in the thread that actually writes to > the > > journal. The write stat window is for logging purposes to get an idea of > an > > avg size of write batches per WRITE_STAT_WINDOW writes. > > > > > > > > > > On

kahadb system property configuration options

2013-06-27 Thread Paul Gale
Hi, I came across the following system properties that are uses by the kahaDBPersistenceAdapter, their default values are: -Dorg.apache.kahadb.journal.appender.WRITE_STAT_WINDOW=0 -Dorg.apache.kahadb.journal.CALLER_BUFFER_APPENDER=false A particular unit test recommends setting them to: -Dorg.a

wireFormat.cacheSize definition?

2013-06-27 Thread Paul Gale
Hi, I have some questions regarding this option as the documentation is next to useless on this: 1. What items are retained in this cache? The documentation just calls the items 'values'. 2. Is a separate cache maintained per destination? 3. What behavior does cache size influence?

Re: Retry connection on broker start when database is unavailable

2013-06-24 Thread Paul Gale
Would it make a difference if you used the JDBCIOExceptionHandler instead of the default one perhaps? Just a thought. On Mon, Jun 24, 2013 at 12:35 PM, afant wrote: > I just tried the 5.9 nightly snapshot. On my broker I set > restartAllowed="true". Then, I tried to start the

Re: Unsubscribing STOMP based durable topic subscribers in ActiveMQ 5.3.1?

2013-06-24 Thread Paul Gale
Anyone have any thoughts on how to fix this issue on 5.3.1? Thanks, Paul On Sun, Jun 23, 2013 at 6:07 PM, Paul Gale wrote: > However, I am using ActiveMQ 5.3.1 which I believe only supports STOMP > 1.0. I thought that STOMP 1.1 support was only introduced in ActiveMQ > 5.4.x? My sit

Re: Unsubscribing STOMP based durable topic subscribers in ActiveMQ 5.3.1?

2013-06-23 Thread Paul Gale
For STOMP 1.0, ActiveMQ will treat unsubscribes using subscriptionName == > clientId. > If you try to unsubscribe with STOMP 1.1, it will work properly. > > > On Fri, Jun 21, 2013 at 11:54 AM, Paul Gale wrote: > > > Hi, > > > > (Yes, I know this version is ancient

Unsubscribing STOMP based durable topic subscribers in ActiveMQ 5.3.1?

2013-06-21 Thread Paul Gale
Hi, (Yes, I know this version is ancient but it's still in use around here. We're in the process of upgrading to 5.8.0). Per the doc it states that it's a requirement for STOMP clients that want to create durable topic subscription to ensure that the client-id and subscription name match. What's

Re: Changing disk location of tempUsage

2013-06-12 Thread Paul Gale
The 'tmpDataDirectory' attribute on the broker tag can specify the location of the temp storage. Example: Thanks, Paul On Wed, Jun 12, 2013 at 1:27 PM, fenbers wrote: > I get an eror on AMQ startup that I request 1gb of temporary store limit > but > only 500mb are available on ${activemq_

Re: Amazon EC2 and ActiveMQ : Inactive client disconnects

2013-06-05 Thread Paul Gale
Perhaps the options wireFormat.maxInactivityDuration and wireFormat.maxInactivityDurationInitalDelay might help? http://activemq.apache.org/configuring-wire-formats.html Thanks, Paul On Wed, Jun 5, 2013 at 3:12 PM, manua wrote: > HI, > > I am using ActiveMQ 5.8.0 setup on Amazon EC2 Ubuntu i

Re: How do I run activemq with STOMP? Why is derby not found?

2013-05-30 Thread Paul Gale
One way to see is to start ActiveMQ in console mode: ./bin/activemq console and read the debug output that appears on the screen. Thanks, Paul On Thu, May 30, 2013 at 2:54 PM, Sam Roberts wrote: > On Wed, May 29, 2013 at 7:47 PM, Christian Posta > wrote: > > Yah, you can set environment var

Re: Strange behavior with unregistering MBeans

2013-05-17 Thread Paul Gale
Stunned silence. Anyone have any thoughts on this? Thanks, Paul On Wed, May 15, 2013 at 4:29 PM, Paul Gale wrote: > Hi, > > I've noticed some unexplained behavior when using the web-console in 5.8.0 > to delete either topics or queues. This is NOT the infamous CSRF attack &g

Re: Strange behavior with unregistering MBeans

2013-05-15 Thread Paul Gale
(JmxMBeanServer.java:639) jvm 1| at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:263) jvm 1| ... 56 more Thanks, Paul On Wed, May 15, 2013 at 4:29 PM, Paul Gale wrote: > Hi, > > I've noticed some unexplained behavior when

Strange behavior with unregistering MBeans

2013-05-15 Thread Paul Gale
Hi, I've noticed some unexplained behavior when using the web-console in 5.8.0 to delete either topics or queues. This is NOT the infamous CSRF attack question. FYI: the credentials entered when accessing the web-console are the same as those found in jmx.access/jmx.password. Steps to reproduce.

Re: difficult and unusual configuration..

2013-05-12 Thread Paul Gale
>I saw this document from here http://activemq.apache.org/jdbc-master-slave.html and i think in here they allow brokers to have more than 2. >Did i misunderstand what you mean? In master-slave you can have as many brokers as you want, regardless of the storage strategy in use. However, there can o

Re: Options for STOMP transport connector

2013-05-12 Thread Paul Gale
ly specified what the option prefix should be. Ideally allowing non-prefixed options should become a deprecated 'feature' and eventually obsoleted, thus mandating that options be fully qualified. Thoughts? Thanks, Paul On Sat, May 11, 2013 at 12:14 AM, Christian Posta wrote:

Re: Options for STOMP transport connector

2013-05-10 Thread Paul Gale
the ActiveMQConnectionFactory. > > What client are you using to connect with JMS? > > > > > > On Fri, May 10, 2013 at 7:49 AM, Paul Gale > wrote: > > > >> Hi, > >> > >> Can the following options also be used on a

  1   2   >