R: java.lang.IllegalArgumentException Error

2024-12-20 Thread Marco Garavello
Hello, are you sure no spurious Windows chars are present in the properties files? Maybe linefeed or similar Distinti Saluti / Kind Regards M.G. Da: Jana Manju Inviato: venerdì 20 dicembre 2024 09:32 A: users@activemq.apache.org Oggetto: Re: java.lang.IllegalAr

R: The master node of activemq reboots by itself

2024-11-29 Thread Marco Garavello
Dear Pierre, Justin, I encountered the "no longer able to keep etc" many times in last years, with also different AMQ releases.. They are often caused by factors independent from AMQ which in my case were e.g. * high DB (postgres) read/write latency * DB on heavy load e.g. CPU/RAM/connection

R: Receiving 401 Unauthorized on Jolokia API on localhost port 8161

2024-05-23 Thread Marco Garavello
Hello all, any luck with this? I'm looking for someone familiar with Jolokia integration inside ActiveMQ Thank you so much in advance Distinti Saluti / Kind Regards M.G. Da: Marco Garavello Inviato: lunedì 4 marzo 2024 11:30 A: users@activemq.apache.or

Re: Receiving 401 Unauthorized on Jolokia API on localhost port 8161

2024-03-04 Thread Marco Garavello
Hello JB, sorry to bother I've seen in another thread you're familiar with Jolokia integration inside ActiveMQ Maybe you have got an advice also for me, on this thread? Thank you so much in advance *Distinti Saluti / *Kind Regards M.G. Il giorno ven 23 feb 2024 alle ore 1

Re: Message delivery failure and Primary Key violation on load balanced ActiveMQ Broker

2024-02-27 Thread Marco Garavello
got inside its local datastore. Anyway it's hard to say if such error is related to the local or to the shared datastore. *Distinti Saluti / *Kind Regards M.G. Il giorno lun 26 feb 2024 alle ore 11:23 Jack Fry (They/Them) ha scritto: > Hi Marco, > > Thanks for getting back to me

Re: Issue with network of brokers and active/passive pair

2024-02-26 Thread Marco Garavello
sistance you can provide > > would be greatly appreciated. > > > > On Mon, 26 Feb 2024 at 09:21, Bruce Cooper > > wrote: > > > >> Hi Marco, > >> > >> Thanks for your response. I agree it is strange. I now have some more > >> info

Re: Issue with network of brokers and active/passive pair

2024-02-23 Thread Marco Garavello
Hello Bruce, that sounds very strange because with BrokerB stopped I understood that everything is working good at the first subsequent run of the producer script " *5. Run the producer script again.6. Observe that one set of messages is delivered*" while the issue appears at the following run

Re: HA failover: Nothing we try reduces client recovery below one minute

2024-02-23 Thread Marco Garavello
Hello John, " I don’t expect anyone to know the answer, but I’m hoping someone can tell me what additional diagnostics might be enabled in the client that would show what the client is waiting on? " I think the suggestions of *Justin Bertram* - Wednesday, February 21, 2024 9:56:28 PM GMT+1 are a

Re: Message delivery failure and Primary Key violation on load balanced ActiveMQ Broker

2024-02-23 Thread Marco Garavello
Hello JFry, I'm not expert but IMHO: regarding the message Store limit is 30720 mb (current store usage is 0 mb). The data directory: D:\Apps\apache-activemq-5.18.3\data only has 25672 mb of usable space. - resetting to maximum available disk space: 25672 mb there is no a real problem as it's o

Re: Receiving 401 Unauthorized on Jolokia API on localhost port 8161

2024-02-23 Thread Marco Garavello
Hello, anyone has an advice? Thanks in advance *Distinti Saluti / *Kind Regards M.G. Il giorno mer 14 feb 2024 alle ore 09:34 Marco Garavello < marco.garave...@carel.com> ha scritto: > Hello, > > maybe this could not be the right place where to ask similar information > An

Re: Receiving 401 Unauthorized on Jolokia API on localhost port 8161

2024-02-14 Thread Marco Garavello
Hello, maybe this could not be the right place where to ask similar information Any advice regarding where to ask for support on this matter? Thanks in advance *Distinti Saluti / *Kind Regards M.G. Il giorno mar 6 feb 2024 alle ore 14:22 Marco Garavello < marco.garave...@carel.com&

Re: Receiving 401 Unauthorized on Jolokia API on localhost port 8161

