• OpenKM 4 Authentication with Postgresql

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
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.
 #4658  by jllort
 
Yes, OKMWorkflow database must contains jbpm tables ... but you might not copy directly from hypersonic, rememeber could be some diference between hypersonic tables declaration and postgresql declarion, you must execute scripts in you empty postgresql database to create the structure needed by jbpm
 #4659  by mribeiro
 
I already created them... I adapted the script to PostgreSQL and successful created the 32 tables.
I don't know hoe to put that database (OKMWorkflow) to use
 #4660  by jllort
 
We'll OpenKM users these database defined in openkm-ds.xml if you register some workflow then it'll be used, if not it'll be empty.
 #4664  by mribeiro
 
Well... My datasource to the OKMWorkflow database is defined like this (And it structure is created in my postgresql server):
Code: Select all
<local-tx-datasource>
    <jndi-name>OKMWorkflowDS</jndi-name>
    <connection-url>jdbc:postgresql://localhost:5432/OKMWorkflow</connection-url>
    <driver-class>org.postgresql.Driver</driver-class>
    <user-name>postgres</user-name>
    <password>123456</password>
    <min-pool-size>5</min-pool-size>
    <max-pool-size>20</max-pool-size>
    <idle-timeout-minutes>0</idle-timeout-minutes>
    <track-statements/>
    <!--<security-domain>HsqlDbRealm</security-domain>-->
    <prepared-statement-cache-size>32</prepared-statement-cache-size>
    <metadata>
      <type-mapping>PostgreSQL</type-mapping>
    </metadata>
    <!--<depends>jboss:service=Hypersonic,database=OKMWorkflow</depends>-->
  </local-tx-datasource>
If I start the server with it, I got the error I told before...
 #4666  by jllort
 
You're on a testing environment ( non production ) , I would like to delete repository folder under JBOSS_home ( while jboss is stopped ) and restarting jboss trying to recreate a clean starting up. Could you try it or you've got important files in the repository ?
 #4677  by jllort
 
Put all the error trace log, I want to see it ( upload some file or paste as text -> only the error trace not all the log )

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.