如何自动在 wso2 Carbon 中安装功能?
How to install a feature in wso2 Carbon automatically?
我正在尝试在我的 carbon 上自动安装 'Account Recovery and Credential Management'。
目前,我正在通过以下步骤从 carbon UI 安装此功能;
- 以超级管理员身份登录 Carbon
- 导航到“功能”选项卡
- 添加存储库
- Select 'Account Recovery and Credential Management' 并安装
但是,我想删除这些步骤并用一些自动的方式替换此步骤,例如将适当的 jars 放在正确的目录位置。
我尝试将以下罐子放入 repository/components/plugins;
- org.wso2.carbon.identity.mgt_4.2.1.jar
- org.wso2.carbon.identity.mgt.stub_4.2.0.jar
- org.wso2.carbon.identity.mgt.ui_4.2.0.jar
它似乎与发送电子邮件不同。当我试图打电话给
SendRecoveryNotification 服务,我收到此错误;
ERROR - DefaultEmailSendingModule Failed Sending Emailnamed capturing group is missing trailing '}'
我还需要做任何进一步的步骤吗?或者
我是否应该采取完全不同的方法来实现我想做的事情。
提前致谢。
完全不推荐复制和粘贴功能。安装功能时,可能会更新许多文件,添加配置文件等。
因此,最好使用基于 UI 的方法,或者您可以使用基于 pom 的方法。您可以参考 https://docs.wso2.com/display/Carbon445/Installing+Features+using+pom+Files
找到更多相关信息
我正在尝试在我的 carbon 上自动安装 'Account Recovery and Credential Management'。
目前,我正在通过以下步骤从 carbon UI 安装此功能;
- 以超级管理员身份登录 Carbon
- 导航到“功能”选项卡
- 添加存储库
- Select 'Account Recovery and Credential Management' 并安装
但是,我想删除这些步骤并用一些自动的方式替换此步骤,例如将适当的 jars 放在正确的目录位置。
我尝试将以下罐子放入 repository/components/plugins;
- org.wso2.carbon.identity.mgt_4.2.1.jar
- org.wso2.carbon.identity.mgt.stub_4.2.0.jar
- org.wso2.carbon.identity.mgt.ui_4.2.0.jar
它似乎与发送电子邮件不同。当我试图打电话给
SendRecoveryNotification 服务,我收到此错误;
ERROR - DefaultEmailSendingModule Failed Sending Emailnamed capturing group is missing trailing '}'
我还需要做任何进一步的步骤吗?或者
我是否应该采取完全不同的方法来实现我想做的事情。
提前致谢。
完全不推荐复制和粘贴功能。安装功能时,可能会更新许多文件,添加配置文件等。 因此,最好使用基于 UI 的方法,或者您可以使用基于 pom 的方法。您可以参考 https://docs.wso2.com/display/Carbon445/Installing+Features+using+pom+Files
找到更多相关信息