[jboss-dev-forums] [Design of JBoss jBPM] - Re: MessageService and JMS

mteira do-not-reply at jboss.com
Tue Sep 12 04:13:13 EDT 2006


Hello.
I'm still running into problems to run satisfactory a lot of ant targets into the project. It seems there are implicit dependencies that the build scripts are not aware of. 

Anyway, in order to taste the CVS version, I've deployed into a running jboss the ear (from /enterprise/ear) jbpm.ear succesfully. But I'm missing the users into the database (and so, I'm not able to login into the jbpm-console included with that ear). I've found that there's information about those users into /jboss/db/src/main/resources/identities.xml, but I don't know if there's a way to automate interting that data into the DB (I'm using an oracle datasource). In the starters-kit I found it to be just a matter of configuring an hibernate.cfg file and then run some ant target to generate scripts for the given database.

BTW, I made a pair of changes during my fight against the code:
1.-Changed the application.xml at /enterprise/ear/src/main/resources/META-INF
Index: 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
--- application.xml	28 Aug 2006 14:06:02 -0000	1.2
+++ application.xml	12 Sep 2006 08:10:45 -0000
@@ -6,7 +6,10 @@
   <display-name>jbpm-enterprise-beans</display-name>
 
   
-    jbpm-console.war
+    
+    <web-uri>jbpm-console.war</web-uri>
+    <context-root>/jbpm-console</context-root>
+    
   
 
   

As the webapp was not deploying correctly under my jboss 4.0.4 GA.

And also, added a .cvsignore at /jpdl/test to avoid it complaining about changes to commit for jpdl/test/*

Index: .cvsignore
===================================================================
RCS file: .cvsignore
diff -N .cvsignore
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ .cvsignore	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,1 @@
+target


So, is there an easy and automated way to create the schema in my DB (an ant target at some directory)? And also a way to insert the data for the users and other data needed for the tests?

Thanks.

Best regards.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970922#3970922

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970922



More information about the jboss-dev-forums mailing list