Found the issue myself. Posting it here in case anyone else needs it. Issue is that all artemis scripts use #!/bin/sh shebang which is not preferred way to achieve portability. More info here <http://stackoverflow.com/questions/10376206/what-is-the-preferred-bash-shebang> .
Once I changed shebang to #!/usr/bin/env bash it worked. -- View this message in context: http://activemq.2283324.n4.nabble.com/Artemis-bin-artemis-script-execution-on-solaris-VM-tp4706352p4706486.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.