繁体   English   中英

修补JBoss EAP 6.4失败

[英]Patching JBoss EAP 6.4 fails

我正在尝试使用以下命令修补我的jboss eap 6.4:

jboss-cli.bat "patch apply jboss-eap-6.4.6-patch.zip 
--preserve=[org.jboss.resteasy.resteasy-atom-   
provider:main,org.jboss.resteasy.resteasy-cdi:main, 
org.jboss.resteasy.resteasy-hibernatevalidator-provider.main,
org.jboss.resteasy.resteasy-jackson-provider:main,
org.jboss.resteasy.resteasy-jaxb-provider:main, 
org.jboss.resteasy.resteasy-jaxrs:main,
org.jboss.resteasy.resteasy-jettison-provider:main, 
org.jboss.resteasy.resteasy-jsapi:main, 
org.jboss.resteasy.resteasy-multipart-provider:main, 
org.jboss.resteasy.resteasy-yaml-provider:main]"

但是它失败,并显示以下错误:

Use the --override-all, --override=[] or --preserve=[] arguments in order to resolve the conflict.

根据https://access.redhat.com/documentation/zh-CN/JBoss_Enterprise_Application_Platform/6.2/html/Installation_Guide/sect-Install_Patches_in_Zip_Form.html,我应该使用:

--preserve=path(,path)</code>

我可能会错误地解释以上内容吗?

您不能使用patch命令将6.2版本修补到6.4.6。 修补程序命令用于累积修补程序,而不是从6.2升级到6.4。 您将需要首先安装基本的JBoss EAP 6.4.0,然后应用CP06补丁。 如果修补成功,则重新启动JBoss实例,您将看到一条日志消息,指示JBoss EAP 6.4.6的版本。

希望这可以帮助。

您是否尝试过删除列表中的“ []”? 您为语法指定的引号不包含方括号:

--preserve=path(,path)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM