Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-70218

Tag files are not loaded on subsequent portlet re-deploys


    • 3


      Currently, portlets that are deployed and added to a Liferay page break if there is a use of tags in the portlet's JSP's. It seems if a portlet is bundled with tag files (LPP-23900), the portlet breaks when first added to a page. In a similar scenario, if a portlet's JSP's reference tag files from another portlet (LPP-23900), the portlet works on the first deployment. However, subsequent redeployments do not work unless the work folder is deleted .

      Steps To Reproduce if using a portlet that relies on the tag files of another portlet:
      1. Deploy TagFileTest.jar and TagFileUsageTest.jar by copying into the deploy folder
      2. Add both portlets to a page in Liferay. You should see everything working successfully
      3. Re-deploy TagFileUsageTest portlet (or refresh in Telnet)
      4. Go to the page. TagFileUsageTest should have broken with JSP compilation errors in the terminal

      Expected Results:
      Portlets with tags display on page without errors on redeployment

      Actual Results:
      Receive the following error:

      ERROR [http-nio-8080-exec-3][render_portlet_jsp:77] null
      org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP__PWC6197: An error occurred at line: 10 in the jsp file: /view.jsp_PWC6199: Generated servlet error:_package org.apache.jsp.tag.meta does not exist

      Reproducible in Branch

      Reproducible in Master


        1. after redeploy.PNG
          after redeploy.PNG
          630 kB
        2. after redeploy2.PNG
          after redeploy2.PNG
          552 kB
        3. sample-portlet.war
          4.61 MB
        4. TagFileTest_v2.zip
          16 kB
        5. tagfiletest.jar
          4 kB
        6. TagFileUsageTest_v2.zip
          9 kB
        7. TagFileUsageTest_v3.zip
          8 kB
        8. tagfileusagetest.jar
          4 kB

        Issue Links



              tina.tian Tina Tian
              nolan.chan Nolan Chan (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              0 Vote for this issue
              3 Start watching this issue


                5 years, 1 week, 3 days ago


                  Version Package