• OpenKM 6.2 Community - Postgresql & network access

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
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.
 #18670  by macjaeger
 
By default, tomcat (the application server OpenKM 6.2 is running in) will bind only to localhost (127.0.0.1), thus you can't reach the server from outside. One way to change this is to edit "tomcat/conf/server.xml": search for the line
Code: Select all
<Connector port="8080" address="127.0.0.1" ...
and change 127.0.0.0 it to an asterisk:
Code: Select all
<Connector port="8080" address="*" ...
Now tomcat should bind to all available networks and should be reachable from outside.
 #18686  by jiunnyik
 
Thank you guys.

How about default ID ? After I bind to postgresql , I'm not able to login with okmAdmin/admin . Tested with postgresql 8.4 & 9.1

Is there something I missed out ?

I followed configuration here . http://wiki.openkm.com/index.php/PostgreSQL-OpenKM_6.0

I have checked, tables are created, but there is no data for table okm_user.

Thanks.
 #18727  by pavila
 
1.- Have you added the PostgreSQL JDBC driver to the "$TOMCAT_HOME/lib" directory?

2.- Stop Tomcat, clean $TOMCAT_GOME/logs directory, set hibernate.hbm2ddl=create and start again. After started, please attach the catalina.log file zipped to this post and I will revise it to check problems.
 #18739  by jiunnyik
 
pavila wrote:1.- Have you added the PostgreSQL JDBC driver to the "$TOMCAT_HOME/lib" directory?

2.- Stop Tomcat, clean $TOMCAT_GOME/logs directory, set hibernate.hbm2ddl=create and start again. After started, please attach the catalina.log file zipped to this post and I will revise it to check problems.
Hi pavila.

1. Yes. postgresql-8.4-703.jdbc4.jar

Scientific Linux 6.3 x86_64 :-
postgresql-libs-8.4.13-1.el6_3.x86_64
postgresql-server-8.4.13-1.el6_3.x86_64
postgresql-8.4.13-1.el6_3.x86_64

2. Attached the log file

Thanks.
Attachments
(10.87 KiB) Downloaded 336 times
 #18814  by jllort
 
Seems some problem with login styles. The problem is only on login or in UI too ?

Take a look if in your server exists the file : /OpenKM/css/desktop.css
 #18941  by agm
 
Hi,

I have the same problem, I updated OpenKM.war and set hibernate.hbm2ddl=create in OpenKM.cfg. The table okm_user is void in database. Attach is catalina log before and after make hibernate.hbm2ddl=create again.

Regards.
 #18952  by agm
 
agm wrote:Hi,

I have the same problem, I updated OpenKM.war and set hibernate.hbm2ddl=create in OpenKM.cfg. The table okm_user is void in database. Attach is catalina log before and after make hibernate.hbm2ddl=create again.

Regards.
Ups, I forgot attach log, sorry.
Attachments
Log catalina
(21.85 KiB) Downloaded 325 times

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.