Skip to content

Instantly share code, notes, and snippets.

@imesh
Last active August 29, 2015 13:59
Show Gist options
  • Save imesh/10805779 to your computer and use it in GitHub Desktop.
Save imesh/10805779 to your computer and use it in GitHub Desktop.
Copy ActiveMQ libraries required for Stratos 4.0.0 to a target path
activemq_version=5.8.0
activemq_home=/home/ubuntu/packages/apache-activemq-5.8.0
copy_libs() {
target_lib_path=$1
cp ${activemq_home}/lib/activemq-broker-${activemq_version}.jar ${target_lib_path}
cp ${activemq_home}/lib/activemq-client-${activemq_version}.jar ${target_lib_path}
cp ${activemq_home}/lib/geronimo-j2ee-management_1.1_spec-1.0.1.jar ${target_lib_path}
cp ${activemq_home}/lib/geronimo-jms_1.1_spec-1.1.1.jar ${target_lib_path}
cp ${activemq_home}/lib/hawtbuf-1.9.jar ${target_lib_path}
}
copy_libs "/etc/puppet/modules/agent/files/activemq/"
copy_libs "/etc/puppet/modules/lb/files/activemq/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment