You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2009/11/29 19:56:20 UTC

[jira] Created: (GERONIMO-4962) prevent jasper from assuming all classloaders are URLClassLoaders

prevent jasper from assuming all classloaders are URLClassLoaders
-----------------------------------------------------------------

                 Key: GERONIMO-4962
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4962
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: osgi, Tomcat
    Affects Versions: 3.0
            Reporter: David Jencks
            Assignee: David Jencks
             Fix For: 3.0


running jsp web apps under osgi is producing CCE when jasper casts our BundleClassLoader to URLClassLoader.  I don't think there's any need for this.  We probably want to push any fix for this back to tomcat.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4962) prevent jasper from assuming all classloaders are URLClassLoaders

Posted by "Rick McGuire (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick McGuire updated GERONIMO-4962:
-----------------------------------

    Issue Type: Sub-task  (was: Bug)
        Parent: GERONIMO-5087

> prevent jasper from assuming all classloaders are URLClassLoaders
> -----------------------------------------------------------------
>
>                 Key: GERONIMO-4962
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4962
>             Project: Geronimo
>          Issue Type: Sub-task
>      Security Level: public(Regular issues) 
>          Components: osgi, Tomcat
>    Affects Versions: 3.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 3.0
>
>
> running jsp web apps under osgi is producing CCE when jasper casts our BundleClassLoader to URLClassLoader.  I don't think there's any need for this.  We probably want to push any fix for this back to tomcat.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (GERONIMO-4962) prevent jasper from assuming all classloaders are URLClassLoaders

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks closed GERONIMO-4962.
----------------------------------

    Resolution: Fixed

It turns out that tomcat trunk (7.0) already has a more thorough solution to this.

> prevent jasper from assuming all classloaders are URLClassLoaders
> -----------------------------------------------------------------
>
>                 Key: GERONIMO-4962
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4962
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: osgi, Tomcat
>    Affects Versions: 3.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 3.0
>
>
> running jsp web apps under osgi is producing CCE when jasper casts our BundleClassLoader to URLClassLoader.  I don't think there's any need for this.  We probably want to push any fix for this back to tomcat.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4962) prevent jasper from assuming all classloaders are URLClassLoaders

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783452#action_12783452 ] 

Jarek Gawor commented on GERONIMO-4962:
---------------------------------------

Jasper uses the URLClassLoader to figure out the classpath to compile the jsps.  So I think we would need to modify jasper and Geronimo code to pass classpath somehow or make jasper compiler work with a regular classloader somehow.


> prevent jasper from assuming all classloaders are URLClassLoaders
> -----------------------------------------------------------------
>
>                 Key: GERONIMO-4962
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4962
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: osgi, Tomcat
>    Affects Versions: 3.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 3.0
>
>
> running jsp web apps under osgi is producing CCE when jasper casts our BundleClassLoader to URLClassLoader.  I don't think there's any need for this.  We probably want to push any fix for this back to tomcat.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4962) prevent jasper from assuming all classloaders are URLClassLoaders

Posted by "Rick McGuire (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick McGuire updated GERONIMO-4962:
-----------------------------------

    Fix Version/s: 3.0-M1
                       (was: 3.0)

> prevent jasper from assuming all classloaders are URLClassLoaders
> -----------------------------------------------------------------
>
>                 Key: GERONIMO-4962
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4962
>             Project: Geronimo
>          Issue Type: Sub-task
>      Security Level: public(Regular issues) 
>          Components: osgi, Tomcat
>    Affects Versions: 3.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 3.0-M1
>
>
> running jsp web apps under osgi is producing CCE when jasper casts our BundleClassLoader to URLClassLoader.  I don't think there's any need for this.  We probably want to push any fix for this back to tomcat.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4962) prevent jasper from assuming all classloaders are URLClassLoaders

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783581#action_12783581 ] 

David Jencks commented on GERONIMO-4962:
----------------------------------------

I have jasper compilation working in jetty with this change, verifying that the eclipse compiler can use the "parent" classloader rather than constructing its own from urls.  I'll close this after I create tomcat bugzilla entry with a trunk patch.

> prevent jasper from assuming all classloaders are URLClassLoaders
> -----------------------------------------------------------------
>
>                 Key: GERONIMO-4962
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4962
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: osgi, Tomcat
>    Affects Versions: 3.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 3.0
>
>
> running jsp web apps under osgi is producing CCE when jasper casts our BundleClassLoader to URLClassLoader.  I don't think there's any need for this.  We probably want to push any fix for this back to tomcat.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.