tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TOMEE-2056) tomee.sh does not support all possible options if you use deploy or undeploy-command
Date Thu, 15 Jun 2017 09:03:00 GMT

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

Romain Manni-Bucau commented on TOMEE-2056:
-------------------------------------------

I can be wrong but it looks like it changes the usage, this is what bother be. To be concrete
- and if I didnt read badly the shell on jira :) - you lost auto feature, so assuming a configured
tomee the auto detection should be active by default (no manual entering of the ejbd url).
You can rewrite the way we launch it to add the option if not already here (probably better)
but stripping out the option is not possible and breaks more than it fixes.

> 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)

Mime
View raw message