Hi,
I am fairly new to Camunda.
Recently I coded a Camunda + Spring, a POC for my new project.
The aim is to start the process from a REST Call.(That I had written).
Everything is success. After deploying, I could see the process getting invoked
and passing through various tasks and completing successfully.
But, all of this I could confirm only by debugging the server logs(I use wildfly).
But the expectation is I should see my process deployed and running in the “Camunda Cockpit”.
This, I don’t see. I don’t see my process in the deployments list of the cockpit.
What is that I am missing.
FYI, below is the way I define the process engine.
<bean id="dataSource" class="org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy"> <property name="targetDataSource"> <bean class="org.springframework.jdbc.datasource.SimpleDriverDataSource"> <property name="driverClass" value="org.h2.Driver" /> <property name="url" value="jdbc:h2:mem:process-engine;DB_CLOSE_DELAY=1000" /> <property name="username" value="sa" /> <property name="password" value="" /> </bean> </property> </bean> <bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager"> <property name="dataSource" ref="dataSource" /> </bean> <bean id="processEngineConfiguration" class="org.camunda.bpm.engine.spring.SpringProcessEngineConfiguration"> <property name="processEngineName" value="engine" /> <property name="dataSource" ref="dataSource" /> <property name="transactionManager" ref="transactionManager" /> <property name="databaseSchemaUpdate" value="true" /> <property name="jobExecutorActivate" value="false" /> **<property name="deploymentResources" value="classpath*:*.bpmn" />** </bean> <bean id="processEngine" class="org.camunda.bpm.engine.spring.ProcessEngineFactoryBean"> <property name="processEngineConfiguration" ref="processEngineConfiguration" /> </bean> <bean id="repositoryService" factory-bean="processEngine" factory-method="getRepositoryService" /> <bean id="runtimeService" factory-bean="processEngine" factory-method="getRuntimeService" /> <bean id="taskService" factory-bean="processEngine" factory-method="getTaskService" /> <bean id="historyService" factory-bean="processEngine" factory-method="getHistoryService" /> <bean id="managementService" factory-bean="processEngine" factory-method="getManagementService" /> </beans>
What is that I miss?
Kindly need your guidance. Would be a great help for a starter like me
Thanks,
Nag.