Activiti and Hana

cancel
Showing results for 
Search instead for 
Did you mean: 
massimo_malvest
Member II

Activiti and Hana

Hello everybody.

I'm trying to deploy my webapp on Sap HCP, Hana Cloud Platform, Sap cloud solution based on Hana DB, but things aren't going well.

Locally I was able to deploy my webapp, using Neo environment, a Sap modified Tomcat, and MySql.

Using SpringBoot I wrote a config bean injecting javax.sql.Datasource, that receives db connection configuration through jndi, and everything works fine; tables was regularly created and I was able to deploy processes.

But when I try to deploy it on HCP, system logs show me the following exception

org.activiti.engine.ActivitiException: couldn't deduct database type from database product name 'HDB' at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.initDatabaseType(ProcessEngineConfigurationImpl.java:1131) at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.initDataSource(ProcessEngineConfigurationImpl.java:1075) at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.init(ProcessEngineConfigurationImpl.java:862) at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:845) at org.activiti.spring.SpringProcessEngineConfiguration.buildProcessEngine(SpringProcessEngineConfiguration.java:70) at org.activiti.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:57) at org.activiti.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:32) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:171)

How could I solve this problem? Any advice?

Thanks in advance for answers, I found a couple of threads about it, but thet are really old

My system

  • jdk: 1.8
  • Spring boot: 2.1.6.RELEASE
  • Neo version: 3.82.6
  • Activiti-spring-boot-starter: 7.0.0.SR1