WLST: развертывание разделяемой библиотеки не работает - PullRequest
0 голосов
/ 09 января 2019

Я пытаюсь развернуть jax-rs разделяемую библиотеку, используя WLST. Вот реализация:

deploy(name, path, targets, 'true')

А вот и лог

Starting an edit session ...
Started edit session, be sure to save and activate your changes once you are done.
Deploying application from /u01/oracle/user_projects/domains/KkvA4/../../../wlserver/common/deployable-libraries/jax-rs-2.0.war to targets KkvA4Cluster (upload=false) ...
You have an edit session in progress, hence WLST will not block for your deployment to complete.
Started the Deployment of Application. Please refer to the returned WLSTProgress object or variable LAST to track the status.
Saving all your changes ...
Saved all your changes successfully.
Activating all your changes, this may take a while ... 
The edit lock associated with this edit session is released once the activation is completed.
Activation completed
Successfully disconnected from Node Manager.

Однако библиотека развертывается как установка веб-приложения, а не как общая библиотека. Почему?

1 Ответ

0 голосов
/ 09 января 2019

При использовании функции deploy () вы должны установить для опции libraryModule значение true, чтобы принудительно развернуть модуль как общую библиотеку.

...