tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laird Nelson <ljnel...@gmail.com>
Subject Re: Unable to clear Sun JarFileFactory cache?
Date Fri, 09 Apr 2010 20:37:16 GMT
Upgrade of Java...no, don't think so, but will double check.

The build is run as mvn -U, so the snapshot will be the absolute latest one
in the repo.

Best,
Laird

On Fri, Apr 9, 2010 at 4:33 PM, Kevan Miller <kevan.miller@gmail.com> wrote:

>
> On Apr 9, 2010, at 4:19 PM, Laird Nelson wrote:
>
> > I have a project that I put together a while back, stuck under Hudson,
> and
> > it's been building fine ever since.  It uses OpenEJB 3.1.3-SNAPSHOT.
> >
> > I just noticed that its builds have begun to fail during testing.
>  OpenEJB
> > is now spitting out:
> >
> > INFO - Undeploying app: classpath.ear
> > DEBUG - Destroying classLoaders for application classpath.ear
> > DEBUG - Destroying classLoader URLClassLoader@14460880
> > DEBUG - Releasing URLs for application classpath.ear
> > DEBUG - Clearing Sun JarFileFactory cache for directory classpath.ear
> > ERROR - Unable to clear Sun JarFileFactory cache
> > java.lang.IllegalArgumentException: bad url file:/E:/Documents and
> > Settings/Laird
> >
> Nelson/.m2/repository/org/apache/openejb/openejb-core/3.1.3-SNAPSHOT/openejb-core-3.1.3-SNAPSHOT.jar
> >    at org.apache.openejb.util.URLs.toFile(URLs.java:48)
> >    at
> >
> org.apache.openejb.ClassLoaderUtil.clearSunJarFileFactoryCache(ClassLoaderUtil.java:182)
> >    at
> >
> <snip>
> >
> > I don't remember seeing this error before (although anything is
> possible).
> > Is it possible that the latest snapshot changed the way it handles URLs?
>
> I'm guessing that the Java 6 install on Hudson was recently upgraded? That
> would explain why you just started seeing the problem. Sun changed some of
> their internals in a Java 6 service refresh.
>
> This problem *should* be fixed in 3.1.3. So, I'm surprised that you're
> seeing a problem. Is that a recent 3.1.3-SNAPSHOT build?
>
> --kevan
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message