activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Justin <michael.jus...@gmx.net>
Subject ActiveMQ 5.7.0 startup error / broker.ks missing
Date Tue, 09 Oct 2012 06:27:13 GMT
The new Windows ZIP distribution version seems not to include 
conf/broker.ks, I fixed it by copying conf/broker* files from 5.6.0.

My startup log is:

2012-10-09 08:20:23,405 | INFO  | Refreshing 
org.apache.activemq.xbean.XBeanBrokerFactory$1@a61164: startup date [Tue 
Oct 09 08:20:23 CEST 2012]; root of context hierarchy | 
org.apache.activemq.xbean.XBeanBrokerFactory$1 | main
2012-10-09 08:20:28,066 | ERROR | Failed to load: class path resource 
[activemq-demo.xml], reason: Error creating bean with name 
'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path 
resource [activemq-demo.xml]: Cannot create inner bean '(inner bean)' of 
type [org.apache.activemq.spring.SpringSslContext] while setting bean 
property 'sslContext'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name '(inner bean)#7' defined in class path resource 
[activemq-demo.xml]: Invocation of init method failed; nested exception 
is java.io.FileNotFoundException: 
C:\Java\apache-activemq-5.7.0\bin\..\conf\broker.ks (Das System kann die 
angegebene Datei nicht finden) | 
org.apache.activemq.xbean.XBeanBrokerFactory | main
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined 
in class path resource [activemq-demo.xml]: Cannot create inner bean 
'(inner bean)' of type [org.apache.activemq.spring.SpringSslContext] 
while setting bean property 'sslContext'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name '(inner bean)#7' defined in class path resource 
[activemq-demo.xml]: Invocation of init method failed; nested exception 
is java.io.FileNotFoundException: 
C:\Java\apache-activemq-5.7.0\bin\..\conf\broker.ks (Das System kann die 
angegebene Datei nicht finden)
	at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281)
	at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:125)
	at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1327)
	at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1085)
	at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:516)
	at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
	at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
	at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
	at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
	at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
	at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
	at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
	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:102)
	at 
org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:102)
	at 
org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:66)
	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:262)
	at org.apache.activemq.console.Main.main(Main.java:115)
Caused by: org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name '(inner bean)#7' defined in class path 
resource [activemq-demo.xml]: Invocation of init method failed; nested 
exception is java.io.FileNotFoundException: 
C:\Java\apache-activemq-5.7.0\bin\..\conf\broker.ks (Das System kann die 
angegebene Datei nicht finden)
	at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1422)
	at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:518)
	at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
	at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)
	... 31 more
Caused by: java.io.FileNotFoundException: 
C:\Java\apache-activemq-5.7.0\bin\..\conf\broker.ks (Das System kann die 
angegebene Datei nicht finden)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at java.io.FileInputStream.<init>(FileInputStream.java:66)
	at 
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
	at 
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
	at 
org.springframework.core.io.UrlResource.getInputStream(UrlResource.java:124)
	at 
org.apache.activemq.spring.SpringSslContext.createKeyManagerKeyStore(SpringSslContext.java:119)
	at 
org.apache.activemq.spring.SpringSslContext.createKeyManagers(SpringSslContext.java:88)
	at 
org.apache.activemq.spring.SpringSslContext.afterPropertiesSet(SpringSslContext.java:65)
	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.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1546)
	at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1487)
	at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1419)
	... 34 more


-- 
Michael Justin

Mime
View raw message