[jBPM Users] - JBPM4.2 deploy problems
by myhot21
I use the code deploy process, But I deploy each time, it will make the JBPM table empty. And, the JBPM db only have jbpm/Order.jpdl.xml process.
Why?
| public class JbpmTest {
|
| public static void main(String[] args) {
| Configuration configuration = new Configuration();
| ProcessEngine processEngine = configuration.buildProcessEngine();
| RepositoryService repositoryService = processEngine.getRepositoryService();
| ExecutionService executionService = processEngine.getExecutionService();
| TaskService taskService = processEngine.getTaskService();
| HistoryService historyService = processEngine.getHistoryService();
| ManagementService managementService = processEngine.getManagementService();
| String deploymentId = repositoryService.createDeployment()
| .addResourceFromClasspath("jbpm/Order.jpdl.xml")
| .deploy();
|
| }
| }
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269217#4269217
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269217
16 years, 4 months
[jBPM Users] - [jBPM4.2] Installation problems
by StevenMayhew
Hi everyone,
I'm having quite a few issues trying to install jBPM and jBoss AS. I have downloaded jBPM 4.2, unzipped and gone into the install folder. Running "ant demo.setup.jboss" fails and tells me that my JAVA_HOME is set to something that it definitely is not.
Here are the installation notes:
testbase@linux-01:~/surv/jbpm-4.2/install$ ant demo.setup.jboss > a.out
BUILD FAILED
/home/testbase/surv/jbpm-4.2/install/build.xml:149: The following error occurred while executing this line:
/home/testbase/surv/jbpm-4.2/install/build.xml:337: The following error occurred while executing this line:
/home/testbase/surv/jbpm-4.2/examples/build.xml:85: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-6-openjdk/jre"
Total time: 1 minute 55 seconds
And a.out: http://pastebin.com/fdc36aaa
And my JAVA_HOME:
testbase@linux-01:~/surv/jbpm-4.2/install$ echo $JAVA_HOME
/usr/lib/jvm/java-1.6.0-openjdk
Anybody got any ideas why this is failing?
Cheers,
Steven
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269215#4269215
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269215
16 years, 4 months