As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"> <property name="jpaVendorAdapter"> <bean class="org.springframework.orm.jpa.vendor.EclipseLinkJpaVendorAdapter"> </bean> </property> <property name="jpaProperties"> <bean id="jpaProperties" class="org.springframework.beans.factory.config.PropertiesFactoryBean"> <property name="properties"> <props> <prop key="eclipselink.weaving">false</prop> </props> </property> </bean> </property> </bean> <bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration"> <!– Database configurations –> <property name="databaseSchemaUpdate" value="true"/> <property name="jdbcUrl" value="jdbc:h2:tcp://localhost:9092/~/test"/> <property name="jdbcDriver" value="org.h2.Driver"/> <property name="jdbcUsername" value="Testuser"/> <property name="jdbcPassword" value="start"/> <property name="jpaEntityManagerFactory" ref="entityManagerFactory"/> <property name="jpaHandleTransaction" value="true"/> <property name="jpaCloseEntityManager" value="true"/> <!– job executor configurations –> <property name="jobExecutorActivate" value="false"/> </bean> </beans>
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"><br> <property name="driverClassName" value="org.h2.Driver" /><br> <property name="url" value="jdbc:h2:tcp://localhost:9092/~/test?autoReconnect=true;create=true" /><br> <property name="username" value="Testuser" /><br> <property name="password" value="start" /><br> <property name="defaultAutoCommit" value="false" /><br> </bean><br> <bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration"><br> <property name="dataSource" ref="dataSource" /><br> <property name="transactionManager" ref="transactionManager"/><br> <property name="databaseSchemaUpdate" value="true" /><br> <property name="jobExecutorActivate" value="true" /><br> <property name="customFormTypes"><br> <list><br> <ref bean="userFormType"/><br> </list><br> </property><br><br> <!– Database configurations –><br> <property name="jdbcUrl" value="jdbc:h2:tcp://localhost:9092/~/test"/><br> <property name="jdbcDriver" value="org.h2.Driver"/><br> <property name="jdbcUsername" value="Testuser"/><br> <property name="jdbcPassword" value="start"/><br><br> <property name="jpaEntityManagerFactory" ref="entityManagerFactory"/><br> <property name="jpaHandleTransaction" value="true"/><br> <property name="jpaCloseEntityManager" value="true"/><br><br> </bean><br>
[jetty] [DEBUG] org.springframework.jdbc.datasource.SimpleDriverDataSource - Creating new JDBC Driver Connection to [jdbc:h2:tcp://localhost:9092/~/test]