[
https://issues.apache.org/jira/browse/AMQ-5378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14206206#comment-14206206
]
Dejan Bosanac commented on AMQ-5378:
------------------------------------
Hi Marc, this still doesn't work properly on osx
{code}mkdir: illegal option -- n
usage: mkdir [-pv] [-m mode] directory ...
INFO: Using default configuration
(you can configure options in one of these file: /etc/default/activemq
/Users/dejanb/.activemqrc)
INFO: Invoke the following command to create a configuration file
bin/activemq setup [ /etc/default/activemq | /Users/dejanb/.activemqrc ]
INFO: Using java
'/Library/Java/JavaVirtualMachines/jdk1.7.0_12.jdk/Contents/Home/bin/java'
ERROR: '-n
/Users/dejanb/workspace/oss/mq/assembly/target/apache-activemq-5.11-SNAPSHOT/bin/..//bin/activemq.jar'
does not exist, define ACTIVEMQ_HOME in the config{code}
Is there a real reason to change all that logic that deals with ACTIVEMQ_HOME?
The current one works fine for years.
> Initscript refactoring: setup function seems to be broken, removal of
> uneccessary files
> ---------------------------------------------------------------------------------------
>
> Key: AMQ-5378
> URL: https://issues.apache.org/jira/browse/AMQ-5378
> Project: ActiveMQ
> Issue Type: Improvement
> Components: Broker
> Affects Versions: 5.10.0
> Environment: Linux/Unix
> Reporter: Marc Schöchlin
> Labels: assemblies
> Fix For: 5.11.0
>
>
> The current initscript seems to be broken.
> I submitted the current unix init script (see AMQ-2453) - the original script
> seems to be modified in a way which breaks the "setup" function
> If you call "./activemq setup ~/.activemq" you get a really messy configfile.
> The current distribution also contains lots of files of the java service
> wrapper which are not needed anymore.
> I created the following patch/pull request:
> https://github.com/apache/activemq/pull/46
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)