手动在 Websphere liberty 核心上安装 servlet 3.1

Install servlet 3.1 on Websphere liberty core manually

我想在 Websphere Liberty Core 8.5.5.7 上安装 servlet 3.1。 我无法访问 Liberty 存储库,因此无法使用:

installUtility install servlet-3.1

如何在没有连接的情况下手动安装 servlet-3.1?

您需要另一台装有 Liberty Profile 8.5.5.2 或更高版本并连接到互联网的计算机。

您可以使用带有 --downloadOnly 选项的 featureManager 实用程序在此计算机上下载所需的功能。

bin/featureManager install feature_shortName1 feature_shortName2 --downloadOnly=[all|required*|none]

您可以使用 --location 选项指定本地目标目录。

然后在没有互联网连接的计算机中复制下载目录并安装功能:

bin/featureManager install feature_shortName1 feature_shortName2 --location=directoryPath

更多信息见:

https://www.ibm.com/support/knowledgecenter/SSAW57_8.5.5/com.ibm.websphere.wlp.doc/ae/t_install_assets_cmd.html?lang=en

您可以从 IBM 网站下载 .esa 文件,然后使用命令安装它

installUtility install localrepo3\com.ibm.websphere.appserver.servlet-3.1.esa

其中localrepo3/是WebSphere的bin目录下的一个目录