简体   繁体   English

WSO2 IS - 配置 mongodb-user 时出现 UserStoreException

[英]WSO2 IS - UserStoreException while configuring mongodb-user sore



I'm trying to configure MongoDB user store as our primary user store in WSO2 Identity Server v5.9.0 following steps provided in below GITHUB repo:我正在尝试按照以下 GITHUB 存储库中提供的步骤将 MongoDB 用户存储配置为 WSO2 Identity Server v5.9.0 中的主要用户存储:

MongoDB user store extensionMongoDB 用户存储扩展

[user_store]
type = "database"
class = "org.wso2.carbon.mongodb.user.store.mgt.MongoDBUserStoreManager"
connection_url = "mongodb://localhost:27017/wso2_carbon_db"
connection_name = "wso2_admin"
connection_password = "test123"

I tried running the wso2server.bat after copying the mongodb.user.store.mgt-1.0.0-SNAPSHOT.jar in both the paths在两个路径中复制 mongodb.user.store.mgt-1.0.0-SNAPSHOT.jar 后,我尝试运行 wso2server.bat

latestwso2\repository\components\plugins
latestwso2\repository\components\dropins

WSO2 Identity Server Console WSO2 身份服务器控制台

WSO2 Identity Server Console WSO2 身份服务器控制台

Please let me know what else do I need to configure to make it work.请让我知道我还需要配置什么才能使其工作。

It seems like the bundle is not getting activated.捆绑包似乎没有被激活。 [1] The extension that you are using may not be compatible with IS-5.9.0. [1] 您使用的扩展可能与 IS-5.9.0 不兼容。 It's compatible with IS-5.5.0.它与 IS-5.5.0 兼容。 So the versions should be upgraded relevant to the dependency versions used in IS-5.9.0[2]所以版本应该升级到与 IS-5.9.0[2] 中使用的依赖版本相关的版本

[1]. [1]。 https://movingaheadblog.blogspot.com/2014/01/how-to-debug-wso2-carbon-products-using.html https://movingaheadblog.blogspot.com/2014/01/how-to-debug-wso2-carbon-products-using.html

[2]. [2]。 https://github.com/wso2/product-is/blob/v5.9.0/pom.xml https://github.com/wso2/product-is/blob/v5.9.0/pom.xml

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

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