2024-02-06 Thread Marco Garavello
s code you receive? *Distinti Saluti / *Kind Regards M.G. Il giorno ven 2 feb 2024 alle ore 08:48 Marco Garavello < marco.garave...@carel.com> ha scritto: > Hello everybody, > > is there someone here who has got experience configuring Jolokia auth on > ActiveMQ? > I

Re: Receiving 401 Unauthorized on Jolokia API on localhost port 8161

2024-02-01 Thread Marco Garavello
1.1 200 OK* ", while on the other I get " *HTTP/1.1 401 Unauthorized* " The goal is to obtain 200 on both of them. Any advice? Thank you so much in advance! *Distinti Saluti / *Kind Regards M.G. Il giorno lun 29 gen 2024 alle ore 11:22 Marco Garavello < marco.garave...@car

Receiving 401 Unauthorized on Jolokia API on localhost port 8161

2024-01-29 Thread Marco Garavello
Hello everybody, I'm new here, so excuse me if I will not adhere completely to the best practices of this mailing list. I'll do my best! I've got a strange issue: doing "curl -v http://localhost:8161/api/jolokia"; on an Ubuntu VM with ActiveMQ v5.17.2 running, I receive this

Re: Kahadb log files increase until reaches its limit

2022-10-02 Thread Marco Bettiol
Hi Rafael, I’m just an ActiveMQ classic user. I will report the behavior of ActiveMQ I experienced. As far as I know the ActiveMQ classic journal is composed of append only files. Each file should be by default 32MB in size (this can be changed, I think is controlled by journalLogFileSize) A jour

Re: Configuring XA with ActiveMQ and Liberty

2021-08-22 Thread Marco Bettiol
io of an XA transaction composed of: * 1 non XA connection (usually the db) * 1 or more XA connections (usually the broker) you could take advantage of this 2PC algorithm optimization: this configuration should guarantee that the database commit is visibile when commit on the broker happens. Regards

Client side load balancing

2019-09-06 Thread Marco Pivi
Hi, I'm having some trouble with client load balancing on my artemis cluster. The cluster is composed by 2 node with the following configuration: http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="urn:activemq /schema/artemis-configuration.xsd"> http://www.w3.org/2001/XMLSchema-

Message processed in wrong order

2016-02-23 Thread marco-dak
Hi, I encounter an issue with Camel (2.13) and ActiveMQ (5.11.1) on JBoss EAP (6.1) where messages are processed in wrong order. It only occurs if there are a lot of messages send to a single queue. I can reproduce it with a very simple example: 1000

Artemis: JMSXGroupID / Message groups: Large number of groups

2015-06-09 Thread Marco
" ActiveMQ, i.e. is there a limitation to 1024 group IDs? - If yes, how can it be reconfigured to allow for more values? - If not, how is Artemis currently designed to handle this? - Is this use case feasible / Are there any experiences with such a grouping? Thanks in advance, Marco -- Vie

Re: Error (Java heap space) viewing queue through web ui having 400+ messages. Adding memory paarmeters do not solve problem...

2014-10-16 Thread Marco Sacchetto
Which JDK are you using? I mean, its producer, platform it runs on and if it's a 32 or 64 bits version. -- Questo messaggio è di carattere riservato ed è indirizzato esclusivamente al destinatario specificato. L'accesso, la divulgazione, la copia o la diffusione sono vietate a chiunque altro ai

Re: Avoiding shared state between master and slave brokers

2014-10-15 Thread Marco Sacchetto
es in a HA environment. All in one, I'd say that there's no perfect fit, you should aim at the solution which best fits your needs and expectations. Marco S. 2014-10-15 12:35 GMT+02:00 deepakkumarpitti : > Thanks. I agree. I just wanted to be sure that there is nothing like that &

Re: Avoiding shared state between master and slave brokers

2014-10-15 Thread Marco Sacchetto
Pure master/slave was removed as not production ready, and since they already found something production-ready that would work with less effort (leveldb). I don't think they will develop the option of having similar functionality with kahadb as well, what's the purpose of maintaining 2 separate sol

Re: Avoiding shared state between master and slave brokers

2014-10-15 Thread Marco Sacchetto
2014-10-15 9:09 GMT+02:00 deepakkumarpitti : > > 1. I was wondering if ActiveMQ provides some replication support from > primary to failover brokers in real time so that even if I lose primary > broker (and its persistent store), my failover broker can continue with > it's > own replicated state.

