• Cannot use "URL" as a link to folder path in Taxonomy

  • 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.
 #13171  by kevinchang
 
Hi jllort,

I split the post about Mysql based URL location problem to this loop. Then I will describe my detailed installation steps using Mysql.

1. Download OpenKM-5.1.8_JBoss-4.2.3.GA.zip from official link.
2. Unpack souce, change OpenKM.cfg
Code: Select all
#hibernate.dialect=org.hibernate.dialect.HSQLDialect
hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
hibernate.hbm2ddl=create
3. edit 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:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}OKM_APP</connection-url>
    <driver-class>org.hsqldb.jdbcDriver</driver-class>
    <user-name>sa</user-name>
    <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>Hypersonic SQL</type-mapping>
    </metadata>
    <depends>jboss:service=Hypersonic,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> -->
<datasources>
<local-tx-datasource>
<jndi-name>OpenKMDS</jndi-name>
<connection-url>jdbc:mysql://127.0.0.1:3306/openkm?autoReconnect=true</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>openkm</user-name>
<password>XXXX</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>
</local-tx-datasource>
</datasources>
4. (Optional) change repository.xml, since whether change this file does not make any changes, this config will not be listed.
5. In Admin Page, change application.url to http://myIpAddress/OpenKM/index.jsp
6. Now, refresh the browser, then, click "URL" in property tab, paste the URL like http://10.3.0.57/OpenKM/index.jsp?fldPa ... oot/DEV_AG into browser, it will only redirect me to http://10.3.0.57/OpenKM/frontend/index.jsp, "?fldPath=/okm:root/DEV_AG" disappeared, as a result, Folder DEV_AG cannot be located.
 #13183  by jllort
 
Seems it's a bug with UI, I've been done some changes in actual trunk what will be version 5.1.9
Could you test in our online demo is error happens there ?
 #13201  by jllort
 
I forgot update community version too, I'll try to solve it there too. Not easy because I made a lot of changes, that needs to make changes on startup sequence. I'll try to solve at least disable the hang problem.
 #13459  by kevinchang
 
Hi jllort,

This problem still exist for Mysql installation. After redirection from OpenKM/index.jsp to OpenKM/frontend/index.jsp, all parameters lost.
I'm using Version: 5.1.9-SNAPSHOT (build: 7407)

Yesterday, I wrongly post this problem in "Categories" post, which bothered pavila, I will paste that post here:
URL link to locate Categories works well for default installation now.
However, we are using mysql as database, and we still cannot locate a Category via the URL link.
The phenomenon is that if I type a URL like : http://doc.xxx.com.cn/OpenKM/index.jsp? ... roduct_9_0 into browser and press enter, the URL will be redirect to http://doc.XXX.com.cn/OpenKM/frontend/index.jsp.
Problems happened here: all parameters following index.jsp were lost.

Temporary workaround is set the following value in Admin Panel.
application.url String http://doc.XXX.com.cn/OpenKM/frontend/index.jsp
But this will affect WebDAV access.

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.