If you don't know Jira 4.x yet, you might be a little surprised by the UI changes ... :)
|
[
Permlink
| « Hide
]
Grégory Joseph added a comment - 23/Jan/09 01:25 AM
Seems to me 3.6.3 suffers from the same problem, needs double-check.
Removing the xerces jar helps the deployment itself, but there is another issue, still related to classloading: module descriptors can't be found.
Note that deployment on JBoss 4.2.2 still works like a breeze: adding the jaas config is sufficient; no need to remove xerces, and the current classloader as used in ClasspathResourcesUtil.findResources() behaves as expected (i.e returns URLs for the webapp's WEB-INF/lib jars and WEB-INF/classes folder)
JBoss5 seems to behave differently, depending on how the webapp is deployed: as an exploded war directory, or as a war file
(which is really weird, since afaik, all jboss should do is extract the war file and start from there - weirder is that its in the war file case that it works properly (or at least in the way we've expected it to work in the past) Essentially, our code (ClasspathResourceUtil) is doing this: URLClassLoader cl = (URLClassLoader) Thread.currentThread().getContextClassLoader(); URL[] urls = cl.getURLs();
Integrated in
magnolia_main-trunk #697Working around a classloading issue in JBoss 5 - if the current URLClassLoader only contains one URL pointing to WEB-INF/classes, try to find the resources using the filesystem Status so far:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||