Multi environment artifacts

Too many times I've seen this anti-pattern applied. So many that I'm here writing about it with the hope some of those applying it will read this post and stop doing it. The anti-pattern I'm referring to is the one I christened Environment Aware Artifact, also known as The Production Build. If you don't understand … Continue reading Multi environment artifacts

Advertisements

JBoss 4 on CentOS 5

Following the step by step instructions to have JBoss 4 starting on boot on a CentOS 5 server.1. create a jboss user with the commanduseradd --system -d /your/jboss/root/dir jboss2. copy the init script already available in the jboss distribution into the /etc/init.d folder with the commandcp /your/jboss/root/dir/bin/jboss_init_redhat.sh /etc/init.d/jboss3. alter the /etc/init.d/jboss file to match with … Continue reading JBoss 4 on CentOS 5