Re: master-slave topology in network of brokers

2014-10-15 Thread Marco Sacchetto
Look at http://activemq.apache.org/clustering.html and http://activemq.apache.org/masterslave.html for the info you need. In a nutshell, the master/slave(s) configuration is a structure to provide HA in an active/passive fashion. -- Questo messaggio è di carattere riservato ed è indirizzato esclu

Re: Notification of connection down between broker and client?

2014-10-01 Thread Marco Sacchetto
Any system monitoring tool would go with your case, even a remote one. The trick is: ActiveMQ (at least the recent versions, which are what I use) won't open the broker ports until it gets the lock on the database, so just by looking at where your port is open you can tell which server is working a

Re: 5.10.0: Unable to connect via jmx

2014-09-29 Thread Marco Sacchetto
ny specific address, it should bind itself to the address that is usually found in linux by the command "hostname -i". Best Regards Marco -- Questo messaggio è di carattere riservato ed è indirizzato esclusivamente al destinatario specificato. L'accesso, la divulgazione, la copia

jmx queues attributes not as expected

2014-09-19 Thread Marco Sacchetto
Hi, we're running on a test server ActiveMQ 5.9.1. The server is working as expected when producers and consumers are connected; messages are correctly published. We now needed to monitor the queues and the queued messages, prossibly reading the contents of some of those. For this, I configure

Example pages out of date

2013-04-10 Thread Marco Paladini
q-cpp Best Marco

Re: Strategy for browsing a DLQ containing a high number of (large) messages

2012-12-05 Thread Marco Zapletal
rious issues I would be happy to hear any further thoughts. Thanks, Marco . http://weibo.com/kimmking From: Marco Zapletal [via ActiveMQ] Date: 2012-12-04 22:11 To: kimmking Subject: Strategy for browsing a DLQ containing a high number of (large) messages Hi folks, I am thinking abo

Strategy for browsing a DLQ containing a high number of (large) messages

2012-12-04 Thread Marco Zapletal
opinions and/or other approaches for tackling this issue. Best regards, Marco

Re: How can I backup KahaDB?

2011-06-19 Thread Marco Ehrentreich
kup KahaDB. Marco Am 19.06.2011 18:06, schrieb johneboyer: > Is it possible to backup the KahaDB? If so, how can I do it? > > Thanks, > John Boyer > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/How-can-I-backup-KahaDB-tp3609481p3609481.ht

cannot get ActiveMQ to start at system boot on Ubuntu

2010-01-28 Thread Marco Mistroni
hello all, could anyone help me to get MQ to start at boot time on Ubuntu 9.10? i have tried everything possible (adding to update-rc.d , using System-->Preferences-->Startup appplications) but with no success could anyone help? regards marco

Re: Push or poll

2008-10-29 Thread Marco Buss
Hi, why you think you need servlets to use push? You can register a MessageListener on a MessageConsumer to use the push. If you want to pull the message by your own the you must use the receive-Methods from the MessageConsumer. Regards Marco

Re: Broker upload url is null?

2008-08-07 Thread Marco Buss
Eugeny N Dzhurinsky schrieb: On Thu, Aug 07, 2008 at 02:43:33PM +0200, Marco Buss wrote: Eugeny N Dzhurinsky schrieb: On Thu, Aug 07, 2008 at 02:18:40PM +0200, Marco Buss wrote: First try this. Set CopyMessageOnSend to false on your connection. See http://www.nabble.com/A

Re: Broker upload url is null?

2008-08-07 Thread Marco Buss
Eugeny N Dzhurinsky schrieb: On Thu, Aug 07, 2008 at 02:18:40PM +0200, Marco Buss wrote: First try this. Set CopyMessageOnSend to false on your connection. See http://www.nabble.com/A-problem-with-blobmessage-on-activemq-5.0-td15523989.html#a17364301 If this is true (default) the Upload

Re: Broker upload url is null?

2008-08-07 Thread Marco Buss
Eugeny N Dzhurinsky schrieb: On Thu, Aug 07, 2008 at 01:15:51PM +0200, Marco Buss wrote: Is the Blob successfuly uploaded? Can you see it in the jetty file system? No, the blob isn't uploaded at all. Moreover, I added the code listed

Re: Broker upload url is null?

2008-08-07 Thread Marco Buss
Is the Blob successfuly uploaded? Can you see it in the jetty file system? Eugeny N Dzhurinsky schrieb: Hello, everybody! I had configured the internal broker with this descriptor http://activemq.org/config/1.0";>

Re: new transfer protokols for blob-messages

2008-07-23 Thread Marco Buss
Hello, first have a look at the test class org.apache.activemq.blob.FTPBlobTest.java. If you have problems with this, i will help you with a more detailed description. regards Marco Bala M wrote: > > Hi, > Can you please give some example on how to use FTP protocol to transt

Re: ActiveMQ stops accepting consumer requests

2008-07-02 Thread Marco Buss
Is the MemoryPercentUsage gowing to sink or is it on a constant value? If the MemoryPercentUsage is going to 100 at our server nothing we must also restart the broker. Brian Munroe-2 wrote: > > > The one thing I did notice is on the Queue MBean, the > MemoryPercentUsage goes to like 192. Is t

Re: ActiveMQ stops accepting consumer requests

2008-06-30 Thread Marco Buss
Hi Brian, can you check the open threads with the jconsole on ActiveMQ during your run? I have the assumtion that you will see many Session threads. If the assumption is true, try the 5.1.0 from ActiveMQ. Regards Marco Brian Munroe-2 wrote: > > I am building a very basic web service th

Re: Impact due to wireformat.maxInactivityDuration=0

2008-06-16 Thread Marco Buss
Hi, we ave the same problem here. Setting wireformat.maxInactivityDuration=0 was not a good idea because the shutdown of client or broker (i cant remeber) is not recognised. So try if your client get notice of broker shutdown and vice versa. Which version of activeMQ did you use? With 5.1 the pr

Re: when does activemq cleanup database

2008-06-11 Thread Marco Buss
Hello, the Datebase is cleared after a fixed peroid (5 Minutes per default). rhealey wrote: > > hi all, > > I have active mq set up to persist messages Microsoft SQL Server 2005. I > have sent durable messages to this active mq instance and see the messges > persisted to the ACTIVMQ_MSGS tab

Re: Closing a consumer create more messages than sent

2008-06-09 Thread Marco Buss
kloh wrote: > > Marco, > > thanks for having time for looking at it! > > > >> The problem in your code is the closing and creating of a new consumer. >> If you close the old one, he had not enough time to send the ack for the >> last message. So t

Re: Closing a consumer create more messages than sent

2008-06-06 Thread Marco Buss
ged the consumer a little bit for that. mJMSSession = mConnector.lookupConnection().createSession(false, Session.AUTO_ACKNOWLEDGE); also i have rmoved the commit(); because it is not needed with AUTO_ACKNOWLEDGE regards Marco kloh wrote: > >

Re: BlobMessage - How to make it work?

2008-06-05 Thread Marco Buss
m the web server's > repository. > > Joe > > > ttmdev wrote: >> >> I have opened up a JIRA for this and submitted a patch for review. >> >> https://issues.apache.org/activemq/browse/AMQ-1770 >> >> Joe >> >> >> Marco Buss

Re: BlobMessage - How to make it work?

2008-06-04 Thread Marco Buss
obUploadStrategy.java:44) > at > org.apache.activemq.blob.BlobUploader.upload(BlobUploader.java:51) > at > org.apache.activemq.command.ActiveMQBlobMessage.onSend(ActiveMQBlobMessage.java:163) > > > > > > balderman wrote: >> >> Hi >&

Re: BlobMessage - How to make it work?

2008-06-04 Thread Marco Buss
not work. Please provide a unit test for the problem. regards Marco Buss balderman wrote: > > Hi > I am using ActiveMQ 5.1. > I want to to use BlobMessage in order to send large amounts of data. > When the consumer get the message and the below code is executed: >

Re: Closing a consumer create more messages than sent

2008-06-03 Thread Marco Buss
would be fine if you can provide a junit-test for the Problem. regards Marco kloh wrote: > > Hi *, > > we're concerning with interested happenings, about which we're not sure, > wether this is caused by bad configuration, bad code or a bug. > > The scenario: >

new transfer protokols for blob-messages

