[jBPM] - Documentation for changing database
by James Norris
James Norris [https://community.jboss.org/people/jnorris] created the discussion
"Documentation for changing database"
To view the discussion, visit: https://community.jboss.org/message/738774#738774
--------------------------------------------------------------
In the 3.7.3 QuickStart section in the user guide there are steps for configuring jbpm to use a different database which I have followed for setting up an Oracle DB. In addition to what's mentioned in the user guide, I found another persistence.xml file that looks like it is used in the jbpm-human-task-war.war file that is located in the \task-service\resources\war folder. I believe this also needs to be updated and should be added to the documentation.
The other thing I think would be useful to mention is the repository.xml file which is used for the guvnor repository. Although the drools-guvnor web-app can be used to create a new repository.xml that can be used it would be nice if there was a short procedure on how to change it along with which folders if any can be removed after changing the repository to use a different DB.
Cheers,
Jim
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/738774#738774]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[jBPM] - jbpm 3 and getVariable : application slowness
by Ender Wiggin
Ender Wiggin [https://community.jboss.org/people/enderwiggin30] created the discussion
"jbpm 3 and getVariable : application slowness"
To view the discussion, visit: https://community.jboss.org/message/728360#728360
--------------------------------------------------------------
We have a small app which uses jbpm v3. One of the things in the app is to list the tasks a user is assigned to. The task details such as client name, address are stored in variable called client. When the home page is being rendered, for each task, the client is read from database and task is displayed with a proper description. The problem is for 50 tasks the user has, getting the client object means hitting the database once which slows the app. It literally takes 30 seconds for some users... When I look at hibernate layer queries, I see a bunch of select statements for each task to get the client object.
Is there a way to speed up the jbpm so that variables are loaded more efficiently or in batch ? Doing it per task instance is simply not acceptable performance wise. Thanks.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/728360#728360]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months