Re: Simple authentication not working: Unrecognized xbean element mapping: authenticationUser

2008-04-22 Thread j0llyr0g3r
Hi Joe, i figured this If you've got security enabled, then I'm afraid you're going to have to comment out the commandAgent and most probably the camelContext elements. out by coincidence yesterday evening. I had to comment out the camel context and the command agent to get it working (just as

Re: Simple authentication not working: Unrecognized xbean element mapping: authenticationUser

2008-04-21 Thread ttmdev
If you've got security enabled, then I'm afraid you're going to have to comment out the commandAgent and most probably the camelContext elements. These components try and connect to the broker, but AFAIK there's no way to assign them a valid user name and password via their respective elements in

Re: Simple authentication not working: Unrecognized xbean element mapping: authenticationUser

2008-04-21 Thread j0llyr0g3r
Hi, sorry, i forgot something: If i get the documentation right, the most simple setup would to just insert: in the activemq.xml, thereby defining users and passwords. So, no -Djava., no login.conf, no

Re: Simple authentication not working: Unrecognized xbean element mapping: authenticationUser

2008-04-21 Thread j0llyr0g3r
Hi and thx for your reply. Maybe i didn't make myself clear enough.:-) I follow exactly the documentation example from here: http://activemq.apache.org/security.html This means: -> I create a login.conf: activemq-domain { org.apache.activemq.jaas.PropertiesLoginModule required

Re: Simple authentication not working: Unrecognized xbean element mapping: authenticationUser

2008-04-21 Thread Dejan Bosanac
Hi, xbean support for simple authentication plugin is available since 5.0 and is working fine. You can find an example configuration in unit test resources https://svn.apache.org/repos/asf/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/security/simple-auth-broker.xml In the

Re: Simple authentication not working: Unrecognized xbean element mapping: authenticationUser

2008-04-19 Thread j0llyr0g3r
Ok, i dug a little deeper, but now i am totally confused: I mean obviously this line: java.lang.RuntimeException: Failed to execute start task. Reason: org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized xbean element mapping: authenticationUser in namespace http

Simple authentication not working: Unrecognized xbean element mapping: authenticationUser

2008-04-18 Thread j0llyr0g3r
ssage broker from: xbean:activemq.xml ERROR: java.lang.RuntimeException: Failed to execute start task. Reason: org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized xbean element mapping: authenticationUser in namespace http://activemq.org/config/1.0 java.lang.RuntimeExce

Re: Unrecognized xbean element mapping: authenticationUser

2008-03-07 Thread Jeremy Ross
ok, I'm pretty certain that's the problem. Thanks for the tip. Jeremy ttmdev wrote: > > My guess is that you're using AMQ 4.1, but with the 5.x schema? If that is > the case, see this URL for the 4.1 simpleAuthenticationPlugin > > http://activemq.apache.org/ref/schema/activemq-core-4.1.1.xsd

Re: Unrecognized xbean element mapping: authenticationUser

2008-03-07 Thread ttmdev
e.com/Authentication-of-clients-to15016858s2354.html#a15020397 Joe www.ttmsolutions.com Jeremy Ross wrote: > > I'm tinkering with authentication, but I'm getting: java.lang.Exception: > org.springframework.beans.factory.BeanDefinitionStoreException: > Unrecog

Unrecognized xbean element mapping: authenticationUser

2008-03-07 Thread Jeremy Ross
I'm tinkering with authentication, but I'm getting: java.lang.Exception: org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized xbean element mapping: authenticationUser in namespace http://activemq.org/config/1.0 My plugins section from activemq.xml is below.