cancel
Showing results for 
Search instead for 
Did you mean: 

JSF application with Activiti using Tomcat

user1507
Champ in-the-making
Champ in-the-making
Hello,

English is not my native language; please excuse typing errors.

I created this topic in continuation to this - http://forums.activiti.org/content/need-training-materials-not-activiti-action

Here where I work we don´t use Maven and use Tomcat and Spring. We pretend to use Activiti in a JSF Portlet inside Liferay.

So the first step was to remove Maven and make it work correctly, that is ok. The second now is to make it work with Tomcat instead Jboss.

I was reading a similar tutorial - http://www.bpm-guide.de/2011/09/17/build-your-own-activiti-task-explorer-with-cdi-and-jsf-2/
, and some persons were also interested in using Tomcat instead of Jboss. The author suggests: "you need to add and configure cdi (e.g. Weld or Open Web Beans) yourself and potentially also additional libraries."

Instead of Weld or Open Web Beans I want to use Spring for CDI. Did anyone try this or something similar?

Thanks for you attention.
5 REPLIES 5

user1507
Champ in-the-making
Champ in-the-making

fabrice1
Champ in-the-making
Champ in-the-making
It's possible to replace @inject by @autowired
but spring 3 supports @inject and @named

mghb2009
Champ in-the-making
Champ in-the-making
how to run for tomcat?

jbarrez
Star Contributor
Star Contributor
Seriously?

Well, if this is serious …. WHAT would you like to do?

pleas i need your help,

i have error when i configure activiti with jsf

so to configure i used this two  dependencies 

activiti-engine

and activiti-cdi

i followd the steps of the activiti users guide, on this link you will find the configuration that i used

 http://www.bpm-guide.de/2011/09/17/build-your-own-activiti-task-explorer-with-cdi-and-jsf-2/

my problem, after starting the process and  accesing to the first user task and trying to complet the task this error appears( org.activiti.cdi.ActivitiCdiException: No task associated. Call businessProcess.startTask() first. )

i debugged it and found the id of the current task  was NULL  

i have more idea but i can't advance help pleas

thanx