- , , Jboss AS 4 5 DMZ. , , 2 .
2 sh, Jboss4, 5 :
start-jboss4.sh:
#!/bin/sh
nohup /etc/jboss-4.2.3.GA/bin/run.sh -b 10.0.0.51 > jboss4.log &
start-jboss5.sh:
#!/bin/sh
nohup /etc/jboss-5.1.0.GA/bin/run.sh -Djboss.service.binding.set=ports-01 -b 10.0.0.51 >> jboss5.log &
, , , . 2 .
stop-jboss4.sh:
#!/bin/sh
/etc/jboss-4.2.3.GA/bin/shutdown.sh -S -s jnp://10.0.0.51
stop-jboss5.sh:
#!/bin/sh
/etc/jboss-5.1.0.GA/bin/shutdown.sh -S -s jnp://10.0.0.51:1199
, script JBoss JNDI-. script script 1199 ( + 100) JNDI .
, -.
source
share