Re: Need a way to configure org.apache.activemq.SERIALIZABLE_PACKAGES property in client

2017-06-28 Thread neelam
It's there in the classpath. Regards -- View this message in context: http://activemq.2283324.n4.nabble.com/Need-a-way-to-configure-org-apache-activemq-SERIALIZABLE-PACKAGES-property-in-client-tp4727985p4728048.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

RE: My Subscriber is reconnecting after every 5 mins

2017-06-28 Thread boppana
Thanks for your suggestions, I will keep my log level as INFO. I have one last question Ø If I disable inactivity Monitor in my subscriber i.e. "&nested.useInactivityMonitor=false&nested.wireFormat.maxInactivityDuration=0", So in this case if connection breaks down then still my fail over

RE: My Subscriber is reconnecting after every 5 mins

2017-06-28 Thread Tim Bain
1. You would turn your Log4J logging level down from DEBUG to a reasonable level like WARN or maybe INFO. Why do you have it at DEBUG, anyway? 2. That option (and lots more) are documented at http://activemq.apache.org/tcp-transport-reference.html. Note that you'll need to prefix the option with "

Re: Cannot setup secure web sockets with activemq mqtt

2017-06-28 Thread Tim Bain
Does the browser trust your broker's self-signed cert? It looks like it doesn't... Tim On Jun 28, 2017 12:08 PM, "itsebriy" wrote: > Hi All, > >I am trying to make secure web sockets to work with activeMQ and have > not > been able to do that yet. > >My mqttContext.xml looks as followin

Re: Need a way to configure org.apache.activemq.SERIALIZABLE_PACKAGES property in client

