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

お困りですか?

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

コミュニティに質問

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

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

問題

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.