• Missing tables in openkm 5.0

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #7633  by surajaya
 
Hello All,

I have a problem with workflow in openkm 5.0. My configuration is : openkm 5 & mysql database, OS linux ubuntu, jboss 4.2.3, jbpm 3.3.1GA, sun java 1.6.
My curiosity start when I tried to run some task assignment to other user. The task is succesfully writen to table : JBPM_TASK, the swimlane is succesfully writen to table : JBPM_SWIMLANE, but when I logged in as the user who should do the task, no task is in his dashboard.

An then I inspect the database (comparing version 4.1 database dan 5.0 database) I notice that some tables are missing in 5.0. The tables are all JBPM related :
Code: Select all
| JBPM_ID_GROUP           |
| JBPM_ID_MEMBERSHIP      |
| JBPM_ID_PERMISSIONS     |
| JBPM_ID_USER  


If the user is no longer in the JBPM_ID_USER, I wonder how we can do task assigment in openkm 5.0 ?. Is there anyone that already successfully using workflow in openkm ?. Should I create and insert data manually for all those user related tables ?.

Thanks in advance for your help,
regards,
surajaya
 #7650  by jllort
 
it's strange error, probably could happen some error during creation.

Try put on OpenKM.cfg the hibernate.dll=update and restart jboss.
Be care with log file ... to see if some error happens !
 #7664  by surajaya
 
jllort wrote:it's strange error, probably could happen some error during creation.

Try put on OpenKM.cfg the hibernate.dll=update and restart jboss.
Be care with log file ... to see if some error happens !
You meant "hibernate.hbm2ddl=update" instead of "hibernate.ddl=update" ?.
I've tried both of that and nothing happened, no error / warning, but the missing tables is not created / updated.
 #7671  by jllort
 
Yes, I was talking about hibernate.hbm2ddl=update

Have you restarted jboss after changing it ? there's no error on creation tables during jboss starting ?
 #7676  by surajaya
 
jllort wrote:Yes, I was talking about hibernate.hbm2ddl=update

Have you restarted jboss after changing it ? there's no error on creation tables during jboss starting ?
Yes, I have restarted the jboss. I even set hibernate.show_sql=true, and restart jboss
This is fresh install of openkm 5.0 and am sure that other user of openkm 5.0 should experience this too
 #7686  by pavila
 
These tables:

* JBPM_ID_GROUP
* JBPM_ID_MEMBERSHIP
* JBPM_ID_PERMISSIONS
* JBPM_ID_USER

Are not needed because OpenKM handle the workflow users and groups by itself.
 #7733  by pavila
 
Please, post detailed steps to reproduce the issue (including workflow definition).

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.