[jboss-jira] [JBoss JIRA] (WFCORE-411) Syntax error when applying patch and exiting jboss-cli

Alexey Loubyansky (JIRA) issues at jboss.org
Thu Feb 26 09:44:49 EST 2015


    [ https://issues.jboss.org/browse/WFCORE-411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044029#comment-13044029 ] 

Alexey Loubyansky commented on WFCORE-411:
------------------------------------------

The problem is that the patch updates, i.e. replaces jboss-cli.sh with a new version. So, after the cli process quits, the script continues its execution from the next line after the one launching the cli process. In the newly installed version of jboss-cli.sh at that line it is trying to add logging.configuration again.

> Syntax error when applying patch and exiting jboss-cli
> ------------------------------------------------------
>
>                 Key: WFCORE-411
>                 URL: https://issues.jboss.org/browse/WFCORE-411
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: CLI, Patching 
>            Reporter: Arun Gupta
>            Assignee: Alexey Loubyansky
>
> [disconnected /] patch apply
> ../wildfly-8.1.0.Final-update/wildfly-8.1.0.Final.patch
> {
>     "outcome" : "success",
>     "result" : {}
> }
> [disconnected /]
> [disconnected /]
> [disconnected /]
> [disconnected /] exit
> logging.configuration already set in JAVA_OPTS
> ./bin/jboss-cli.sh: line 81: syntax error near unexpected token `fi'
> ./bin/jboss-cli.sh: line 81: `fi'



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list