cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with cycle on an external Tomcat instance

maassen
Champ in-the-making
Champ in-the-making
Hi together!  :ugeek:

I deployed today activiti RC1 on my regular, standalone Tomcat (6.0.29) instance. All applications are running well except cycle.
If I login into cycle, I'll get the following error message:
10250000 Wrapped Exception (with status template): loader constraint violation: when resolving overridden method "org.activiti.cycle.impl.conf.CycleDbSqlSessionFactory.createSessionFactory(Ljavax/sql/DataSource;Lorg/apache/ibatis/transaction/TransactionFactory;)Lorg/apache/ibatis/session/SqlSessionFactory;" the class loader (instance of org/apache/catalina/loader/WebappClassLoader) of the current class, org/activiti/cycle/impl/conf/CycleDbSqlSessionFactory, and its superclass loader (instance of org/apache/catalina/loader/StandardClassLoader), have different Class objects for the type org/apache/ibatis/session/SqlSessionFactory used in the signature

Does anyone know, how to resolve this issue?
2 REPLIES 2

bernd_ruecker
Champ in-the-making
Champ in-the-making
Hi Massen.

Obviously it is a classloading issue 😉 In the RC1 some libs were duplicated in the Tomcat lib and the activiti-reat/WEB-INF/lib. Depending how you transferred that to your Tomcat that may cause trouble. But that is fixed in the latest HEAD meaning the 5.0 GA released next week. If you still have problems with that versions please let me know!

Cheers
BErnd

maassen
Champ in-the-making
Champ in-the-making
Ok, thank you. I'll try the newest version as soon as possible