AnsweredAssumed Answered

Error initializing process engine in Websphere

Question asked by rafusaro on Mar 10, 2011
Latest reply on Mar 18, 2011 by rafusaro
I am getting the following messages in Websphere's log when I try to deploy my webapplication. I have created a simple ServletContextListener to initialize and destroy the process engine like the example in the user guide which I added to the web.xml file.

[3/9/11 15:31:23:038 CST] 00000032 ProcessEngine I   initializing process engine for resource file:/C:/Program Files/IBM/WebSphere/AppServer1/profiles/AppSrv01/installedApps/dcco480Node01Cell/KDOCEForms-1_1_war.ear/KDOCEForms-1.1.war/WEB-INF/classes/activiti.cfg.xml

[3/9/11 15:31:23:257 CST] 00000032 ProcessEngine I   Exception while initializing process engine :Error creating bean with name 'processEngineConfiguration' defined in resource loaded through InputStream: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [java.lang.String] for property 'databaseType'; nested exception is java.lang.IllegalArgumentException: Original must not be null

My activiti.cfg.xml looks like the following:

[size=85]<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns=""

  <bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration">
    <property name="databaseType" value="mysql" />
    <property name="jdbcUrl" value="jdbc:mysql://serverxxxx:3306/activiti?autoReconnect=true" />
    <property name="jdbcDriver" value="com.mysql.jdbc.Driver" />
    <property name="jdbcUsername" value="root" />
    <property name="jdbcPassword" value="xxxxxx" />
    <!– Database configurations –>
    <property name="databaseSchemaUpdate" value="true" />
    <!– job executor configurations –>
    <property name="jobExecutorActivate" value="false" />
    <!– mail server configurations –>
    <property name="mailServerPort" value="5025" />   


Does anyone know what I need to do to get this to work in Websphere 6.1?

Thanks Rick