jllort wrote:icek wrote:Hi,do
How to set OpenKM.cfg to create repository again please?hibernate.hbm2ddl=none
This didn't work for me.
jllort wrote:icek wrote:Hi,do
How to set OpenKM.cfg to create repository again please?hibernate.hbm2ddl=none
127.0.0.1 openkm.petrogres.local
<Connector address="0.0.0.0" connectionTimeout="20000" port="8180" protocol="HTTP/1.1" redirectPort="8443"/>
<Connector address="your_ip_here" connectionTimeout="20000" port="8180" protocol="HTTP/1.1" redirectPort="8443"/>
srf68 wrote:I have the same problem and my config is Centos 6.5 runing on a VM (VMware). and openjdk jre u65-b17.Finally i found out what is the problem. In com.openkm.core.Config.java class and in line:920 it returns an UnknownHostException that cause we have an "Error reading configuration table" error in start openkm and in catalina.log file. I set the application.url to my own application url in OpenKM.cfg and any thing ok now.
No one of the solutions worked for me.
jllort wrote:The UnknownHostException is caused because application try to connect to openkm.com to retrieve OpenKM latest version and suggest on user UI the upgrade when needed.I don't think so. I get UnknownHostException when it's trying to guess default application URL as the comment at line:910 said it:
// Guess default application URL
String defaultApplicationUrl = cfg.getProperty(PROPERTY_APPLICATION_URL);
if (defaultApplicationUrl == null || defaultApplicationUrl.isEmpty()) {
String hostName = InetAddress.getLocalHost().getCanonicalHostName();
defaultApplicationUrl = "http://" + hostName + "/" + Config.CONTEXT + "/index.jsp";
}
InetAddress.getLocalHost().getCanonicalHostName();