cancel
Showing results for 
Search instead for 
Did you mean: 

Installation issue

stefanthiel
Champ in-the-making
Champ in-the-making
Hi Everybody,

I downloaded ant and activiti and did everything recomended in
http://www.activiti.org/userguide/index.html#N1008C

After running ant demo.start everything seems to run smooth but when the browser-windows open, in every window I get the tomcat-message (with the related activiti-part):
=======================================
HTTP Status 404 - /activiti-kickstart
type Status report
message /activiti-kickstart
description The requested resource (/activiti-kickstart) is not available.
Apache Tomcat/6.0.32"
=======================================

From ant I get the following protokoll:
=======================================
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Dokumente und Einstellungen\Stefan Thiel>cd c:\programme\activit*

C:\Programme\activiti-5.6>cd setup

C:\Programme\activiti-5.6\setup>ant demo.start
Buildfile: C:\Programme\activiti-5.6\setup\build.xml

demo.install:

cfg.create:
     [copy] Copying 1 file to C:\Programme\activiti-5.6\setup\build\activiti-cfg

      [zip] Building zip: C:\Programme\activiti-5.6\setup\build\activiti-cfg.jar

     [echo] copying configuration to ../workspace/activiti-engine-examples/src/main/config
    [unzip] Expanding: C:\Programme\activiti-5.6\setup\build\activiti-cfg.jar into C:\Programme\activiti-5.6\workspace\activiti-engine-examples\src\main\config

internal.classpath.libs:

internal.taskdef.launch:

h2.start:
   [launch] launching cmd 'C:\Programme\activiti-5.6\apps\h2\h2.start.bat ' in dir 'C:\Programme\activiti-5.6\apps\h2'
   [launch] waiting for launch completion msg 'TCP server running on'…
   [launch]   TCP server running on tcp://192.168.0.127:9092 (others can connect)

tomcat.start:
   [launch] launching cmd 'C:\Programme\activiti-5.6\apps\apache-tomcat-6.0.32\bin\startup.bat ' in dir 'C:\Programme\activiti-5.6\apps\apache-tomcat-6.0.32\bin'
   [launch] waiting for launch completion msg 'Using CLASSPATH:'…
   [launch]   Using CATALINA_BASE:   "C:\Programme\activiti-5.6\apps\apache-tomcat-6.0.32"
   [launch]   Using CATALINA_HOME:   "C:\Programme\activiti-5.6\apps\apache-tomcat-6.0.32"
   [launch]   Using CATALINA_TMPDIR: "C:\Programme\activiti-5.6\apps\apache-tomcat-6.0.32\temp"
   [launch]   Using JRE_HOME:        "C:\Programme\Java"
   [launch]   Using CLASSPATH:       "C:\Programme\activiti-5.6\apps\apache-tomcat-6.0.32\bin\bootstrap.jar"

explorer.browser.open:

demo.start:

BUILD SUCCESSFUL
Total time: 19 seconds
=======================================

Even after I retry nothing changes. I tried it with the tomcat 7.0 version too, with the same effect.

I run a Dell Inspiron 9400
Intel Core 2 CPU T5600@1,83 GHz, 3,25/4 GB RAM
on Windows XP Professional SP3

Greetings from Cologne
Stefan
10 REPLIES 10

jbarrez
Star Contributor
Star Contributor
Stefan, can you post your Tomcat logs (catalina.out). There has to be a stacktrace there.

stefanthiel
Champ in-the-making
Champ in-the-making
Hey Joram,

thanks a lot for your question and the hint for the tomcat-logs 😉

Here's what it did on August 2nd:

