[ 
https://issues.apache.org/jira/browse/AMQ-4649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719632#comment-13719632
 ] 

dunite commented on AMQ-4649:
-----------------------------

o, i tried successful.as follows:
D:\Apache\ActiveMQ\apache-activemq-5.6.0>set 
ACTIVEMQ_ENCRYPTION_PASSWORD=activemq
D:\Apache\ActiveMQ\apache-activemq-5.6.0>bin\activemq-admin start 
xbean:conf/activemq-security.xml
Java Runtime: Sun Microsystems Inc. 1.6.0_33 D:\Java\jdk\jdk1.6.0_33\jre
  Heap sizes: current=15872k  free=14537k  max=506816k
    JVM args: -Dcom.sun.management.jmxremote -Xmx512M 
-Dorg.apache.activemq.UseDedicatedTaskRunner=true 
-Djava.util.logging.config.file=logging.properties 
-Dactivemq.classpath=D:\Apache\ActiveMQ\apache-activemq-5.6.0\conf;D:\Apache\ActiveMQ\apache-activemq-5.6.0\data;
 -Dactivemq.home=D:\Apache\ActiveMQ\apache-activemq-5.6.0 
-Dactivemq.base=D:\Apache\ActiveMQ\apache-activemq-5.6.0 
-Dactivemq.data=D:\Apache\ActiveMQ\apache-activemq-5.6.0\data 
-Djava.io.tmpdir=D:\Apache\ActiveMQ\apache-activemq-5.6.0\data\tmp 
-Dactivemq.conf=D:\Apache\ActiveMQ\apache-activemq-5.6.0\conf
ACTIVEMQ_HOME: D:\Apache\ActiveMQ\apache-activemq-5.6.0
ACTIVEMQ_BASE: D:\Apache\ActiveMQ\apache-activemq-5.6.0
ACTIVEMQ_CONF: D:\Apache\ActiveMQ\apache-activemq-5.6.0\conf
ACTIVEMQ_DATA: D:\Apache\ActiveMQ\apache-activemq-5.6.0\data
Loading message broker from: xbean:conf/activemq-security.xml
 INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@11f2ee1: 
startup date [Thu Jul 25 21:51:30 CST 2013]; root of context hierarchy
 INFO | Loading properties file from URL 
[file:D:/Apache/ActiveMQ/apache-activemq-5.6.0/conf/credentials-enc.properties]
 INFO | Using Persistence Adapter: MemoryPersistenceAdapter
 INFO | ActiveMQ 5.6.0 JMS Message Broker (localhost) is starting
 INFO | For help or more information please see: http://activemq.apache.org/
 INFO | JMX consoles can connect to 
service:jmx:rmi:///jndi/rmi://192.168.1.2:11030/jmxrmi
 INFO | Listening for connections at: tcp://XGS9UVDV7GVSTJ5:61616
 INFO | Connector default Started
 INFO | ActiveMQ JMS Message Broker (localhost, 
ID:XGS9UVDV7GVSTJ5-1237-1374760293511-0:1) started
ERROR | Temporary Store limit is 50000 mb, whilst the temporary data directory: 
D:\Apache\ActiveMQ\apache-activemq-5.6.0\activemq-data\localhost\tmp_storage 
only has 5319 mb of usable space
 INFO | Connector vm://localhost Started
 INFO | jetty-7.6.1.v20120215
 INFO | ActiveMQ WebConsole initialized.
 INFO | started 
o.e.j.w.WebAppContext{/admin,file:/D:/Apache/ActiveMQ/apache-activemq-5.6.0/webapps/admin/}
 INFO | Initializing Spring FrameworkServlet 'dispatcher'
 INFO | ActiveMQ Console at http://0.0.0.0:8161/admin
 INFO | started 
o.e.j.w.WebAppContext{/demo,file:/D:/Apache/ActiveMQ/apache-activemq-5.6.0/webapps/demo/}
 INFO | ActiveMQ Web Demos at http://0.0.0.0:8161/demo
 INFO | started 
