[wildfly-dev] Syntax error when applying patch and exiting jboss-cli

Arun Gupta arun.gupta at gmail.com
Wed Jun 4 17:18:39 EDT 2014


An issue filed ?

On Wed, Jun 4, 2014 at 5:14 PM, Jason Greene <jason.greene at redhat.com> wrote:
>
> On Jun 4, 2014, at 4:08 PM, Arun Gupta <arun.gupta at gmail.com> wrote:
>
>> [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'
>>
>> Known issue ?
>>
> Yes, it’s IMO a design mistake with offline patching. The big issue is that the patch tool patches itself live instead of isolating itself or staging. So like this issue is caused by the cli shell script getting updated before its fully parsed. The good is that its harmless, as long as you quit before running any non-patch commands (as mentioned in the instructions).
>
> We need to fix this in 9.
>
> --
> Jason T. Greene
> WildFly Lead / JBoss EAP Platform Architect
> JBoss, a division of Red Hat
>



-- 
http://blog.arungupta.me
http://twitter.com/arungupta



More information about the wildfly-dev mailing list