07-23-2019 08:07 AM
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
Explore our Alfresco products with the links below. Use labels to filter content by product module.