Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-1962

"RuntimeConfigProperty cannot be cast to RuntimeConfigProperty" error when redeploying Roller trunk on GlassFish

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Abandoned
    • 5.1.0
    • None
    • None

    Description

      Using GlassFish 3.1.2.2 (most recent release) on Ubuntu 12.04, JDK 7, MySQL 5.5 and the j2ee version of the Roller WAR, obtainable from weblogger-war-assembly after running the build-javaee-release.sh. The WAR will usually deploy fine, and once it deploys fine, Roller will work without error.

      However, if I disable and then enable the WAR, within the first couple of iterations of doing so I'll get the "*LifecycleException: java.lang.RuntimeException: java.lang.ClassCastException: org.apache.roller.weblogger.pojos.RuntimeConfigProperty cannot be cast to org.apache.roller.weblogger.*pojos.RuntimeConfigProperty" error message, normally requiring me to shut down GlassFish and restart it with a new deploy of the Roller WAR for Roller to work again (a WAR redeploy without a GlassFish shutdown only infrequently works.)

      Attachments

        Activity

          People

            roller_unassigned Roller Unassigned
            gmazza Glen Mazza
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: