Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 80983 invoked from network); 20 Mar 2008 16:27:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Mar 2008 16:27:23 -0000 Received: (qmail 37588 invoked by uid 500); 20 Mar 2008 16:27:21 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 37065 invoked by uid 500); 20 Mar 2008 16:27:20 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 37047 invoked by uid 99); 20 Mar 2008 16:27:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Mar 2008 09:27:19 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Mar 2008 16:26:46 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 97B35234C0A9 for ; Thu, 20 Mar 2008 09:25:25 -0700 (PDT) Message-ID: <1135820489.1206030325620.JavaMail.jira@brutus> Date: Thu, 20 Mar 2008 09:25:25 -0700 (PDT) From: "Jarek Gawor (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-3935) start-server command fails to parse arguments correctly In-Reply-To: <348689713.1206026485604.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-3935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jarek Gawor updated GERONIMO-3935: ---------------------------------- Attachment: GERONIMO-3935.patch Added a patch that seems to fix the parsing issue. > start-server command fails to parse arguments correctly > ------------------------------------------------------- > > Key: GERONIMO-3935 > URL: https://issues.apache.org/jira/browse/GERONIMO-3935 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: startup/shutdown > Affects Versions: 2.1, 2.1.1, 2.2 > Reporter: Jarek Gawor > Attachments: GERONIMO-3935.patch > > > bin/start-server command fails with a ProcessingException on some parameters that require arguments. For example: > bin/start-server -l log > Generates: > org.apache.geronimo.gshell.clp.ProcessingException: Option "-l (--logfile)" takes an operand > at org.apache.geronimo.gshell.clp.CommandLineProcessor$ParametersImpl.get(CommandLineProcessor.java:208) > at org.apache.geronimo.gshell.clp.handler.FileHandler.handle(FileHandler.java:44) > at org.apache.geronimo.gshell.clp.CommandLineProcessor.process(CommandLineProcessor.java:277) > at org.apache.geronimo.gshell.command.CommandSupport.execute(CommandSupport.java:88) > at org.apache.geronimo.gshell.plugin.PlexusCommandWrapper.execute(PlexusCommandWrapper.java:71) > at org.apache.geronimo.gshell.DefaultCommandExecutor.execute(DefaultCommandExecutor.java:209) > at org.apache.geronimo.gshell.ExecutingVisitor.visit(ExecutingVisitor.java:96) > at org.apache.geronimo.gshell.parser.ASTExpression.jjtAccept(ASTExpression.java:17) > at org.apache.geronimo.gshell.parser.SimpleNode.childrenAccept(SimpleNode.java:57) > at org.apache.geronimo.gshell.ExecutingVisitor.visit(ExecutingVisitor.java:79) > at org.apache.geronimo.gshell.parser.ASTCommandLine.jjtAccept(ASTCommandLine.java:17) > at org.apache.geronimo.gshell.DefaultCommandLineBuilder$1.execute(DefaultCommandLineBuilder.java:95) > at org.apache.geronimo.gshell.DefaultCommandExecutor.execute(DefaultCommandExecutor.java:86) > This also applies to stop-server command. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.