Page 2 of 2

Re: OpenKM 6.2 Community - Postgresql & network access

PostPosted:Tue Oct 30, 2012 3:18 pm
by pavila
As I can see in the log, hibernate.hbm2ddl is set to none and should be set to create. So, stop Tomcat, edit OpenKM.cfg file to set hibernate.hbm2ddl to create and start Tomcat again.

Re: OpenKM 6.2 Community - Postgresql & network access

PostPosted:Tue Oct 30, 2012 6:37 pm
by agm
pavila wrote:As I can see in the log, hibernate.hbm2ddl is set to none and should be set to create. So, stop Tomcat, edit OpenKM.cfg file to set hibernate.hbm2ddl to create and start Tomcat again.
I did that, but when tomcat start it changes the value of hibernate.hbm2ddl to "none". Before start Tomcat I have:

sapphire:/opt/openkm-6.2/tomcat# cat OpenKM.cfg
# OpenKM Hibernate configuration values
hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
hibernate.hbm2ddl=create

When tomcat is running:

sapphire:/opt/openkm-6.2/tomcat# cat OpenKM.cfg
# OpenKM Hibernate configuration values
hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
hibernate.hbm2ddl=none

And okm_user table still is void. Also I've the most recent OpenKM.war.

catalina log is attachment.

Regards.

Re: OpenKM 6.2 Community - Postgresql & network access

PostPosted:Tue Nov 06, 2012 10:46 am
by pavila
You need to use the last night build from http://integration.openkm.com/6.2/