Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 54A24107DE for ; Wed, 3 Dec 2014 14:16:14 +0000 (UTC) Received: (qmail 14442 invoked by uid 500); 3 Dec 2014 14:16:14 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 14376 invoked by uid 500); 3 Dec 2014 14:16:14 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 14363 invoked by uid 99); 3 Dec 2014 14:16:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2014 14:16:14 +0000 Date: Wed, 3 Dec 2014 14:16:13 +0000 (UTC) From: =?utf-8?Q?Marc_Sch=C3=B6chlin_=28JIRA=29?= To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-5378) Initscript refactoring: setup function seems to be broken, removal of uneccessary files, fix various problems MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-5378?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D142330= 21#comment-14233021 ]=20 Marc Sch=C3=B6chlin 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 prob= lems on unix platforms.=20 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 p= roblems. The new merge request contains fixes for the discovered problems. Running t= he 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 t= hink we consider about dropping support of cygwin, because this creates a h= uge 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 une= ccessary 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=C3=B6chlin > 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 sc= ript seems to be modified in a way which breaks the "setup" function > If you call "./activemq setup ~/.activemq" you get a really messy configf= ile. > 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)