activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtod <>
Subject ActiveMQ lease-database-locker in Servicemix - Class not found
Date Mon, 20 Mar 2017 22:07:00 GMT
I'm working with ActiveMQ in Servicemix 7.0 trying to get the
lease-database-locker working.

I have it working in stand alone mode using MSSql but when I place the same
configuration in Servicemix it says :

Caused by: java.lang.ClassNotFoundException:
org.apache.commons.dbcp2.BasicDataSource not found by

I can't find how to install that class in Servicemix.

I'm not sure what I'm missing or if there is another way to do this.



ActiveMQ.xml config

			<kahaDB directory="${data}/kahadb" lockKeepAlivePeriod="5000"
checkForCorruptJournalFiles="true" enableAckCompaction="false" >
				  <lease-database-locker lockAcquireSleepInterval="10000"
dataSource="#mssql-ds" createTablesOnStartup="true">
					  <statements lockTableName="activemq_lock"/>


	<bean id="mssql-ds" class="org.apache.commons.dbcp2.BasicDataSource"
		<property name="driverClassName"
		<property name="url" value="jdbc:sqlserver://;databaseName=ActiveMQJournal"/>
		<property name="username" value="xxxxxx"/>
		<property name="password" value="xxxxx"/>
		<property name="poolPreparedStatements" value="true"/>

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message