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: 312
Registered: February 2012
Location: Düsseldorf
Senior Member
Hi,
we have migrated an RCP application to Java 8 that is deployed by Java WebStart. Following the hints described here

https://www.eclipse.org/forums/index.php/t/831402/

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(HttpInvokerClientInterceptor.java:208)
	at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:145)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at com.sun.proxy.$Proxy2.executeAction(Unknown Source)
	at com.portigon.zspkt.query.DatabaseAccessServiceImpl$Executer.execute(DatabaseAccessServiceImpl.java:49)
	at com.portigon.zspkt.query.DatabaseAccessServiceImpl$Executer.run(DatabaseAccessServiceImpl.java:41)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.ClassNotFoundException: sun.util.calendar.ZoneInfo not found from bundle [com.portigon.zspkt.query]
	at org.eclipse.gemini.bundle.findClass(BundleDelegatingClassLoader.java:101)
	at org.eclipse.gemini.blueprint.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:155)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at org.springframework.util.ClassUtils.forName(ClassUtils.java:258)
	at org.springframework.core.ConfigurableObjectInputStream.resolveClass(ConfigurableObjectInputStream.java:75)


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
Thorsten
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: Fri Apr 19 23:35:51 GMT 2024

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

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

Back to the top