12-01-2013 05:41 PM
activiti.cfg.xml
in order to use CDI and JNDI references:<bean id="transactionManager" class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName" value="java:jboss/TransactionManager"></property>
<property name="resourceRef" value="true" />
</bean>
<bean id="processEngineConfiguration" class="org.activiti.cdi.CdiJtaProcessEngineConfiguration">
<property name="dataSourceJndiName" value="java:/jboss/datasources/activiti" />
<property name="databaseType" value="mysql" />
<property name="transactionManager" ref="transactionManager" />
<property name="transactionsExternallyManaged" value="true" />
<property name="databaseSchemaUpdate" value="true" />
</bean>
Caused by: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
DeployBarTask
from old org.activiti.engine.impl.ant
namespace (activiti 5.10). Beside for deployment, I use new (5.14) activiti libs.12-05-2013 04:42 AM
12-11-2013 01:31 PM
12-12-2013 02:39 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.