RCP WebStart Problem after switching to Java 8 [message #1713433] |
Wed, 04 November 2015 06:49 |
Thorsten Schlathölter 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
|
|
|
Powered by
FUDForum. Page generated in 0.03373 seconds