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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]