[jboss-user] [jBPM] - Re: JBPM 5.4 on Mac OSX Mountain Lion

Margus Roo do-not-reply at jboss.com
Sat Feb 9 16:30:47 EST 2013


Margus Roo [https://community.jboss.org/people/margusja] created the discussion

"Re: JBPM 5.4 on Mac OSX Mountain Lion"

To view the discussion, visit: https://community.jboss.org/message/796902#796902

--------------------------------------------------------------
Did a new install. Like described -  http://docs.jboss.org/jbpm/v5.1/userguide/ch03.html#d0e402 http://docs.jboss.org/jbpm/v5.1/userguide/ch03.html#d0e402
Could not get eclipse so I did ant install.demo.noeclipse - BUID was OK.

Now start:
margusja at IRack:~/Downloads/jbpm-installer$ ant start.demo.noeclipse
Buildfile: /Users/margusja/Downloads/jbpm-installer/build.xml
download.db.driver.check:
     [echo] Checking if db driver jar has been downloaded ....//db/driver/h2.jar
download.db.driver:
start.h2.check:
     [echo] Checking if h2 db should be started ...
start.h2:
start.jboss:
check.jboss.version:
start.jboss5:
check.jboss.version:
start.jboss7:
start.demo.noeclipse:
BUILD SUCCESSFUL
Total time: 1 second

But there no jboss process:
margusja        1745   0.0  0.0  2432768    592 s000  R+   11:21PM   0:00.00 grep java
margusja        1702   0.0  0.4  2968544  35016 s000  S    11:19PM   0:00.78 /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home/jre/bin/java -classpath /Users/margusja/Downloads/jbpm-installer/db/driver/h2.jar org.h2.tools.Server -tcp

after it I run a command:
margusja at IRack:~/Downloads/jbpm-installer$ ant start.demo
Buildfile: /Users/margusja/Downloads/jbpm-installer/build.xml
download.db.driver.check:
     [echo] Checking if db driver jar has been downloaded ....//db/driver/h2.jar
download.db.driver:
start.h2.check:
     [echo] Checking if h2 db should be started ...
start.h2:
start.jboss:
check.jboss.version:
start.jboss5:
check.jboss.version:
start.jboss7:
start.eclipse:

BUILD FAILED
/Users/margusja/Downloads/jbpm-installer/build.xml:846: Execute failed: java.io.IOException: Cannot run program "./eclipse/Eclipse.app/Contents/MacOS/eclipse": error=2, No such file or directory
          at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
          at java.lang.Runtime.exec(Runtime.java:615)
          at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862)
          at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481)
          at org.apache.tools.ant.taskdefs.Execute.spawn(Execute.java:552)
          at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:653)
          at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
          at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
          at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
          at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:601)
          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)
Caused by: java.io.IOException: error=2, No such file or directory
          at java.lang.UNIXProcess.forkAndExec(Native Method)
          at java.lang.UNIXProcess.<init>(UNIXProcess.java:135)
          at java.lang.ProcessImpl.start(ProcessImpl.java:130)
          at java.lang.ProcessBuilder.start(ProcessBuilder.java:1021)
          ... 23 more

Total time: 2 seconds
margusja at IRack:~/Downloads/jbpm-installer$ 

Eclipse error is ok - I don't have eclipse binary in directory ./eclipse/Eclipse.app/Contents/MacOS/eclipse. 
But now jboss started (even two of them):

margusja at IRack:~/Downloads/jbpm-installer$ ps aux | grep java
margusja        1871 129.2  8.2  3545184 692008 s000  R    11:23PM   1:11.77 /usr/bin/java -D[Standalone] -server -XX:+UseCompressedOops -XX:+TieredCompilation -XX:MaxPermSize=256m -Xms256m -Xmx512m -Dorg.jboss.boot.log.file=/Users/margusja/Downloads/jbpm-installer/jboss-as-7.1.1.Final/standalone/log/boot.log -Dlogging.configuration=file:/Users/margusja/Downloads/jbpm-installer/jboss-as-7.1.1.Final/standalone/configuration/logging.properties -jar /Users/margusja/Downloads/jbpm-installer/jboss-as-7.1.1.Final/jboss-modules.jar -mp /Users/margusja/Downloads/jbpm-installer/jboss-as-7.1.1.Final/modules -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -Djboss.home.dir=/Users/margusja/Downloads/jbpm-installer/jboss-as-7.1.1.Final -b localhost -Djbpm.console.directory=.//sample/evaluation/src/main/resources -Dreporting.needcontext=true
margusja        1829   2.0  9.7  3576256 812128 s000  S    11:23PM   1:39.39 /usr/bin/java -D[Standalone] -server -XX:+UseCompressedOops -XX:+TieredCompilation -XX:MaxPermSize=256m -Xms256m -Xmx512m -Dorg.jboss.boot.log.file=/Users/margusja/Downloads/jbpm-installer/jboss-as-7.1.1.Final/standalone/log/boot.log -Dlogging.configuration=file:/Users/margusja/Downloads/jbpm-installer/jboss-as-7.1.1.Final/standalone/configuration/logging.properties -jar /Users/margusja/Downloads/jbpm-installer/jboss-as-7.1.1.Final/jboss-modules.jar -mp /Users/margusja/Downloads/jbpm-installer/jboss-as-7.1.1.Final/modules -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -Djboss.home.dir=/Users/margusja/Downloads/jbpm-installer/jboss-as-7.1.1.Final -b localhost -Djbpm.console.directory=.//sample/evaluation/src/main/resources -Dreporting.needcontext=true
margusja        1885   0.0  0.0  2423356    208 s000  U+   11:25PM   0:00.00 grep java
margusja        1840   0.0  0.4  4088384  36388 s000  S    11:23PM   0:00.77 /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home/jre/bin/java -classpath /Users/margusja/Downloads/jbpm-installer/db/driver/h2.jar org.h2.tools.Server -tcp

Ok - I opened jbpm_console -  http://localhost:8080/jbpm-console/app.html http://localhost:8080/jbpm-console/app.html. Started new process and opened started process' task and got to the jboss error log:

23:26:51,762 INFO  [org.jboss.bpm.console.server.plugin.PluginMgr] (http-localhost-127.0.0.1-8080-11) Successfully loaded plugin 'org.jboss.bpm.console.server.plugin.FormDispatcherPlugin': class org.jbpm.integration.console.forms.FormDispatcherComposite
23:26:52,187 ERROR [org.jbpm.integration.console.shared.GuvnorConnectionUtils] (http-localhost-127.0.0.1-8080-11) Error checking guvnor existence: Invalid argument
23:26:52,192 WARN  [org.jbpm.integration.console.forms.AbstractFormDispatcher] (http-localhost-127.0.0.1-8080-11) Could not connect to Guvnor.
23:26:57,826 ERROR [org.jbpm.integration.console.shared.GuvnorConnectionUtils] (http-localhost-127.0.0.1-8080-8) Error checking guvnor existence: Invalid argument
23:26:57,831 WARN  [org.jbpm.integration.console.forms.AbstractFormDispatcher] (http-localhost-127.0.0.1-8080-8) Could not connect to Guvnor.

I have put process image, process form template and task form template to guvnor repo to the defaultPackage and built it - build was ok.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/796902#796902]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130209/3f9b31f8/attachment-0001.html 


More information about the jboss-user mailing list