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

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

      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.

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

                Created:
                Updated:
                Resolved: