[jboss-user] [JBoss jBPM] - Re: Help needed in deploying 'par' to JBoss server
do-not-reply at jboss.com
Fri Jun 26 23:49:16 EDT 2009
Thanks for the reply & the humorous quote !
And F.Y.K.I, i am trying this for more than 2 days & also this is the first ever FORUMN POST in my life !!!
And Sorry for giving less information. i am a newbie to jBPM and NOT a jBPM architect(like u).
There are two ways i know of deploying a process definition.
O Use the DEPLOYMENT tab while designing the jPDL in Eclipse IDE
O Use the "Deploy Process" option in jBPM console, choose the par file & deploy it.
These are manual tasks. I am trying to automate it. I also saw Ant Scripts that deploy a par but i want to do it through java code.
What i tried...
What i posted previously is a stand-alone java code. I found that it is not able to connect to the jBPM database.
-> While parsing the source file with parsePar, i got a classNotFound exception which i got rid of by importing the Java Transaction API(jta.jar) to Eclipse Build path.
-> Now the Code runs successfully without any errors but the file is not deployed when i checked in jBPM console.
-> I tried to get the list of process definitions. The size of List is found to be ZERO. This means that my code is not able to reach the jBPM hypersonic DB.
I used these two methods.
What is the jBPM class that i should actually use ?
Is there a jBPM community article that discuss this scenario ?
How can i gain visiblity to the jBOSS deployment directory and connectivity to the jBPM database ?
Do i need to specify somewhere, like the jBPM database used & server path in a config file ?
Server : JBoss 4.2.X
jBPM : 3.X
Database : Default db. (Hypersonic)
Please ask me if you need any other information regarding this.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240493#4240493
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240493
More information about the jboss-user