Crowd logs show java.io.StreamCorruptedException: invalid stream header

お困りですか?

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

コミュニティに質問

プラットフォームについて: Server と Data Center のみ - この記事は、サーバーおよびデータセンター プラットフォームのアトラシアン製品にのみ適用されます。

問題

Various functions in Crowd fail. The following appears in the atlassian-crowd.log

2017-12-27 04:12:27,132 ajp-bio-8008-exec-457 ERROR [atlassian.event.internal.AsynchronousAbleEventDispatcher] There was an exception thrown trying to dispatch event [com.atlassian.crowd.event.user.UserCredentialUpdatedEvent@5d4fb1b1] from the invoker [SingleParameterMethodListenerInvoker{method=public void com.atlassian.crowd.event.listener.RemoveUserSessionWhenCredentialUpdatedListener.handleEvent(com.atlassian.crowd.event.user.UserCredentialUpdatedEvent), listener=com.atlassian.crowd.event.listener.RemoveUserSessionWhenCredentialUpdatedListener@52921a86}]
java.lang.RuntimeException: java.io.StreamCorruptedException: invalid stream header: 000B6469

原因

The database memory cache stored on disk in the temp/ directory of the Crowd install for tomcat has been corrupted. This is not related to the session token being stored in memory or database.

ソリューション

From the installation directory of Crowd run this command while Crowd is running (this is for Linux) to confirm the location of the temp/ directory that is used.

sudo jinfo `cat apache-tomcat/work/catalina.pid` | fgrep "java.io.tmpdir ="

It should return something like

java.io.tmpdir = /opt/atlassian/atlassian-crowd-3.1.1/apache-tomcat/temp

Next,

  1. Shut down Crowd
  2. Delete everything in the directory identified by java.io.tmpdir
  3. Restart Crowd


最終更新日 2018 年 1 月 14 日

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

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