activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Schöchlin (JIRA) <j...@apache.org>
Subject [jira] [Commented] (AMQ-5378) Initscript refactoring: setup function seems to be broken, removal of uneccessary files, fix various problems
Date Wed, 03 Dec 2014 14:16:13 GMT

    [ https://issues.apache.org/jira/browse/AMQ-5378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14233021#comment-14233021
] 

Marc Schöchlin commented on AMQ-5378:
-------------------------------------

My wiki user id is "scoopex".
In  created a new merge request: https://github.com/apache/activemq/pull/51

The work of the last days:
This merge requests provides a small testsuite which helps to identify problems on unix platforms.


It outputs a summary of all failed tests.
The testsuite script needs to be executed in the bin folder:
{code}
cd ~/apache-activemq-5.10.0/bin/
~/src/git/activemq/assembly/src/test/sh/activemq-init-script
{code}

I executed the testsuite on a cygwin/windows 7 system and i found various problems.
The new merge request contains fixes for the discovered problems. Running the script in cygwin
works now for basic work.
(options like bstat,dstat, list,query, purge, ... are not working currently)
I also reverted the "env" file behaviour of the script, because this makes automatic detection
problematic.

I fully aggree that the current script is currently too complex. I really think we consider
about dropping support of cygwin, because this creates a huge amount of complexity of the
unix-script. From my point of view this is not problematic, because support for cygwin does
not work for years now and there is another option to run activemq by using the java service
wrapper.

Probably this week will verify the proper operation of the script using the testsuite on a
coworkers macosx system.
(but i'm sure that the number of problems should be low :-))





> Initscript refactoring: setup function seems to be broken, removal of uneccessary files,
fix various problems
> -------------------------------------------------------------------------------------------------------------
>
>                 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
>
>         Attachments: AMQ-5378.patch
>
>
> 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)

Mime
View raw message