Skip to content

Instantly share code, notes, and snippets.

@fishnix
Created June 21, 2012 21:04
Show Gist options
  • Select an option

  • Save fishnix/2968522 to your computer and use it in GitHub Desktop.

Select an option

Save fishnix/2968522 to your computer and use it in GitHub Desktop.
Create esb instances
su - jbossa
export JAVA_HOME=/usr/local/jdk1.6.0_33/
cd /usr/local/fuse-esb/bin/
./admin create child00
./admin create child01
cp ../etc/custom.properties ../instances/child00/etc/
cp ../etc/lock.properties ../instances/child00/etc/
cp ../etc/org.ops4j.pax.url.mvn.cfg ../instances/child00/etc/
cp ../etc/custom.properties ../instances/child01/etc/
cp ../etc/lock.properties ../instances/child01/etc/
cp ../etc/org.ops4j.pax.url.mvn.cfg ../instances/child01/etc/
./admin list
./admin start child00
./admin start child01
tail -f ../instances/child00/data/log/karaf.log ../instances/child01/data/log/karaf.log
./client -a 8109 'features:addurl mvn:edu.yale.its.services/yale-master-features-base/1.0.10/xml/features'
./client -a 8109 features:install 'yale-master-base'
exit
cp ~jbossa/esb/sslSettings.xml ../instances/child00/deploy/
cp ~jbossa/esb/identityProxy.xml ../instances/child00/deploy/
./admin list
./admin stop child00
./admin start child00
./client -a 8110 'features:addurl mvn:edu.yale.its.services/yale-master-features-base/1.0.10/xml/features'
./client -a 8110 features:install 'yale-master-base'
cp ~jbossa/esb/sslSettings.xml ../instances/child01/deploy/
cp ~jbossa/esb/identityProxy.xml ../instances/child01/deploy/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment