Re: SSL Client auth properties

2009-03-12 Thread huntc
I don't know if you ever worked this out, but setting the following up in my activemq.xml file does appear to ask the client for a cert (I checked using wireshark): Could this please be documented at: http://activemq.apache.org/how-do-i-use-ssl.html Kind regards, Christopher -- Vie

Re: How to discover destinations configured in a broker

2009-03-12 Thread Antsa
I managed to get topics bound to JNDI, but only by putting them in jndi.properties with java.naming.factory.initial = org.apache.activemq.jndi.ActiveMQInitialContextFactory java.naming.provider.url = vm://localhost topic.directory.user.changepassword = directory.user.changepassword topic.bla.bla.

Re: ActiveMQ usage from C# (WITHOUT SPRING.NET)

2009-03-12 Thread Jim Gomes
This is a bug that was fixed. If you get latest you should have better success. - Jim -Original Message- From: pclovec Date: Thu, 12 Mar 2009 15:49:22 To: Subject: Re: ActiveMQ usage from C# (WITHOUT SPRING.NET) i used the dll now ,but i didn't saw this issue. did u build the dll

How to discover destinations configured in a broker

2009-03-12 Thread Antsa
I'm a newbie to JMS. I have an embedded broker configured in my Spring XML config running inside my app. My app is acting as a messaging gateway, receiving non JMS messages from another system and I'm trying to t

ActiveMQ with jboss - class cast exception spydestination

2009-03-12 Thread bobyal
Hi, I am trying to integrate the ActiveMQ with Jboss 4.2.3. I am getting Class cast exception with Jboss MQ spydestnation class. Any clues on how to fix this? Thanks Bob -- View this message in context: http://www.nabble.com/ActiveMQ-with-jboss---class-cast-exception-spydestination-tp22487863

Return of an unexpected message type

2009-03-12 Thread millej
In my system I have XML messages that are passed between services as String content in JMS/ActiveMQ messages. The problem is that the message is sent back to the ReplyTo destination (the message source) in either ActiveMQMessage or ActiveMQObjectMessage format. The messages have a body type of str

Re: ActiveMQ usage from C# (WITHOUT SPRING.NET)

2009-03-12 Thread pclovec
i used the dll now ,but i didn't saw this issue. did u build the dll by self.? padcom wrote: > > Hi there, > > I'm hoping someone here will be able to help me out as this is getting > pretty interesting for me. > Here's the problem: > > using Apache.NMS; > using Apache.NMS.ActiveMQ; > > na

Re: SSL authorisation using a client's subject DN for JNDI

2009-03-12 Thread huntc
djencks wrote: > > > This looks to me like it will work but I don't understand why it would > be more secure than having an activemq ldap user password on disk > somewhere. > I think that there is key difference between attempting to lock down ldap access and permitting anonymous access t

uses virtual topic and ClientAcknowledge to submit the message occured probem

2009-03-12 Thread pclovec
i try to test virtual topic found out the isssue 1.create cosumer.a.virtualtopic.test queue. 2.create cosumer.b.virtualtopic.test queue. 3.create virtualtopic.test queue 4.send message into topic 5 consumer a and b can got the message ,but i want to try to submit the server it occure error

ActiveMQ usage from C# (WITHOUT SPRING.NET)

2009-03-12 Thread padcom
Hi there, I'm hoping someone here will be able to help me out as this is getting pretty interesting for me. Here's the problem: using Apache.NMS; using Apache.NMS.ActiveMQ; namespace JMSTest { class Program { static void Main(string[] args) { ICo

ActiveMQMessageConsumer not releasing packages

2009-03-12 Thread Mark Webb
I have been debugging a memory issue I am having with a client that uses ActiveMQ 5.2 libraries. This program has sends and receives messages on 2 topics, and also has implemented the Request/Response algorithm found in http://activemq.apache.org/how-should-i-implement-request-response-with-jms.h

Re: ActiveMQ and Applets

2009-03-12 Thread Kyle Watson
So i got around that first exception by modifing the common logger code to do a property check but now i'm running into more security exceptions when activemq trys to request properties. Has anyone gotten activemq 5 running in a applet?? here is the current exception. javax.jms.JMSExceptio

Re: Limit the number of Queues/Topics on a broker

2009-03-12 Thread Andreas Gies
Hi there I am not aware that this is possible out of the box. I think that could be done by writing your own BrokerPlugin. Look at the http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/activemq/broker/BrokerPlugin.html . Probably you are going to extend http://activemq.apache.

Disappearing messages with Stomp and Client Acknowledge

2009-03-12 Thread mjustin
Hello, while working on the Delphi Stomp client library for ActiveMQ I encountered a strange thing with CLIENT_ACKNOWLEDGE, which also appears with the Java Stomp client implementation in version 5.2 and also (but not so frequently) with 5.3. For my test, I use the Java messageproducer and creat

Re: SSL authorisation using a client's subject DN for JNDI

2009-03-12 Thread David Jencks
On Mar 12, 2009, at 5:49 AM, huntc wrote: huntc wrote: You're right in that activemq still has to bind itself to perform a search to see which groups an endpoint's dn belongs to. I did forget about that. Perhaps this bind could be achieved using a mechanism such as SASL/ GSSAPI?

Re: Possible defect in Message Eviction

2009-03-12 Thread Yenki
I just create a JIRA Issue for this. https://issues.apache.org/activemq/browse/AMQ-2159 AMQ-2159 Yannick Hi, I’m using ActiveMQ 5.2 and I’m experiencing a strange behavior with OldestMessageEvictionStrategy. I have a very fast producer and a very slow consumer and I set this policy in my xml.

Re: Question about Active MQ network of brokers

2009-03-12 Thread Joe Fernandez
One possible option is to leverage/extend the existing LDAP discovery mechanism to make things a bit more dynamic wrt network connectors. http://activemq.apache.org/ldap-broker-discovery-mechanism.html You could use the Apache DS, which btw rocks! Joe http://www.ttmsolutions.com bsnyder wr

Re: Question about Active MQ network of brokers

2009-03-12 Thread mffrench
If I configure any network connector thanks AMQ API or JMX will this configuration be persistent ? ++ mffrench wrote: > > Is there any way to configure network connector through JMX ? > > > bsnyder wrote: >> >> On Tue, Mar 10, 2009 at 3:14 AM, mffrench wrote: >>> >>> Thank you for your ans

Re: SSL authorisation using a client's subject DN for JNDI

2009-03-12 Thread huntc
huntc wrote: > > You're right in that activemq still has to bind itself to perform a search > to see which groups an endpoint's dn belongs to. I did forget about that. > > Perhaps this bind could be achieved using a mechanism such as SASL/GSSAPI? > After lots of reading, and experimenting, p

Re: Segmentation fault with AMQCPP 2.2.4

2009-03-12 Thread Timothy Bish
On Thu, 2009-03-12 at 03:41 -0700, Sebastien SOILEN wrote: > Hello, > > > I'm using ActiveMQ 5.2.0 and amqcpp 2.2.4 > > I get occasional segmentation fault with a small broker monitor I wrote. > Here is the monitor: > > > #include > #include > > #include > #include > #include > > > usi

RE: Questions about the plan of cluster in ActiveMQ.

2009-03-12 Thread Torsten Mielke
>cluster has been offered two plans-Networks of brokers and Master Slave >in ActiveMQ. Now I have two questions: >1 Whether can combine using these two plans in the case? >2 If it can be combined using, how to configure them? Yes, that is possible. Each master need to be configured with a netw

Re: Fast producers,slow consumer... queue growing forever

2009-03-12 Thread Yenki
Ok I will. By that time maybe you want to take a look at this post where I explained the problem in more details. http://www.nabble.com/Possible-defect-in-Message-Eviction-to22415827.html http://www.nabble.com/Possible-defect-in-Message-Eviction-to22415827.html Yannick Andreas Gies-3 wrote: >

Segmentation fault with AMQCPP 2.2.4

2009-03-12 Thread Sebastien SOILEN
Hello, I'm using ActiveMQ 5.2.0 and amqcpp 2.2.4 I get occasional segmentation fault with a small broker monitor I wrote. Here is the monitor: #include #include #include #include #include using namespace activemq::core; using namespace cms; using namespace std; const char * C_szDefSt

Re: SSL authorisation using a client's subject DN for JNDI

2009-03-12 Thread huntc
Hi David, My responses: djencks wrote: > > ??? I'm not familiar with the activemq stuff but the ldap login > modules I've seen work by binding to ldap using the client's supplied > user name and password. If it works, then the user name/password is > valid and you can go on to look for

Re: Is there JDBC master/slave retry logic if database goes down?

2009-03-12 Thread Gary Tully
One thing to note: you can provide your own implementation of the org.apache.activemq.store.jdbc.DefaultDatabaseLocker and implement keepAlive to be aware of your database backup policy. If you go down this route and conceive a better default or optional strategy, feel free to submit it as a patc

Re: ActiveMQ and Applets

2009-03-12 Thread James Strachan
ActiveMQ just uses commons-logging by default so if you don't want to use log4j jsut don't include it in your classpath. More details here... http://activemq.apache.org/how-do-i-change-the-logging.html http://commons.apache.org/logging/guide.html 2009/3/12 Kyle Watson : > Hi, > I'm getting a exce

ActiveMQ and Applets

2009-03-12 Thread Kyle Watson
Hi, I'm getting a exception when creating a connection factory in my applet. Exception in thread "thread applet- com.corewafer.taos.ui.applets.Console-1" java.lang.ExceptionInInitializerError at org .apache .activemq.ActiveMQPrefetchPolicy.(ActiveMQPrefetchPolicy.java: 30) at org .ap

Re: Oracle BPEL <-> ActiveMQ - Howto?

2009-03-12 Thread Andreas Gies
Hi, not knowing Oracle, but that looks like you did not make ActiveMQ available as a JCA resource and therefore Oracle can't find the classes. Google being our friend I have found this link: http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/how-to-use-activemq-JCA-RA/doc/how-to-use-

Re: Fast producers,slow consumer... queue growing forever

2009-03-12 Thread Andreas Gies
Hi, I am glad the answer helped a bit. It would be great if you could turn your test app into a JUnit test and log a JIRA for your issue. Best regards Andreas On Mar 11, 2009, at 9:27 PM, Yenki wrote: Hi Andreas, thanks for your help! We also managed to make memory limit work on 5.2. B

Re: javax.naming.NameNotFoundException in Unix

2009-03-12 Thread Andreas Gies
That piece of documentation actually refers to the destination names inside ActiveMQ, in other words the physical destination names. In JNDI you bind logical names to physical ones for the purpose of decoupling your application from the execution environment. You may want to read up on JNDI on

Re: SSL authorisation using a client's subject DN for JNDI

2009-03-12 Thread David Jencks
On Mar 11, 2009, at 11:56 PM, huntc wrote: Hi there, I have a situation where I need to support authentication and authorisation for endpoints connecting to my broker. I have successfully configured an LDAP server for this purpose and have everything working. My concern though is that e