Skip to content

Instantly share code, notes, and snippets.

"jbossNode"
usebundle => jbossNode( "5.1.2-1", "node00", "jbossa", "/usr/local/jboss-apps", "/usr/local/jboss-eap-5.1.2/jboss-as",
"/usr/local/jboss-apps", "/var/log/jboss", "30", "5", "DEVPARTITIONCAS01", "224.1.1.7",
"ports-default", "8080", "8440", "127.0.0.1:8780","256m", "1024m", "2048m", "/usr/local/jdk1.6.0_33",
'-Djboss.proxyname=localhost -Djboss.proxyport=8440',
'-Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Xdebug -Xrunjdwp:transport=dt_socket,address=${DEBUGPORT},server=y,suspend=n'
);
[root@localhost ~]# /var/cfengine/bin/cf-agent -Kv -D localDev,satelliteClient,CASDev
cf3 Cfengine - autonomous configuration engine - commence self-diagnostic prelude
cf3 ------------------------------------------------------------------------
cf3 Work directory is /var/cfengine
cf3 Making sure that locks are private...
cf3 Checking integrity of the state database
cf3 Checking integrity of the module directory
cf3 Checking integrity of the PKI directory
cf3 Looking for a source of entropy in /var/cfengine/randseed
cf3 Loaded /var/cfengine/ppkeys/localhost.priv
@fishnix
fishnix / README.txt
Created June 27, 2012 20:34
cfengine localDev bootrap with chef solo vagrantfile
-- Install vagrant
-- Setup box
cd ~/tmp/vagrant_projects
git clone git://gist.github.com/3006712.git cfe3-vagrant
cd cfe3-vagrant
-- get local copy of cfe3 masterfiles
svn co https://cf3svn.its.yale.edu/repos/cf3dcsunix/trunk cfengine3
@fishnix
fishnix / README.txt
Created June 26, 2012 18:04
jboss eap 5.1.2 + jenkins vagrantfile
## What you Get
- A working linux box
- Java JDK 1.6.0_xx
- JBoss 5.x.x
- Jenkins with Yale-Maven-Application-Installer
## The deets
- JBoss:
-- Installed JBOSS_HOME=/usr/local/jboss-eap-.....
-- Apps/Nodes = /usr/local/jboss-apps
@fishnix
fishnix / gist:2968527
Created June 21, 2012 21:05
Append maven repo to servicemix properties
config:edit org.ops4j.pax.url.mvn
config:propappend org.ops4j.pax.url.mvn.repositories ', https://repository.its.yale.edu/maven2/repo'
config:update
features:addurl mvn:edu.yale.its.services/yale-master-features-base/1.0.10/xml/features
features:install yale-master-base
@fishnix
fishnix / gist:2968522
Created June 21, 2012 21:04
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/
@fishnix
fishnix / README.txt
Created June 21, 2012 19:35
jboss local dev box with vagrant
## What you Get
- A working linux box
- Java JDK 1.6.0_xx
- JBoss 5.x.x
- Jenkins with Yale-Maven-Application-Installer
## The deets
- JBoss:
-- Installed JBOSS_HOME=/usr/local/jboss-eap-.....
-- Apps/Nodes = /usr/local/jboss-apps
@fishnix
fishnix / Vagrantfile
Created June 21, 2012 19:33
JBoss/JAVA Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "minimal-centos-62"
@fishnix
fishnix / gist:2936567
Created June 15, 2012 13:50
test search proxy with SSL
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cxf="http://camel.apache.org/schema/cxf"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xmlns:soap="http://cxf.apache.org/bindings/soap"
xmlns:http="http://cxf.apache.org/transports/http/configuration"
xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configuration"
xmlns:sec="http://cxf.apache.org/configuration/security"
xsi:schemaLocation="
@fishnix
fishnix / gist:2775835
Created May 23, 2012 15:16
stash vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
user = ENV['OPSCODE_USER']
org = ENV['OPSCODE_ORG']
Vagrant::Config.run do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.