[jboss-jira] [JBoss JIRA] (WFCORE-3789) Unable to pass any attribute to jboss-cli.ps1 script

Jean-Francois Denise (JIRA) issues at jboss.org
Thu May 3 10:57:00 EDT 2018


     [ https://issues.jboss.org/browse/WFCORE-3789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Francois Denise updated WFCORE-3789:
-----------------------------------------
    Git Pull Request: https://github.com/wildfly/wildfly-core/pull/3246


> Unable to pass any attribute to jboss-cli.ps1 script
> ----------------------------------------------------
>
>                 Key: WFCORE-3789
>                 URL: https://issues.jboss.org/browse/WFCORE-3789
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: CLI, Scripts
>            Reporter: Tomas Terem
>            Assignee: Jean-Francois Denise
>
> Unable to pass any attribute to jboss-cli.ps1 script
> {noformat}
> C:\wildfly\wildfly-12.0.0.Final\bin> PowerShell -ExecutionPolicy Bypass -File jboss-cli.ps1 --help
> '--help-Dcom.ibm.jsse2.overrideDefaultTLS=true' is not a valid operation name.
> C:\wildfly\wildfly-12.0.0.Final\bin> PowerShell -ExecutionPolicy Bypass -File jboss-cli.ps1 --version
> '--version-Dcom.ibm.jsse2.overrideDefaultTLS=true' is not a valid operation name
> .
> C:\wildfly\wildfly-12.0.0.Final\bin> PowerShell -ExecutionPolicy Bypass -File jboss-cli.ps1 -c
> '-c-Dcom.ibm.jsse2.overrideDefaultTLS=true' is not a valid operation name.
> C:\wildfly\wildfly-12.0.0.Final\bin> PowerShell -ExecutionPolicy Bypass -File jboss-cli.ps1
> You are disconnected at the moment. Type 'connect' to connect to the server or '
> help' for the list of supported commands.
> [disconnected /]
> {noformat}
> I am using PowerShell 4.0
> {noformat}
> PS C:\> $PSVersionTable.PSVersion
> Major  Minor  Build  Revision
> -----  -----  -----  --------
> 4      0      -1     -1
> PS C:\>
> {noformat}
> This behaviour is caused by this change:
> https://github.com/wildfly/wildfly-core/blame/master/core-feature-pack/src/main/resources/content/bin/jboss-cli.ps1#L13



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list