[jira] [Commented] (AMQ-6899) Runtime Configuration Plugin throwing NPE at startup
[ https://issues.apache.org/jira/browse/AMQ-6899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17244219#comment-17244219 ] Matt Pavlovich commented on AMQ-6899: - Got it-- good clarification, thank you. > Runtime Configuration Plugin throwing NPE at startup > > > Key: AMQ-6899 > URL: https://issues.apache.org/jira/browse/AMQ-6899 > Project: ActiveMQ > Issue Type: Bug > Components: Plugin >Affects Versions: 5.13.3 > Environment: Karaf > both Windows and Linux (CentOS 7) >Reporter: Peter Berkman >Assignee: Jean-Baptiste Onofré >Priority: Minor > Fix For: 5.17.0, 5.16.1, 5.15.14 > > Time Spent: 20m > Remaining Estimate: 0h > > NOTE: running in Karaf > > Here is the plugin declaration from activemq.xml - note: have tried by with > and without the checkPeriod - both throw the same NPE: > {code:java} > > > > > > > {code} > The configuration seems to load fine, but this exception is thrown on every > startup. > > > {code:java} > 20180213 16:34:25.556 [INFO ] Broker Starting Thread | > 150:org.apache.activemq.activemq-osgi | > org.apache.activemq.plugin.AbstractRuntimeConfigurationBroker | Unexpected > exception during load of: URL > [file:/D:/Nextgate/products/ngs/etc/activemq.xml] > java.lang.NullPointerException > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.getSchema(RuntimeConfigurationBroker.java:232)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.loadConfiguration(RuntimeConfigurationBroker.java:178)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.start(RuntimeConfigurationBroker.java:82)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService$6.start(BrokerService.java:2324)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:732)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService.access$300(BrokerService.java:139)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService$3.run(BrokerService.java:711)[150:org.apache.activemq.activemq-osgi:5.13.3] > 20180213 16:34:25.568 [INFO ] Broker Starting Thread | > 150:org.apache.activemq.activemq-osgi | > org.apache.activemq.transport.TransportServerThreadSupport | Listening for > connections at: > tcp://127.0.0.1:8206?transport.threadName=1000=104857600 > > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (AMQ-6899) Runtime Configuration Plugin throwing NPE at startup
[ https://issues.apache.org/jira/browse/AMQ-6899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17244078#comment-17244078 ] Jean-Baptiste Onofré commented on AMQ-6899: --- [~mattrpav] I mean that it's useful when using spring schema, but if you use blueprint, runtimeConfigPlugin is useless as blueprint detects and updates the running broker. > Runtime Configuration Plugin throwing NPE at startup > > > Key: AMQ-6899 > URL: https://issues.apache.org/jira/browse/AMQ-6899 > Project: ActiveMQ > Issue Type: Bug > Components: Plugin >Affects Versions: 5.13.3 > Environment: Karaf > both Windows and Linux (CentOS 7) >Reporter: Peter Berkman >Assignee: Jean-Baptiste Onofré >Priority: Minor > Fix For: 5.17.0, 5.16.1, 5.15.14 > > Time Spent: 20m > Remaining Estimate: 0h > > NOTE: running in Karaf > > Here is the plugin declaration from activemq.xml - note: have tried by with > and without the checkPeriod - both throw the same NPE: > {code:java} > > > > > > > {code} > The configuration seems to load fine, but this exception is thrown on every > startup. > > > {code:java} > 20180213 16:34:25.556 [INFO ] Broker Starting Thread | > 150:org.apache.activemq.activemq-osgi | > org.apache.activemq.plugin.AbstractRuntimeConfigurationBroker | Unexpected > exception during load of: URL > [file:/D:/Nextgate/products/ngs/etc/activemq.xml] > java.lang.NullPointerException > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.getSchema(RuntimeConfigurationBroker.java:232)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.loadConfiguration(RuntimeConfigurationBroker.java:178)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.start(RuntimeConfigurationBroker.java:82)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService$6.start(BrokerService.java:2324)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:732)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService.access$300(BrokerService.java:139)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService$3.run(BrokerService.java:711)[150:org.apache.activemq.activemq-osgi:5.13.3] > 20180213 16:34:25.568 [INFO ] Broker Starting Thread | > 150:org.apache.activemq.activemq-osgi | > org.apache.activemq.transport.TransportServerThreadSupport | Listening for > connections at: > tcp://127.0.0.1:8206?transport.threadName=1000=104857600 > > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (AMQ-6899) Runtime Configuration Plugin throwing NPE at startup
[ https://issues.apache.org/jira/browse/AMQ-6899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17244072#comment-17244072 ] Matt Pavlovich commented on AMQ-6899: - [~jbonofre] what do you mean by "runtimePlugin is useless in the context of Karaf"? We have the runtimeConfigPlugin running in Karaf and we see ActiveMQ update settings accordingly. > Runtime Configuration Plugin throwing NPE at startup > > > Key: AMQ-6899 > URL: https://issues.apache.org/jira/browse/AMQ-6899 > Project: ActiveMQ > Issue Type: Bug > Components: Plugin >Affects Versions: 5.13.3 > Environment: Karaf > both Windows and Linux (CentOS 7) >Reporter: Peter Berkman >Assignee: Jean-Baptiste Onofré >Priority: Minor > Fix For: 5.17.0, 5.16.1, 5.15.14 > > Time Spent: 20m > Remaining Estimate: 0h > > NOTE: running in Karaf > > Here is the plugin declaration from activemq.xml - note: have tried by with > and without the checkPeriod - both throw the same NPE: > {code:java} > > > > > > > {code} > The configuration seems to load fine, but this exception is thrown on every > startup. > > > {code:java} > 20180213 16:34:25.556 [INFO ] Broker Starting Thread | > 150:org.apache.activemq.activemq-osgi | > org.apache.activemq.plugin.AbstractRuntimeConfigurationBroker | Unexpected > exception during load of: URL > [file:/D:/Nextgate/products/ngs/etc/activemq.xml] > java.lang.NullPointerException > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.getSchema(RuntimeConfigurationBroker.java:232)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.loadConfiguration(RuntimeConfigurationBroker.java:178)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.start(RuntimeConfigurationBroker.java:82)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService$6.start(BrokerService.java:2324)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:732)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService.access$300(BrokerService.java:139)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService$3.run(BrokerService.java:711)[150:org.apache.activemq.activemq-osgi:5.13.3] > 20180213 16:34:25.568 [INFO ] Broker Starting Thread | > 150:org.apache.activemq.activemq-osgi | > org.apache.activemq.transport.TransportServerThreadSupport | Listening for > connections at: > tcp://127.0.0.1:8206?transport.threadName=1000=104857600 > > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (AMQ-6899) Runtime Configuration Plugin throwing NPE at startup
[ https://issues.apache.org/jira/browse/AMQ-6899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17242489#comment-17242489 ] ASF subversion and git services commented on AMQ-6899: -- Commit 247836a4f70af5d4b8f770cf81a77647775000b3 in activemq's branch refs/heads/activemq-5.15.x from jbonofre [ https://gitbox.apache.org/repos/asf?p=activemq.git;h=247836a ] [AMQ-6899] Use generic spring schema name (working with any Spring version) in RuntimeConfigurationPlugin (cherry picked from commit c83f7e9aa8fa23b6ce86b5ee48969836d8b3e5d0) > Runtime Configuration Plugin throwing NPE at startup > > > Key: AMQ-6899 > URL: https://issues.apache.org/jira/browse/AMQ-6899 > Project: ActiveMQ > Issue Type: Bug > Components: Plugin >Affects Versions: 5.13.3 > Environment: Karaf > both Windows and Linux (CentOS 7) >Reporter: Peter Berkman >Assignee: Jean-Baptiste Onofré >Priority: Minor > Fix For: 5.17.0, 5.16.1, 5.15.14 > > Time Spent: 20m > Remaining Estimate: 0h > > NOTE: running in Karaf > > Here is the plugin declaration from activemq.xml - note: have tried by with > and without the checkPeriod - both throw the same NPE: > {code:java} > > > > > > > {code} > The configuration seems to load fine, but this exception is thrown on every > startup. > > > {code:java} > 20180213 16:34:25.556 [INFO ] Broker Starting Thread | > 150:org.apache.activemq.activemq-osgi | > org.apache.activemq.plugin.AbstractRuntimeConfigurationBroker | Unexpected > exception during load of: URL > [file:/D:/Nextgate/products/ngs/etc/activemq.xml] > java.lang.NullPointerException > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.getSchema(RuntimeConfigurationBroker.java:232)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.loadConfiguration(RuntimeConfigurationBroker.java:178)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.start(RuntimeConfigurationBroker.java:82)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService$6.start(BrokerService.java:2324)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:732)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService.access$300(BrokerService.java:139)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService$3.run(BrokerService.java:711)[150:org.apache.activemq.activemq-osgi:5.13.3] > 20180213 16:34:25.568 [INFO ] Broker Starting Thread | > 150:org.apache.activemq.activemq-osgi | > org.apache.activemq.transport.TransportServerThreadSupport | Listening for > connections at: > tcp://127.0.0.1:8206?transport.threadName=1000=104857600 > > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (AMQ-6899) Runtime Configuration Plugin throwing NPE at startup
[ https://issues.apache.org/jira/browse/AMQ-6899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17242485#comment-17242485 ] ASF subversion and git services commented on AMQ-6899: -- Commit 6e2854789b2387ae3305e5f6986713b34a0d96c1 in activemq's branch refs/heads/master from Jean-Baptiste Onofré [ https://gitbox.apache.org/repos/asf?p=activemq.git;h=6e28547 ] Merge pull request #590 from jbonofre/AMQ-6899 [AMQ-6899] Use generic spring schema name (working with any Spring version) in RuntimeConfigurationPlugin > Runtime Configuration Plugin throwing NPE at startup > > > Key: AMQ-6899 > URL: https://issues.apache.org/jira/browse/AMQ-6899 > Project: ActiveMQ > Issue Type: Bug > Components: Plugin >Affects Versions: 5.13.3 > Environment: Karaf > both Windows and Linux (CentOS 7) >Reporter: Peter Berkman >Assignee: Jean-Baptiste Onofré >Priority: Minor > Fix For: 5.17.0, 5.16.1, 5.15.14 > > Time Spent: 20m > Remaining Estimate: 0h > > NOTE: running in Karaf > > Here is the plugin declaration from activemq.xml - note: have tried by with > and without the checkPeriod - both throw the same NPE: > {code:java} > > > > > > > {code} > The configuration seems to load fine, but this exception is thrown on every > startup. > > > {code:java} > 20180213 16:34:25.556 [INFO ] Broker Starting Thread | > 150:org.apache.activemq.activemq-osgi | > org.apache.activemq.plugin.AbstractRuntimeConfigurationBroker | Unexpected > exception during load of: URL > [file:/D:/Nextgate/products/ngs/etc/activemq.xml] > java.lang.NullPointerException > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.getSchema(RuntimeConfigurationBroker.java:232)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.loadConfiguration(RuntimeConfigurationBroker.java:178)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.start(RuntimeConfigurationBroker.java:82)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService$6.start(BrokerService.java:2324)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:732)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService.access$300(BrokerService.java:139)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService$3.run(BrokerService.java:711)[150:org.apache.activemq.activemq-osgi:5.13.3] > 20180213 16:34:25.568 [INFO ] Broker Starting Thread | > 150:org.apache.activemq.activemq-osgi | > org.apache.activemq.transport.TransportServerThreadSupport | Listening for > connections at: > tcp://127.0.0.1:8206?transport.threadName=1000=104857600 > > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (AMQ-6899) Runtime Configuration Plugin throwing NPE at startup
[ https://issues.apache.org/jira/browse/AMQ-6899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17242484#comment-17242484 ] ASF subversion and git services commented on AMQ-6899: -- Commit c83f7e9aa8fa23b6ce86b5ee48969836d8b3e5d0 in activemq's branch refs/heads/master from jbonofre [ https://gitbox.apache.org/repos/asf?p=activemq.git;h=c83f7e9 ] [AMQ-6899] Use generic spring schema name (working with any Spring version) in RuntimeConfigurationPlugin > Runtime Configuration Plugin throwing NPE at startup > > > Key: AMQ-6899 > URL: https://issues.apache.org/jira/browse/AMQ-6899 > Project: ActiveMQ > Issue Type: Bug > Components: Plugin >Affects Versions: 5.13.3 > Environment: Karaf > both Windows and Linux (CentOS 7) >Reporter: Peter Berkman >Assignee: Jean-Baptiste Onofré >Priority: Minor > Fix For: 5.17.0, 5.16.1, 5.15.14 > > Time Spent: 10m > Remaining Estimate: 0h > > NOTE: running in Karaf > > Here is the plugin declaration from activemq.xml - note: have tried by with > and without the checkPeriod - both throw the same NPE: > {code:java} > > > > > > > {code} > The configuration seems to load fine, but this exception is thrown on every > startup. > > > {code:java} > 20180213 16:34:25.556 [INFO ] Broker Starting Thread | > 150:org.apache.activemq.activemq-osgi | > org.apache.activemq.plugin.AbstractRuntimeConfigurationBroker | Unexpected > exception during load of: URL > [file:/D:/Nextgate/products/ngs/etc/activemq.xml] > java.lang.NullPointerException > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.getSchema(RuntimeConfigurationBroker.java:232)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.loadConfiguration(RuntimeConfigurationBroker.java:178)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.start(RuntimeConfigurationBroker.java:82)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService$6.start(BrokerService.java:2324)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:732)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService.access$300(BrokerService.java:139)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService$3.run(BrokerService.java:711)[150:org.apache.activemq.activemq-osgi:5.13.3] > 20180213 16:34:25.568 [INFO ] Broker Starting Thread | > 150:org.apache.activemq.activemq-osgi | > org.apache.activemq.transport.TransportServerThreadSupport | Listening for > connections at: > tcp://127.0.0.1:8206?transport.threadName=1000=104857600 > > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (AMQ-6899) Runtime Configuration Plugin throwing NPE at startup
[ https://issues.apache.org/jira/browse/AMQ-6899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17242486#comment-17242486 ] ASF subversion and git services commented on AMQ-6899: -- Commit 6e2854789b2387ae3305e5f6986713b34a0d96c1 in activemq's branch refs/heads/master from Jean-Baptiste Onofré [ https://gitbox.apache.org/repos/asf?p=activemq.git;h=6e28547 ] Merge pull request #590 from jbonofre/AMQ-6899 [AMQ-6899] Use generic spring schema name (working with any Spring version) in RuntimeConfigurationPlugin > Runtime Configuration Plugin throwing NPE at startup > > > Key: AMQ-6899 > URL: https://issues.apache.org/jira/browse/AMQ-6899 > Project: ActiveMQ > Issue Type: Bug > Components: Plugin >Affects Versions: 5.13.3 > Environment: Karaf > both Windows and Linux (CentOS 7) >Reporter: Peter Berkman >Assignee: Jean-Baptiste Onofré >Priority: Minor > Fix For: 5.17.0, 5.16.1, 5.15.14 > > Time Spent: 20m > Remaining Estimate: 0h > > NOTE: running in Karaf > > Here is the plugin declaration from activemq.xml - note: have tried by with > and without the checkPeriod - both throw the same NPE: > {code:java} > > > > > > > {code} > The configuration seems to load fine, but this exception is thrown on every > startup. > > > {code:java} > 20180213 16:34:25.556 [INFO ] Broker Starting Thread | > 150:org.apache.activemq.activemq-osgi | > org.apache.activemq.plugin.AbstractRuntimeConfigurationBroker | Unexpected > exception during load of: URL > [file:/D:/Nextgate/products/ngs/etc/activemq.xml] > java.lang.NullPointerException > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.getSchema(RuntimeConfigurationBroker.java:232)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.loadConfiguration(RuntimeConfigurationBroker.java:178)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.start(RuntimeConfigurationBroker.java:82)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService$6.start(BrokerService.java:2324)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:732)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService.access$300(BrokerService.java:139)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService$3.run(BrokerService.java:711)[150:org.apache.activemq.activemq-osgi:5.13.3] > 20180213 16:34:25.568 [INFO ] Broker Starting Thread | > 150:org.apache.activemq.activemq-osgi | > org.apache.activemq.transport.TransportServerThreadSupport | Listening for > connections at: > tcp://127.0.0.1:8206?transport.threadName=1000=104857600 > > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (AMQ-6899) Runtime Configuration Plugin throwing NPE at startup
[ https://issues.apache.org/jira/browse/AMQ-6899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17242199#comment-17242199 ] Jean-Baptiste Onofré commented on AMQ-6899: --- By the way, runtimePlugin is useless in the context of Karaf (it's possible to automatically reload the configuration when you have changes with fileinstall in Karaf). > Runtime Configuration Plugin throwing NPE at startup > > > Key: AMQ-6899 > URL: https://issues.apache.org/jira/browse/AMQ-6899 > Project: ActiveMQ > Issue Type: Bug > Components: Plugin >Affects Versions: 5.13.3 > Environment: Karaf > both Windows and Linux (CentOS 7) >Reporter: Peter Berkman >Assignee: Matt Pavlovich >Priority: Minor > > NOTE: running in Karaf > > Here is the plugin declaration from activemq.xml - note: have tried by with > and without the checkPeriod - both throw the same NPE: > {code:java} > > > > > > > {code} > The configuration seems to load fine, but this exception is thrown on every > startup. > > > {code:java} > 20180213 16:34:25.556 [INFO ] Broker Starting Thread | > 150:org.apache.activemq.activemq-osgi | > org.apache.activemq.plugin.AbstractRuntimeConfigurationBroker | Unexpected > exception during load of: URL > [file:/D:/Nextgate/products/ngs/etc/activemq.xml] > java.lang.NullPointerException > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.getSchema(RuntimeConfigurationBroker.java:232)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.loadConfiguration(RuntimeConfigurationBroker.java:178)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.start(RuntimeConfigurationBroker.java:82)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService$6.start(BrokerService.java:2324)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:732)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService.access$300(BrokerService.java:139)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService$3.run(BrokerService.java:711)[150:org.apache.activemq.activemq-osgi:5.13.3] > 20180213 16:34:25.568 [INFO ] Broker Starting Thread | > 150:org.apache.activemq.activemq-osgi | > org.apache.activemq.transport.TransportServerThreadSupport | Listening for > connections at: > tcp://127.0.0.1:8206?transport.threadName=1000=104857600 > > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (AMQ-6899) Runtime Configuration Plugin throwing NPE at startup
[ https://issues.apache.org/jira/browse/AMQ-6899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17240812#comment-17240812 ] Jean-Baptiste Onofré commented on AMQ-6899: --- However, about the runtime plugin, we have an issue on JDK 11 that I fixed. > Runtime Configuration Plugin throwing NPE at startup > > > Key: AMQ-6899 > URL: https://issues.apache.org/jira/browse/AMQ-6899 > Project: ActiveMQ > Issue Type: Bug > Components: Plugin >Affects Versions: 5.13.3 > Environment: Karaf > both Windows and Linux (CentOS 7) >Reporter: Peter Berkman >Assignee: Matt Pavlovich >Priority: Minor > > NOTE: running in Karaf > > Here is the plugin declaration from activemq.xml - note: have tried by with > and without the checkPeriod - both throw the same NPE: > {code:java} > > > > > > > {code} > The configuration seems to load fine, but this exception is thrown on every > startup. > > > {code:java} > 20180213 16:34:25.556 [INFO ] Broker Starting Thread | > 150:org.apache.activemq.activemq-osgi | > org.apache.activemq.plugin.AbstractRuntimeConfigurationBroker | Unexpected > exception during load of: URL > [file:/D:/Nextgate/products/ngs/etc/activemq.xml] > java.lang.NullPointerException > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.getSchema(RuntimeConfigurationBroker.java:232)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.loadConfiguration(RuntimeConfigurationBroker.java:178)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.start(RuntimeConfigurationBroker.java:82)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService$6.start(BrokerService.java:2324)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:732)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService.access$300(BrokerService.java:139)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService$3.run(BrokerService.java:711)[150:org.apache.activemq.activemq-osgi:5.13.3] > 20180213 16:34:25.568 [INFO ] Broker Starting Thread | > 150:org.apache.activemq.activemq-osgi | > org.apache.activemq.transport.TransportServerThreadSupport | Listening for > connections at: > tcp://127.0.0.1:8206?transport.threadName=1000=104857600 > > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (AMQ-6899) Runtime Configuration Plugin throwing NPE at startup
[ https://issues.apache.org/jira/browse/AMQ-6899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17240811#comment-17240811 ] Jean-Baptiste Onofré commented on AMQ-6899: --- That's not a problem anymore with the new features XML. The problem was for people using Spring 5 (instead of Spring 4) in Karaf. I've updated the features XML to "force" use of Spring 4 (via spring legacy). > Runtime Configuration Plugin throwing NPE at startup > > > Key: AMQ-6899 > URL: https://issues.apache.org/jira/browse/AMQ-6899 > Project: ActiveMQ > Issue Type: Bug > Components: Plugin >Affects Versions: 5.13.3 > Environment: Karaf > both Windows and Linux (CentOS 7) >Reporter: Peter Berkman >Assignee: Matt Pavlovich >Priority: Minor > > NOTE: running in Karaf > > Here is the plugin declaration from activemq.xml - note: have tried by with > and without the checkPeriod - both throw the same NPE: > {code:java} > > > > > > > {code} > The configuration seems to load fine, but this exception is thrown on every > startup. > > > {code:java} > 20180213 16:34:25.556 [INFO ] Broker Starting Thread | > 150:org.apache.activemq.activemq-osgi | > org.apache.activemq.plugin.AbstractRuntimeConfigurationBroker | Unexpected > exception during load of: URL > [file:/D:/Nextgate/products/ngs/etc/activemq.xml] > java.lang.NullPointerException > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.getSchema(RuntimeConfigurationBroker.java:232)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.loadConfiguration(RuntimeConfigurationBroker.java:178)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.start(RuntimeConfigurationBroker.java:82)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService$6.start(BrokerService.java:2324)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:732)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService.access$300(BrokerService.java:139)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService$3.run(BrokerService.java:711)[150:org.apache.activemq.activemq-osgi:5.13.3] > 20180213 16:34:25.568 [INFO ] Broker Starting Thread | > 150:org.apache.activemq.activemq-osgi | > org.apache.activemq.transport.TransportServerThreadSupport | Listening for > connections at: > tcp://127.0.0.1:8206?transport.threadName=1000=104857600 > > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (AMQ-6899) Runtime Configuration Plugin throwing NPE at startup
[ https://issues.apache.org/jira/browse/AMQ-6899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17223672#comment-17223672 ] Matt Pavlovich commented on AMQ-6899: - This is caused by the spring-beans.xsd not being present in the activemq-osgi jar here: https://github.com/apache/activemq/blob/master/activemq-runtime-config/src/main/java/org/apache/activemq/plugin/RuntimeConfigurationBroker.java#L236 {noformat} schemas.add(new StreamSource(getClass().getResource("/org/springframework/beans/factory/xml/spring-beans-3.0.xsd").toExternalForm())); {noformat} > Runtime Configuration Plugin throwing NPE at startup > > > Key: AMQ-6899 > URL: https://issues.apache.org/jira/browse/AMQ-6899 > Project: ActiveMQ > Issue Type: Bug > Components: Plugin >Affects Versions: 5.13.3 > Environment: Karaf > both Windows and Linux (CentOS 7) >Reporter: Peter Berkman >Assignee: Matt Pavlovich >Priority: Minor > > NOTE: running in Karaf > > Here is the plugin declaration from activemq.xml - note: have tried by with > and without the checkPeriod - both throw the same NPE: > {code:java} > > > > > > > {code} > The configuration seems to load fine, but this exception is thrown on every > startup. > > > {code:java} > 20180213 16:34:25.556 [INFO ] Broker Starting Thread | > 150:org.apache.activemq.activemq-osgi | > org.apache.activemq.plugin.AbstractRuntimeConfigurationBroker | Unexpected > exception during load of: URL > [file:/D:/Nextgate/products/ngs/etc/activemq.xml] > java.lang.NullPointerException > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.getSchema(RuntimeConfigurationBroker.java:232)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.loadConfiguration(RuntimeConfigurationBroker.java:178)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.start(RuntimeConfigurationBroker.java:82)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService$6.start(BrokerService.java:2324)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:732)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService.access$300(BrokerService.java:139)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService$3.run(BrokerService.java:711)[150:org.apache.activemq.activemq-osgi:5.13.3] > 20180213 16:34:25.568 [INFO ] Broker Starting Thread | > 150:org.apache.activemq.activemq-osgi | > org.apache.activemq.transport.TransportServerThreadSupport | Listening for > connections at: > tcp://127.0.0.1:8206?transport.threadName=1000=104857600 > > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (AMQ-6899) Runtime Configuration Plugin throwing NPE at startup
[ https://issues.apache.org/jira/browse/AMQ-6899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16363813#comment-16363813 ] Gary Tully commented on AMQ-6899: - there is a test for this feature in karaf that may help reproduce or diagnose (by comparison): see: https://git-wip-us.apache.org/repos/asf?p=activemq.git;a=blob;f=activemq-karaf-itest/src/test/java/org/apache/activemq/karaf/itest/ActiveMQBrokerRuntimeConfigTest.java;h=d34bf4ea3fdee7cfd33a1a9eba6c2f560ec45a69;hb=HEAD > Runtime Configuration Plugin throwing NPE at startup > > > Key: AMQ-6899 > URL: https://issues.apache.org/jira/browse/AMQ-6899 > Project: ActiveMQ > Issue Type: Bug > Components: runtime configuration plugin >Affects Versions: 5.13.3 > Environment: Karaf > both Windows and Linux (CentOS 7) >Reporter: Peter Berkman >Priority: Minor > > NOTE: running in Karaf > > Here is the plugin declaration from activemq.xml - note: have tried by with > and without the checkPeriod - both throw the same NPE: > {code:java} > > > > > > > {code} > The configuration seems to load fine, but this exception is thrown on every > startup. > > > {code:java} > 20180213 16:34:25.556 [INFO ] Broker Starting Thread | > 150:org.apache.activemq.activemq-osgi | > org.apache.activemq.plugin.AbstractRuntimeConfigurationBroker | Unexpected > exception during load of: URL > [file:/D:/Nextgate/products/ngs/etc/activemq.xml] > java.lang.NullPointerException > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.getSchema(RuntimeConfigurationBroker.java:232)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.loadConfiguration(RuntimeConfigurationBroker.java:178)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.plugin.RuntimeConfigurationBroker.start(RuntimeConfigurationBroker.java:82)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService$6.start(BrokerService.java:2324)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:732)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService.access$300(BrokerService.java:139)[150:org.apache.activemq.activemq-osgi:5.13.3] > at > org.apache.activemq.broker.BrokerService$3.run(BrokerService.java:711)[150:org.apache.activemq.activemq-osgi:5.13.3] > 20180213 16:34:25.568 [INFO ] Broker Starting Thread | > 150:org.apache.activemq.activemq-osgi | > org.apache.activemq.transport.TransportServerThreadSupport | Listening for > connections at: > tcp://127.0.0.1:8206?transport.threadName=1000=104857600 > > {code} > -- This message was sent by Atlassian JIRA (v7.6.3#76005)