Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2317

Inconsistent CodeSource used with jsp compiler classes when UseJBossWebLoader=false

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • No Release
    • JBossAS-4.0.3 Final
    • Web (Tomcat) service
    • None

    Description

      When running under a security manager and UseJBossWebLoader=false, the tomcat class loader does not attempt to use the original URL like the jboss UnifiedClassLoader does when creating a CodeSource. The result is that permissions for the jbossweb-tomcat55.sar codebase are not valid for the classes loaded from its nested jars. An example problem that results is that the compilation of jsp pages fails because the jasper classes have a CodeSource under the tmp/deploy directory.

      A workaround is to unpack the jasper-compiler.jar and jasper-compiler-jdt.jar inside of the jbossweb-tomcat55.sar directory.

      Attachments

        Activity

          People

            Unassigned Unassigned
            starksm64 Scott Stark (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: