cancel
Showing results for 
Search instead for 
Did you mean: 

404 error on activiti-explorer

mikepoole
Champ in-the-making
Champ in-the-making
I have recently installed Activiti and had help to get the modeller installed

My demo appears to have been installed correctly and is running yet I am getting the following error when trying to open http://localhost:8080/activiti-explorer

type Status report

message /activiti-explorer

description The requested resource (/activiti-explorer) is not available.

Does anyone have any ideas?

Thanks

Mike
5 REPLIES 5

matthias1
Champ in-the-making
Champ in-the-making
Hi,

I am currently working on a project involving Activiti and before starting to get my own projects into runtime I wanted to test out the Demo-Setup. Unfortunately I encountered the same error as described in this topic and have not been able to find a solution yet.

Help would be really appreciated.

Kind Regards
Matthias

trademak
Star Contributor
Star Contributor
Hi,

Did you try and stop the Tomcat server and start it up again?
Can you see a stacktrace in the Tomcat log?

Best regards,

matthias1
Champ in-the-making
Champ in-the-making
Hi,

I looked up the logs files of the Tomcat and will post the (shortened) output:

04.06.2012 13:51:07 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: […]
04.06.2012 13:51:07 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
04.06.2012 13:51:07 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 597 ms
04.06.2012 13:51:07 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
04.06.2012 13:51:07 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
04.06.2012 13:51:07 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory activiti-explorer
04.06.2012 13:51:07 org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile([…]activiti-5.8\apps\apache-tomcat-6.0.32\webapps\activiti-explorer\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2.
Offending class: javax/servlet/Servlet.class
04.06.2012 13:51:14 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory activiti-rest
04.06.2012 13:51:15 org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile([…]activiti-5.8\apps\apache-tomcat-6.0.32\webapps\activiti-rest\WEB-INF\lib\geronimo-servlet_3.0_spec-1.0.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2.
Offending class: javax/servlet/Servlet.class
04.06.2012 13:51:15 org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile([…]activiti-5.8\apps\apache-tomcat-6.0.32\webapps\activiti-rest\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2.
Offending class: javax/servlet/Servlet.class
04.06.2012 13:51:16 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
04.06.2012 13:51:16 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
04.06.2012 13:51:17 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory host-manager
04.06.2012 13:51:17 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory manager
04.06.2012 13:51:17 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
04.06.2012 13:51:17 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
04.06.2012 13:51:17 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
04.06.2012 13:51:17 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/32  config=null
04.06.2012 13:51:17 org.apache.catalina.startup.Catalina start
INFO: Server startup in 9935 ms

All I did was moving via console to a fresh downloaded+extracted activiti 5.8 setup folder and typed "ant demo.start".
But I should add, that i needed to download the apache tomcat 6.0.32 manually and put it in the downloads folder activiti uses, because I work behind a proxy and the ant build failed downloading it.

Note: I'm working on Windows7 and read about some other problems with Activiti and Windows7 so I mention this, too Smiley Wink

Kind Regards,
Matthias

trademak
Star Contributor
Star Contributor
Strange, because I don't see any logging that shows that the Activiti Explorer is started.
I know the Activiti setup script changes the Tomcat distribution a bit. Maybe this went wrong in your setup.
But still, the Activiti Explorer should work. Were you able to start the H2 database?
Which Java version are you running?

Best regards,

matthias1
Champ in-the-making
Champ in-the-making
Hi again,

good hint with the H2 database. I was able to connect and browse it and tried to access the activiti-explorer again afterwards. This way round it started and I was able to log in. But then I had the same problems as referred to in this topic: http://forums.activiti.org/en/viewtopic.php?t=2339.
Fortunately there was a solution posted and I can finally get back to work Smiley Happy

Hopefully this was the last strange error.

Kind Regards,
Matthias