Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-648

Wars fail to deploy in Tomcat 7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • ManifoldCF 1.1.1
    • ManifoldCF 1.2
    • None

    Description

      This is a followup on CONNECTORS-568, which I believe is still not solved.

      I deploy mcf-combined-service.war in Tomcat 7.0.35, and I get the error

      IllegalArgumentException: taglib definition not consistent with specification version
      

      Then I unpack the WAR and removes the whole <jsp-config> and <taglib>s from it, as adviced in http://wiki.metawerx.net/wiki/RemovingTaglibFromWeb.xml

      Restarting, and successful startup, but trying to hit http://localhost:8080/mcf/ brings this error from ./index.jsp line 1

      org.apache.jasper.JasperException: 
      The absolute uri: http://java.sun.com/jstl/core cannot be resolved 
      in either web.xml or the jar files deployed with this application
      

      So then I open the JSPs and see that the taglib refs in adminDefaults.jsp and adminHeaders.jsp refer to http://java.sun.com/jstl/core which is wrong. According to http://stackoverflow.com/tags/jstl/info since JSTL1.1 the path must have /jsp/ in the path. Changing that and restarting brings up the GUI just fine!

      Attachments

        1. CONNECTORS-648.patch
          6 kB
          Jan Høydahl
        2. CONNECTORS-648.patch
          5 kB
          Jan Høydahl

        Issue Links

          Activity

            People

              kwright@metacarta.com Karl Wright
              janhoy Jan Høydahl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: