[ 
https://issues.apache.org/jira/browse/AMQ-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Bespaly updated AMQ-5937:
--------------------------------
    Description: 
In certain scenarios, the bin/activemq script will have problems using the 
"local" builtin, as it is bash-specific and Solaris 11 has /bin/sh symlink  
pointing to a Korn shell binary instead. Looking through the script, I think 
"local" might be avoided to make things more compatible.

$ ./bin/activemq start
./bin/activemq[56]: local: not found [No such file or directory]
./bin/activemq[66]: local: not found [No such file or directory]
./bin/activemq[67]: local: not found [No such file or directory]
./bin/activemq[78]: local: not found [No such file or directory]
./bin/activemq[79]: local: not found [No such file or directory]
./bin/activemq[80]: cd: bad directory
ERROR: unable to find real installtion path fo activemq, you have to define 
ACTIVEMQ_HOME manually in the config

  was:
In certain scenarios, the bin/activemq script will have problems using the 
"local" builtin, as it is bash-specific and Solaris 11 has other shells as 
well. Looking through the script, I think "local" might be avoided to make 
things more compatible.

$ ./bin/activemq start
./bin/activemq[56]: local: not found [No such file or directory]
./bin/activemq[66]: local: not found [No such file or directory]
./bin/activemq[67]: local: not found [No such file or directory]
./bin/activemq[78]: local: not found [No such file or directory]
./bin/activemq[79]: local: not found [No such file or directory]
./bin/activemq[80]: cd: bad directory
ERROR: unable to find real installtion path fo activemq, you have to define 
ACTIVEMQ_HOME manually in the config


> The 'local' builtin is used in bin/activemq script - incompatible on Solaris11
> ------------------------------------------------------------------------------
>
>                 Key: AMQ-5937
>                 URL: https://issues.apache.org/jira/browse/AMQ-5937
>             Project: ActiveMQ
>          Issue Type: Bug
>         Environment: Solaris11, ActiveMQ 5.11.2
>            Reporter: Alexey Bespaly
>            Priority: Minor
>
> In certain scenarios, the bin/activemq script will have problems using the 
> "local" builtin, as it is bash-specific and Solaris 11 has /bin/sh symlink  
> pointing to a Korn shell binary instead. Looking through the script, I think 
> "local" might be avoided to make things more compatible.
> $ ./bin/activemq start
> ./bin/activemq[56]: local: not found [No such file or directory]
> ./bin/activemq[66]: local: not found [No such file or directory]
> ./bin/activemq[67]: local: not found [No such file or directory]
> ./bin/activemq[78]: local: not found [No such file or directory]
> ./bin/activemq[79]: local: not found [No such file or directory]
> ./bin/activemq[80]: cd: bad directory
> ERROR: unable to find real installtion path fo activemq, you have to define 
> ACTIVEMQ_HOME manually in the config



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to