I would try commenting out the original PropertyPlaceholderConfigurer, they might be clashing and from what I understand you can put all the non-encrypted values you want in your credentials-enc.properties file, they'll work just fine. The example I found seems to have a few more parameters for the EncryptablePropertyPlaceholderConfigurer (but I haven't tried it myself). http://activemq.apache.org/encrypted-passwords.html (*Chris*)
On Fri, Aug 24, 2012 at 12:11 AM, joesan <codeintheo...@gmail.com> wrote: > I modified the properties by generating new values but still no luck! > > admin.password=ENC(qcsJFdo+PVIz9FLW7HZX0u/fniJ21gpk) > publish.password=ENC(VRd4U5n+KFpQARExI7XbicVgM//1GLYB) > consume.password=ENC(GXQopJamSs6wPv/gHzs7oQsICAfkVDcV) > > In my activemq.xml, I also have this additional bean tag. Should this be > the > reason? > > <bean > > class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> > <property name="locations"> > <value>file:${activemq.conf}/credentials.properties</value> > </property> > </bean> > > But it is configured to read a different properties file. What I"m also > wondering is the property name is locations here as opposed to location in > the bean tag for EncryptablePropertyPlaceholderConfigurer > > *<bean id="propertyConfigurer" > > > class="org.jasypt.spring.properties.EncryptablePropertyPlaceholderConfigurer"> > <constructor-arg ref="configurationEncryptor" /> > <property name="location" > value="file:${activemq.conf}/credentials-enc.properties"/> > </bean>* > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/ActiveMQ-Authentication-tp4655478p4655523.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >