I am getting error when i run getCache method.
Below is the code and error details. I am using java 8
Code:
NamedCache cache = CacheFactory.getCache("myCache");
Error:
16/08/08 14:00:20 INFO messaging.ClientConfiguration: Starting ScaleOut StateServer Java Client 5.4
16/08/08 14:00:21 INFO messaging.ClientConfiguration: Loading server parameters from C:\Program Files\ScaleOut_Software\StateServer\soss_params.txt
16/08/08 14:00:21 INFO messaging.ClientConfiguration: Loading client parameters from C:\Program Files\ScaleOut_Software\StateServer\soss_client_params.txt
16/08/08 14:00:21 INFO messaging.ClientConfiguration: Bootstrapping client from the local server instance.
16/08/08 14:00:21 INFO impl.ServerConnectionPool: Setting per host connection thread pool size to 3
16/08/08 14:00:21 INFO messaging.RemoteClientConnectionChannel: Client initialized with max retries = '2'; max access time = '0'; configured host list = '[localhost/127.0.0.1:721]'; encryption = 'false'; local host present = 'true'; use private gateways = 'true'.
Exception in thread "main" java.lang.IncompatibleClassChangeError: Expected static method javolution.lang.Reflection.getMethod(Ljava/lang/StringLjavolution/lang/Reflection$Method;
at com.scaleoutsoftware.soss.client.util.Struct.(Unknown Source)
at com.scaleoutsoftware.soss.client.messaging.messages.MessageInfo.(Unknown Source)
at com.scaleoutsoftware.soss.client.messaging.StateServerReplyDecoder.(Unknown Source)
at com.scaleoutsoftware.soss.client.messaging.StateServerChannel.getConnectorConfig(Unknown Source)
at com.scaleoutsoftware.soss.client.messaging.StateServerChannel.openSessionWithoutInitialRetries(Unknown Source)
at com.scaleoutsoftware.soss.client.messaging.RemoteClientConnectionChannel.loadInitialGatewayList(Unknown Source)
at com.scaleoutsoftware.soss.client.messaging.RemoteClientConnectionChannel.(Unknown Source)
at com.scaleoutsoftware.soss.client.messaging.ClientConnectionChannel.getInstance(Unknown Source)
at com.scaleoutsoftware.soss.client.da.DataAccessor.getConnectionChannel(Unknown Source)
at com.scaleoutsoftware.soss.client.da.ClientCache.getMaxCacheSize(Unknown Source)
at com.scaleoutsoftware.soss.client.da.ClientCache.(Unknown Source)
at com.scaleoutsoftware.soss.client.da.DataAccessor.(Unknown Source)
at com.scaleoutsoftware.soss.client.da.AppNameManager.Sosslib_register_appname(Unknown Source)
at com.scaleoutsoftware.soss.client.da.StateServerKey.appNameToId(Unknown Source)
at com.scaleoutsoftware.soss.client.CacheFactory.getCache(Unknown Source)
at WriteToScaleOut.insertEmpDetails(WriteToScaleOut.java:11)
at WriteToScaleOut.main(WriteToScaleOut.java:23)
16/08/08 14:00:21 INFO messaging.RemoteClientConnectionChannel: Shutting down channel.
Below is the code and error details. I am using java 8
Code:
NamedCache cache = CacheFactory.getCache("myCache");
Error:
16/08/08 14:00:20 INFO messaging.ClientConfiguration: Starting ScaleOut StateServer Java Client 5.4
16/08/08 14:00:21 INFO messaging.ClientConfiguration: Loading server parameters from C:\Program Files\ScaleOut_Software\StateServer\soss_params.txt
16/08/08 14:00:21 INFO messaging.ClientConfiguration: Loading client parameters from C:\Program Files\ScaleOut_Software\StateServer\soss_client_params.txt
16/08/08 14:00:21 INFO messaging.ClientConfiguration: Bootstrapping client from the local server instance.
16/08/08 14:00:21 INFO impl.ServerConnectionPool: Setting per host connection thread pool size to 3
16/08/08 14:00:21 INFO messaging.RemoteClientConnectionChannel: Client initialized with max retries = '2'; max access time = '0'; configured host list = '[localhost/127.0.0.1:721]'; encryption = 'false'; local host present = 'true'; use private gateways = 'true'.
Exception in thread "main" java.lang.IncompatibleClassChangeError: Expected static method javolution.lang.Reflection.getMethod(Ljava/lang/StringLjavolution/lang/Reflection$Method;
at com.scaleoutsoftware.soss.client.util.Struct.(Unknown Source)
at com.scaleoutsoftware.soss.client.messaging.messages.MessageInfo.(Unknown Source)
at com.scaleoutsoftware.soss.client.messaging.StateServerReplyDecoder.(Unknown Source)
at com.scaleoutsoftware.soss.client.messaging.StateServerChannel.getConnectorConfig(Unknown Source)
at com.scaleoutsoftware.soss.client.messaging.StateServerChannel.openSessionWithoutInitialRetries(Unknown Source)
at com.scaleoutsoftware.soss.client.messaging.RemoteClientConnectionChannel.loadInitialGatewayList(Unknown Source)
at com.scaleoutsoftware.soss.client.messaging.RemoteClientConnectionChannel.(Unknown Source)
at com.scaleoutsoftware.soss.client.messaging.ClientConnectionChannel.getInstance(Unknown Source)
at com.scaleoutsoftware.soss.client.da.DataAccessor.getConnectionChannel(Unknown Source)
at com.scaleoutsoftware.soss.client.da.ClientCache.getMaxCacheSize(Unknown Source)
at com.scaleoutsoftware.soss.client.da.ClientCache.(Unknown Source)
at com.scaleoutsoftware.soss.client.da.DataAccessor.(Unknown Source)
at com.scaleoutsoftware.soss.client.da.AppNameManager.Sosslib_register_appname(Unknown Source)
at com.scaleoutsoftware.soss.client.da.StateServerKey.appNameToId(Unknown Source)
at com.scaleoutsoftware.soss.client.CacheFactory.getCache(Unknown Source)
at WriteToScaleOut.insertEmpDetails(WriteToScaleOut.java:11)
at WriteToScaleOut.main(WriteToScaleOut.java:23)
16/08/08 14:00:21 INFO messaging.RemoteClientConnectionChannel: Shutting down channel.