glassfish
  1. glassfish
  2. GLASSFISH-18583

PrecompileJSP Option during Application deployment causes PWC6112: Failed to load or instantiate TagExtraInfo class: org.

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 3.1.2_b12
    • Fix Version/s: None
    • Component/s: web_container
    • Labels:
      None
    • Environment:

      SunOS 5.10 Generic_144489-11 i86pc i386 i86pc
      Version: GlassFish Server Open Source Edition 3.1.1 (build 12)

      Description

      PreCompileJSP Option during Application deployment causes the following error.
      But gets deployes without the precompileJSP option
      and also same deployment file works on Glassfish 2.1 with the precompile opion without any issues.

      Error:
      [#|2012-03-29T17:32:10.465-0500|INFO|glassfish3.1.1|org.glassfish.admingui|_ThreadID=28;_ThreadName=Thread-2;|Exception Occurred :Error occurred during deployment: E
      xception while preparing the app : JSP Compilation Error: org.apache.jasper.JasperException: file:/opt/appsvr/glassfish/domains/domain1/applications/ccanet/ccanet_wa
      r/Index.jsp(1,45) PWC6112: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.tiles.UseAttributeTei – file:/opt/appsvr/glassfish/domains/dom
      ain1/applications/ccanet/ccanet_war/Index.jsp(1,45) PWC6112: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.tiles.UseAttributeTei. Please
      see server.log for more details.
      Exception while invoking class com.sun.enterprise.web.WebDeployer prepare method : java.lang.RuntimeException: JSP Compilation Error: org.apache.jasper.JasperExcepti
      on: file:/opt/appsvr/glassfish/domains/domain1/applications/ccanet/ccanet_war/Index.jsp(1,45) PWC6112: Failed to load or instantiate TagExtraInfo class: org.apache.s
      truts.taglib.tiles.UseAttributeTei – file:/opt/appsvr/glassfish/domains/domain1/applications/ccanet/ccanet_war/Index.jsp(1,45) PWC6112: Failed to load or instantiat
      e TagExtraInfo class: org.apache.struts.taglib.tiles.UseAttributeTei
      JSP Compilation Error: org.apache.jasper.JasperException: file:/opt/appsvr/glassfish/domains/domain1/applications/ccanet/ccanet_war/Index.jsp(1,45) PWC6112: Failed t
      o load or instantiate TagExtraInfo class: org.apache.struts.taglib.tiles.UseAttributeTei – file:/opt/appsvr/glassfish/domains/domain1/applications/ccanet/ccanet_war
      /Index.jsp(1,45) PWC6112: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.tiles.UseAttributeTei Exception while invoking class com.su
      n.enterprise.web.WebDeployer prepare method : java.lang.RuntimeException: JSP Compilation Error: org.apache.jasper.JasperException: file:/opt/appsvr/glassfish/domain
      s/domain1/applications/ccanet/ccanet_war/Index.jsp(1,45) PWC6112: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.tiles.UseAttributeTei –
      file:/opt/appsvr/glassfish/domains/domain1/applications/ccanet/ccanet_war/Index.jsp(1,45) PWC6112: Failed to load or instantiate TagExtraInfo class: org.apache.stru
      ts.taglib.tiles.UseAttributeTei
      JSP Compilation Error: org.apache.jasper.JasperException: file:/opt/appsvr/glassfish/domains/domain1/applications/ccanet/ccanet_war/Index.jsp(1,45) PWC6112: Failed t
      o load or instantiate TagExtraInfo class: org.apache.struts.taglib.tiles.UseAttributeTei – file:/opt/appsvr/glassfish/domains/domain1/applications/ccanet/ccanet_war
      /Index.jsp(1,45) PWC6112: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.tiles.UseAttributeTei|#]
      ------

      the index.jsp refered above:
      ----------------------------
      < % @ taglib uri="struts-tiles" prefix="tiles" % >
      <tiles:insert template="/core/corePage.jsp">
      <tiles:put name="header" content="/core/jsp/layout/header.jsp"/>
      <tiles:put name="topNavBar" content="/core/jsp/layout/topNavBar.jsp"/>
      <tiles:put name="errorsAndMessages" content="/core/jsp/layout/errorsAndMessages.jsp"/>
      <tiles:put name="mainwindow" content="/core/jsp/layout/Index.jsp"/>
      </tiles:insert>

        Activity

        Hide
        kchung added a comment -

        When deploying without precompilejsp, I got the following error. Please fix the test case.

        [#|2012-04-02T13:56:43.252-0700|SEVERE|glassfish3.1.2|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=17;_ThreadName=Thread-2;|Exception while loading the app : EJB Container initialization error
        java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
        at com.cca.core.security.info.UserProfileInfo.<clinit>(UserProfileInfo.java:59)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:247)
        at com.sun.enterprise.deployment.util.TypeUtil.getMethod(TypeUtil.java:399)
        at com.sun.enterprise.deployment.MethodDescriptor.getMethod(MethodDescriptor.java:287)
        at org.glassfish.ejb.security.application.EJBSecurityManager.convertEJBMethodPermissions(EJBSecurityManager.java:550)
        at org.glassfish.ejb.security.application.EJBSecurityManager.loadPolicyConfiguration(EJBSecurityManager.java:256)
        at org.glassfish.ejb.security.application.EJBSecurityManager.initialize(EJBSecurityManager.java:317)
        at org.glassfish.ejb.security.application.EJBSecurityManager.<init>(EJBSecurityManager.java:190)
        at org.glassfish.ejb.security.factory.EJBSecurityManagerFactory.createManager(EJBSecurityManagerFactory.java:209)
        at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:229)
        at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:299)
        at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:105)
        at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:186)
        at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.jav

        Show
        kchung added a comment - When deploying without precompilejsp, I got the following error. Please fix the test case. [#|2012-04-02T13:56:43.252-0700|SEVERE|glassfish3.1.2|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=17;_ThreadName=Thread-2;|Exception while loading the app : EJB Container initialization error java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at com.cca.core.security.info.UserProfileInfo.<clinit>(UserProfileInfo.java:59) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at com.sun.enterprise.deployment.util.TypeUtil.getMethod(TypeUtil.java:399) at com.sun.enterprise.deployment.MethodDescriptor.getMethod(MethodDescriptor.java:287) at org.glassfish.ejb.security.application.EJBSecurityManager.convertEJBMethodPermissions(EJBSecurityManager.java:550) at org.glassfish.ejb.security.application.EJBSecurityManager.loadPolicyConfiguration(EJBSecurityManager.java:256) at org.glassfish.ejb.security.application.EJBSecurityManager.initialize(EJBSecurityManager.java:317) at org.glassfish.ejb.security.application.EJBSecurityManager.<init>(EJBSecurityManager.java:190) at org.glassfish.ejb.security.factory.EJBSecurityManagerFactory.createManager(EJBSecurityManagerFactory.java:209) at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:229) at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:299) at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:105) at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:186) at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.jav
        Hide
        Anissa Lam added a comment -

        I am moving this bug to web-container as Kinman is looking at it.

        Show
        Anissa Lam added a comment - I am moving this bug to web-container as Kinman is looking at it.

          People

          • Assignee:
            kchung
            Reporter:
            ccagf
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: