Best Practices configuring Active MQ on Software cluster

2012-06-04 Thread Zagan
Hello, I'm currently planning to realize high availability of an Active MQ broker instance through the use of a Pacemaker HA resource manager on a Debian Linux system. I'm currently using Active MQ 5.5.1. 1. Are there any tips, tutorials, best practices, common mistakes on how to setup Active MQ

Re: bridge creation to activemq from remote

2012-04-16 Thread Zagan
Hi, did you set all the active mq client libs in the CLASSPATH of the client? Furthermore you have to add a jndi.properties file to your CLASSPATH. For further information try http://activemq.apache.org/jndi-support.html http://activemq.apache.org/jndi-support.html -- View this message in cont

Re: Usage Manager memory limit reached

2012-04-16 Thread Zagan
Hi, did you also increase the -XmX parameter in the activemq startup script? This can also be due to a problem in the client implementation - i.e. transaction handling. -- View this message in context: http://activemq.2283324.n4.nabble.com/Usage-Manager-memory-limit-reached-tp4557657p4561328.h

Re: Activemq and no space left issue.

2012-04-01 Thread Zagan
Hi, this looks awful! Check out your policies in the activemq.xml config file, if any of this limits are reached! When you set to 1GB check that on your hard drive at least 1GB are free. -- View this message in context: http://activemq.2283324.n4.nabble.com/Activemq-and-no-space-left-issue-tp

Active MQ and High Availability Manager

2012-04-01 Thread Zagan
Hello, I need the possibility to run Apache Active MQ highly available. At the moment I would use Shared Filesystem Master/Slave but I have the problem, that IP/Hostname of Master and Slave have to be the same. The sender application is only a JMS compliant client, which isn't using Apache Active

Re: Is DLQ for sender an receiver of messages?

2012-04-01 Thread Zagan
Thanks for your answear! -- View this message in context: http://activemq.2283324.n4.nabble.com/Is-DLQ-for-sender-an-receiver-of-messages-tp4511845p4523891.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: What are the official default JMSheader fields? "Group" and "Sequence" ?

2012-03-28 Thread Zagan
thanks for sharing your answear! -- View this message in context: http://activemq.2283324.n4.nabble.com/What-are-the-official-default-JMSheader-fields-Group-and-Sequence-tp4506332p4511858.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: What to do for a migration from MQseries to ActiveMQ?

2012-03-28 Thread Zagan
It is also a question, if you use specific WebSphere MQ features within your client code - like manipulating the MQMD header of the message or using codepage conversion. If you migrate to Active MQ you would have to find solutions for that! -- View this message in context: http://activemq.2283324

Is DLQ for sender an receiver of messages?

2012-03-28 Thread Zagan
Hello, as I currently understand, the DLQ queue is used in two cases - the JMS client reaches redelivery attempts specified in the RedeliveryPolicy - the JMS client tries to send an expired message How can I provoke the situation, where a message is sent to the DLQ Queue? Can anyone provide a co

Re: JMS specific failover capabilities

2012-02-22 Thread Zagan
Hi Matt, sadly I couldn't check if the SAP PI adapter can understand a failover URL. I will have an answear next tuesday, when I get access to the system. I am a little bit confused today and sadly didn't understand your whole answear. What does your current SAP PI URL look like? So far as I under

RE: logging.properties not found error during Activemq startup

2012-02-16 Thread Zagan
Hi so far it should work out of the box, At the moment the only thing I found odd is > -Djava.util.logging.config.file=logging.properties -Dact ivemq.classpath=D:\OEE\apache-activemq-5.5.1-bin\apache-activemq-5.5.1/conf I would expect it to be -Djava.util.logging.config.file=logging.properties -

Re: JMS specific failover capabilities

2012-02-16 Thread Zagan
Hi Matt, thank you very much! Sadly I don't understand why I need two masters and two slaves. When I get it right in general the client connects to master1. When master1 goes down, it reconnects to master2. How is this achieved? Is master1 acting like a proxy because of the network connector? But

RE: Master/slave configuration not working

2012-02-16 Thread Zagan
Well, this could be due to the locking mechanism which is implemented in Active MQ. In MySQL I had simiilar problems, which could be solved switching the MySQL engine to Inno DB. -- View this message in context: http://activemq.2283324.n4.nabble.com/Master-slave-configuration-not-working-tp43

RE: Master/slave configuration not working

2012-02-15 Thread Zagan
Which database do you use? -- View this message in context: http://activemq.2283324.n4.nabble.com/Master-slave-configuration-not-working-tp4390225p4390590.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

RE: logging.properties not found error during Activemq startup

2012-02-15 Thread Zagan
Sorry Chaitanya, of course I meant the conf-directory :-) Can you send a dir on the conf directory? Is the ACTIVEMQ_HOME variable echoed in the console? Does it point to the ACTIVEMQ_INSTALL_DIR where the conf directory is placed? -- View this message in context: http://activemq.2283324.n4.nab

Re: logging.properties not found error during Activemq startup

2012-02-15 Thread Zagan
Hello Chaitanya , which command do you issue to start your activemq instance? Did you build a separate config using activemq-admin command? Can you provide the result of an ls in the $AMQ_INSTALL_DIR/data directory? There should exist a logging.properties file -- View this message in context: htt

JMS specific failover capabilities

2012-02-15 Thread Zagan
Hello, I have the problem that one of my message producers/consumers is SAP PI. It can be configured to access Active MQ through the use of a Generic JMS driver. The communication between SAP PI and Active MQ instance should be highly available. Therefore I have to use failover protocol on the cl

Re: Master/slave configuration not working

2012-02-15 Thread Zagan
Hi Chaitanya, are you using Shared Database Master/Slave or Shared Filesystem Master/Slave? -- View this message in context: http://activemq.2283324.n4.nabble.com/Master-slave-configuration-not-working-tp4390225p4390422.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Restarting ActiveMq removes/cleans all persisted messages/queues/topics

2012-02-13 Thread Zagan
Iam facing the same problem using MySQL database for persistence -- View this message in context: http://activemq.2283324.n4.nabble.com/Restarting-ActiveMq-removes-cleans-all-persisted-messages-queues-topics-tp3728577p4383951.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Choosing the right HA option

2012-02-13 Thread Zagan
Hello again, at the moment I am analysing and evaluating the different Active MQ HA possibilities. At the Active MQ instance level I found * Shared Nothing Master/Slave > two separate instances * Shared Database Master/Slave > two instances, active-passive, sharing the same database * Shared File

Who creates ActiveMQ.DLQ and DLQ. Queues

2012-02-01 Thread Zagan
Hello, I have an Active MQ broker secured with Username/Password through the use of and . I now want to configure a Deadletter queue for each created queue:

Re: storeUsage not working

2012-01-27 Thread Zagan
thanks for sharing your solution -- View this message in context: http://activemq.2283324.n4.nabble.com/storeUsage-not-working-tp4314236p4333264.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

RE: ActiveMQ 5.4.1: weird behaviour

2012-01-27 Thread Zagan
Hi, well I tried this in the past too :-(. But upgrading was the only successful solution. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-5-4-1-weird-behaviour-tp4312895p4333256.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

RE: ActiveMQ 5.4.1: weird behaviour

2012-01-22 Thread Zagan
Hi, migrate to Active MQ 5.5.1, install SUN Java JDK 1.6.0.18+ if possible and try it again. If you face the same problems again I recommend you to contact someone from Fusesource.com support. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-5-4-1-weird-behaviou

Re: storeUsage not working

2012-01-22 Thread Zagan
Hello, you have to sent the messages as persistent messages to reach the storeUsage value. -- View this message in context: http://activemq.2283324.n4.nabble.com/storeUsage-not-working-tp4314236p4320053.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ crashes frequently

2012-01-19 Thread Zagan
Hi I run in the same issue a time ago. Can you please check if your .log files in the /data directory are cleaned up? On basis of the information I suppose this behaviour is due to a misconfiguration of your clients. If this is the case often broken log file cleanup is a symptom. -- View this mess

Re: Configuration Shared Master Slave (and some questions)

2012-01-19 Thread Zagan
Hi, seems to me like you understanding of master/slave configuration is wrong. To have master/slave sharing the current instance status you have to share file access between same. They could share the same filesystem or the same database. When I tested the failover capabilities with the JMS clien

Re: activemq performance

2012-01-19 Thread Zagan
Hi, sadly I can' help you with this. But the web console seems to be a deployable WAR archive. You only have to customize the steps described under http://activemq.apache.org/web-console.html http://activemq.apache.org/web-console.html for you JBoss server. -- View this message in context:

Re: INFO | Slow KahaDB access

2012-01-19 Thread Zagan
Thanks Dejan! -- View this message in context: http://activemq.2283324.n4.nabble.com/INFO-Slow-KahaDB-access-tp4291812p4309680.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: what is the difference between pending messages and queue count?

2012-01-19 Thread Zagan
Hi, throught testingI found the answear: number of pending messages = number of messages currently in queue enqueue count = number of all messages which where put into a queue Is it possible to reset the statistics in the Active MQ web console? -- View this message in context: http://activemq.

Re: Active MQ performance optimization

2012-01-18 Thread Zagan
Hi Claus, today I run some tests to get an understanding of what memoryUsage and memoryLimit refers to. In contrast to the Active MQ documentation, memoryUsage and memoryLimit are not only relevant for persistent messages. If the JMS Client PUT/GET one or more persistent messages from/to a queue

Active MQ performance optimization

2012-01-18 Thread Zagan
Hi, I am currently searching for detailed description for hardening Active MQ for production. Can anybody help me? A detailed description of the would be great. Are there any rules to calculate the parameters? For example what producer Flow memoryLimit to set for two clients who put each 100 messa

Active MQ broker side and clientside timeouts

2012-01-17 Thread Zagan
Hello, we have realized some JMS Clients which hold up a connection to an Active MQ broker for a long time, without putting or getting from a queue. Are there any serverside or clientside timeouts this client could face? So exist a clientside or serverside connection auto timeout? Thanks in advan

kaha db store structure and workarounds in production

2012-01-17 Thread Zagan
Hello, when testing Apache Active MQ 5.3 and 5.4 we run in several issues regarding the cleanup of logfiles with KahaDB as persistence layer. We are now concerned about this issue appearing on Apache Active MQ 5.5 under specific circumstance. Therefore we want to have a workaround if this problem

Re: activemq performance

2012-01-17 Thread Zagan
Hi, as I supposed this seems to be provoked on the client side. Try to put the creation of the connection only one time and not in each send() call. Within the send call only call Session create() from the connection. Close producer and session within the send() operation. -- View this message i

Re: activemq performance

2012-01-16 Thread Zagan
This looks for me like an error in the client implementation. Can you perhaps provide the relevant code snippet? -- View this message in context: http://activemq.2283324.n4.nabble.com/activemq-performance-tp4288084p4300142.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: serverside logging BEGIN() and COMMIT() of transactions

2012-01-16 Thread Zagan
Hi to put in in different words- I want to have logged when a client connects- and disconnects to an active mq broker instance serverside in the activemq.log. Any ideas? -- View this message in context: http://activemq.2283324.n4.nabble.com/serverside-logging-BEGIN-and-COMMIT-of-transactions-tp42

Configuring JDBC master/slave with Oracle RAC

2012-01-16 Thread Zagan
Hello, do anybody of you have experiences in configuring JDBC connection to Oracle database (RAC)? What does Active MQ in case of a database failover? Is this transparent to the broker instance? How big is the performance impact? Thanks for any real world experiences -- View this message in cont

Re: How to make consume a message per a time?

2012-01-16 Thread Zagan
Hi, Active MQ provides you an API to GET a message from queue or PUT a message to queue for different programming languages. So from my point of view, It is only adding a sleep(x seconds) call between each PUT or GET operation. -- View this message in context: http://activemq.2283324.n4.nabb

Re: Producer Hung up after some time.

2012-01-16 Thread Zagan
Hi, I had the same problem. 'sendFailIfNoSpace' seems only to work for the limits defined under . If you find a solution which enables throwing exceptions when hitting the ProducerFlowControl Limit please let me know! -- View this message in context: http://activemq.2283324.n4.nabble.com/Produce

Re: Producer Hung up after some time.

2012-01-16 Thread Zagan
Hi, I had the same problem. 'sendFailIfNoSpace' seems only to work for the limits defined under . If you find a solution which enables throwing exceptions when hitting the ProducerFlowControl Limit please let me know! -- View this message in context: http://activemq.2283324.n4.nabble.com/Produce

Re: unload queue to file

2012-01-16 Thread Zagan
Ok, well last time I tried it, I was really in a hurry. Will hopefully check it out tomorrow again :-) -- View this message in context: http://activemq.2283324.n4.nabble.com/unload-queue-to-file-tp4288530p4300076.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Growing size of data-queue-data-1 file under data folder

