tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel De Leon (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENEJB-1131) JDK 1.6.0 u18 has a ClassCastException in ClassLoaderUtil.clearSunJarFileFactoryCache
Date Mon, 11 Oct 2010 00:54:32 GMT

    [ https://issues.apache.org/jira/browse/OPENEJB-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919691#action_12919691
] 

Daniel De Leon commented on OPENEJB-1131:
-----------------------------------------

Hi, Please release a binary version with this fix.  



> JDK 1.6.0 u18 has a ClassCastException in ClassLoaderUtil.clearSunJarFileFactoryCache
> -------------------------------------------------------------------------------------
>
>                 Key: OPENEJB-1131
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1131
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: container system
>    Affects Versions: 3.0.1, 3.1.2
>         Environment: Sun JDK 1.6.0 u18. Reproduced on Ubuntu Linux 9.10 x86_64
>            Reporter: Jonathan Gallimore
>            Assignee: Kevan Miller
>            Priority: Minor
>             Fix For: (trunk/openejb3), 3.0.2, 3.1.3
>
>
> I use OpenEJB for EJB Unit-Test and everything works fine. Today I changed
> the Sun-JDK from version 1.6.0_17 to version 1.6.0_18. Everything works fine
> anymore, but now during the container startup I get this exception:
> INFO - Beginning load:
> C:\development\tools\maven\repository\net\sourceforge\jexcelapi\jxl\2.6\jxl-2.6.jar
> DEBUG - Destroying classLoader URLClassLoader@15628820
> DEBUG - Destroying classLoaders for application
> C:\development\tools\maven\repository\net\sourceforge\jexcelapi\jxl\2.6\jxl-2.6.jar
> DEBUG - Releasing URLs for application
> C:\development\tools\maven\repository\net\sourceforge\jexcelapi\jxl\2.6\jxl-2.6.jar
> DEBUG - Clearing Sun JarFileFactory cache for directory
> C:\development\tools\maven\repository\net\sourceforge\jexcelapi\jxl\2.6\jxl-2.6.jar
> ERROR - Unable to clear Sun JarFileFactory cache
> java.lang.ClassCastException: java.lang.String cannot be cast to
> java.net.URL
>        at
> org.apache.openejb.ClassLoaderUtil.clearSunJarFileFactoryCache(ClassLoaderUtil.java:173)
>        at
> org.apache.openejb.ClassLoaderUtil.destroyClassLoader(ClassLoaderUtil.java:130)
>        at
> org.apache.openejb.ClassLoaderUtil.destroyClassLoader(ClassLoaderUtil.java:97)
>        at
> org.apache.openejb.config.DeploymentLoader.load(DeploymentLoader.java:185)
>        at
> org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:509)
>        at
> org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:380)
>        at
> org.apache.openejb.assembler.classic.Assembler.getOpenEjbConfiguration(Assembler.java:292)
>        at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:271)
>        at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>        at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>        at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
>        at
> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>        at
> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>        at
> org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
>        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
>        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
>        at javax.naming.InitialContext.init(InitialContext.java:223)
>        at javax.naming.InitialContext.<init>(InitialContext.java:197)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message