Stack Trace is Displayed when Updating the License

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

The following stack trace is displayed when trying to update the Crowd lincense:


com.atlassian.crowd.exception.PasswordEncoderNotFoundException: The PasswordEncoder 'atlassian-sha1' was not found in the Internal Encoders list by the PasswordEncoderFactory
at com.atlassian.crowd.password.factory.PasswordEncoderFactoryImpl.getInternalEncoder(PasswordEncoderFactoryImpl.java:35)
at com.atlassian.crowd.integration.directory.internal.InternalDirectory.authenticate(InternalDirectory.java:357)
at com.atlassian.crowd.integration.directory.internal.InternalDirectory.processAuthentication(InternalDirectory.java:198)
at com.atlassian.crowd.integration.directory.internal.InternalDirectory.authenticate(InternalDirectory.java:170)
at com.atlassian.crowd.manager.application.ApplicationServiceGeneric.authenticateUser(ApplicationServiceGeneric.java:215)
at com.atlassian.crowd.manager.application.ApplicationServiceGeneric.authenticateUser(ApplicationServiceGeneric.java:150)
at com.atlassian.crowd.manager.application.ApplicationServiceGeneric.authenticateUser(ApplicationServiceGeneric.java:233)

Unfortunately, restarting Crowd does not fix the problem.

原因

This is a Bug present in Crowd versions: 2.0.5, 2.0.6 and 2.0.7. The problem is being tracked at CWD-2030.

ソリューション

To resolve the problem, please take the following steps:

1. Shutdown Crowd.
2. Backup the current <Crowd-Home-Directory>/crowd.cfg.xml file and then open it and change the license value at the <property name="license"> tag to the new license. If you were updating the license because the maximum number of users was reached, you may want to go to http://my.atlassian.com and create an Unlimited Evaluation license for your instance.
3. Run the following SQL command in your Crowd database:


UPDATE cwd_property SET property_value = '0' WHERE property_name = 'current.license.resource.total';

4. Restart Crowd.

最終更新日 2012 年 11 月 21 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.