Issues with ServiceMix startup shell script on Solaris
-------------------------------------------------------
Key: SM-620
URL: https://issues.apache.org/activemq/browse/SM-620
Project: ServiceMix
Issue Type: Bug
Components: servicemix-assembly
Affects Versions: 3.0
Reporter: Bruce Snyder
Problems with Solaris:
1. The following command does not work in Solaris:
{code}
export JAVA_MIN_MEM=64M
{code}
Solution:
{code}
if [ "x$JAVA_MIN_MEM" = "x" ]; then
JAVA_MIN_MEM=64M
export JAVA_MIN_MEM
fi
if [ "x$JAVA_MAX_MEM" = "x" ]; then
JAVA_MAX_MEM=256M
export JAVA_MAX_MEM
fi
{code}
2. Also, in locateHome()
if [ ! -e .... ]
does not work for Solaris (not supported option for test). Instead, the -e
should be -d
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira