From dev-return-32022-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Tue Jul 10 13:41:40 2012 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 14C969CA8 for ; Tue, 10 Jul 2012 13:41:40 +0000 (UTC) Received: (qmail 58093 invoked by uid 500); 10 Jul 2012 13:41:39 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 57806 invoked by uid 500); 10 Jul 2012 13:41:38 -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 57735 invoked by uid 99); 10 Jul 2012 13:41:36 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2012 13:41:36 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 218CC14285B for ; Tue, 10 Jul 2012 13:41:36 +0000 (UTC) Date: Tue, 10 Jul 2012 13:41:36 +0000 (UTC) From: =?utf-8?Q?Marc_Sch=C3=B6chlin_=28JIRA=29?= To: dev@activemq.apache.org Message-ID: <1483009069.28184.1341927696142.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Reopened] (AMQ-2453) start/control-script is not suitable for professional environments 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-2453?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Marc Sch=C3=B6chlin reopened AMQ-2453: --------------------------------- Regression: Regression See last comment - remove the artifacts of the old start mechanism. Add the script header. =20 > start/control-script is not suitable for professional environments > ------------------------------------------------------------------ > > Key: AMQ-2453 > URL: https://issues.apache.org/jira/browse/AMQ-2453 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.3.0 > Reporter: Marc Sch=C3=B6chlin > Assignee: Dejan Bosanac > Fix For: 5.4.0, 5.4.2 > > Attachments: activemq, usage-example.txt > > > The start-scripts "activemq" and "activemq-admin" do not seem to be ready= for production use. > Reasons: > - Server does not run in background > =3D> this can be done by redirecting output to a file and run in backgr= ound > =3D> in my opinion this should be implemented directly in java > =3D> the console log should be written by log4j to /data/= console.log > - The process should be started on a non-root user=20 > =3D> use 'su -c "$COMMAND" - $RUN_AS_USER'=20 > =3D> this should be defined in /etc/activemq.conf > - The script should support a "reload" feature to reload the configurarti= on > (if activemq supports reloading) > - The script should support a "status" option > =3D> this should show a quick overview about the state of activemq > =3D> this should return a value !=3D 0 if the service is not working > (this is important for cluster integration) > Does anybody already working on these items? > Do you have suggestions for a implementation? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira