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 15:04:36 GMT
I just tried it here and it works.

Can you try

$ export ACTIVEMQ_ENCRYPTION_PASSWORD=activemq
$ bin/activemq console xbean:conf/activemq-security.xml


on a fresh install for starters and then do your modification and see
what you get.

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 Thu, Oct 18, 2012 at 4:36 PM, arp <hirashree@gmail.com> wrote:
> Hi
>
> Thanks for your reply, i followed each and every step of the link and still
> i face the same problem
>
> Thanks
>
>
>
> On Thu, Oct 18, 2012 at 10:10 AM, dejanb [via ActiveMQ] <
> ml-node+s2283324n4657933h56@n4.nabble.com> wrote:
>
>> 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
>> [hidden email] <http://user/SendEmail.jtp?type=node&node=4657933&i=0>
>> Twitter: @dejanb
>> Blog: http://sensatic.net
>> ActiveMQ in Action: http://www.manning.com/snyder/
>>
>>
>> On Wed, Oct 17, 2012 at 3:16 PM, arp <[hidden email]<http://user/SendEmail.jtp?type=node&node=4657933&i=1>>
>> 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.
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://activemq.2283324.n4.nabble.com/ERROR-org-jasypt-exceptions-EncryptionInitializationException-Password-not-set-for-Password-Based-Enr-tp4657890p4657933.html
>> To unsubscribe from ERROR:
>> org.jasypt.exceptions.EncryptionInitializationException: Password not set
>> for Password Based Encryptor, click here<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4657890&code=aGlyYXNocmVlQGdtYWlsLmNvbXw0NjU3ODkwfC00ODczMzQzNzA=>
>> .
>> NAML<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
>
> --
> Have a great day!
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/ERROR-org-jasypt-exceptions-EncryptionInitializationException-Password-not-set-for-Password-Based-Enr-tp4657890p4657940.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Mime
View raw message