2008-06-02 Thread Marco Buss
I have put the ftp support to blob messages. (see: https://issues.apache.org/activemq/browse/AMQ-1744) Is there a need for other protocols which should supported for blob-messages? -- View this message in context: http://www.nabble.com/new-transfer-protokols-for-blob-messages-tp17596166s2354p17

Re: A problem with blobmessage on activemq 5.0

2008-05-21 Thread Marco Buss
://issues.apache.org/activemq/browse/AMQ-1624 Marco Buss === snip import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileWriter; import java.io.IOException; import java.io.InputStream; import javax.jms.Destination; import

Transports as Demon Thread

2008-05-15 Thread Marco Buss
I found that the TransportThreadSupport hase the posibillity to start the Thread as Demon. Is there a way to configure that? I hav not found any Way to set the Variable to true at runtime. -- View this message in context: http://www.nabble.com/Transports-as-Demon-Thread-tp17251049s2354p17251049.

Re: Did anybody get the BlobMessage feature to work?

2008-05-12 Thread Marco Buss
elease try to use this url for your ConnectionFactory. tcp://localhost:61616?jms.blobTransferPolicy.uploadUrl=http://localhost:8161/fileserver/ best regards Marco Buss

Re: Tomcat doesn't shutdown when amq client used within webapp

2008-05-05 Thread Marco Buss
Hello, i use a ContextListener. In this Listener i tell every Subscriber that he must close his open connection to the Broker. This works for me becaus the Subscribers are Singletons in my case. MfG Marco DominicTulley wrote: > > When we shut down our tomcat server the java process do

Re: Use Queue as buffer for large amount of data

2008-02-24 Thread Marco Buss
henry human schrieb: Hi, We are working on a project. One idea for data exchange (zip archives) between a client application with the server (both of them are web services )was to do it through a active message queue. A problem what i think about is the performance of whole application. What happ

Re: problem with blobmessage in activemq 5.0

2008-02-24 Thread Marco Buss
Iosev Perez Rivero schrieb: When i create blobmessage object and print the inputstream, printed NULL, why??? then when i send the message the file not sending, the message sending empty. Please may anybody help me?? Here is code: conn = (ActiveMQConnection)cf.createConnection(

Re: Activemq integration

2008-01-30 Thread Marco Buss
activebud schrieb: Hi All, I am using activemq 5 , mysql 5.0.37 and mysql-connector-java-3.1.12-bin.jar my activemq.xml as follows http://www.springframework.org/schema/beans"; xmlns:amq="http://activemq.org/config/1.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schem

Re: Using one session per message

2008-01-28 Thread Marco Buss
TED]> wrote: On Jan 27, 2008, at 9:28 PM, Marco Buss wrote: Rob Davies schrieb: On Jan 27, 2008, at 12:22 AM, tpamsler wrote: Marco, Thank you for the response. Are there limitations on how long a session can stay open and the number of messages it can handle? If I use t

Re: Using one session per message

2008-01-27 Thread Marco Buss
Rob Davies schrieb: On Jan 27, 2008, at 12:22 AM, tpamsler wrote: Marco, Thank you for the response. Are there limitations on how long a session can stay open and the number of messages it can handle? If I use the 2nd example in our application, the session may stay open for a few weeks

Re: Using one session per message

2008-01-26 Thread Marco Buss
tpamsler schrieb: Hello, I am trying to figure out if I need to create a new session for every message that I produce and or consume? For example do I need to do the following to send two messages: // Sending MSG1 session1 = connection.createSession(false, Session.AUTO_ACKNOWLEDGE); messagePro

Re: View messages from a queue

2008-01-14 Thread Marco Buss
teo.danciu schrieb: Hi, is there any way in which I can see the messages from a queue at any moment? (I'm having trouble with an application and I just can't follow what happens with the queue). Thanks Mirrored Queues can help http://activemq.apache.org/mirrored-queues.html

Re: any activemq version that can handle >1mb message size

2008-01-04 Thread Marco Buss
Hello Klas, ActiveMQ 5.0 can handle Messages >1 if you use blob Messages which where introduced in ActiveMQ 5.0. See: http://activemq.apache.org/blob-messages.html Original-Nachricht > Datum: Fri, 4 Jan 2008 05:43:28 -0800 (PST) > Von: eklas <[EMAIL PROTECTED]> > An: users@ac

Re: Blob Messages ??? does it work ???

2007-12-30 Thread Marco Buss
In general it works, but it is a little bit tricky i think. First keep in mind that the message only holds the reference to your blob. It works for you with an URL becaus the publisher must not send the blob to the so called uploadurl. That url must point to the fileserver webapp (you can find