AnsweredAssumed Answered

Unable to start simple demo.

Question asked by georgeferreira on Dec 22, 2010
Hi people, i am tring start up Activiti5 demo using "ant demo.start" command, but the script appear stuck in:

[root@localhost setup]# ant demo.start
Buildfile: build.xml

demo.install:
     [echo] installing demo

internal.define.jdbc.driver.libs:

build.webapps:
    [mkdir] Created dir: /aplicativos/active/setup/build/webapps
     [copy] Copying 956 files to /aplicativos/active/setup/build/webapps
     [copy] Copied 357 empty directories to 4 empty directories under /aplicativos/active/setup/build/webapps
     [copy] Copying 50 files to /aplicativos/active/setup/build/webapps/activiti-explorer.war/WEB-INF/lib
     [copy] Copying 50 files to /aplicativos/active/setup/build/webapps/activiti-probe.war/WEB-INF/lib
     [copy] Copying 50 files to /aplicativos/active/setup/build/webapps/activiti-cycle.war/WEB-INF/lib
     [copy] Copying 92 files to /aplicativos/active/setup/build/webapps/activiti-rest.war/WEB-INF/lib

h2.install:
    [mkdir] Created dir: /aplicativos/active/apps/h2
     [copy] Copying 7 files to /aplicativos/active/apps/h2

internal.classpath.libs:

internal.taskdef.launch:

h2.start:
   [launch] launching cmd '/aplicativos/active/apps/h2/h2.start.sh ' in dir '/aplicativos/active/apps/h2'
   [launch] waiting for launch completion msg 'TCP server running on'…
   [launch]   TCP server running on tcp://localhost:9092 (others can connect)

db.create:
     [echo] creating db

internal.classpath.libs:

internal.classpath.libs:

internal.db.create.engine:
      [sql] Executing resource: org/activiti/db/create/activiti.h2.create.sql
      [sql] 45 of 45 SQL statements executed successfully

internal.classpath.libs:

internal.db.create.cycle:
      [sql] Executing resource: org/activiti/db/cycle/create/activiti.h2.create.sql
      [sql] 7 of 7 SQL statements executed successfully

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

internal.classpath.libs:

db.demo.data:
     [echo] populating demo data
    [mkdir] Created dir: /aplicativos/active/setup/build/demo
     [copy] Copying 1 file to /aplicativos/active/setup/build/demo
      [sql] Executing resource: /aplicativos/active/setup/build/demo/h2.data.sql
      [sql] 26 of 26 SQL statements executed successfully

bar:

inflate.libs.and.deploy.cfg:

compile.classpath:

compile:

jar:

deploy:
     [copy] Copying 1 file to /aplicativos/active/apps/apache-tomcat-6.0.29/webapps/activiti-rest/WEB-INF/lib