2012-01-16 Thread Zagan
Hi, this seems to be a general Active MQ issue. I had the same problems also under Active MQ 5.4 and Debian Linux. We solved it upgrading to Active MQ 5.5 and install Java 1.6.18 or higher, -- View this message in context: http://activemq.2283324.n4.nabble.com/Growing-size-of-data-queue-data-1

Re: unload queue to file

2012-01-15 Thread Zagan
Great! Thanks for your reply. I tried HermesJMS in the past, but this seems poorly documented and not so easy to use. Did you get it to work with Active MQ 5.5? -- View this message in context: http://activemq.2283324.n4.nabble.com/unload-queue-to-file-tp4288530p4298710.html Sent from the Activ

Browse queue for specific message

2012-01-13 Thread Zagan
Hi, I want to browse a queue for a specific message (referenced by the MessageId). Are there any tools out there which provides this functionality? thanks in advance -- View this message in context: http://activemq.2283324.n4.nabble.com/Browse-queue-for-specific-message-tp4291816p4291816.html S

INFO | Slow KahaDB access

2012-01-13 Thread Zagan
Hi, I am getting the following logged information in the activemq.log file. INFO | Slow KahaDB access What does it mean? Is this an error? How could I prevent this error? -- View this message in context: http://activemq.2283324.n4.nabble.com/INFO-Slow-KahaDB-access-tp4291812p4291812.html Sent

serverside logging BEGIN() and COMMIT() of transactions

2012-01-13 Thread Zagan
Hi, I have implemented a JMS client which is using Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE); to create transaction. Currently if the client runs into some errors within this transaction (like connection timeout, reach

what is the difference between pending messages and queue count?

2012-01-12 Thread Zagan
Hello, when I look at the active mq web console, the number of pending messages and the queue count is displayed? What is the difference between them? Currently it displayed me 10.000 pending messages but a message count of 0. Is this a known behaviour? -- View this message in context: http://act

serverside logging BEGIN() and COMMIT() of transactions

2012-01-12 Thread Zagan
Hi, I have implemented a JMS client which is using Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE); to create transaction. Currently if the client runs into some errors within this transaction (like connection timeout, reaching

export names of all created queues

2012-01-12 Thread Zagan
Hello, reading about configuring startup destinations http://activemq.apache.org/configure-startup-destinations.html in combination with Active MQ security http://activemq.apache.org/security.html it's possible to avoid dynamic creation of queues. I want that a client can connect to a specific que

unload queue to file

2012-01-12 Thread Zagan
Hello, I am searching for a utility which enables me to unload the messages within a queue to a file, and to load this messages from this file to a queue. Is there any tool out there which I could use? -- View this message in context: http://activemq.2283324.n4.nabble.com/unload-queue-to-file-

Active MQ performance optimization

2012-01-12 Thread Zagan
Hi, I am currently searching for detailed description for hardening Active MQ for production. Can anybody help me? A detailed description of the would be great. Are there any rules to calculate the parameters? For example what producer Flow memoryLimit to set for two clients who put each 100 mess