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

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Thanks, I finally managed to do it following Dixson Huie link.

But I had to solve some problems afterwards. I would appreciate if someone read that and tell me if I did something wrong.

I’ve bumped GS to 14 and SpringBoot to 1.5.16.RELEASE
 1. It asked me to add pu.xml 2. Seems web.xml is mandatory-without it Gigaspaces doesn’t recognize its web app, so I have added basic one-with just <web-app> tag.

  1. It complained about atomikos dependencies. Exception : org.jini.rio.core.JSBInstantiationException : Processing Unit [pure1739 [1]] instantiation failed. ; Caused By: java.lang.ClassNotFoundException: com.atomikos.icatch.config.UserTransactionServiceImp at org.jini.rio.cybernode.CybernodeImpl.instantiate(CybernodeImpl.java:1045) org.jini.rio.core.provision.ServiceBeanInstantiatorGigaspacesMethodinternalInvoke7.internalInvoke(Unknown Source)

So I have added atomikos 4.0.4 dependencies to pom.xml

  1. Now it couldn’t find db. Caused By: org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Cannot determine embedded database url for database type NONE. If you want an embedded database please put a supported one on the classpath. If you have database settings to be loaded from a particular profile you may need to active it (no profiles are currently active).

Added com.h2database to dependencies. I’m not sure if its good solution.

  1. Basic authentication showed up. Disabled it by adding security.basic.enabled=false to my application.properties

I tried to solve 4 & 5 by disable Spring Boot auto configuration for DataSource and SpringSecurity, but I must been doing something wrong, cause it didn’t worked.

Thanks, I finally managed to do it following Dixson Huie link.

But I had to solve some problems afterwards. I would appreciate if someone read that and tell me if I did something wrong.

I’ve bumped GS to 14 and SpringBoot to 1.5.16.RELEASE
 1. 1.5.16.RELEASE


1). It asked me to add pu.xml 2. 2). Seems web.xml is mandatory-without it Gigaspaces doesn’t recognize its web app, so I have added basic one-with just <web-app> tag.

  1. 3). It complained about atomikos dependencies. dependencies

    Exception : org.jini.rio.core.JSBInstantiationException : Processing Unit [pure1739 [1]] instantiation failed. ; Caused By: java.lang.ClassNotFoundException: com.atomikos.icatch.config.UserTransactionServiceImp
    at org.jini.rio.cybernode.CybernodeImpl.instantiate(CybernodeImpl.java:1045)
    org.jini.rio.core.provision.ServiceBeanInstantiatorGigaspacesMethodinternalInvoke7.internalInvoke(Unknown Source) 

So I have added atomikos 4.0.4 dependencies to pom.xml

  1. 4). Now it couldn’t find db. Caused By: org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Cannot determine embedded database url for database type NONE. If you want an embedded database please put a supported one on the classpath. If you have database settings to be loaded from a particular profile you may need to active it (no profiles are currently active).

Added com.h2database to dependencies. I’m not sure if its good solution.

  1. 5). Basic authentication popup showed up. Disabled it by adding security.basic.enabled=false to my application.properties

I tried to solve 4 & 5 by disable Spring Boot auto configuration for DataSource and SpringSecurity, but I must been doing something wrong, cause it didn’t worked.