[deploy-bar] Initializing process engine default
[deploy-bar] 22/12/2010 16:11:23 org.activiti.engine.ProcessEngines initProcessEnginFromResource
[deploy-bar] INFO: initializing process engine for resource file:/aplicativos/active/workspace/activiti-engine-examples/src/main/config/activiti.cfg.xml
[deploy-bar] 22/12/2010 16:11:24 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
[deploy-bar] INFO: Loading XML bean definitions from resource loaded through InputStream
[deploy-bar] 22/12/2010 16:11:28 org.activiti.engine.impl.ProcessEngineImpl <init>
[deploy-bar] INFO: ProcessEngine default created
[deploy-bar] 22/12/2010 16:11:28 org.activiti.engine.ProcessEngines initProcessEnginFromResource
[deploy-bar] INFO: initialised process engine default
[deploy-bar] Starting to deploy 1 files
[deploy-bar] Handling file /aplicativos/active/workspace/activiti-engine-examples/target/activiti-engine-examples.bar
[deploy-bar] deploying bar /aplicativos/active/workspace/activiti-engine-examples/target/activiti-engine-examples.bar
[deploy-bar] 22/12/2010 16:11:28 org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
[deploy-bar] INFO: Processing resource org/activiti/examples/taskforms/request.form
[deploy-bar] 22/12/2010 16:11:28 org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
[deploy-bar] INFO: Processing resource org/activiti/examples/taskforms/adjustRequest.form
[deploy-bar] 22/12/2010 16:11:28 org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
[deploy-bar] INFO: Processing resource org/activiti/examples/bpmn/usertask/taskcandidate/TaskCandidateTest.testMixedCandidateUserAndGroup.bpmn20.xml
[deploy-bar] 22/12/2010 16:11:28 org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
[deploy-bar] INFO: XMLSchema currently not supported as typeLanguage
[deploy-bar] 22/12/2010 16:11:28 org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
[deploy-bar] INFO: XPath currently not supported as expressionLanguage
[deploy-bar] 22/12/2010 16:11:28 org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
[deploy-bar] INFO: Processing resource org/activiti/examples/bpmn/usertask/taskassignee/TaskAssigneeTest.testTaskAssignee.bpmn20.xml
[deploy-bar] 22/12/2010 16:11:28 org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
[deploy-bar] INFO: XMLSchema currently not supported as typeLanguage
[deploy-bar] 22/12/2010 16:11:28 org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
[deploy-bar] INFO: XPath currently not supported as expressionLanguage
[deploy-bar] 22/12/2010 16:11:28 org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
[deploy-bar] INFO: Processing resource org/activiti/examples/taskforms/VacationRequest.bpmn20.xml
[deploy-bar] 22/12/2010 16:11:29 org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
[deploy-bar] INFO: XMLSchema currently not supported as typeLanguage
[deploy-bar] 22/12/2010 16:11:29 org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
[deploy-bar] INFO: XPath currently not supported as expressionLanguage
[deploy-bar] 22/12/2010 16:11:29 org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
[deploy-bar] INFO: Processing resource org/activiti/examples/taskforms/approve.form
[deploy-bar] 22/12/2010 16:11:29 org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
[deploy-bar] INFO: Processing resource org/activiti/examples/bpmn/event/timer/BoundaryTimerEventTest.testInterruptingTimerDuration.bpmn20.xml
[deploy-bar] 22/12/2010 16:11:29 org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
[deploy-bar] INFO: XMLSchema currently not supported as typeLanguage
[deploy-bar] 22/12/2010 16:11:29 org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
[deploy-bar] INFO: XPath currently not supported as expressionLanguage
[deploy-bar] 22/12/2010 16:11:29 org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
[deploy-bar] INFO: Processing resource org/activiti/examples/bpmn/usertask/taskcandidate/TaskCandidateTest.testSingleCandidateGroup.bpmn20.xml
[deploy-bar] 22/12/2010 16:11:29 org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
[deploy-bar] INFO: XMLSchema currently not supported as typeLanguage
[deploy-bar] 22/12/2010 16:11:29 org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
[deploy-bar] INFO: XPath currently not supported as expressionLanguage
[deploy-bar] 22/12/2010 16:11:29 org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
[deploy-bar] INFO: Processing resource org/activiti/examples/bpmn/usertask/FinancialReportProcess.bpmn20.xml
[deploy-bar] 22/12/2010 16:11:29 org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
[deploy-bar] INFO: XMLSchema currently not supported as typeLanguage
[deploy-bar] 22/12/2010 16:11:29 org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
[deploy-bar] INFO: XPath currently not supported as expressionLanguage
[deploy-bar] 22/12/2010 16:11:29 org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
[deploy-bar] INFO: Processing resource org/activiti/examples/bpmn/subprocess/SubProcessTest.fixSystemFailureProcess.bpmn20.xml
[deploy-bar] 22/12/2010 16:11:29 org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
[deploy-bar] INFO: XMLSchema currently not supported as typeLanguage
[deploy-bar] 22/12/2010 16:11:29 org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
[deploy-bar] INFO: XPath currently not supported as expressionLanguage
[deploy-bar] 22/12/2010 16:11:29 org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
[deploy-bar] INFO: Processing resource org/activiti/examples/bpmn/usertask/taskcandidate/TaskCandidateTest.testMultipleCandidateGroups.bpmn20.xml
[deploy-bar] 22/12/2010 16:11:29 org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
[deploy-bar] INFO: XMLSchema currently not supported as typeLanguage
[deploy-bar] 22/12/2010 16:11:29 org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
[deploy-bar] INFO: XPath currently not supported as expressionLanguage

internal.classpath.libs:

internal.taskdef.launch:

h2.stop:
   [launch] launching cmd '/aplicativos/active/apps/h2/h2.stop.sh ' in dir '/aplicativos/active/apps/h2'
   [launch] not waiting for a launch completion msg.
   [launch]   Shutting down TCP Server at tcp://localhost:9092
   [launch] java.lang.NullPointerException
   [launch]    at java.lang.PosixProcess.processTerminationCleanup(libgcj.so.10)
   [launch]    at java.lang.PosixProcess$ProcessManager.reap(libgcj.so.10)
   [launch]    at java.lang.PosixProcess$ProcessManager.run(libgcj.so.10)
   [launch] Exception in thread "ProcessManager" java.lang.InternalError: Não há processos filhos
   [launch]    at java.lang.PosixProcess$ProcessManager.reap(libgcj.so.10)
   [launch]    at java.lang.PosixProcess$ProcessManager.run(libgcj.so.10)
   [launch] launched process completed

tomcat.install:

internal.tomcat.download:

internal.tomcat.unzip:
    [unzip] Expanding: /aplicativos/downloads/apache-tomcat-6.0.29.zip into /aplicativos/active/apps

internal.tomcat.copy.users:

internal.tomcat.enable.debug:

internal.tomcat.apply.javaopts.other:


I have been set up "build.properties" to my environment.
Any one can help me?

att.

Sorry by poor English :D

Outcomes