02.08.2011 20:29:35 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
02.08.2011 20:29:35 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
02.08.2011 20:29:41 org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
02.08.2011 20:29:41 org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
02.08.2011 20:29:41 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 7084 ms
02.08.2011 20:29:41 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
02.08.2011 20:29:41 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
02.08.2011 20:29:41 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
02.08.2011 20:29:42 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
02.08.2011 20:29:43 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
02.08.2011 20:29:43 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
02.08.2011 20:29:44 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
02.08.2011 20:29:44 org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
02.08.2011 20:29:44 org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
02.08.2011 20:29:44 org.apache.catalina.startup.Catalina start
INFO: Server startup in 3473 ms
02.08.2011 20:31:01 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
02.08.2011 20:31:01 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
02.08.2011 20:31:02 org.apache.coyote.http11.Http11AprProtocol init
SCHWERWIEGEND: Error initializing endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden. 
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:649)
at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1022)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:838)
at org.apache.catalina.startup.Catalina.load(Catalina.java:538)
at org.apache.catalina.startup.Catalina.load(Catalina.java:562)
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.load(Bootstrap.java:261)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.08.2011 20:31:02 org.apache.catalina.core.StandardService initialize
SCHWERWIEGEND: Failed to initialize connector [Connector[HTTP/1.1-8080]]
LifecycleException:  Protocol handler initialization failed: java.lang.Exception: Socket bind failed: [730048] Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden. 
at org.apache.catalina.connector.Connector.initialize(Connector.java:1024)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:838)
at org.apache.catalina.startup.Catalina.load(Catalina.java:538)
at org.apache.catalina.startup.Catalina.load(Catalina.java:562)
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.load(Bootstrap.java:261)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.08.2011 20:31:02 org.apache.coyote.ajp.AjpAprProtocol init
SCHWERWIEGEND: Error initializing endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden. 
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:649)
at org.apache.coyote.ajp.AjpAprProtocol.init(AjpAprProtocol.java:160)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1022)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:838)
at org.apache.catalina.startup.Catalina.load(Catalina.java:538)
at org.apache.catalina.startup.Catalina.load(Catalina.java:562)
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.load(Bootstrap.java:261)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.08.2011 20:31:02 org.apache.catalina.core.StandardService initialize
SCHWERWIEGEND: Failed to initialize connector [Connector[AJP/1.3-8009]]
LifecycleException:  Protocol handler initialization failed: java.lang.Exception: Socket bind failed: [730048] Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden. 
at org.apache.catalina.connector.Connector.initialize(Connector.java:1024)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:838)
at org.apache.catalina.startup.Catalina.load(Catalina.java:538)
at org.apache.catalina.startup.Catalina.load(Catalina.java:562)
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.load(Bootstrap.java:261)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.08.2011 20:31:02 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 892 ms
02.08.2011 20:31:02 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
02.08.2011 20:31:02 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
02.08.2011 20:31:02 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
02.08.2011 20:31:02 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
02.08.2011 20:31:02 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
02.08.2011 20:31:02 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
02.08.2011 20:31:02 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
02.08.2011 20:31:03 org.apache.coyote.http11.Http11AprProtocol start
SCHWERWIEGEND: Error starting endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden. 
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:649)
at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:756)
at org.apache.coyote.http11.Http11AprProtocol.start(Http11AprProtocol.java:137)
at org.apache.catalina.connector.Connector.start(Connector.java:1095)
at org.apache.catalina.core.StandardService.start(StandardService.java:540)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
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)
02.08.2011 20:31:03 org.apache.catalina.core.StandardService start
SCHWERWIEGEND: Failed to start connector [Connector[HTTP/1.1-8080]]
LifecycleException:  service.getName(): "Catalina";  Protocol handler start failed: java.lang.Exception: Socket bind failed: [730048] Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden. 
at org.apache.catalina.connector.Connector.start(Connector.java:1102)
at org.apache.catalina.core.StandardService.start(StandardService.java:540)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
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)
02.08.2011 20:31:03 org.apache.coyote.ajp.AjpAprProtocol start
SCHWERWIEGEND: Error starting endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden. 
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:649)
at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:756)
at org.apache.coyote.ajp.AjpAprProtocol.start(AjpAprProtocol.java:188)
at org.apache.catalina.connector.Connector.start(Connector.java:1095)
at org.apache.catalina.core.StandardService.start(StandardService.java:540)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
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)
02.08.2011 20:31:03 org.apache.catalina.core.StandardService start
SCHWERWIEGEND: Failed to start connector [Connector[AJP/1.3-8009]]
LifecycleException:  service.getName(): "Catalina";  Protocol handler start failed: java.lang.Exception: Socket bind failed: [730048] Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden. 
at org.apache.catalina.connector.Connector.start(Connector.java:1102)
at org.apache.catalina.core.StandardService.start(StandardService.java:540)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
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)
02.08.2011 20:31:03 org.apache.catalina.startup.Catalina start
INFO: Server startup in 806 ms
02.08.2011 20:31:03 org.apache.catalina.core.StandardServer await
SCHWERWIEGEND: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:406)
at org.apache.catalina.startup.Catalina.await(Catalina.java:676)
at org.apache.catalina.startup.Catalina.start(Catalina.java:628)
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)
02.08.2011 20:31:03 org.apache.coyote.http11.Http11AprProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
02.08.2011 20:31:03 org.apache.coyote.ajp.AjpAprProtocol pause
INFO: Pausing Coyote AJP/1.3 on ajp-8009
02.08.2011 20:31:04 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
02.08.2011 20:31:04 org.apache.coyote.http11.Http11AprProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
02.08.2011 20:31:04 org.apache.coyote.ajp.AjpAprProtocol destroy
INFO: Stopping Coyote AJP/1.3 on ajp-8009
02.08.2011 20:35:30 org.apache.coyote.http11.Http11AprProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
02.08.2011 20:35:30 org.apache.coyote.ajp.AjpAprProtocol pause
INFO: Pausing Coyote AJP/1.3 on ajp-8009
02.08.2011 20:35:31 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
02.08.2011 20:35:31 org.apache.coyote.http11.Http11AprProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
02.08.2011 20:35:31 org.apache.coyote.ajp.AjpAprProtocol destroy
INFO: Stopping Coyote AJP/1.3 on ajp-8009

and that's what it said today, when I tried again:

31.08.2011 20:44:18 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
31.08.2011 20:44:19 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
31.08.2011 20:44:23 org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
31.08.2011 20:44:23 org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
31.08.2011 20:44:23 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 6418 ms
31.08.2011 20:44:23 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
31.08.2011 20:44:24 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
31.08.2011 20:44:24 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
31.08.2011 20:44:25 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
31.08.2011 20:44:25 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
31.08.2011 20:44:25 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
31.08.2011 20:44:25 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
31.08.2011 20:44:25 org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
31.08.2011 20:44:25 org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
31.08.2011 20:44:25 org.apache.catalina.startup.Catalina start
INFO: Server startup in 2179 ms
31.08.2011 20:44:35 org.apache.coyote.http11.Http11AprProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
31.08.2011 20:44:35 org.apache.coyote.ajp.AjpAprProtocol pause
INFO: Pausing Coyote AJP/1.3 on ajp-8009
31.08.2011 20:44:36 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
31.08.2011 20:44:36 org.apache.coyote.http11.Http11AprProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
31.08.2011 20:44:36 org.apache.coyote.ajp.AjpAprProtocol destroy
INFO: Stopping Coyote AJP/1.3 on ajp-8009
31.08.2011 20:46:03 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
31.08.2011 20:46:03 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
31.08.2011 20:46:04 org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
31.08.2011 20:46:04 org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
31.08.2011 20:46:04 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 826 ms
31.08.2011 20:46:04 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
31.08.2011 20:46:04 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
31.08.2011 20:46:04 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
31.08.2011 20:46:04 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
31.08.2011 20:46:04 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
31.08.2011 20:46:04 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
31.08.2011 20:46:05 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
31.08.2011 20:46:05 org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
31.08.2011 20:46:05 org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
31.08.2011 20:46:05 org.apache.catalina.startup.Catalina start
INFO: Server startup in 785 ms
31.08.2011 20:46:39 org.apache.coyote.http11.Http11AprProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
31.08.2011 20:46:39 org.apache.coyote.ajp.AjpAprProtocol pause
INFO: Pausing Coyote AJP/1.3 on ajp-8009
31.08.2011 20:46:40 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
31.08.2011 20:46:40 org.apache.coyote.http11.Http11AprProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
31.08.2011 20:46:40 org.apache.coyote.ajp.AjpAprProtocol destroy
INFO: Stopping Coyote AJP/1.3 on ajp-8009

Greets!
Stefan

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
In your first try there probably already was a Tomat running. On your last try I do not see an error anywhere

vnama
Champ in-the-making
Champ in-the-making
I am having problems installing the demo, and running activiti-explorer. I had this running properly before, and then my browser showed a blank white page when I tried to run explorer. I removed activiti and tried re-installing and now the demo won't even install anymore. I think it may have to do with the database connection, but I'm not sure. I've checked that my JAVA_HOME points to my jdk, and that ANT_HOME is corrent. Thank you in advance for any assistance that will help me get the explorer working again.

Console Output
Buildfile: d:\vnama\Downloads\activiti-5.8\activiti-5.8\setup\build.xml

demo.install:
     [echo] installing demo…

internal.define.jdbc.driver.libs:

internal.build.webapps:
    [mkdir] Created dir: d:\vnama\Downloads\activiti-5.8\activiti-5.8\setup\build\webapps
     [copy] Copying 550 files to d:\vnama\Downloads\activiti-5.8\activiti-5.8\setup\build\webapps
     [copy] Copied 75 empty directories to 2 empty directories under d:\vnama\Downloads\activiti-5.8\activiti-5.8\setup\build\webapps
     [copy] Copying 35 files to d:\vnama\Downloads\activiti-5.8\activiti-5.8\setup\build\webapps\activiti-explorer.war\WEB-INF\lib
[propertyfile] Updating property file: d:\vnama\Downloads\activiti-5.8\activiti-5.8\setup\build\webapps\activiti-explorer.war\WEB-INF\classes\db.properties
     [copy] Copying 69 files to d:\vnama\Downloads\activiti-5.8\activiti-5.8\setup\build\webapps\activiti-rest.war\WEB-INF\lib

internal.db.install.h2:
     [echo] Installing H2 database in ../apps/h2
    [mkdir] Created dir: d:\vnama\Downloads\activiti-5.8\activiti-5.8\apps\h2
     [copy] Copying 7 files to d:\vnama\Downloads\activiti-5.8\activiti-5.8\apps\h2

internal.db.install.h2.unnecessary:

internal.db.install.unsupported:

h2.install:

internal.cfg.create:
    [mkdir] Created dir: d:\vnama\Downloads\activiti-5.8\activiti-5.8\setup\build\activiti-cfg
     [copy] Copying 1 file to d:\vnama\Downloads\activiti-5.8\activiti-5.8\setup\build\activiti-cfg
      [zip] Building zip: d:\vnama\Downloads\activiti-5.8\activiti-5.8\setup\build\activiti-cfg.jar
     [echo] copying configuration to ../workspace/activiti-engine-examples/src/main/config
    [mkdir] Created dir: d:\vnama\Downloads\activiti-5.8\activiti-5.8\workspace\activiti-engine-examples\src\main\config
    [unzip] Expanding: d:\vnama\Downloads\activiti-5.8\activiti-5.8\setup\build\activiti-cfg.jar into d:\vnama\Downloads\activiti-5.8\activiti-5.8\workspace\activiti-engine-examples\src\main\config

internal.classpath.libs:

internal.taskdef.launch:

h2.start:
     [echo] starting H2 database…
   [launch] launching cmd 'd:\vnama\Downloads\activiti-5.8\activiti-5.8\apps\h2\h2.start.bat ' in dir 'd:\vnama\Downloads\activiti-5.8\activiti-5.8\apps\h2'
   [launch] waiting for launch completion msg 'TCP server running on'…
   [launch]   java.lang.NoClassDefFoundError: org/h2/tools/Server
   [launch]   Caused by: java.lang.ClassNotFoundException: org.h2.tools.Server
   [launch]    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
   [launch]    at java.security.AccessController.doPrivileged(Native Method)
   [launch]    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
   [launch]    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
   [launch]    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
   [launch]    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
   [launch]   Could not find the main class: org.h2.tools.Server.  Program will exit.
   [launch]   Exception in thread "main"
   [launch] launched process completed
     [echo] H2 database started

