cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti as a windows service

buetti
Champ in-the-making
Champ in-the-making
Hi all,

I have a windows server 2008 r2 and I would like to start activiti automatically when windows is booting. I tried to make tomcat available as a windows service by following command in the %CATALINA_HOME%\bin path:

./service.bat install

On a windows server 2003 it worked quite fine. But now it will create a service but I can't start them. Additionally after I typed in the command, activiti doesn't work correctly (can't log in anymore). So is there any other possibility to start activiti when windows is booting??

Many thanks,
Ben

Ps.: I haven't much experience with tomcat and windows server…
2 REPLIES 2

jbarrez
Star Contributor
Star Contributor
Ben, besides Tomcat you also need the database to be running to have Activiti working properly.

If you're using the standard demo.setup, then it is not going to be so easy (because you would need to call a .bat file when the service is started, which can be tricky if the bat file doesnt return). If you're using a 'real' database (eg MySQL), then it becomes more easy, since that can be configured to start when the system boots.

buetti
Champ in-the-making
Champ in-the-making
Hi jbarrez,

thanks four your response. I just thought, activiti has an option to define it as a windows service. I thought it exisits an easier way to do that but it's okay. So I will try to create a script which runs at startup and then it could be working…Smiley Wink

Thank you