Activiti plugin not working with mysql

221 views
Skip to first unread message

kavitha sethu

unread,
Mar 18, 2013, 3:21:36 PM3/18/13
to grails-acti...@googlegroups.com
Hi,

I am trying to use the activiti plugin in my app. my app uses mysql database. afteri installed the plugin and created the xml file , i tried to run the app i am getting :
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine': FactoryBean threw exception on object creation; nested exception is org.activiti.engine.ActivitiException: couldn't create db schema: create table ACT_GE_BYTEARRAY (
ID_ varchar(64),
REV_ integer,
NAME_ varchar(255),
DEPLOYMENT_ID_ varchar(64),
BYTES_ longvarbinary,
primary key (ID_)
)

error. am using grails 1.3.7 , activiti 5.8.2. please let me know what am i missing

Thanks,
kavitha.

Chee Kin Lim

unread,
Mar 18, 2013, 10:30:46 PM3/18/13
to grails-acti...@googlegroups.com
Hi Kavitha,

Thanks for using the plugin.

This error look familiar to me, I suggest you upgrade to Grails 2.x and use latest version of the plugin.

Hope this help.

Best regards,
Chee Kin




--
 
---
You received this message because you are subscribed to the Google Groups "Grails Activiti Plugin Discussion Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grails-activiti-p...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Chee Kin Lim

unread,
Mar 19, 2013, 11:36:00 PM3/19/13
to grails-activiti-plugin, kavitha sethu
Hi Kavitha,

In the case of you have your own User and Role domain class implemented, you need to make sure that the domain classes implement org.activiti.engine.identity.User for User domain class and org.activiti.engine.identity.Group for Role domain class.

Please see sample code at https://github.com/limcheekin/activiti-spring-security/tree/master/misc/grails-app/domain/org/grails/activiti/springsecurity


Hope this help.

Best regards,
Chee Kin



On Wed, Mar 20, 2013 at 1:41 AM, kavitha sethu <kavith...@gmail.com> wrote:
Thanks for the reply. i got this problem by manually adding the table. now i have another issue. i have spring -security-core and spring-security-cas in my app. when i installed the activiti-spring-security core it throws an error " java.lang.ClassCastException: edu.security.Role cannot be cast to org.activiti.engine.identity.Group" Please assist.

-Kavitha.
To unsubscribe from this group and stop receiving emails from it, send an email to grails-activiti-plugin+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to grails-activiti-plugin+unsub...@googlegroups.com.

Mehanathen Nesamony

unread,
Mar 20, 2013, 10:40:06 PM3/20/13
to grails-acti...@googlegroups.com
Dear Kavitha Sethu,

have you rectified the error . I am also having the same issue.

Kindly help if you have rectified

Thanks
Mehanathen N

Mike Mannion

unread,
Jun 15, 2013, 9:32:28 AM6/15/13
to grails-acti...@googlegroups.com, kavitha sethu
I'm having precisely the same problem. I'm using grails 2.2.1 and the activiti plugin 5.12.1. The problem is that the schema activiti attempts to generate specifies an attribute type which is not supported in mysql. Unfortunately I currently have no idea how to work around this.

For any assistance, many thanks in advance.

To unsubscribe from this group and stop receiving emails from it, send an email to grails-activiti-plugin+unsubscri...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to grails-activiti-plugin+unsubscri...@googlegroups.com.

Jorge Aguilera

unread,
Sep 22, 2013, 7:34:26 AM9/22/13
to grails-acti...@googlegroups.com, kavitha sethu
Hi, 
I just started to investigate capacities of this plugin but maybe it can be possible to change in some place "longvarbinary" with "blob"
Reply all
Reply to author
Forward
0 new messages