• not Found Source

  • 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.
 #8780  by Kicker
 
sorry i am a Beginner java programmer
i downloaded openKm source form sf.net and extracted
but dont found main source code and database script
i already installed jboss and want to get Only OpenKm source code and Database backup
thanks
Last edited by Kicker on Sat Feb 12, 2011 8:02 pm, edited 1 time in total.
 #8781  by Kicker
 
i find war file and extracted then created eclipse project
but how to config and create mysql database
 #8794  by jllort
 
You must select it on OpenKM.cfg and when is starting first time application the database is automatically created. If you want to extract the script look for Test.java file in source code I think there is some commented code for doing it
 #8819  by Kicker
 
thanks
i want to config OpenKm with MySql
i dont how to change OpenKm.cfg


my openkm-ds.xml
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
  <local-tx-datasource>
    <jndi-name>OpenKMDS</jndi-name>
    <connection-url>jdbc:mysql://localhost:3306/DefaultDS?createDatabaseIfNotExist=true</connection-url>
    <driver-class>com.mysql.jdbc.Driver</driver-class>
    <user-name>Kicker</user-name>
    <password>password</password>
    <min-pool-size>5</min-pool-size>
    <max-pool-size>20</max-pool-size>
    <idle-timeout-minutes>0</idle-timeout-minutes>
    <prepared-statement-cache-size>32</prepared-statement-cache-size>
    <metadata>
      <type-mapping>mySQL</type-mapping>
    </metadata>
    <depends>jboss:service=mySQL,database=OKM_APP</depends>
  </local-tx-datasource>
  <mbean code="org.jboss.jdbc.HypersonicDatabase" 
         name="jboss:service=Hypersonic,database=OKM_APP">
    <attribute name="Database">OKM_APP</attribute>
    <attribute name="InProcessMode">true</attribute>
  </mbean>
</datasources>

my openkm.cfg
Code: Select all
#system.ocr=/usr/bin/tesseract
#system.openoffice.path=/usr/lib/openoffice
#system.img2pdf=/usr/bin/convert
#system.pdf2swf=/usr/bin/pdf2swf
#system.antivir=/usr/bin/clamscan
hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
hibernate.hbm2ddl=create
#application.url=http://localhost:8080/OpenKM/com.openkm.frontend.Main/index.jsp
 #8822  by jllort
 
Please start other post for this question.

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.