activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: ERROR: org.jasypt.exceptions.EncryptionInitializationException: Password not set for Password Based Encryptor
Date Thu, 18 Oct 2012 14:09:50 GMT
Hi,

take a look at this page

http://activemq.apache.org/encrypted-passwords.html

You basically need set ACTIVEMQ_ENCRYPTION_PASSWORD environment
variable to use encrypted passwords.

Regards
--
Dejan Bosanac
----------------------
Red Hat, Inc.
FuseSource is now part of Red Hat
dbosanac@redhat.com
Twitter: @dejanb
Blog: http://sensatic.net
ActiveMQ in Action: http://www.manning.com/snyder/


On Wed, Oct 17, 2012 at 3:16 PM, arp <hirashree@gmail.com> wrote:
> Hi All,
>
> I am trying to read the encrypted pass word from the
> credentials-enc.properties, but i am getting the below error --- i am trying
> plz help ...thank in advance
>
> ERROR: java.lang.RuntimeException: Failed to execute start task. Reason:
> org.jasypt.exceptions.EncryptionInitializationException: Password not set
> for Password Based Encryptor
> java.lang.RuntimeException: Failed to execute start task. Reason:
> org.jasypt.exceptions.EncryptionInitializationException: Password not set
> for Password Based Encryptor
>         at
> org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:98)
>         at
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>         at
> org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:143)
>         at
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>         at
> org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:85)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:600)
>         at org.apache.activemq.console.Main.runTaskClass(Main.java:251)
>         at org.apache.activemq.console.Main.main(Main.java:107)
> Caused by: org.jasypt.exceptions.EncryptionInitializationException: Password
> not set for Password Based Encryptor
>         at
> org.jasypt.encryption.pbe.StandardPBEByteEncryptor.initialize(StandardPBEByteEncryptor.java:582)
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/ERROR-org-jasypt-exceptions-EncryptionInitializationException-Password-not-set-for-Password-Based-Enr-tp4657890.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Mime
View raw message