[prev in list] [next in list] [prev in thread] [next in thread] 

List:       velocity-dev
Subject:    [jira] Created: (VELOCITY-461) Class loading issue
From:       "Vladimir Goncharov (JIRA)" <jira () apache ! org>
Date:       2006-09-27 13:56:50
Message-ID: 18429334.1159365410132.JavaMail.jira () brutus
[Download RAW message or body]

Class loading issue
-------------------

                 Key: VELOCITY-461
                 URL: http://issues.apache.org/jira/browse/VELOCITY-461
             Project: Velocity
          Issue Type: Bug
    Affects Versions: 1.4
         Environment: any java env
            Reporter: Vladimir Goncharov
            Priority: Blocker


If Velocity.jar is loaded from the WL classpath then it cannot load resources from \
the war or ear. This applies to both template resources as well as to the loader of \
the resources loaders themselves e.g. custom ClasspathResourceLoader couldn't be \
loaded when velocity.jar was loaded from the WL app claspath and the custom class was \
loaded from the ear.

In my view all appearances of this.getClass().getClassLoader() should be replaced by \
Thred.currentThread.getContextClassLoader()


Thanks


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: \
                http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic