Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9611E10109 for ; Sat, 2 Nov 2013 22:11:17 +0000 (UTC) Received: (qmail 88860 invoked by uid 500); 2 Nov 2013 22:11:17 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 88824 invoked by uid 500); 2 Nov 2013 22:11:17 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 88815 invoked by uid 99); 2 Nov 2013 22:11:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Nov 2013 22:11:17 +0000 Date: Sat, 2 Nov 2013 22:11:17 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMQ-3101) Issues in password encryption MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-3101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated AMQ-3101: ----------------------------- Priority: Minor (was: Major) > Issues in password encryption > ----------------------------- > > Key: AMQ-3101 > URL: https://issues.apache.org/jira/browse/AMQ-3101 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.4.2 > Environment: Win XP > Reporter: Chaitanya Gupta > Priority: Minor > Fix For: 5.10.0 > > > I am trying to use security features provided in activemq 5.4.2, I downloaded and extractd the zip file. I am trying the below command to encrypt the password but getting few errors, below are the details ... > H:\apache-activemq-5.4.2-bin\apache-activemq-5.4.2>bin\activemq encrypt --passwo > rd activemq --input mypassword > Java Runtime: IBM Corporation 1.6.0 G:\IBM\IBM-JDK\ibm_sdk60\ibm_sdk60\jre > Heap sizes: current=4096k free=2789k max=524288k > JVM args: -Xjcl:jclscar_24 -Dcom.ibm.oti.vm.bootstrap.library.path=G:\IBM\IB > M-JDK\ibm_sdk60\ibm_sdk60\jre\bin -Dsun.boot.library.path=G:\IBM\IBM-JDK\ibm_sdk > 60\ibm_sdk60\jre\bin -Djava.library.path=G:\IBM\IBM-JDK\ibm_sdk60\ibm_sdk60\jre\ > bin;.;C:\Perl\bin;C:\Program Files\Common Files\NetSarang;C:\WINDOWS\system32;C: > \WINDOWS;C:\WINDOWS\System32\Wbem;G:\IBM\IBM-JDK\ibm_sdk60\ibm_sdk60\bin;H:\Java > \apache-ant-1.7.0-bin\apache-ant-1.7.0\bin;C:\Program Files\Windows Imaging\ -Dj > ava.home=G:\IBM\IBM-JDK\ibm_sdk60\ibm_sdk60\jre -Djava.ext.dirs=G:\IBM\IBM-JDK\i > bm_sdk60\ibm_sdk60\jre\lib\ext -Duser.dir=H:\apache-activemq-5.4.2-bin\apache-ac > tivemq-5.4.2 _j2se_j9=71168 -Xdump -Dconsole.encoding=Cp437 -Djava.class.path=. > -Dcom.sun.management.jmxremote -Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRu > nner=true -Djava.util.logging.config.file=logging.properties -Dactivemq.classpat > h=H:\apache-activemq-5.4.2-bin\apache-activemq-5.4.2/conf;H:\apache-activemq-5.4 > .2-bin\apache-activemq-5.4.2/conf; -Dactivemq.home=H:\apache-activemq-5.4.2-bin\ > apache-activemq-5.4.2 -Dactivemq.base=H:\apache-activemq-5.4.2-bin\apache-active > mq-5.4.2 -Djava.class.path=H:\apache-activemq-5.4.2-bin\apache-activemq-5.4.2/bi > n/run.jar -Dsun.java.command=H:\apache-activemq-5.4.2-bin\apache-activemq-5.4.2/ > bin/run.jar start encrypt --password activemq --input mypassword -Dsun.java.laun > cher=SUN_STANDARD _port_library > ACTIVEMQ_HOME: H:\apache-activemq-5.4.2-bin\apache-activemq-5.4.2 > ACTIVEMQ_BASE: H:\apache-activemq-5.4.2-bin\apache-activemq-5.4.2 > Loading message broker from: encrypt > ERROR: java.lang.RuntimeException: Failed to execute start task. Reason: java.la > ng.IllegalArgumentException: Invalid broker URI, no scheme specified: encrypt > java.lang.RuntimeException: Failed to execute start task. Reason: java.lang.Ille > galArgumentException: Invalid broker URI, no scheme specified: encrypt > at org.apache.activemq.console.command.StartCommand.runTask(StartCommand > .java:98) > at org.apache.activemq.console.command.AbstractCommand.execute(AbstractC > ommand.java:57) > at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand > .java:143) > at org.apache.activemq.console.command.AbstractCommand.execute(AbstractC > ommand.java:57) > at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.ja > va:85) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:59) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:39) > at java.lang.reflect.Method.invoke(Method.java:612) > at org.apache.activemq.console.Main.runTaskClass(Main.java:251) > at org.apache.activemq.console.Main.main(Main.java:107) > Caused by: java.lang.IllegalArgumentException: Invalid broker URI, no scheme spe > cified: encrypt -- This message was sent by Atlassian JIRA (v6.1#6144)