Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » RCP WebStart Problem after switching to Java 8
RCP WebStart Problem after switching to Java 8 [message #1713433] Wed, 04 November 2015 06:49
Thorsten Schlathölter is currently offline Thorsten SchlathölterFriend
Messages: 309
Registered: February 2012
Location: Düsseldorf
Senior Member
we have migrated an RCP application to Java 8 that is deployed by Java WebStart. Following the hints described here

we were able to get the application running but in the course of testing we encountered a classloader issue.

Our application is a client\server application that uses Spring HttpInvokerProxyFactoryBean to invoke remote methods. Now when we transfer a calendar object we have a classloader issue:

org.springframework.remoting.RemoteAccessException: Could not deserialize result from HTTP invoker remote service [http://localhost:8080//SPKT/remoting/zspktConnectService]; nested exception is java.lang.ClassNotFoundException: sun.util.calendar.ZoneInfo not found from bundle [com.portigon.zspkt.query]
	at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.convertHttpInvokerAccessException(
	at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(
	at com.sun.proxy.$Proxy2.executeAction(Unknown Source)
	at com.portigon.zspkt.query.DatabaseAccessServiceImpl$Executer.execute(
	at com.portigon.zspkt.query.DatabaseAccessServiceImpl$
Caused by: java.lang.ClassNotFoundException: sun.util.calendar.ZoneInfo not found from bundle [com.portigon.zspkt.query]
	at org.eclipse.gemini.bundle.findClass(
	at org.eclipse.gemini.blueprint.util.BundleDelegatingClassLoader.loadClass(
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at org.springframework.util.ClassUtils.forName(
	at org.springframework.core.ConfigurableObjectInputStream.resolveClass(

Does anybody have encountered similar issues or has a hint for us where to look? The application uses Spring Framework 3.1.2. The JRE which is currently in use is 1.8.0_45. When we run the application from within eclipse (client\server but not as web start) everything is just fine.

Thanks in advance
Previous Topic:How to get about_files/ to package
Next Topic:How to deploy user accessible files in Eclipse Application export
Goto Forum:

Current Time: Mon Nov 30 07:52:16 GMT 2020

Powered by FUDForum. Page generated in 0.03508 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top