[jboss-dev-forums] [Design of JBoss jBPM] - Re: MessageService and JMS
mteira
do-not-reply at jboss.com
Thu Sep 14 06:35:02 EDT 2006
I've been fighting against the ant build files, my ignorance and the jBPM CVS to finally, be able to deploy the jbpm.ear inside my JBoss 4.0.4 GA.
My first question is about the changes I had to make. I want to think that at least some of them can be considered general fixes and not needed by an incorrect local setup. So, what is the preferred way to publish those changes? Just telling here? JIRA?
I'm running into problems now while trying to deploy a process from the graphical designer into Eclipse. I'm getting a very odd oracle exception complaining about a select sentence that seems to work fine when pasted into a SQLPlus session. I'm suspecting that perhaps hibernate version shipped with JBoss 4.0.4 GA could have some incompatibilities with the one needed by jBPM itself. I've pasted the full exception in the jBPM users forum as:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=90558
I'm using oracle datasources because I had bad experiences in the past with the READ_UNCOMMITED transaction isolation level of hypersonic, so I would like to test jBPM under a real world database (the one we are using in our production systems).
To avoid errors in the Uploader applet bundled in the console war (bundled in the jbpm.ear) I made the following changes in it s build.xml file:
### Eclipse Workspace Patch 1.0
| #P jbpm
| Index: console/build.xml
| ===================================================================
| RCS file: /cvsroot/jbpm/jbpm.3/console/build.xml,v
| retrieving revision 1.6
| diff -u -r1.6 build.xml
| --- console/build.xml 13 Sep 2006 17:57:06 -0000 1.6
| +++ console/build.xml 14 Sep 2006 10:29:08 -0000
| @@ -50,6 +50,7 @@
| <lib file="${lib.jsf.impl.local}" />
| <lib file="${lib.jsf.api.local}" />
| <lib file="${lib.facelets.local}" />
| + <lib file="${lib.commons.fileupload.local}" />
|
| <!-- jbpm web application classes -->
| <classes dir="target/classes" />
|
Also, to be able to deploy from the designer, I needed to change (again) the application.xml for the jbpm.ear:
### Eclipse Workspace Patch 1.0
| #P jbpm
| Index: enterprise/ear/src/main/resources/META-INF/application.xml
| ===================================================================
| RCS file: /cvsroot/jbpm/jbpm.3/enterprise/ear/src/main/resources/META-INF/application.xml,v
| retrieving revision 1.2
| diff -u -r1.2 application.xml
| --- enterprise/ear/src/main/resources/META-INF/application.xml 28 Aug 2006 14:06:02 -0000 1.2
| +++ enterprise/ear/src/main/resources/META-INF/application.xml 14 Sep 2006 10:30:56 -0000
| @@ -6,7 +6,10 @@
| <display-name>jbpm-enterprise-beans</display-name>
|
| <module>
| - <war>jbpm-console.war</war>
| + <web>
| + <web-uri>jbpm-console.war</web-uri>
| + <context-root>/jbpm</context-root>
| + </web>
| </module>
|
| <module>
|
So, now I'm stucked with that Oracle error, trying to deploy a process into JBPM to start testing JMS Message Service.
Any hint about that error?
Thanks a lot.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971523#3971523
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971523
More information about the jboss-dev-forums
mailing list