AnsweredAssumed Answered

ant demo.setup does not work on MacOS 10.6.4 on 5.0 beta 2

Question asked by coderinabstract on Oct 12, 2010
Latest reply on Oct 19, 2010 by jbarrez
after several tries and hours and going through forum trying to use maven to update correct jar cannot start with tomcat..full exception trace below..any help to evaluate this technology appreciated..thanks

h2.start:
   [launch] launching cmd '/Applications/activiti-5/apps/h2/h2.start.sh ' in dir '/Applications/activiti-5/apps/h2'
   [launch] waiting for launch completion msg 'TCP server running on'…
   [launch]   TCP server running on tcp://192.168.1.144:9092 (others can connect)

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

tomcat.install:

internal.download.tomcat:
    [unzip] Expanding: /Applications/downloads/apache-tomcat-6.0.29.zip into /Applications/activiti-5/apps

tomcat.copy.users:

tomcat.enable.debug:
     [copy] Copying 1 file to /Applications/activiti-5/apps/apache-tomcat-6.0.29/conf

cfg.create:
     [copy] Copying 1 file to /Applications/activiti-5/setup/build/activiti-cfg
      [jar] Building jar: /Applications/activiti-5/setup/build/activiti-cfg.jar

deploy.activiti.engine.into.tomcat:
     [copy] Copying 1 file to /Applications/activiti-5/apps/apache-tomcat-6.0.29/lib

db.demo.data:
      [sql] Executing resource: /Applications/activiti-5/setup/build/demo/h2.data.sql
      [sql] 26 of 26 SQL statements executed successfully
[deploy-bar] Initializing process engine default
[deploy-bar] Oct 11, 2010 11:07:36 PM org.activiti.engine.ProcessEngines initProcessEnginFromResource
[deploy-bar] INFO: initializing process engine for resource jar:file:/Applications/activiti-5/setup/build/activiti-cfg.jar!/activiti.properties
[deploy-bar] Oct 11, 2010 11:07:36 PM org.activiti.engine.ProcessEngines initProcessEnginFromResource
[deploy-bar] INFO: Exception while initializing process engine :Provider com.sun.el.ExpressionFactoryImpl not found

BUILD FAILED
org.activiti.engine.ActivitiException: Process engine 'default' can not be initialized! org.activiti.engine.ActivitiException: Provider com.sun.el.ExpressionFactoryImpl not found
   at org.activiti.engine.impl.el.ExpressionFactoryResolver.getExpressionFactoryforEl11(ExpressionFactoryResolver.java:190)
   at org.activiti.engine.impl.el.ExpressionFactoryResolver.resolveExpressionFactory(ExpressionFactoryResolver.java:55)
   at org.activiti.engine.impl.el.ExpressionManager.<init>(ExpressionManager.java:58)
   at org.activiti.engine.impl.cfg.ProcessEngineConfiguration.<init>(ProcessEngineConfiguration.java:201)
   at org.activiti.engine.ProcessEngineBuilder.buildProcessEngine(ProcessEngineBuilder.java:263)
   at org.activiti.engine.ProcessEngines.buildProcessEngine(ProcessEngines.java:126)
   at org.activiti.engine.ProcessEngines.initProcessEnginFromResource(ProcessEngines.java:101)
   at org.activiti.engine.ProcessEngines.init(ProcessEngines.java:76)
   at org.activiti.engine.impl.ant.DeployBarTask.execute(DeployBarTask.java:71)
   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
   at sun.reflect.GeneratedMethodAccessor1.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:357)
   at org.apache.tools.ant.Target.performTasks(Target.java:385)
   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
   at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
   at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
   at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
   at org.apache.tools.ant.Main.runBuild(Main.java:758)
   at org.apache.tools.ant.Main.startAnt(Main.java:217)
   at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
   at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: javax.el.ELException: Provider com.sun.el.ExpressionFactoryImpl not found
   at javax.el.FactoryFinder.newInstance(FactoryFinder.java:66)
   at javax.el.FactoryFinder.find(FactoryFinder.java:162)
   at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:154)
   at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:125)
   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.activiti.engine.impl.el.ExpressionFactoryResolver.getExpressionFactoryforEl11(ExpressionFactoryResolver.java:181)
   … 24 more
Caused by: java.lang.ClassNotFoundException: com.sun.el.ExpressionFactoryImpl
   at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
   at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
   at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
   at javax.el.FactoryFinder.newInstance(FactoryFinder.java:52)
   … 32 more

   at org.activiti.engine.impl.ant.DeployBarTask.execute(DeployBarTask.java:85)
   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
   at sun.reflect.GeneratedMethodAccessor1.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:357)
   at org.apache.tools.ant.Target.performTasks(Target.java:385)
   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
   at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
   at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
   at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
   at org.apache.tools.ant.Main.runBuild(Main.java:758)
   at org.apache.tools.ant.Main.startAnt(Main.java:217)
   at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
   at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Outcomes