-
Bug
-
Resolution: Done
-
Major
-
EAP_EWP 5.1.1 ER1
-
None
-
None
-
NEW
Hi Mladen.
Script jboss_init_solaris.sh is broken now, it can't stop EAP instance. Tested on EAP 5.1.1 ER1, script included in EAP 5.1.0 is working properly. Your commit [1] into jbossas repository [2] changed the behaviour, please fix it.
Tested on several machines - dev12 (solaris10_x86), dev66 (solaris9_x86) and dev92(solaris10_sparc).
dev12 and dev92 case - scripts thinks that EAP is down:
-bash-3.00# /etc/init.d/jboss status JBoss AS is not running for user hudson at /qa/services/hudson/users-tmp/rsvoboda/jboss-eap-5.1/jboss-as with instance default -bash-3.00# ps -adef | grep java hudson 28561 28541 0 15:31:14 syscon 4:57 /qa/tools/opt/solaris10_sparc/jdk1.6.0_last/bin/java -Dprogram.name=run.sh -ser hudson 29818 29817 0 Apr 15 ? 71:57 /qa/tools/opt/solaris10_sparc/jdk1.6.0_last/bin/java -Djava.net.preferIPv4Stack root 28578 28511 0 15:35:13 syscon 0:00 grep java
dev66 case - shown ID is from parent:
bash-2.05# /etc/init.d/jboss status pargs: illegal option -- l usage: pargs [-acexF] { pid | core } ... (show process arguments and environment) -a: show process arguments (default) -c: interpret characters as 7-bit ascii regardless of locale -e: show environment variables -x: show aux vector entries -F: force grabbing of the target process JBoss AS PID 255 is running for user hudson at /qa/services/hudson/users-tmp/rsvoboda/jboss-eap-5.1/jboss-as with instance default bash-2.05# ps -adef | grep java [ UID PID PPID C STIME TTY TIME CMD] hudson 372 371 0 Apr 21 ? 9:08 /qa/tools/opt/solaris9_x86/jdk1.6.0_last/bin/java -Djava.net.preferIPv4Stack=tr hudson 276 255 0 14:26:38 pts/1 0:53 /qa/tools/opt/solaris9_x86/jdk1.6.0_last/bin/java -Dprogram.name=run.sh -server
Latest comments on JBPAPP-4434 mention different changes in .sh file.
[1] https://fisheye.jboss.org/browse/JBossAS/branches/JBPAPP_5_1/server/src/bin/jboss_init_solaris.sh?r2=109821&r1=104266
[2] https://fisheye.jboss.org/browse/JBossAS/tags/JBPAPP_5_1_1_ER1/server/src/bin/jboss_init_solaris.sh
- is related to
-
JBPAPP-4434 jboss_init_solaris.sh does not support starting multiple configurations
- Closed