Shola (5) [Avatar] Offline
Hello All,
I am trying to get the sample application Activiti-CDI to work on Glassfish Server (Windows) but I am getting this error
Exception 0 :
org.activiti.engine.ActivitiException: Could not find an implementation of the org.activiti.cdi.spi.ProcessEngineLookup service returning a non-null processEngine. Giving up.
at org.activiti.cdi.impl.ActivitiExtension.lookupProcessEngine(

I am using Activiti-cdi 5.13 in my Maven pom
Below is my activiti.cfg.xml file

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="" >

<!– activiti configuration for glassfish application server –>
<!– lookup the JTA-Transaction manager –>
<bean id="transactionManager" class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName" value="java:appserver/TransactionManager"></property>
<property name="resourceRef" value="true" />

<!– process engine configuration –>
<bean id="processEngineConfiguration" class="org.activiti.cdi.CdiJtaProcessEngineConfiguration">
<property name="dataSourceJndiName" value="jdbc/activiti" />
<property name="databaseType" value="mysql" />
<property name="transactionManager" ref="transactionManager" />
<property name="transactionsExternallyManaged" value="true" />
<property name="databaseSchemaUpdate" value="true" />
<property name="mailServerHost" value="localhost" />
<property name="mailServerPort" value="2525" />

Any help will be appreciated.

Message was edited by:
tijs.rademakers (494) [Avatar] Offline
Re: Book-cdi app on Glassfish
Hi Shola,

The Activiti CDI implementation has been tested on JBoss only so it could be that there are problems for Glassfish. Could you create a JIRA in the Activiti project?

Best regards,

Shola (5) [Avatar] Offline
Re: Book-cdi app on Glassfish
Thanks Tijs for your quick response.

I will do that asap.
Shola (5) [Avatar] Offline
Re: Book-cdi app on Glassfish
Hi Tijs,

I tried creating a Jira ticket. I am not sure I can create an account?

tijs.rademakers (494) [Avatar] Offline
Re: Book-cdi app on Glassfish

You should be able to create an account here:

Best regards,