cancel
Showing results for 
Search instead for 
Did you mean: 

modeler app don't start

activiti-admin
Champ in-the-making
Champ in-the-making
Linux 2.6.18
tomcat  6.0.26

INFO: Deploying web application archive activiti-engine-init.war
May 19, 2010 1:11:00 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive activiti-modeler.war
java.lang.IllegalStateException: No match found
   at java.util.regex.Matcher.group(Matcher.java:468)
   at java.util.regex.Matcher.group(Matcher.java:428)
   at com.signavio.platform.core.impl.FsPlatformPropertiesImpl.<init>(FsPlatformPropertiesImpl.java:87)
   at com.signavio.platform.core.impl.FsPlatformInstanceImpl.bootInstance(FsPlatformInstanceImpl.java:61)
   at com.signavio.platform.core.Platform.bootInstance(Platform.java:77)
   at com.signavio.platform.listeners.EntryPoint.contextInitialized(EntryPoint.java:61)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)
   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
   at org.apache.catalina.core.StandardService.start(StandardService.java:519)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2010-05-19 01:11:00,667 FATAL (LoggedRuntimeException.java:39) - Platform boot failed!
com.signavio.platform.exceptions.InitializationException: Platform boot failed!
   at com.signavio.platform.core.Platform.bootInstance(Platform.java:81)
   at com.signavio.platform.listeners.EntryPoint.contextInitialized(EntryPoint.java:61)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)
   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
   at org.apache.catalina.core.StandardService.start(StandardService.java:519)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.IllegalStateException: No match found
   at java.util.regex.Matcher.group(Matcher.java:468)
   at java.util.regex.Matcher.group(Matcher.java:428)
   at com.signavio.platform.core.impl.FsPlatformPropertiesImpl.<init>(FsPlatformPropertiesImpl.java:87)
   at com.signavio.platform.core.impl.FsPlatformInstanceImpl.bootInstance(FsPlatformInstanceImpl.java:61)
   at com.signavio.platform.core.Platform.bootInstance(Platform.java:77)
   … 25 more
May 19, 2010 1:11:00 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
May 19, 2010 1:11:00 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/activiti-modeler] startup failed due to previous errors
14 REPLIES 14

wir33658
Champ in-the-making
Champ in-the-making
Where exactly to put the 'fileSystemRootDirectory' parameter and which value ?
I am having the same problem (even I did the ant demo.setup and besides the modeler everything is working fine).

sstolarczyk
Champ in-the-making
Champ in-the-making
Where exactly to put the 'fileSystemRootDirectory' parameter and which value ?
I am having the same problem (even I did the ant demo.setup and besides the modeler everything is working fine).

Hi,

Just open web.xml in [tomcat_dir]/webapps/[activiti_modeler_dir]/WEB-INF, and add this after all the other <context-param> elements:

<context-param>
    <description>Filesystem directory that is used to store models</description>
    <param-name>fileSystemRootDirectory</param-name><param-value>your_path</param-value>
</context-param>

…where your_path can be something like (in my case): /home/sebastian/activiti/apps/activiti-model-repository

Regards,
S.

neothemachine
Champ in-the-making
Champ in-the-making
This fix worked also for me although I wonder why this can't be automatic, maybe it already is but not working.

I tried it just now with a fresh alpha-3 and the only thing I changed was the build.properties to:
downloads.dir=../downloads (instead of ../../.. or whatever)

If this is working in alpha-4 just ignore me Smiley Wink

regards
neo

jbarrez
Star Contributor
Star Contributor
Normally if you just unzip the zip file without changing any folder name, it works automatically by searching for the activiti unzipped root folder.

I just tried it with alpha 3 here on a fresh windows and all seems to work. Could you explain which steps you've taken to try it ?

neothemachine
Champ in-the-making
Champ in-the-making
I know where the fault is.

I unpacked the zip file to a folder named "Activiti" and the regex is searching for "activiti" -> case!!! Smiley Happy

So..that's the problem. Could this be solved another way without the hacky regex and without setting this fileSystemRootDirectory parameter manually?