2017-06-28 Thread Tim Bain
Oh, one other thing: be sure you understand that by using the wildcard setting, you're intentionally opening a significant vulnerability in your system, probably just because you don't want to do a half an hour of work now and a little additional maintenance down the line. You (and your organizatio

Re: Need a way to configure org.apache.activemq.SERIALIZABLE_PACKAGES property in client

2017-06-28 Thread Tim Bain
How are you constructing your clients, if not via the ConnectionFactory? (Clearly you're not actually doing JNLP *instead of* using a ConnectionFactory, as they're unrelated technologies that can't be swapped for one another, so it would help to know what you're actually using instead.) I'd recomm

Re: Artemis 2.1.0 compatibility with 1.5.x

2017-06-28 Thread hcrobison
Justin Bertram, Yes, we can confirm we received the same error message when sending a text message from 2.1 and receiving at 1.5.5. -- View this message in context: http://activemq.2283324.n4.nabble.com/Artemis-2-1-0-compatibility-with-1-5-x-tp4727741p4728032.html Sent from the ActiveMQ - User

Re: Artemis 2.1.0 compatibility with 1.5.x

2017-06-28 Thread Clebert Suconic
Make sure you don't mix the jms with the core versions... 1.5 for both jms and core in one side.. When you use 1.5, all your libraries on that client need to be 1.5.. .when 2.1.. all of them need to be 2.1... On Wed, Jun 28, 2017 at 4:15 PM, Justin Bertram wrote: >> Besides, if we send a text m

Re: Artemis 2.1.0 compatibility with 1.5.x

2017-06-28 Thread Justin Bertram
> Besides, if we send a text message, it is read back correctly. Can you confirm this? Here's my testing procedure: - Broker running from the head of the "master" branch - Modified "queue" example also from the "master" branch which just sends a text message (removed the consuming code) -

Re: Artemis 2.1.0 compatibility with 1.5.x

2017-06-28 Thread hcrobison
Sorry, we don't. Any specific file/setting you need, let us know. -- View this message in context: http://activemq.2283324.n4.nabble.com/Artemis-2-1-0-compatibility-with-1-5-x-tp4727741p4728029.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Active MQ Topic -PubSub : Subscriber Blocked because of Fault/Exception

2017-06-28 Thread vineet
No the Subscribers cannot use the same session. They are independent entities which would handle their own Message events. -- View this message in context: http://activemq.2283324.n4.nabble.com/Active-MQ-Topic-PubSub-Subscriber-Blocked-because-of-Fault-Exception-tp4727900p4728026.html Sent from

Re: Artemis 2.1.0 compatibility with 1.5.x

2017-06-28 Thread Justin Bertram
You wouldn't by chance have a git repo where you've Mavenized this stuff to it's easy to run against a local broker would you? Justin On Wed, Jun 28, 2017 at 1:08 PM, hcrobison wrote: > We managed to reproduce our message size change problem with simple java > programs (see QueueReader.java >

Re: Artemis 2.1.0 compatibility with 1.5.x

2017-06-28 Thread hcrobison
We managed to reproduce our message size change problem with simple java programs (see QueueReader.java and QueueWriter.java ) based on your QueueExampl

Re: Active MQ Topic -PubSub : Subscriber Blocked because of Fault/Exception

2017-06-28 Thread Timothy Bish
On 06/26/2017 05:28 PM, vineet wrote: I am using Active MQ 5.14.2 with spring boot for developing a Pub Sub model using Topic . Following is the problem.: 1. Producer P1 fires an Event/Message M1 for subscriber S1 and S2. Subscriber S1 is fine and displayed the EnQueue and DeQueue of Message

Cannot setup secure web sockets with activemq mqtt

2017-06-28 Thread itsebriy
Hi All, I am trying to make secure web sockets to work with activeMQ and have not been able to do that yet. My mqttContext.xml looks as following : I am using self signed cer

Re: Need a way to configure org.apache.activemq.SERIALIZABLE_PACKAGES property in client

2017-06-28 Thread jkorab
Hi, >From reading that rode, it looks as though your consumer does not have the GenericUIEvent on its classpath. Can you confirm? Jakub On Wed, Jun 28, 2017 at 8:06 AM, neelam [via ActiveMQ] < ml+s2283324n4727985...@n4.nabble.com> wrote: > Hi, > > I have recently upgraded activemq to 5.14.5 fro

Re: Odd KahaDB journaling behaviour

2017-06-28 Thread Jakub Korab
Sorry, that last paragraph should have read: -- The thing that brought this to my attention was that storePercentUsage was hitting 100% for a multi-GB max store size. I suspect this is due to some crusty data in the indexes themselves - after 5993 x 8mb journals, perhaps a 79mb *index* is not unrea

Odd KahaDB journaling behaviour

2017-06-28 Thread Jakub Korab
Hi all, I am seeing some odd behaviour in a 5.14.5 ActiveMQ instance that used mKahaDB - I have not seen this sort of thing before, and was wondering if anyone could shed some light on it. The directory listing below is for one fragment of an mKahaDB installation. It is configured for 8mb journal

Active MQ Topic -PubSub : Subscriber Blocked because of Fault/Exception

2017-06-28 Thread vineet
I am using Active MQ 5.14.2 with spring boot for developing a Pub Sub model using Topic . Following is the problem.: 1. Producer P1 fires an Event/Message M1 for subscriber S1 and S2. Subscriber S1 is fine and displayed the EnQueue and DeQueue of Message M1. But the Subsciber S2, because o

Re: Artemis rejects the clientid after client disconnection

2017-06-28 Thread Michael André Pearce
Also could you do a stack trace once it has failed the other option is the executors thread could blocked/deadlocked. Sent from my iPhone > On 28 Jun 2017, at 16:48, Michael André Pearce > wrote: > > This would suggest an uncaught exception could be killing the executor thread. > > If you ha

Re: Artemis rejects the clientid after client disconnection

2017-06-28 Thread Michael André Pearce
I mean to add the try catch within the runnable run method. Sent from my iPhone > On 28 Jun 2017, at 16:48, Michael André Pearce > wrote: > > This would suggest an uncaught exception could be killing the executor thread. > > If you have a local build, Can you wrap the conn.fail method with a

Re: Artemis rejects the clientid after client disconnection

2017-06-28 Thread Michael André Pearce
This would suggest an uncaught exception could be killing the executor thread. If you have a local build, Can you wrap the conn.fail method with a try catch (throwable t) See if that helps at all. Sent from my iPhone > On 28 Jun 2017, at 16:19, francesco81 wrote: > > An update. > We have r

Re: Artemis rejects the clientid after client disconnection

2017-06-28 Thread francesco81
An update. We have re-build "artemis-commons-2.1.0.jar", "artemis-mqtt-protocol-2.1.0.jar" and "artemis-server-2.1.0.jar" in order to improve the logs. It seems that there is a problem with the thread which has in charge the activities to free the clientid, send lwt message, etc.. For a few time al

Re: How to monitor artemis ?

2017-06-28 Thread Michael André Pearce
Maybe rather than develop something new, is there scope to maybe add in Hawtio console to the Apache artemis build with the mentioned plugin , maybe if rh are kind enough would they donate the plugin? Also then some effort could be done to upgrade it to Hawtio 2 rather than spinning yet anot

RE: My Subscriber is reconnecting after every 5 mins

2017-06-28 Thread boppana
If I enable inactivity monitor(i.e. removing wireFormat.maxInactivityDuration=0&useInactivityMonitor=false from url) then am getting following Acctivity monitor log entries and my log file is filled with all these messages for almost every 2 seconds. 1.How to get rid of these entries in logs? 2

RE: My Subscriber is reconnecting after every 5 mins

2017-06-28 Thread Tim Bain
It looks like you're disabling the inactivity monitor ( useInactivityMonitor=false ) but not enabling TCP keepalive, so I'd expect your TCP sockets to time o

RE: My Subscriber is reconnecting after every 5 mins

2017-06-28 Thread boppana
Below are my logs 28 Jun 2017 14:15:28,042 [ActiveMQ Transport: ssl://il3-broker-a-il-core-int-06.apps.test-a.0341.o2.we1.csl.cd2.bp.com/10.165.5.202:443] DEBUG org.apache.activemq.transport.failover.FailoverTransport - ssl://il3-broker-a-il-core-int-06.apps.test-a.0341.o2.we1.csl.cd2.bp.com:443

Re: Artemis 2.1.0 compatibility with 1.5.x

2017-06-28 Thread nigro_franz
I've noticed that in my old comment the branch written wasn't the correct one, anyway the PR i've done is already merged into the latest master, so please try it with a reproducer to see if it works for you :) -- View this message in context: http://activemq.2283324.n4.nabble.com/Artemis-2-1-0-

Network of brokers: problem with duplex="false" for static bridges

2017-06-28 Thread jochenw
Hello, I have a configuration where one broker builds network connections to other brokers. Some of the queues have to be two-way (duplex="true") and some have to be one-way (duplex="false"). For the network connector configuration, see below. The ActiveMQ version is 5.14.5. The goal is that queu

Need a way to configure org.apache.activemq.SERIALIZABLE_PACKAGES property in client

2017-06-28 Thread neelam
Hi, I have recently upgraded activemq to 5.14.5 from 5.6.0 and after the upgrade I see below errors in my client logs: 28 Jun 2017 11:22:17,221-[AWT-EventQueue-2] ERROR com.powerup.configmgr.client.messaging.JMSMessagingManager - Failed to build body from content. Serializable class not availab