-
1. Re: which version of jbpm is suitable for new web applicatio
aaw_tom Aug 4, 2005 4:17 AM (in response to aaw_tom)Have anyone help me, please?
-
2. Re: which version of jbpm is suitable for new web applicatio
kukeltje Aug 4, 2005 6:04 AM (in response to aaw_tom)Read the documentation. It is all in there.
Ronald -
3. Re: which version of jbpm is suitable for new web applicatio
aaw_tom Aug 4, 2005 1:47 PM (in response to aaw_tom)Hey,
your document does not tell
- deployment by ant for jbpm 3.0 like jbpm2.0 (ant deploy)
- the exact location for putting we application (.par) and other .java folder (I think it should be put in exact location before modification of that application in build.xml) -
4. Re: which version of jbpm is suitable for new web applicatio
kukeltje Aug 4, 2005 5:28 PM (in response to aaw_tom)What you want to use is up to you and depending on what you want to achieve:
- starterkit: out of the box runnning of processes, designing them in gpd and deploying them via gpd
- jbpm.3 for development on jBPM or adapting existing webapp or something like that.
Regarding the documents:
ant uses build scripts. jBPM (the source edition, probably not the starterkit) contains 2. build.xml and build.deploy.xml
The first contains:<target name="deploy.processes" depends="declare.jbpm.tasks" description="deploys the jbpm processes"> <ant antfile="build.xml" target="build.processes" inheritall="false" /> <deploypar properties="src/resources/hsqldb/create.db.hibernate.properties"> <fileset dir="build" includes="*.par" /> </deploypar> </target>
The latter contains:<target name="deploy.processes" depends="declare.jbpm.tasks" description="deploys the jbpm processes"> <ant antfile="build.xml" target="build.processes" inheritall="false" /> <deploypar properties="src/resources/hsqldb/create.db.hibernate.properties"> <fileset dir="build" includes="*.par" /> </deploypar> </target>
Which to me looks like a a combination of what you need and something that can easilybe adapted -
5. Re: which version of jbpm is suitable for new web applicatio
aaw_tom Aug 4, 2005 11:27 PM (in response to aaw_tom)Oh, I get it but I still don't know
- Where can I put .par file before modify script in build.xml
- What is the command line to deploy it ? (like version 2.0, ant deploy)
- I use jboss 4.0.2 according to build.properties of jbpm-3.0, how to link between jbpm and jboss-4.0.2 (version-2.0 use command line, ant configure.jboss.3.2.+ for jboss 3.2.5. Now, I don't know what is the rifht version of jboss and what is the command line for deployment? Is it necessary to deploy my application by using command line (ant deploy) or just right click in gpd?
(jbpm-2.0 provides step by step for installation deployment and running as command line. When I download jbpm-3.0, I did not see anything like that. So, It make me confuse but I try to understand it because I know your system is flexible and it has high performance.)
I am so sorry that I ask again and again but I really want to use your system, could you please help me to get it? Thanks. -
6. Re: which version of jbpm is suitable for new web applicatio
kukeltje Aug 5, 2005 4:06 AM (in response to aaw_tom)"aaw_tom" wrote:
- Where can I put .par file before modify script in build.xml
It's up to you as long as it is into accordance what you put in the build.xml/build.deploy.xml"aaw_tom" wrote:
- What is the command line to deploy it ? (like version 2.0, ant deploy)
Surprise:
ant -f build.deploy.xml deploy.processes
(sorry, I posted twice the same code in my last post. The first should have been the build.processes from the build.xml file"aaw_tom" wrote:
- I use jboss 4.0.2 according to build.properties of jbpm-3.0, how to link between jbpm and jboss-4.0.2 (version-2.0 use command line, ant configure.jboss.3.2.+ for jboss 3.2.5.
Take a look at the build.xml and build.deploy.xml file and you'll see"aaw_tom" wrote:
I mentioned that above
Now, I don't know what is the rifht version of jboss and what is the command line for deployment?"aaw_tom" wrote:
whatever you want
Is it necessary to deploy my application by using command line (ant deploy) or just right click in gpd?"aaw_tom" wrote:
(jbpm-2.0 provides step by step for installation deployment and running as command line. When I download jbpm-3.0, I did not see anything like that.
That's why we build the starterskit. It is even more simple then in jBPM 2.0"aaw_tom" wrote:
So, It make me confuse but I try to understand it because I know your system is flexible and it has high performance.)
I am so sorry that I ask again and again but I really want to use your system, could you please help me to get it? Thanks.
aaw_tom, I get the impression that you know almost nothing about java, appservers, ant, etc.. I'd suggest to first get some knowledge about those concepts befor going further. -
7. Re: which version of jbpm is suitable for new web applicatio
aaw_tom Aug 5, 2005 8:06 AM (in response to aaw_tom)Thank you very much. I know it is the hard task to explain to whoever don't know about them. So, Thank you very much that you try to reply me. I will do according your suggestion.
-
8. Re: which version of jbpm is suitable for new web applicatio
aaw_tom Aug 6, 2005 2:54 PM (in response to aaw_tom)I am so sorry that I post it again. I can not run webapp. When I create database, jbpm configuration, build.webappl, build.service.archive, and deploy.webapp according to build.deploy.xml, it 's ok, but when I deploy the service (ant -f build.deploy.xml deployservice.archive), it has some error,
C:\workspace\jbpm-3.0>ant -f build.deploy.xml deploy.service.archive Buildfile: build.deploy.xml build.service.archive: compile.jbpm: build.jbpm: [jar] Building jar: C:\workspace\jbpm-3.0\build\jbpm-3.0.jar compile.identity: build.identity: [jar] Building jar: C:\workspace\jbpm-3.0\build\jbpm-identity-3.0.jar build.service.archive: [jar] Building jar: C:\workspace\jbpm-3.0\build\jbpm.sar.cfg.jar [copy] Copying 3 files to C:\workspace\jbpm-3.0\build\jbpm.sar.dir [jar] Building jar: C:\workspace\jbpm-3.0\build\jbpm.sar deploy.service.archive: [get] Getting: http://localhost:8080/jmx-console/HtmlAdaptor?action=invoke OpByName&name=jboss.system:service%3DMainDeployer&methodName=redeploy&argType=ja va.net.URL&arg0=file://C:\workspace\jbpm-3.0/build/jbpm.sar [get] Error opening connection java.io.IOException [get] Error opening connection java.io.IOException [get] Error opening connection java.io.IOException [get] Can't get http://localhost:8080/jmx-console/HtmlAdaptor?action=invok eOpByName&name=jboss.system:service%3DMainDeployer&methodName=redeploy&argType=j ava.net.URL&arg0=file://C:\workspace\jbpm-3.0/build/jbpm.sar to C:\workspace\jbp m-3.0\build\deployresult.html BUILD FAILED C:\workspace\jbpm-3.0\build.deploy.xml:136: Can't get http://localhost:8080/jmx- console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:service%3DMainDeploy er&methodName=redeploy&argType=java.net.URL&arg0=file://C:\workspace\jbpm-3.0/bu ild/jbpm.sar to C:\workspace\jbpm-3.0\build\deployresult.html Total time: 2 seconds C:\workspace\jbpm-3.0>
So, I can not run websale example, It occure from what?how can I do? -
9. Re: which version of jbpm is suitable for new web applicatio
kukeltje Aug 6, 2005 3:13 PM (in response to aaw_tom)Start JBoss server first
-
10. Re: which version of jbpm is suitable for new web applicatio
aaw_tom Aug 7, 2005 2:48 AM (in response to aaw_tom)Ok I got it but I don't show any application in start new process execution, including websale. How can I solve it?
-
11. Re: which version of jbpm is suitable for new web applicatio
aaw_tom Aug 7, 2005 3:58 AM (in response to aaw_tom)Ok, I can access http://localhost:8080/jbpm but It don't show any process (websale) in start new process execution. How ca I sovle it?
-
12. Re: which version of jbpm is suitable for new web applicatio
kukeltje Aug 7, 2005 4:28 AM (in response to aaw_tom)are the processes deployex?
-
13. Re: which version of jbpm is suitable for new web applicatio
aaw_tom Aug 7, 2005 6:04 AM (in response to aaw_tom)Hey, I remove all and try it again. I got it now. thanks.
-
14. Re: which version of jbpm is suitable for new web applicatio
aaw_tom Aug 7, 2005 6:38 AM (in response to aaw_tom)Hi,
I wonder that If I create my process by using designer tool and create action as java files. Where can I put these java files. In build.xml, it provides updated site for .par. Where can I put Test, Action, context, Task (java files)?