geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (GERONIMO-3935) start-server command fails to parse arguments correctly
Date Mon, 24 Mar 2008 15:23:24 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-3935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jarek Gawor resolved GERONIMO-3935.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2
                   2.1.1

Committed the second patch to trunk (revision 640442) and branches/2.1 (revision 640443).


> 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
>            Assignee: Jarek Gawor
>             Fix For: 2.1.1, 2.2
>
>         Attachments: GERONIMO-3935.2.patch, 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.


Mime
View raw message