Hide Forgot
Date of First Response: 2009-09-03 15:11:23 Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/?module=issues&action=view&tid=292205 project_key: SOA The jboss_init_solaris.sh script fails to start the server at boot time, when run as a legacy service on Solaris 10. The log file `/var/svc/log/milestone-multi-user-server:default.log' contains: /etc/rc3.d/S99jboss: JBOSS_HOME[0]=/export/atlas/home/jboss/rc/jboss-soa-p.4.3.0/jboss-as: not found /etc/rc3.d/S99jboss: JBOSS_USER[0]=jboss: not found /etc/rc3.d/S99jboss: SERVER_NAME[0]=production: not found /etc/rc3.d/S99jboss: JBOSS_START[0]=1: not found /etc/rc3.d/S99jboss: JBOSS_CONSOLE[0]=: not found so it looks like the script is being executed with /sbin/sh but the script expects bash extensions. Note that it is possible to manually execute the script, and it will run. It just fails on boot.
Note that it runs manually if /usr/bin/bash is installed on the system. It would be better to only use the (lack of) features provided by /sbin/sh.
Help Desk Ticket Reference: Added: https://enterprise.redhat.com/issue-tracker/?module=issues&action=view&tid=292205
A modified script that works on Solaris 10. It: uses only shell features available in /sbin/sh. allows options to be passed (e.g. -b name|ip) removes use of temporary files has minor grammar corrections It doesn't handle an array of servers.
Attachment: Added: jboss_init_solaris.sh
Link: Added: This issue depends JBPAPP-2750
Note, that the script attached here has had some changes made since being uploaded. However, there may still be some further fixes to be made. See 292205 for details.
Julian, could you please reupload the final version of jboss_init_solaris.sh ? Or is it not ready yet?
Fixed in EAP 4.3.0.GA_CP06. We need to import this version (or later) to the SOA 4.3 branch.
Link: Added: This issue depends JBPAPP-4392
The updated script was included in EAP 4.3.0 CP08.