Hi,

I see by latest you mean 5.15.12.

Let me try to reproduce it.

Regards
JB

> Le 29 mai 2020 à 12:27, nneesen <[email protected]> a écrit :
> 
> Hello,
> 
> i wanted to use the runtimeConfigurationPlugin in the
> activemq.xml-Configuration. (Karaf 4.2.8 + ActiveMQ LATEST)
> 
> The plugin-tag looks like this:
>         <plugins>
>             <jaasAuthenticationPlugin configuration="karaf" />
>             <runtimeConfigurationPlugin checkPeriod="1000" />
>        </plugins>
> 
> On boot I get the following error in the karaf-logs:
> 2020-05-29T12:17:28,799 | INFO  | Broker Starting Thread |
> AbstractRuntimeConfigurationBroker | 58 - org.apache.activemq.activemq-osgi
> - 5.15.12 | Unexpected exception during load of: URL
> [file:/home/nne01/karafs/apache-karaf-4.2.8/etc/activemq.xml]
> java.lang.NullPointerException: null
>       at
> org.apache.activemq.plugin.RuntimeConfigurationBroker.getSchema(RuntimeConfigurationBroker.java:233)
> ~[!/:5.15.12]
>       at
> org.apache.activemq.plugin.RuntimeConfigurationBroker.loadConfiguration(RuntimeConfigurationBroker.java:178)
> [!/:5.15.12]
>       at
> org.apache.activemq.plugin.RuntimeConfigurationBroker.start(RuntimeConfigurationBroker.java:82)
> [!/:5.15.12]
>       at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:189)
> [!/:5.15.12]
>       at
> org.apache.activemq.broker.BrokerService$6.start(BrokerService.java:2384)
> [!/:5.15.12]
>       at
> org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:753)
> [!/:5.15.12]
>       at
> org.apache.activemq.broker.BrokerService.access$300(BrokerService.java:139)
> [!/:5.15.12]
>       at 
> org.apache.activemq.broker.BrokerService$3.run(BrokerService.java:732)
> [!/:5.15.12]
> 
> The problematic line is the following:
> schemas.add(new
> StreamSource(getClass().getResource("/org/springframework/beans/factory/xml/spring-beans-3.0.xsd").toExternalForm()));
> 
> It seams that there is not spring-beans-3.0.xsd in the classpath.
> 
> Any Idea how to fix this?
> Thanks!
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Reply via email to