Hi,

I am using encrypted passwords in our ActiveMQ set-up. I get the following
error while starting the broker.

We are using 5.11.1 ActiveMQ.

Can anyone please give me some pointers on how to fix this issue.

Thanks for your help!

--------------------------------------------------------
2015-06-04 09:20:43,288 | WARN  | Exception encountered during context
initialization - cancelling refresh attempt |
org.apache.activemq.xbean.XBeanBrokerFactory$1 | main
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find
class
[org.jasypt.spring31.properties.EncryptablePropertyPlaceholderConfigurer]
for bean with name 'propertyConfigurer' defined in class path resource
[activemq.xml]; nested exception is java.lang.ClassNotFoundException:
org.jasypt.spring31.properties.EncryptablePropertyPlaceholderConfigurer
        at
org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1278)[spring-beans-3.2.11.RELEASE.jar:3.2.11.RELEASE]
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:575)[spring-beans-3.2.11.RELEASE.jar:3.2.11.RELEASE]
        at
org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1347)[spring-beans-3.2.11.RELEASE.jar:3.2.11.RELEASE]
        at
org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:913)[spring-beans-3.2.11.RELEASE.jar:3.2.11.RELEASE]
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:617)[spring-beans-3.2.11.RELEASE.jar:3.2.11.RELEASE]
        at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:934)[spring-context-3.2.11.RELEASE.jar:3.2.11.RELEASE]
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)[spring-context-3.2.11.RELEASE.jar:3.2.11.RELEASE]
        at
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)[xbean-spring-3.18.jar:3.18]
        at
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)[xbean-spring-3.18.jar:3.18]
        at
org.apache.activemq.xbean.XBeanBrokerFactory$1.<init>(XBeanBrokerFactory.java:104)[activemq-spring-5.11.1.jar:5.11.1]
        at
org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:104)[activemq-spring-5.11.1.jar:5.11.1]
        at
org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:67)[activemq-spring-5.11.1.jar:5.11.1]
        at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)[activemq-broker-5.11.1.jar:5.11.1]
        at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)[activemq-broker-5.11.1.jar:5.11.1]
        at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:87)[activemq-console-5.11.1.jar:5.11.1]
        at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)[activemq-console-5.11.1.jar:5.11.1]
        at
org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:150)[activemq-console-5.11.1.jar:5.11.1]
        at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)[activemq-console-5.11.1.jar:5.11.1]
        at
org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:104)[activemq-console-5.11.1.jar:5.11.1]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)[:1.8.0_45]
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_45]
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_45]
        at java.lang.reflect.Method.invoke(Method.java:497)[:1.8.0_45]
        at
org.apache.activemq.console.Main.runTaskClass(Main.java:262)[activemq.jar:5.11.1]
        at
org.apache.activemq.console.Main.main(Main.java:115)[activemq.jar:5.11.1]




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Getting-Error-while-using-encrypted-passwords-in-ActiveMQ-tp4697302.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to