Repository: activemq
Updated Branches:
  refs/heads/master 267fe7389 -> 8646bb101


[AMQ-6788] Explain how to fix the problem in the exception


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/8646bb10
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/8646bb10
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/8646bb10

Branch: refs/heads/master
Commit: 8646bb1010d2632f5d405fe1761c2b9c99a0a139
Parents: 267fe73
Author: Christian Schneider <ch...@die-schneider.net>
Authored: Tue Aug 8 20:55:44 2017 +0200
Committer: Christian Schneider <ch...@die-schneider.net>
Committed: Tue Aug 8 20:55:56 2017 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/activemq/broker/BrokerService.java    | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/8646bb10/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java
----------------------------------------------------------------------
diff --git 
a/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java 
b/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java
index c177b76..f9cd50f 100644
--- 
a/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java
+++ 
b/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java
@@ -1787,6 +1787,8 @@ public class BrokerService implements Service {
                 this.tempDataStore = (PListStore) 
getClass().getClassLoader().loadClass(clazz).newInstance();
                 this.tempDataStore.setDirectory(getTmpDataDirectory());
                 configureService(tempDataStore);
+            } catch (ClassNotFoundException e) {
+                throw new RuntimeException("Kahadb class PListStoreImpl not 
found. Add activemq-kahadb jar or set persistent to false on BrokerService.", 
e);
             } catch (Exception e) {
                 throw new RuntimeException(e);
             }

Reply via email to