o.e.j.w.WebAppContext{/fileserver,file:/D:/Apache/ActiveMQ/apache-activemq-5.6.0/webapps/fileserver/}
 INFO | RESTful file access application at http://0.0.0.0:8161/fileserver
 INFO | Started [email protected]:8161
 INFO | Apache Camel 2.9.2 (CamelContext: camel) is starting
 INFO | JMX enabled. Using ManagedManagementStrategy.
 INFO | StatisticsLevel at All so enabling load performance statistics
 INFO | Found 3 packages with 15 @Converter classes to load
 INFO | Loaded 170 core type converters (total 170 type converters)
 INFO | Loaded 3 @Converter classes
 INFO | Loaded additional 4 type converters (total 174 type converters) in 
0.047 seconds
 INFO | Route: route1 started and consuming from: Endpoint[activemq://example.A]
 INFO | Total 1 routes, of which 1 is started.
 INFO | Apache Camel 2.9.2 (CamelContext: camel) started in 0.578 seconds
                
> D:\Apache\ActiveMQ\apache-activemq-5.6.0\bin>activemq-admin start 
> xbean:conf/activemq-security.xml  can not  start broker
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-4649
>                 URL: https://issues.apache.org/jira/browse/AMQ-4649
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.6.0
>         Environment: windows xp
> apache-activemq-5.6.0
> jdk1.6.0_33
>            Reporter: dunite
>
> D:\Apache\ActiveMQ\apache-activemq-5.6.0\bin>activemq-admin start 
> xbean:conf/activemq-security.xml
> Java Runtime: Sun Microsystems Inc. 1.6.0_33 D:\Java\jdk\jdk1.6.0_33\jre
>   Heap sizes: current=15872k  free=14539k  max=506816k
>     JVM args: -Dcom.sun.management.jmxremote -Xmx512M 
> -Dorg.apache.activemq.UseDedicatedTaskRunner=true 
> -Djava.util.logging.config.file=logging.properties 
> -Dactivemq.classpath=D:\Apache\ActiveMQ\apache-activemq-5.6.0\bin\..\conf;D:\Apache\ActiveMQ\apache-activemq-5.6.0\bin\..\data;
>  -Dactivemq.home=D:\Apache\ActiveMQ\apache-activemq-5.6.0\bin\.. 
> -Dactivemq.base=D:\Apache\ActiveMQ\apache-activemq-5.6.0\bin\.. 
> -Dactivemq.data=D:\Apache\ActiveMQ\apache-activemq-5.6.0\bin\..\data 
> -Djava.io.tmpdir=D:\Apache\ActiveMQ\apache-activemq-5.6.0\bin\..\data\tmp 
> -Dactivemq.conf=D:\Apache\ActiveMQ\apache-activemq-5.6.0\bin\..\conf
> ACTIVEMQ_HOME: D:\Apache\ActiveMQ\apache-activemq-5.6.0\bin\..
> ACTIVEMQ_BASE: D:\Apache\ActiveMQ\apache-activemq-5.6.0\bin\..
> ACTIVEMQ_CONF: D:\Apache\ActiveMQ\apache-activemq-5.6.0\bin\..\conf
> ACTIVEMQ_DATA: D:\Apache\ActiveMQ\apache-activemq-5.6.0\bin\..\data
> Loading message broker from: xbean:conf/activemq-security.xml
>  INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@a61164: 
> startup date [Wed Jul 24 22:19:39 CST 2013]; root of context hierarchy
> ERROR | Failed to load: class path resource [conf/activemq-security.xml], 
> reason: IOException parsing XML document from class path resource 
> [conf/activemq-security.xml]; nested exception is 
> java.io.FileNotFoundException: class path resource 
> [conf/activemq-security.xml] cannot be opened because it does not exist
> org.springframework.beans.factory.BeanDefinitionStoreException: IOException 
> parsing XML document from class path resource [conf/activemq-security.xml]; 
> nested exception is java.io.FileNotFoundException: class path resource 
> [conf/activemq-security.xml] cannot be opened because it does not exist
>       at 
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)
>       at 
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
>       at 
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:111)
>       at 
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:104)
>       at 
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
>       at 
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
>       at 
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
>       at 
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
>       at 
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
>       at 
> org.apache.activemq.xbean.XBeanBrokerFactory$1.<init>(XBeanBrokerFactory.java:108)
>       at 
> org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:108)
>       at 
> org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:72)
>       at 
> org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
>       at 
> org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
>       at 
> org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:115)
>       at 
> org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:91)
>       at 
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>       at 
> org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:148)
>       at 
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>       at 
> org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:90)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at org.apache.activemq.console.Main.runTaskClass(Main.java:257)
>       at org.apache.activemq.console.Main.main(Main.java:111)
> Caused by: java.io.FileNotFoundException: class path resource 
> [conf/activemq-security.xml] cannot be opened because it does not exist
>       at 
> org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:158)
>       at 
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:328)
>       ... 25 more
> ERROR: java.lang.RuntimeException: Failed to execute start task. Reason: 
> org.springframework.beans.factory.BeanDefinitionStoreException: IOException 
> parsing XML document from class path resource [conf/activemq-security.xml]; 
> nested exception is java.io.FileNotFoundException: class path resource 
> [conf/activemq-security.xml] cannot be opened because it does not exist
> java.lang.RuntimeException: Failed to execute start task. Reason: 
> org.springframework.beans.factory.BeanDefinitionStoreException: IOException 
> parsing XML document from class path resource [conf/activemq-security.xml]; 
> nested exception is java.io.FileNotFoundException: class path resource 
> [conf/activemq-security.xml] cannot be opened because it does not exist
>       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:148)
>       at 
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>       at 
> org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:90)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at org.apache.activemq.console.Main.runTaskClass(Main.java:257)
>       at org.apache.activemq.console.Main.main(Main.java:111)
> Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: 
> IOException parsing XML document from class path resource 
> [conf/activemq-security.xml]; nested exception is 
> java.io.FileNotFoundException: class path resource 
> [conf/activemq-security.xml] cannot be opened because it does not exist
>       at 
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)
>       at 
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
>       at 
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:111)
>       at 
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:104)
>       at 
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
>       at 
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
>       at 
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
>       at 
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
>       at 
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
>       at 
> org.apache.activemq.xbean.XBeanBrokerFactory$1.<init>(XBeanBrokerFactory.java:108)
>       at 
> org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:108)
>       at 
> org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:72)
>       at 
> org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
>       at 
> org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
>       at 
> org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:115)
>       at 
> org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:91)
>       ... 10 more
> Caused by: java.io.FileNotFoundException: class path resource 
> [conf/activemq-security.xml] cannot be opened because it does not exist
>       at 
> org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:158)
>       at 
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:328)
>       ... 25 more
> ERROR: java.lang.Exception: 
> org.springframework.beans.factory.BeanDefinitionStoreException: IOException 
> parsing XML document from class path resource [conf/activemq-security.xml]; 
> nested exception is java.io.FileNotFoundException: class path resource 
> [conf/activemq-security.xml] cannot be opened because it does not exist
> java.lang.Exception: 
> org.springframework.beans.factory.BeanDefinitionStoreException: IOException 
> parsing XML document from class path resource [conf/activemq-security.xml]; 
> nested exception is java.io.FileNotFoundException: class path resource 
> [conf/activemq-security.xml] cannot be opened because it does not exist
>       at 
> org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:99)
>       at 
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>       at 
> org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:148)
>       at 
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>       at 
> org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:90)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at org.apache.activemq.console.Main.runTaskClass(Main.java:257)
>       at org.apache.activemq.console.Main.main(Main.java:111)
> Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: 
> IOException parsing XML document from class path resource 
> [conf/activemq-security.xml]; nested exception is 
> java.io.FileNotFoundException: class path resource 
> [conf/activemq-security.xml] cannot be opened because it does not exist
>       at 
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)
>       at 
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
>       at 
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:111)
>       at 
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:104)
>       at 
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
>       at 
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
>       at 
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
>       at 
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
>       at 
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
>       at 
> org.apache.activemq.xbean.XBeanBrokerFactory$1.<init>(XBeanBrokerFactory.java:108)
>       at 
> org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:108)
>       at 
> org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:72)
>       at 
> org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
>       at 
> org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
>       at 
> org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:115)
>       at 
> org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:91)
>       ... 10 more
> Caused by: java.io.FileNotFoundException: class path resource 
> [conf/activemq-security.xml] cannot be opened because it does not exist
>       at 
> org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:158)
>       at 
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:328)
>       ... 25 more
> D:\Apache\ActiveMQ\apache-activemq-5.6.0\bin>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to