Community Edition: getting Invalid License Key
I was running community edition of gigaspaces sample application (HttpSession application, Step 2 of 'Scaling your web application' of Quick Start Guide). I ran into the following invalid license key error when deploying the HttpSession application. The license key in gslicense.xml read as Apr 18, 2011~GigaSpaces-eval@RzYmNYQPrN4T9yYE... .
[gsc][1/4124] at org.openspaces.pu.container.servicegrid.PUServiceBeanImpl.doStart(PUServiceBeanImpl.java:180)
[gsm][3/4840][gsc][1/4124] at org.jini.rio.jsb.ServiceBeanAdapter$1.run(ServiceBeanAdapter.java:291)
GSC reported: org.jini.rio.core.JSBInstantiationException: Processing Unit [mySpace.1 [1]] instantiation faile
d. ; Nested cause: java.lang.SecurityException: java.lang.SecurityException: Invalid License Key - a wrong < 7.1XAPCommunity >
license version is used. -
[gsc][1/4124] [gsm][3/4840] Apr 18, 2011~GigaSpaces-eval@RzYmNYQPrN4T9yYE...
at org.jini.rio.jsb.ServiceBeanAdapter.start(ServiceBeanAdapter.java:304)
[gsc][1/4124] at org.jini.rio.jsb.JSBLoader.create(JSBLoader.java:106)
[gsm][3/4840][gsc][1/4124] 2010-05-24 11:51:08,583 GSM SEVERE [com.gigaspaces.grid.gsm.provision] - Provision attempt fai
led for [mySpace.1 [1]] on [GSC pid[4124] host[pc-srenu/192.168.142.103]]
at org.jini.rio.cybernode.ServiceBeanLoader.load(ServiceBeanLoader.java:279)
[gsm][3/4840] 2010-05-24 11:51:08,583 GSM INFO [com.gigaspaces.grid.gsm.provision] - Re-submitted failed allocation of [mySp
ace.1 [1]]
[gsc][1/4124] at org.jini.rio.cybernode.JSBDelegate.startServiceBean(JSBDelegate.java:461)
[gsc][1/4124] at org.jini.rio.cybernode.JSBDelegate.load(JSBDelegate.java:316)
[gsc][1/4124] at org.jini.rio.cybernode.JSBContainer.activate(JSBContainer.java:213)
[gsc][1/4124] at org.jini.rio.cybernode.CybernodeImpl.instantiate(CybernodeImpl.java:1034)
[gsc][1/4124] at org.jini.rio.core.provision.ServiceBeanInstantiatorGigaspacesMethodinternalInvoke0.internalInvoke(U
nknown Source)
[gsc][1/4124] at com.gigaspaces.internal.reflection.fast.AbstractMethod.invoke(AbstractMethod.java:34)
[gsc][1/4124] at com.gigaspaces.lrmi.LRMIRuntime.invoked(LRMIRuntime.java:372)
[gsc][1/4124] at com.gigaspaces.lrmi.nio.Pivot.consumeAndHandleRequest(Pivot.java:462)
[gsc][1/4124] at com.gigaspaces.lrmi.nio.Pivot.handleRequest(Pivot.java:551)
[gsc][1/4124] at com.gigaspaces.lrmi.nio.Pivot$ChannelEntryTask.run(Pivot.java:161)
[gsc][1/4124] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
[gsc][1/4124] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
[gsc][1/4124] at java.util.concurrent.FutureTask.run(FutureTask.java:138)
[gsc][1/4124] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
[gsc][1/4124] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
[gsc][1/4124] at java.lang.Thread.run(Thread.java:619)
[gsc][1/4124]
[gsm][3/4840] 2010-05-24 11:51:09,708 GSM INFO [com.gigaspaces.grid.gsm.provision] - Requesting allocation of [mySpace.1 [2]
] on [GSC pid[4124] host[pc-srenu/192.168.142.103]]
[gsc][1/4124] 2010-05-24 11:51:09,708 GSC INFO [com.gigaspaces.grid.gsc] - Instantiating mySpace.1 [2]
[gsc][1/4124] 2010-05-24 11:51:09,817 mySpace.1 [2] INFO [org.openspaces.pu.container.servicegrid.PUServiceBeanImpl] - Clust
erInfo [name[mySpace] schema[partitioned-sync2backup] numberOfInstances[2] numberOfBackups[1] instanceId[1] backupId[1]]
[gsc][1/4124] 2010-05-24 11:51:09,817 mySpace.1 [2] INFO [org.openspaces.pu.container.servicegrid.PUServiceBeanImpl] - BeanL
evelProperties Context {dataGridName=mySpace} Beans {}
[gsc][1/4124] 2010-05-24 11:51:09,833 mySpace.1 [2] INFO [org.openspaces.pu.container.servicegrid.PUServiceBeanImpl] - Downl
oading from GSM [ http://192.168.142.103:3033///templat... ] to [C:\gigaspaces-xap-community-7.1.0-ga\work\processing-un
its\mySpace_2] ...
[gsc][1/4124] 2010-05-24 11:51:09,895 mySpace.1 [2] INFO [org.openspaces.pu.container.servicegrid.PUServiceBeanImpl] - Downl
oaded [0.64kb] to [C:\gigaspaces-xap-community-7.1.0-ga\work\processing-units\mySpace_2]
[gsc][1/4124] 2010-05-24 11:51:10,364 mySpace.1 [2] SEVERE [com.gigaspaces.container] -
[gsc][1/4124] java.lang.SecurityException: Invalid License Key - a wrong < 7.1XAPCommunity > license version is used. -
[gsc][1/4124] Apr 18, 2011~GigaSpaces-eval@RzYmNYQPrN4T9yYE...
[gsc][1/4124] 2010-05-24 11:51:10,411 GSC SEVERE [com.gigaspaces.grid.gsc] - Failed to instantiate mySpace.1 [2]; Caused by:
org.jini.rio.core.JSBInstantiationException: java.lang.SecurityException: java.lang.SecurityException: Invalid License Key -
a wrong < 7.1XAPCommunity > license version is used. -
[gsc][1/4124] Apr 18, 2011~GigaSpaces-eval@RzYmNYQPrN4T9yYE...
[gsc][1/4124] at com.j_spaces.core.JSpaceContainerImpl.verifyLicense(JSpaceContainerImpl.java:1048)
[gsc][1/4124] at com.j_spaces.core.JSpaceContainerImpl.
[gsc][1/4124] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(Defau ltListableBeanFactory.java:545) [gsc][1/4124] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(Abst ractApplicationContext.java:871) [gsc][1/4124] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.j ava:423) [gsc][1/4124] at org.openspaces.pu.container.integrated.IntegratedProcessingUnitContainerProvider.createContainer(In tegratedProcessingUnitContainerProvider.java:268) [gsc ...