$ cd /jboss/jboss-4.0.1RC1/server $ cp -r all node1
$ cd /jboss/jboss-4.0.1RC1/server $ cp -r all node2
vi /jboss/jboss-4.0.1RC1/server/node1/deploy/jbossweb-tomcat50.sar/server.xml <Engine name="jboss.web" defaultHost="localhost" jvmRoute="tc1">
vi /jboss/jboss-4.0.1RC1/server/node2/deploy/jbossweb-tomcat50.sar/server.xml <Engine name="jboss.web" defaultHost="localhost" jvmRoute="tc2">