internal.cfg.create:
     [copy] Copying 1 file to d:\vnama\Downloads\activiti-5.8\activiti-5.8\setup\build\activiti-cfg
     [echo] copying configuration to ../workspace/activiti-engine-examples/src/main/config
    [unzip] Expanding: d:\vnama\Downloads\activiti-5.8\activiti-5.8\setup\build\activiti-cfg.jar into d:\vnama\Downloads\activiti-5.8\activiti-5.8\workspace\activiti-engine-examples\src\main\config

internal.classpath.libs:

internal.db.create:
     [echo] creating db
     [java] Jan 11, 2012 4:13:36 PM org.activiti.engine.ProcessEngines initProcessEnginFromResource
     [java] INFO: initializing process engine for resource jar:file:/d:/vnama/Downloads/activiti-5.8/activiti-5.8/setup/build/activiti-cfg.jar!/activiti.cfg.xml
     [java] log4j:WARN No appenders could be found for logger (org.springframework.beans.factory.xml.XmlBeanDefinitionReader).
     [java] log4j:WARN Please initialize the log4j system properly.
     [java] ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider com.sun.script.javascript.RhinoScriptEngineFactory not found
     [java] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
     [java] SLF4J: Defaulting to no-operation (NOP) logger implementation
     [java] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
     [java] org.h2.jdbc.JdbcSQLException: Connection is broken: "session closed" [90067-132]
     [java]  at org.h2.message.DbException.getJdbcSQLException(DbException.java:316)
     [java]  at org.h2.message.DbException.get(DbException.java:167)
     [java]  at org.h2.message.DbException.get(DbException.java:144)
     [java]  at org.h2.engine.SessionRemote.checkClosed(SessionRemote.java:447)
     [java]  at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:326)
     [java]  at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:219)
     [java]  at org.h2.engine.SessionRemote.createSession(SessionRemote.java:213)
     [java]  at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110)
     [java]  at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
     [java]  at org.h2.Driver.connect(Driver.java:58)
     [java]  at java.sql.DriverManager.getConnection(DriverManager.java:582)
     [java]  at java.sql.DriverManager.getConnection(DriverManager.java:185)
     [java]  at org.apache.ibatis.datasource.unpooled.UnpooledDataSource.getConnection(UnpooledDataSource.java:64)
     [java]  at org.apache.ibatis.datasource.pooled.PooledDataSource.popConnection(PooledDataSource.java:349)
     [java]  at org.apache.ibatis.datasource.pooled.PooledDataSource.getConnection(PooledDataSource.java:55)
     [java]  at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.initDatabaseType(ProcessEngineConfigurationImpl.java:475)
     [java]  at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.initDataSource(ProcessEngineConfigurationImpl.java:438)
     [java]  at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.init(ProcessEngineConfigurationImpl.java:293)
     [java]  at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:270)
     [java]  at org.activiti.engine.ProcessEngines.buildProcessEngine(ProcessEngines.java:177)
     [java]  at org.activiti.engine.ProcessEngines.initProcessEnginFromResource(ProcessEngines.java:150)
     [java]  at org.activiti.engine.ProcessEngines.init(ProcessEngines.java:88)
     [java]  at org.activiti.engine.ProcessEngines.getProcessEngine(ProcessEngines.java:207)
     [java]  at org.activiti.engine.ProcessEngines.getDefaultProcessEngine(ProcessEngines.java:200)
     [java]  at org.activiti.engine.impl.db.DbSchemaUpdate.main(DbSchemaUpdate.java:34)
     [java]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]  at java.lang.reflect.Method.invoke(Method.java:597)
     [java]  at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
     [java]  at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
     [java]  at org.apache.tools.ant.taskdefs.Java.run(Java.java:771)
     [java]  at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:221)
     [java]  at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
     [java]  at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
     [java]  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
     [java]  at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [java]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]  at java.lang.reflect.Method.invoke(Method.java:597)
     [java]  at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [java]  at org.apache.tools.ant.Task.perform(Task.java:348)
     [java]  at org.apache.tools.ant.Target.execute(Target.java:390)
     [java]  at org.apache.tools.ant.Target.performTasks(Target.java:411)
     [java]  at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
     [java]  at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
     [java]  at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
     [java]  at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
     [java]  at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
     [java]  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
     [java]  at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [java]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]  at java.lang.reflect.Method.invoke(Method.java:597)
     [java]  at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [java]  at org.apache.tools.ant.Task.perform(Task.java:348)
     [java]  at org.apache.tools.ant.Target.execute(Target.java:390)
     [java]  at org.apache.tools.ant.Target.performTasks(Target.java:411)
     [java]  at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
     [java]  at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
     [java]  at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [java]  at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
     [java]  at org.apache.tools.ant.Main.runBuild(Main.java:809)
     [java]  at org.apache.tools.ant.Main.startAnt(Main.java:217)
     [java]  at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
     [java]  at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
     [java] Jan 11, 2012 4:14:51 PM org.activiti.engine.impl.interceptor.CommandContext close
     [java] SEVERE: Error while closing command context
     [java] org.apache.ibatis.exceptions.PersistenceException:
     [java] ### Error opening session.  Cause: org.h2.jdbc.JdbcSQLException: Connection is broken: "session closed" [90067-132]
     [java] ### The error may exist in org/activiti/db/mapping/entity/VariableInstance.xml
     [java] ### The error occurred while processing mapper_resultMap[byteArrayResultMap_postgres]
     [java] ### Cause: org.h2.jdbc.JdbcSQLException: Connection is broken: "session closed" [90067-132]
     [java]  at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8)
     [java]  at org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSessionFromDataSource(DefaultSqlSessionFactory.java:81)
     [java]  at org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSession(DefaultSqlSessionFactory.java:32)
     [java]  at org.activiti.engine.impl.db.DbSqlSession.<init>(DbSqlSession.java:86)
     [java]  at org.activiti.engine.impl.db.DbSqlSessionFactory.openSession(DbSqlSessionFactory.java:77)
     [java]  at org.activiti.engine.impl.interceptor.CommandContext.getSession(CommandContext.java:177)
     [java]  at org.activiti.engine.impl.SchemaOperationsProcessEngineBuild.execute(SchemaOperationsProcessEngineBuild.java:25)
     [java]  at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
     [java]  at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:42)
     [java]  at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
     [java]  at org.activiti.engine.impl.ProcessEngineImpl.<init>(ProcessEngineImpl.java:77)
     [java]  at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:271)
     [java]  at org.activiti.engine.ProcessEngines.buildProcessEngine(ProcessEngines.java:177)
     [java]  at org.activiti.engine.ProcessEngines.initProcessEnginFromResource(ProcessEngines.java:150)
     [java]  at org.activiti.engine.ProcessEngines.init(ProcessEngines.java:88)
     [java]  at org.activiti.engine.ProcessEngines.getProcessEngine(ProcessEngines.java:207)
     [java]  at org.activiti.engine.ProcessEngines.getDefaultProcessEngine(ProcessEngines.java:200)
     [java]  at org.activiti.engine.impl.db.DbSchemaUpdate.main(DbSchemaUpdate.java:34)
     [java]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]  at java.lang.reflect.Method.invoke(Method.java:597)
     [java]  at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
     [java]  at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
     [java]  at org.apache.tools.ant.taskdefs.Java.run(Java.java:771)
     [java]  at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:221)
     [java]  at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
     [java]  at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
     [java]  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
     [java]  at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [java]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]  at java.lang.reflect.Method.invoke(Method.java:597)
     [java]  at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [java]  at org.apache.tools.ant.Task.perform(Task.java:348)
     [java]  at org.apache.tools.ant.Target.execute(Target.java:390)
     [java]  at org.apache.tools.ant.Target.performTasks(Target.java:411)
     [java]  at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
     [java]  at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
     [java]  at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
     [java]  at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
     [java]  at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
     [java]  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
     [java]  at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [java]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]  at java.lang.reflect.Method.invoke(Method.java:597)
     [java]  at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [java]  at org.apache.tools.ant.Task.perform(Task.java:348)
     [java]  at org.apache.tools.ant.Target.execute(Target.java:390)
     [java]  at org.apache.tools.ant.Target.performTasks(Target.java:411)
     [java]  at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
     [java]  at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
     [java]  at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [java]  at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
     [java]  at org.apache.tools.ant.Main.runBuild(Main.java:809)
     [java]  at org.apache.tools.ant.Main.startAnt(Main.java:217)
     [java]  at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
     [java]  at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
     [java] Caused by: org.h2.jdbc.JdbcSQLException: Connection is broken: "session closed" [90067-132]
     [java]  at org.h2.message.DbException.getJdbcSQLException(DbException.java:316)
     [java]  at org.h2.message.DbException.get(DbException.java:167)
     [java]  at org.h2.message.DbException.get(DbException.java:144)
     [java]  at org.h2.engine.SessionRemote.checkClosed(SessionRemote.java:447)
     [java]  at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:326)
     [java]  at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:219)
     [java]  at org.h2.engine.SessionRemote.createSession(SessionRemote.java:213)
     [java]  at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110)
     [java]  at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
     [java]  at org.h2.Driver.connect(Driver.java:58)
     [java]  at java.sql.DriverManager.getConnection(DriverManager.java:582)
     [java]  at java.sql.DriverManager.getConnection(DriverManager.java:185)
     [java]  at org.apache.ibatis.datasource.unpooled.UnpooledDataSource.getConnection(UnpooledDataSource.java:64)
     [java]  at org.apache.ibatis.datasource.pooled.PooledDataSource.popConnection(PooledDataSource.java:349)
     [java]  at org.apache.ibatis.datasource.pooled.PooledDataSource.getConnection(PooledDataSource.java:55)
     [java]  at org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSessionFromDataSource(DefaultSqlSessionFactory.java:72)
     [java]  … 55 more
     [java] Jan 11, 2012 4:15:29 PM org.activiti.engine.impl.cfg.standalone.StandaloneMybatisTransactionContext rollback
     [java] INFO: Exception during transaction:
     [java] ### Error opening session.  Cause: org.h2.jdbc.JdbcSQLException: Connection is broken: "session closed" [90067-132]
     [java] ### Cause: org.h2.jdbc.JdbcSQLException: Connection is broken: "session closed" [90067-132]
     [java] Jan 11, 2012 4:15:29 PM org.activiti.engine.impl.interceptor.CommandContext exception
     [java] SEVERE: masked exception in command context. for root cause, see below as it will be rethrown later.
     [java] org.apache.ibatis.exceptions.PersistenceException:
     [java] ### Error opening session.  Cause: org.h2.jdbc.JdbcSQLException: Connection is broken: "session closed" [90067-132]
     [java] ### Cause: org.h2.jdbc.JdbcSQLException: Connection is broken: "session closed" [90067-132]
     [java]  at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8)
     [java]  at org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSessionFromDataSource(DefaultSqlSessionFactory.java:81)
     [java]  at org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSession(DefaultSqlSessionFactory.java:32)
     [java]  at org.activiti.engine.impl.db.DbSqlSession.<init>(DbSqlSession.java:86)
     [java]  at org.activiti.engine.impl.db.DbSqlSessionFactory.openSession(DbSqlSessionFactory.java:77)
     [java]  at org.activiti.engine.impl.interceptor.CommandContext.getSession(CommandContext.java:177)
     [java]  at org.activiti.engine.impl.cfg.standalone.StandaloneMybatisTransactionContext.getDbSqlSession(StandaloneMybatisTransactionContext.java:77)
     [java]  at org.activiti.engine.impl.cfg.standalone.StandaloneMybatisTransactionContext.rollback(StandaloneMybatisTransactionContext.java:91)
     [java]  at org.activiti.engine.impl.interceptor.CommandContext.close(CommandContext.java:120)
     [java]  at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:49)
     [java]  at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
     [java]  at org.activiti.engine.impl.ProcessEngineImpl.<init>(ProcessEngineImpl.java:77)
     [java]  at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:271)
     [java]  at org.activiti.engine.ProcessEngines.buildProcessEngine(ProcessEngines.java:177)
     [java]  at org.activiti.engine.ProcessEngines.initProcessEnginFromResource(ProcessEngines.java:150)
     [java]  at org.activiti.engine.ProcessEngines.init(ProcessEngines.java:88)
     [java]  at org.activiti.engine.ProcessEngines.getProcessEngine(ProcessEngines.java:207)
     [java]  at org.activiti.engine.ProcessEngines.getDefaultProcessEngine(ProcessEngines.java:200)
     [java]  at org.activiti.engine.impl.db.DbSchemaUpdate.main(DbSchemaUpdate.java:34)
     [java]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]  at java.lang.reflect.Method.invoke(Method.java:597)
     [java]  at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
     [java]  at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
     [java]  at org.apache.tools.ant.taskdefs.Java.run(Java.java:771)
     [java]  at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:221)
     [java]  at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
     [java]  at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
     [java]  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
     [java]  at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [java]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]  at java.lang.reflect.Method.invoke(Method.java:597)
     [java]  at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [java]  at org.apache.tools.ant.Task.perform(Task.java:348)
     [java]  at org.apache.tools.ant.Target.execute(Target.java:390)
     [java]  at org.apache.tools.ant.Target.performTasks(Target.java:411)
     [java]  at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
     [java]  at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
     [java]  at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
     [java]  at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
     [java]  at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
     [java]  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
     [java]  at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [java]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]  at java.lang.reflect.Method.invoke(Method.java:597)
     [java]  at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [java]  at org.apache.tools.ant.Task.perform(Task.java:348)
     [java]  at org.apache.tools.ant.Target.execute(Target.java:390)
     [java]  at org.apache.tools.ant.Target.performTasks(Target.java:411)
     [java]  at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
     [java]  at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
     [java]  at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [java]  at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
     [java]  at org.apache.tools.ant.Main.runBuild(Main.java:809)
     [java]  at org.apache.tools.ant.Main.startAnt(Main.java:217)
     [java]  at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
     [java]  at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
     [java] Caused by: org.h2.jdbc.JdbcSQLException: Connection is broken: "session closed" [90067-132]
     [java]  at org.h2.message.DbException.getJdbcSQLException(DbException.java:316)
     [java]  at org.h2.message.DbException.get(DbException.java:167)
     [java]  at org.h2.message.DbException.get(DbException.java:144)
     [java]  at org.h2.engine.SessionRemote.checkClosed(SessionRemote.java:447)
     [java]  at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:326)
     [java]  at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:219)
     [java]  at org.h2.engine.SessionRemote.createSession(SessionRemote.java:213)
     [java]  at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110)
     [java]  at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
     [java]  at org.h2.Driver.connect(Driver.java:58)
     [java]  at java.sql.DriverManager.getConnection(DriverManager.java:582)
     [java]  at java.sql.DriverManager.getConnection(DriverManager.java:185)
     [java]  at org.apache.ibatis.datasource.unpooled.UnpooledDataSource.getConnection(UnpooledDataSource.java:64)
     [java]  at org.apache.ibatis.datasource.pooled.PooledDataSource.popConnection(PooledDataSource.java:349)
     [java]  at org.apache.ibatis.datasource.pooled.PooledDataSource.getConnection(PooledDataSource.java:55)
     [java]  at org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSessionFromDataSource(DefaultSqlSessionFactory.java:72)
     [java]  … 56 more
     [java] Jan 11, 2012 4:15:29 PM org.activiti.engine.ProcessEngines initProcessEnginFromResource
     [java] SEVERE: Exception while initializing process engine :
     [java] ### Error opening session.  Cause: org.h2.jdbc.JdbcSQLException: Connection is broken: "session closed" [90067-132]
     [java] ### The error may exist in org/activiti/db/mapping/entity/VariableInstance.xml
     [java] ### The error occurred while processing mapper_resultMap[byteArrayResultMap_postgres]
     [java] ### Cause: org.h2.jdbc.JdbcSQLException: Connection is broken: "session closed" [90067-132]
     [java] org.apache.ibatis.exceptions.PersistenceException:
     [java] ### Error opening session.  Cause: org.h2.jdbc.JdbcSQLException: Connection is broken: "session closed" [90067-132]
     [java] ### The error may exist in org/activiti/db/mapping/entity/VariableInstance.xml
     [java] ### The error occurred while processing mapper_resultMap[byteArrayResultMap_postgres]
     [java] ### Cause: org.h2.jdbc.JdbcSQLException: Connection is broken: "session closed" [90067-132]
     [java]  at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8)
     [java]  at org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSessionFromDataSource(DefaultSqlSessionFactory.java:81)
     [java]  at org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSession(DefaultSqlSessionFactory.java:32)
     [java]  at org.activiti.engine.impl.db.DbSqlSession.<init>(DbSqlSession.java:86)
     [java]  at org.activiti.engine.impl.db.DbSqlSessionFactory.openSession(DbSqlSessionFactory.java:77)
     [java]  at org.activiti.engine.impl.interceptor.CommandContext.getSession(CommandContext.java:177)
     [java]  at org.activiti.engine.impl.SchemaOperationsProcessEngineBuild.execute(SchemaOperationsProcessEngineBuild.java:25)
     [java]  at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
     [java]  at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:42)
     [java]  at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
     [java]  at org.activiti.engine.impl.ProcessEngineImpl.<init>(ProcessEngineImpl.java:77)
     [java]  at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:271)
     [java]  at org.activiti.engine.ProcessEngines.buildProcessEngine(ProcessEngines.java:177)
     [java]  at org.activiti.engine.ProcessEngines.initProcessEnginFromResource(ProcessEngines.java:150)
     [java]  at org.activiti.engine.ProcessEngines.init(ProcessEngines.java:88)
     [java]  at org.activiti.engine.ProcessEngines.getProcessEngine(ProcessEngines.java:207)
     [java]  at org.activiti.engine.ProcessEngines.getDefaultProcessEngine(ProcessEngines.java:200)
     [java]  at org.activiti.engine.impl.db.DbSchemaUpdate.main(DbSchemaUpdate.java:34)
     [java]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]  at java.lang.reflect.Method.invoke(Method.java:597)
     [java]  at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
     [java]  at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
     [java]  at org.apache.tools.ant.taskdefs.Java.run(Java.java:771)
     [java]  at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:221)
     [java]  at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
     [java]  at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
     [java]  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
     [java]  at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [java]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]  at java.lang.reflect.Method.invoke(Method.java:597)
     [java]  at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [java]  at org.apache.tools.ant.Task.perform(Task.java:348)
     [java]  at org.apache.tools.ant.Target.execute(Target.java:390)
     [java]  at org.apache.tools.ant.Target.performTasks(Target.java:411)
     [java]  at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
     [java]  at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
     [java]  at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
     [java]  at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
     [java]  at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
     [java]  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
     [java]  at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [java]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]  at java.lang.reflect.Method.invoke(Method.java:597)
     [java]  at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [java]  at org.apache.tools.ant.Task.perform(Task.java:348)
     [java]  at org.apache.tools.ant.Target.execute(Target.java:390)
     [java]  at org.apache.tools.ant.Target.performTasks(Target.java:411)
     [java]  at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
     [java]  at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
     [java]  at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [java]  at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
     [java]  at org.apache.tools.ant.Main.runBuild(Main.java:809)
     [java]  at org.apache.tools.ant.Main.startAnt(Main.java:217)
     [java]  at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
     [java]  at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
     [java] Caused by: org.h2.jdbc.JdbcSQLException: Connection is broken: "session closed" [90067-132]
     [java]  at org.h2.message.DbException.getJdbcSQLException(DbException.java:316)
     [java]  at org.h2.message.DbException.get(DbException.java:167)
     [java]  at org.h2.message.DbException.get(DbException.java:144)
     [java]  at org.h2.engine.SessionRemote.checkClosed(SessionRemote.java:447)
     [java]  at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:326)
     [java]  at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:219)
     [java]  at org.h2.engine.SessionRemote.createSession(SessionRemote.java:213)
     [java]  at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110)
     [java]  at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
     [java]  at org.h2.Driver.connect(Driver.java:58)
     [java]  at java.sql.DriverManager.getConnection(DriverManager.java:582)
     [java]  at java.sql.DriverManager.getConnection(DriverManager.java:185)
     [java]  at org.apache.ibatis.datasource.unpooled.UnpooledDataSource.getConnection(UnpooledDataSource.java:64)
     [java]  at org.apache.ibatis.datasource.pooled.PooledDataSource.popConnection(PooledDataSource.java:349)
     [java]  at org.apache.ibatis.datasource.pooled.PooledDataSource.getConnection(PooledDataSource.java:55)
     [java]  at org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSessionFromDataSource(DefaultSqlSessionFactory.java:72)
     [java]  … 55 more
     [java] java.lang.NullPointerException
     [java]  at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:194)
     [java]  at org.apache.tools.ant.taskdefs.Java.run(Java.java:771)
     [java]  at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:221)
     [java]  at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
     [java]  at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
     [java]  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
     [java]  at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [java]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]  at java.lang.reflect.Method.invoke(Method.java:597)
     [java]  at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [java]  at org.apache.tools.ant.Task.perform(Task.java:348)
     [java]  at org.apache.tools.ant.Target.execute(Target.java:390)
     [java]  at org.apache.tools.ant.Target.performTasks(Target.java:411)
     [java]  at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
     [java]  at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
     [java]  at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
     [java]  at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
     [java]  at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
     [java]  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
     [java]  at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [java]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]  at java.lang.reflect.Method.invoke(Method.java:597)
     [java]  at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [java]  at org.apache.tools.ant.Task.perform(Task.java:348)
     [java]  at org.apache.tools.ant.Target.execute(Target.java:390)
     [java]  at org.apache.tools.ant.Target.performTasks(Target.java:411)
     [java]  at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
     [java]  at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
     [java]  at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [java]  at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
     [java]  at org.apache.tools.ant.Main.runBuild(Main.java:809)
     [java]  at org.apache.tools.ant.Main.startAnt(Main.java:217)
     [java]  at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
     [java]  at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
     [java] Caused by: java.lang.NullPointerException
     [java]  at org.activiti.engine.impl.db.DbSchemaUpdate.main(DbSchemaUpdate.java:35)
     [java]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]  at java.lang.reflect.Method.invoke(Method.java:597)
     [java]  at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
     [java]  at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
     [java]  … 33 more
     [java] Java Result: -1

