No,

i know about the njar problem - that was the next on the list.

I'm not sure whether a public accessor has been added to allow you to convert
njar->file (all the nested jars are unpacked into tmp and an index
maintained), but there were plans afoot.

Jules


Jan Bartel wrote:

> Jules,
>
> Furthermore, if you are intending using the URLs returned by the
> AbstractWebContainer.getClassLoaderURLs(), then you are going to
> run into the njar problem (ie jars within sars etc are not unpacked,
> so there is no URL to a disk location), which is how we got into
> this whole issue in the first place. Or have I misunderstood where
> your question comes from ?
>
> Jan
>
> Jan Bartel wrote:
>
> > Jules,
> >
> > I can see the javax.servlet.jar on the JSP classpath returned from
> > AbstractWebContainer.getClassLoaderURLs - what jboss
> > version are you using?  Caveat: I haven't refreshed my tree in the
> > last 3 days or so, so maybe there has been a recent change ...
> >
> >
> > Jan
> >
> > Jules Gosnell wrote:
> >
> >> I am trying to crush the two JSP compile errors in this testsuite.
> >>
> >> The classpath for Jasper is being built by walking up the classloader
> >> hierarchy from the WebApp to the top, passing each classloader to
> >> AbstractWebContainer.getClassLoaderURLs(ClassLoader).
> >>
> >> My problem is that the javax.servlet.jar does not seem to have been
> >> loaded by an immediate parent of my webapp's classloader.
> >>
> >> You will want a fixed width font to view this.
> >>
> >>
> >> sun.misc.Launcher$ExtClassLoader@7d8483
> >>                 |
> >>                 |
> >> sun.misc.Launcher$AppClassLoader@7fdcde
> >>                 |
> >>                 |
> >> java.net.URLClassLoader@6930e2
> >>                 |
> >>
> >> -------------------------------------------------------------------.....
> >>
> >> |                                                                 |
> >> org.jboss.system.UnifiedClassLoader@76949770
> >> org.jboss.system.UnifiedClassLoader@806b8bd7 (JAVAX.SERVLET.JAR)
> >>                 |
> >>                 |
> >> java.net.FactoryURLClassLoader@5ef658
> >>                 |
> >>                 |
> >> org.mortbay.http.ContextLoader (MY WEBAPP)
> >>
> >>
> >> Consequently the servlet jar does not get onto the classpath and JSP
> >> compilation fails.....
> >>
> >>
> >> So what should happen here ?
> >>
> >> Should a UnifiedClassLoader return all it's siblings URLs as well -
> >> they are all loaded into a flat scope and are available to each other,
> >> are they not?
> >>
> >>
> >>
> >> Thanks for your time,
> >>
> >>
> >>
> >> Jules
> >>
> >>
> >>
> >>
> >
> >


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to