Hi all, I have some problems with authentication. I've configured the authentication with AMQ 5.3 + JBOSS. How can I authenticate my MDBs??
I've tested with the standard annotations: @ActivationConfigProperty(propertyName = "user", propertyValue = "admin"), @ActivationConfigProperty(propertyName = "password", propertyValue = "admin") buth this exception is raised. org.jboss.deployment.DeploymentException: Error for ActivationSpec class org.apache.activemq.ra.ActiveMQActivationSpec as JavaBean; - nested throwable: (java.bean s.IntrospectionException: No property found for: user on JavaBean: ActiveMQActivationSpec{acknowledgeMode='Auto-acknowledge', destinationType='javax.jms.Queue ', messageSelector='null', destination='queue/RawDataQueue', clientId='null', subscriptionName='null', subscriptionDurability='NonDurable'}) at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53) at org.jboss.resource.deployment.ActivationSpecFactory.createActivationSpec(ActivationSpecFactory.java:135) at org.jboss.resource.deployment.RARDeployment.createActivationSpec(RARDeployment.java:254) at org.jboss.resource.deployment.RARDeployment.internalInvoke(RARDeployment.java:218) at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.java:156) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.ejb3.JmxClientKernelAbstraction.invoke(JmxClientKernelAbstraction.java:44) Without this annotations, the exception is (and is expected): 16:38:45,234 INFO [TransportConnector] Connector vm://localhost Started 16:38:45,250 WARN [TransportConnection] Failed to add Connection java.lang.SecurityException: User name or password is invalid. at org.apache.activemq.security.SimpleAuthenticationBroker.addConnection(SimpleAuthenticationBroker.java:52) at org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:82) at org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:89) which is the correct property to use?? Or I have to set up a default container username/password? Where? Thank you in advance -- View this message in context: http://old.nabble.com/EJB3-authentication-issue-tp26611052p26611052.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.