I am trialing 6.4.14 Pro on Ubuntu 14.04. I am trying to setup OpenKM with mySQL following these directions http://wiki.openkm.com/index.php/MySQL_-_OpenKM_6.2 but I am getting an error when browsing to the server. I'm sure I am missing something but can't seem to figure out what. Any help would be appreciated.
1) I have installed OpenKM to /opt/openkm-version#
2) I installed mysql
3) before running openkm I did the following
a) configured OpenKM.cfg with these lines
6) Browsed to http://<server ip>:8080/OpenKM/login.jsp
7) Received Error message: see attached document
1) I have installed OpenKM to /opt/openkm-version#
2) I installed mysql
3) before running openkm I did the following
a) configured OpenKM.cfg with these lines
Code: Select all
b) created database and userhibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
hibernate.hbm2ddl=create
Code: Select all
c) added the following lines to the server.xml fileDROP DATABASE IF EXISTS okmdb;
CREATE DATABASE okmdb DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_bin;
CREATE USER openkm@localhost IDENTIFIED BY '*secret*';
GRANT ALL ON okmdb.* TO openkm@localhost WITH GRANT OPTION;
Code: Select all
4) OpenKM.xml isn't recreated until OpenKM is started. However, once the file is created. my entries matched what is in the documentation<Resource name="jdbc/OpenKMDS" auth="Container" type="javax.sql.DataSource"
maxActive="100" maxIdle="30" maxWait="10000" validationQuery="select 1"
username="openkm" password="password" driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/okmdb?autoReconnect=true&useUnicode=true&characterEncoding=UTF8"/>
Code: Select all
5) Started OpenKM service<security:authentication-manager alias="authenticationManager">
<security:authentication-provider>
<security:password-encoder hash="md5"/>
<security:jdbc-user-service
data-source-ref="dataSource"
users-by-username-query="select usr_id, usr_password, 1 from OKM_USER where usr_id=? and usr_active='T'"
authorities-by-username-query="select ur_user, ur_role from OKM_USER_ROLE where ur_user=?"/>
</security:authentication-provider>
</security:authentication-manager>
6) Browsed to http://<server ip>:8080/OpenKM/login.jsp
7) Received Error message: see attached document
Attachments
OpenKM Error.JPG (23.07 KiB) Viewed 3921 times