[wildfly-dev] Syntax error when applying patch and exiting jboss-cli
Emanuel Muckenhuber
emuckenh at redhat.com
Thu Jun 5 04:15:04 EDT 2014
No, there is no issues filed for this particular one yet, i am going to
create one.
Thanks,
Emanuel
On 04/06/14 23:18, Arun Gupta wrote:
> 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
>>
>
>
>
More information about the wildfly-dev
mailing list