Unable To Deploy Crowd On JBoss 4.2.x

お困りですか?

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

コミュニティに質問

症状

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

最終更新日 2012 年 11 月 21 日

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

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