Unable To Deploy Crowd On JBoss 4.2.x

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

症状

The following error is thrown when visiting pages in Crowd, when deployed on JBoss 4.2.x

javax.servlet.ServletException: org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 48 in the jsp file: /console/secure/directory/add_directoryconnector.jsp Type mismatch: cannot convert from Object to Properties 45: 46: for (Iterator itr = values.iterator(); itr.hasNext(); ) { 47: String impl = (String) itr.next(); 48: Properties props = ldapPropertiesHelper.getConfigurationDetails().get(impl); 49: %> 50: 51: if (form.connector.value == '<%=impl%>')

原因

This is a known JBoss 4.2.x bug

ソリューション

Add the following initialization parameter to the jsp servlet in JBOSS_HOME/server/SERVERCONF/deploy/JBOSSWEB_HOME/conf/web.xml

<init-param> <param-name>compilerSourceVM</param-name> <param-value>1.5</param-value> </init-param>

Restart JBoss for the changes to take affect

更新日時: September 25, 2025

さらにヘルプが必要ですか?

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