Re: ActiveMQ failed to start after server crash

2010-03-25 Thread RuralHunter
Hi Gary, Thanks for guidance. I opened AMQ-2672 and compressed/uploaded the data: https://issues.apache.org/activemq/browse/AMQ-2672 Gary Tully wrote: > > For detail of the jira see: > http://activemq.apache.org/contributing.html#Contributing-Ifyoufindabugorproblem > > 200MB may be too big fo

LDAP autorization and authentication

2010-03-25 Thread jstars
Can someone please reply if they have used LDAP authorization with ActiveMQ 5.3? I know there is a plugin designed for this but I cannot tell from the forums if it has successfully been used. Much appreciated, John -- View this message in context: http://old.nabble.com/LDAP-autorization-and-au

Re: SecurityAdminMBean, AuthorizationBroker

2010-03-25 Thread Gary Tully
Hi Magnus, I don't see that mbean registered anywhere in code, it looks like the plugin needs to do that but it does not atm. On 25 March 2010 17:57, Magnus Persson wrote: > > I see that AuthorizationBroker implements SecurityAdminMBean which leads me > to believe that I can administer roles etc

SecurityAdminMBean, AuthorizationBroker

2010-03-25 Thread Magnus Persson
I see that AuthorizationBroker implements SecurityAdminMBean which leads me to believe that I can administer roles etc. over JMX, is this correct? I am unable to find anything remotely related to it when using jconsole but on the other hand I have about 0 experience with JMX :) If possible, could

RE: ActiveMQ 5.3.0 Memory Usage - Connections

2010-03-25 Thread Pothier, Peter
Hi, Even with ActiveMQ 5.3.1, I see the Heap Memory Usage creeping up over time (albeit sawtooth).It's now committed 58MB of 63 MB max. The MBeans show Queue CursorMemoryUsage = 0 DequeueCount = 46886 Dispatched Count = 46886 Enqueue Count = 46886

Re: ActiveMQ failed to start after server crash

2010-03-25 Thread Gary Tully
For detail of the jira see: http://activemq.apache.org/contributing.html#Contributing-Ifyoufindabugorproblem 200MB may be too big for confluence (jira) also and also for gmail(25MB), maybe try one of the fileshare sites, not sure what to recommend here. On 25 March 2010 13:23, RuralHunter wrote:

Re: Best way to send XML via JMS for POJO Marshalling

2010-03-25 Thread Dejan Bosanac
Hi, think XStream (http://xstream.codehaus.org/) is much better option then Castor nowadays. You simply convert your object to XML and send it as XML payload. You can also use XStream message transformer ( http://activemq.apache.org/message-transformation.html), but in your case I think it's bett

Re: Best way to send XML via JMS for POJO Marshalling

2010-03-25 Thread Timothy Bish
On Thu, 2010-03-25 at 08:59 -0700, gorca wrote: > I have java producer and consumer. I want to send POJO object between them. I > prefer not use java serialization so other application like .NET can use > server in future. And it's also good when debugging. > > I think JMS TextMessage with XML con

Best way to send XML via JMS for POJO Marshalling

2010-03-25 Thread gorca
I have java producer and consumer. I want to send POJO object between them. I prefer not use java serialization so other application like .NET can use server in future. And it's also good when debugging. I think JMS TextMessage with XML content is best way. But what is best practice for doing th

Re: ActiveMq-CPP lib is too large

2010-03-25 Thread Sodan
I compile them as libs and they are over 100MB, but the final .exe is 6MB or so. Søren pvnguyen wrote: > > I've went through the instructions for compiling CMS and was able to get > my CPP application to send and receive messages from JMS ActiveMQ. The > problem is that the Lib that CMS proj

RE: ActiveMQ 5.3.0 Memory Usage - Connections

2010-03-25 Thread Pothier, Peter
Hi Rob, One more thing I noticed, is that QueueSize of the Top Level Topic (the one created by server's createTopic() I believe) always grows with the Enqueue Count. Topic Attributes DequeueCount = 0 DispatchCount = 1004 EnqueueCount = 1003 QueueSize = 1003 I jus

Re: BlobMessage, 5.3.0 Valid, 5.4.0(Snapshot) exception

2010-03-25 Thread Dejan Bosanac
It should work now, with the latest snapshot. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Wed, Mar 24, 2010 at 1:29 PM, Dejan Bosanac wrote: > Hi, >

Re: ActiveMQ 5.3.0 Memory Usage - Connections

2010-03-25 Thread Rob Davies
Hi Peter, cursors are used by persistent messages too. The error about paged in messages in the jira issue is a bit of a red herring - but I did see similar behaviour to what you describe when before I resolved that issue cheers, Rob On 25 Mar 2010, at 13:50, Pothier, Peter wrote: > Hi Rob, >

RE: ActiveMQ 5.3.0 Memory Usage - Connections

2010-03-25 Thread Pothier, Peter
Hi Rob, Sure, I'll dig up some time to try 5.3.1. FYI, I do not see the ERROR | Failed to page in more queue messages type messages. I only see INFO | Slow KahaDB access: Journal append took... WARN | KahaDB PageFile flush: XXX queued writes, latch wait took... type messages

Re: ActiveMQ 5.3.0 Memory Usage - Connections

2010-03-25 Thread Rob Davies
This could be due to https://issues.apache.org/activemq/browse/AMQ-2512 - could you try 5.3.1 ? On 25 Mar 2010, at 13:28, Pothier, Peter wrote: > Hi, > > I finally figured out how to use jconsole remotely (I had a > misunderstanding > of what value to use in -Djava.rmi.server.hostname=, using t

RE: ActiveMQ 5.3.0 Memory Usage - Connections

2010-03-25 Thread Pothier, Peter
Hi, I finally figured out how to use jconsole remotely (I had a misunderstanding of what value to use in -Djava.rmi.server.hostname=, using the jconsole's machine's IP address instead of the target). Going back to running unit tests based on both libstomp and activemq-cpp (2.2.1), I can see, usin

Re: ActiveMQ failed to start after server crash

2010-03-25 Thread RuralHunter
How to? I haven't used jira before...and the data directory is quite large, more than200M. Gary Tully wrote: > > Would it be possible to tar and compress a data directory that fails to > start and attach it to a jira issue? > > > > -- > http://blog.garytully.com > > Open Source Integration

Re: ActiveMq-CPP lib is too large

2010-03-25 Thread crgr
I've compiled it with VS2008 and the release dll is just over 6 MB pvnguyen wrote: > > I've went through the instructions for compiling CMS and was able to get > my CPP application to send and receive messages from JMS ActiveMQ. The > problem is that the Lib that CMS project generated is over

Re: OutOfMemoryException in consumer

2010-03-25 Thread Rob Davies
What happens if you run that code without the database piece ? Also - have you reduced your prefetch to 100 ? Are you receiving messages that aren't ObjectMessage types ? On 25 Mar 2010, at 00:24, Milan Tomic wrote: > > Memory consumed is growing slowly with a time... over 100 MB in one day a

Re: Pls help! Making two networks working together

2010-03-25 Thread roxanac
I don't know id I've mentioned that I work with topics not with queues -- View this message in context: http://old.nabble.com/Pls-help%21-Making-two-networks-working-together-tp28015144p28026720.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Pls help! Making two networks working together

2010-03-25 Thread roxanac
Good and bad news If I increase networkTTL on the multicast network connector on every broker (=3 in my example) everybody receives messages from everybody. This is good. Bad: lots of duplicate messages! roxanac wrote: > > Another experiment that I've tried: > > 3 brokers in network1 (discov

Re: ActiveMQ failed to start after server crash

2010-03-25 Thread Gary Tully
Would it be possible to tar and compress a data directory that fails to start and attach it to a jira issue? On 25 March 2010 01:26, RuralHunter wrote: > > Hi, > I'm using kahadb as storage. I have seen this several times, for both 5.3.0 > and 5.3.1. If there are many messages in queues and Acti

Re: Pls help! Making two networks working together

2010-03-25 Thread roxanac
Another experiment that I've tried: 3 brokers in network1 (discovering each other through multicast) 3 brokers in network2 (discovering each other through multicast) I choose one broker from each network to be central point having a static network connector to the central point from the other