You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Lars Herschke (JIRA)" <ji...@apache.org> on 2017/06/14 11:00:02 UTC

[jira] [Comment Edited] (TOMEE-2056) tomee.sh does not support all possible options if you use deploy or undeploy-command

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

Lars Herschke edited comment on TOMEE-2056 at 6/14/17 10:59 AM:
----------------------------------------------------------------

With my changes, auto ist still being used, if you run tomee.sh deploy or undeploy without options.
With the default tomee-config auto not works, because auto use the http-connector with port 8080 and for that you mus set first tomee.remote.support = true.
When i type tomee.sh deploy --help, it gives me a help text, which listet some options. All this options don't work with the current tomee.sh, so this help is misleading.


was (Author: lhersch):
With my changes, auto ist still using, if you run tomee.sh deploy or undeploy without options.
With the default tomee-config auto not works, because auto use the http-connector with port 8080 and for that you mus set first tomee.remote.support = true.
When i type tomee.sh deploy --help, it gives me a help text, which listet some options. All this options don't work with the current tomee.sh, so this help is misleading.

> tomee.sh does not support all possible options if you use deploy or undeploy-command
> ------------------------------------------------------------------------------------
>
>                 Key: TOMEE-2056
>                 URL: https://issues.apache.org/jira/browse/TOMEE-2056
>             Project: TomEE
>          Issue Type: Bug
>          Components: TomEE Core Server
>    Affects Versions: 1.7.1, 1.7.2, 1.7.3, 1.7.4
>         Environment: FreeBSD 10.3-STABLE amd64
> openjdk8-8.131.11
>            Reporter: Lars Herschke
>            Priority: Minor
>
> I use in openEJB-Standalone a command like the following, to deploy my EARs.
> apache-openejb/bin/openejb deploy -s ejbd://myhost:4201 -u MyBeans.ear
> With tomee.sh i can't use any option with the deploy or the undeploy-comand. I get ther error "Usage: <tomee.sh> deploy <path>"
> Patch:
> Replace the line
> echo "Usage: <tomee.sh> $1 <path>"
> in tomee.sh withe the line
> "$_RUNJAVA" $DEBUG $LOGGING_MANAGER -Dopenejb.base="$CATALINA_BASE" -cp "$CLASSPATH" org.apache.openejb.cli.Bootstrap "$@"



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)