Guest User

Untitled

a guest
Mar 19th, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.88 KB | None | 0 0
  1. GRAVE: Error while closing command context
  2. org.camunda.bpm.engine.ProcessEngineException: historyLevel mismatch: configuration says org.camunda.bpm.engine.impl.history.HistoryLevelAudit@21 and database says 3
  3.  
  4. <?xml version="1.0" encoding="UTF-8"?>
  5. <bpm-platform xmlns="http://www.camunda.org/schema/1.0/BpmPlatform"
  6. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  7. xsi:schemaLocation="http://www.camunda.org/schema/1.0/BpmPlatform http://www.camunda.org/schema/1.0/BpmPlatform ">
  8.  
  9. <job-executor>
  10. <job-acquisition name="default" />
  11. </job-executor>
  12.  
  13. <process-engine name="default">
  14. <job-acquisition>default</job-acquisition>
  15. <configuration>org.camunda.bpm.engine.impl.cfg.StandaloneProcessEngineConfiguration</configuration>
  16. <datasource>java:jdbc/solve</datasource>
  17.  
  18. <properties>
  19. <property name="history">full</property>
  20. <property name="databaseSchemaUpdate">true</property>
  21. <property name="authorizationEnabled">true</property>
  22. <property name="jobExecutorDeploymentAware">true</property>
  23. </properties>
  24.  
  25.  
  26. <plugins>
  27.  
  28. <!-- plugin enabling Process Application event listener support -->
  29. <plugin>
  30. <class>org.camunda.bpm.application.impl.event.ProcessApplicationEventListenerPlugin</class>
  31. </plugin>
  32.  
  33. <!-- plugin enabling integration of camunda Spin -->
  34. <plugin>
  35. <class>org.camunda.spin.plugin.impl.SpinProcessEnginePlugin</class>
  36. </plugin>
  37.  
  38. <!-- plugin enabling connect support -->
  39. <plugin>
  40. <class>org.camunda.connect.plugin.impl.ConnectProcessEnginePlugin</class>
  41. </plugin>
  42. </plugins>
  43.  
  44. </process-engine>
  45.  
  46. </bpm-platform>
  47.  
  48. <?xml version="1.0" encoding="UTF-8" ?>
  49. <process-application
  50. xmlns="http://www.camunda.org/schema/1.0/ProcessApplication"
  51. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  52.  
  53. <process-archive name="MyProcess">
  54. <process-engine>myEngine</process-engine>
  55. <properties>
  56. <property name="isDeleteUponUndeploy">false</property>
  57. <property name="isScanForProcessDefinitions">true</property>
  58. </properties>
  59. </process-archive>
  60.  
  61. </process-application>
  62.  
  63. <?xml version="1.0" encoding="UTF-8"?>
  64. <beans xmlns="http://www.springframework.org/schema/beans"
  65. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
  66. xmlns:tx="http://www.springframework.org/schema/tx" xmlns:jee="http://www.springframework.org/schema/jee"
  67. xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
  68. http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd
  69. http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.1.xsd
  70. http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.1.xsd">
  71.  
  72.  
  73. <jee:jndi-lookup id="dataSource" jndi-name="java:comp/env/jdbc/my_process" />
  74.  
  75. <bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
  76. <property name="dataSource" ref="dataSource" />
  77. </bean>
  78.  
  79. <bean id="processEngineConfiguration" class="org.camunda.bpm.engine.spring.SpringProcessEngineConfiguration">
  80. <property name="processEngineName" value="myEngine" />
  81. <property name="dataSource" ref="dataSource" />
  82. <property name="transactionManager" ref="transactionManager" />
  83. <property name="databaseSchemaUpdate" value="true" />
  84. <property name="jobExecutorActivate" value="false" />
  85. <property name="deploymentResources" value="classpath*:*.bpmn" />
  86. <property name="processEnginePlugins">
  87. <list>
  88. <bean id="spinPlugin" class="org.camunda.spin.plugin.impl.SpinProcessEnginePlugin" />
  89. </list>
  90. </property>
  91. </bean>
  92.  
  93. <bean id="processEngine" class="org.camunda.bpm.engine.spring.container.ManagedProcessEngineFactoryBean" destroy-method="destroy">
  94. <property name="processEngineConfiguration" ref="processEngineConfiguration" />
  95. </bean>
  96.  
  97. <bean id="repositoryService" factory-bean="processEngine" factory-method="getRepositoryService" />
  98. <bean id="runtimeService" factory-bean="processEngine" factory-method="getRuntimeService" />
  99. <bean id="taskService" factory-bean="processEngine" factory-method="getTaskService" />
  100. <bean id="historyService" factory-bean="processEngine" factory-method="getHistoryService" />
  101. <bean id="managementService" factory-bean="processEngine" factory-method="getManagementService" />
  102.  
  103. <bean id="MyProcess" class="org.camunda.bpm.engine.spring.application.SpringServletProcessApplication" />
  104.  
  105. <context:annotation-config />
  106.  
  107. <bean class="it.processes.Starter" />
  108. <bean id="cudOnProcessVariableService" class="it.services.CUDonProcessVariableService" />
  109.  
  110. </beans>
Add Comment
Please, Sign In to add comment