internal.cfg.create:
     [copy] Copying 1 file to d:\vnama\Downloads\activiti-5.8\activiti-5.8\setup\build\activiti-cfg
      [zip] Building zip: d:\vnama\Downloads\activiti-5.8\activiti-5.8\setup\build\activiti-cfg.jar
     [echo] copying configuration to ../workspace/activiti-engine-examples/src/main/config
    [unzip] Expanding: d:\vnama\Downloads\activiti-5.8\activiti-5.8\setup\build\activiti-cfg.jar into d:\vnama\Downloads\activiti-5.8\activiti-5.8\workspace\activiti-engine-examples\src\main\config

internal.classpath.libs:

internal.db.demo.data:
     [echo] populating demo data
    [mkdir] Created dir: d:\vnama\Downloads\activiti-5.8\activiti-5.8\setup\build\demo
     [copy] Copying 1 file to d:\vnama\Downloads\activiti-5.8\activiti-5.8\setup\build\demo

BUILD FAILED
d:\vnama\Downloads\activiti-5.8\activiti-5.8\setup\build.xml:127: The following error occurred while executing this line:
d:\vnama\Downloads\activiti-5.8\activiti-5.8\setup\build.xml:174: org.h2.jdbc.JdbcSQLException: Connection is broken: "session closed" [90067-132]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:316)
at org.h2.message.DbException.get(DbException.java:167)
at org.h2.message.DbException.get(DbException.java:144)
at org.h2.engine.SessionRemote.checkClosed(SessionRemote.java:447)
at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:326)
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:219)
at org.h2.engine.SessionRemote.createSession(SessionRemote.java:213)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
at org.h2.Driver.connect(Driver.java:58)
at org.apache.tools.ant.taskdefs.JDBCTask.getConnection(JDBCTask.java:370)
at org.apache.tools.ant.taskdefs.SQLExec.getConnection(SQLExec.java:942)
at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:614)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Total time: 2 minutes 14 seconds



