Cannot use "URL" as a link to folder path in Taxonomy
PostPosted:Mon Dec 12, 2011 5:43 am
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
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.
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
3. edit openkm-ds.xml
#hibernate.dialect=org.hibernate.dialect.HSQLDialect
hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
hibernate.hbm2ddl=createCode: Select all
4. (Optional) change repository.xml, since whether change this file does not make any changes, this config will not be listed.<?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>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.