Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-1362

XWiki does not work on Tomcat 7 anymore

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 10.1
    • Fix Version/s: 10.2
    • Component/s: Properties
    • Labels:
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      This seems to be because Tomcat 7 embeds el-api 2.2 and refuse to load the 3.0 one with:

      INFO: validateJarFile(/usr/lib/xwiki/WEB-INF/lib/javax.el-3.0.0.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/el/Expression.class

      Unfortunately crashes hibernate storage.

      Works fine on Tomcat 8.

      Here is a workaround in <xwikiapp>/WEB-INF/lib/ folder:

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: