Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

GS XAP 7.0.1 path with spaces


I've seen several posts that it is not recommended to install GS in a directory with spaces. If we really need to install our application under "program files" is there any workaround? Does GS just simply not work properly with spaces in that paths?


This thread was imported from the previous forum.
For your reference, the original is available here

asked 2010-06-23 11:02:31 -0500

dncheu gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

The problem is not really GigaSpaces , but Java and windows. The latest versions of Java and windows should have these issues resolved. The GigaSpaces start scripts should support folders with spaces. Shay

answered 2010-06-23 13:52:41 -0500

shay hassidim gravatar image
edit flag offensive delete link more


hi Shay,

We're having problems creating the space now. We are using Gigaspaces 7.0.1 XAP and have set the com.gs.home to a path containing spaces.

Caused by: com.j_spaces.core.client.FinderException: Failed to find: java://localhost:3781/Container/Grid?create&properties=gs&versioned=true&groups=gigaspaces-7.0.1-XAPPremium-ga&state=started at com.j_spaces.core.client.SpaceFinder.findService(SpaceFinder.java:626) at com.j_spaces.core.client.SpaceFinder.findService(SpaceFinder.java:564) at com.j_spaces.core.client.SpaceFinder.find(SpaceFinder.java:447) at org.openspaces.core.space.UrlSpaceFactoryBean.doCreateSpace(UrlSpaceFactoryBean.java:338) ... 193 more Caused by: java.lang.SecurityException: java.lang.RuntimeException: Failed to derive product directories at com.j_spaces.core.JSpaceContainerImpl.verifyLicense(JSpaceContainerImpl.java:1072) at com.j_spaces.core.JSpaceContainerImpl.<init>(JSpaceContainerImpl.java:410) at com.j_spaces.core.client.SpaceFinder.initContainer(SpaceFinder.java:769) at com.j_spaces.core.client.SpaceFinder.findEmbeddedService(SpaceFinder.java:928) at com.j_spaces.core.client.SpaceFinder.findService(SpaceFinder.java:604) ... 196 more

dncheu gravatar imagedncheu ( 2010-06-23 14:34:52 -0500 )edit

Try to place the gs-license.xml as part of the classpath or use the system property for the license key file name or for the key itself .

shay hassidim gravatar imageshay hassidim ( 2010-06-23 15:16:30 -0500 )edit

putting the gslicense.xml into the classpath didn't seem to work (maybe because it has spaces) but explicitly specifying the license as com.gs.licensekey property got it working.

Thanks Shay!

dncheu gravatar imagedncheu ( 2010-06-23 16:30:37 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2010-06-23 11:02:31 -0500

Seen: 23 times

Last updated: Jun 23 '10