Tomcat Output
Jan 11, 2012 4:54:13 PM 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: C:\Program Files\Java\jdk1.6.0_30\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Java\jdk1.6.0_30\bin;C:\Program Files\Java\jre6\bin;D:\vnama\Downloads\apache-ant-1.8.2-bin\apache-ant-1.8.2\bin;D:\vnama\Downloads\apache-maven-3.0.3-bin\apache-maven-3.0.3\bin;.
Jan 11, 2012 4:54:14 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jan 11, 2012 4:54:14 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 363 ms
Jan 11, 2012 4:54:14 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 11, 2012 4:54:14 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
Jan 11, 2012 4:54:14 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Jan 11, 2012 4:54:14 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Jan 11, 2012 4:54:14 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory host-manager
Jan 11, 2012 4:54:14 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory manager
Jan 11, 2012 4:54:14 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Jan 11, 2012 4:54:14 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jan 11, 2012 4:54:14 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jan 11, 2012 4:54:14 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/15  config=null
Jan 11, 2012 4:54:14 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 452 ms
Jan 11, 2012 4:54:34 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory activiti-explorer
Jan 11, 2012 4:54:34 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(D:\vnama\Downloads\activiti-5.8\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
Jan 11, 2012 4:55:13 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jan 11, 2012 4:55:13 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/activiti-explorer] startup failed due to previous errors
Jan 11, 2012 4:55:13 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/activiti-explorer] registered the JDBC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Jan 11, 2012 4:55:13 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/activiti-explorer] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3c03dfcb]) and a value of type [org.apache.ibatis.executor.ErrorContext] (value [
### The error may exist in org/activiti/db/mapping/entity/VariableInstance.xml
### The error occurred while processing mapper_resultMap[byteArrayResultMap_postgres]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Jan 11, 2012 4:55:14 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory activiti-rest
Jan 11, 2012 4:55:14 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(D:\vnama\Downloads\activiti-5.8\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
Jan 11, 2012 4:55:14 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(D:\vnama\Downloads\activiti-5.8\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

ingo_ri
Champ in-the-making
Champ in-the-making
Hi vnama,

I think your installation is missing the h2-driver.jar (h2-1.2.132.jar)

Kind Regards,

Ingo

vnama
Champ in-the-making
Champ in-the-making
Thank you for the fast reply.

h2-1.2.132.jar is in my activiti-5.8\setup\files\dependencies\libs folder.

I'm not sure if it could be a missing file, because I have deleted the entire activiti folder, and re-downloaded and installed.
What could it be?

ingo_ri
Champ in-the-making
Champ in-the-making
Hello,

seems to be difficult now…

Maybe the h2-jar is corrupt?

if yes, then download the activiti-zip again.

Kind Regards,

Ingo

vnama
Champ in-the-making
Champ in-the-making
I've done that several times. It seems to work when I set  jdbc.url=jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000 in db.properties, but breaks when I set it to jdbc:h2:tcp://localhost/activiti

vnama
Champ in-the-making
Champ in-the-making
Does anyone know why I'm able to get the explorer running when I use an in-memory database? How can I save my processes even after the database is restarted?