Page 1 of 1

openkm 7 CE and windows server 2016

PostPosted:Mon Apr 13, 2026 8:10 pm
by CARLOFAGGIONI
I tried to install, using the windows package, on a virtualized windows server 2016 without success. The installation process has apparently terminated correctly, MySQL has been also installed. jdk-11.0.24.8 and tomcat-9.0.115\ are in place and the openkm service is up. But http://localhost:8080/openkm returns "impossible to find the page".

localhost acces log:
Code: Select all
0:0:0:0:0:0:0:1 - - [13/Apr/2026:21:49:08 +0200] "GET / HTTP/1.1" 302 -
0:0:0:0:0:0:0:1 - - [13/Apr/2026:21:49:08 +0200] "GET /openkm HTTP/1.1" 404 -
openkm.log:
Code: Select all
2026-04-13 21:56:11.052  WARN 3052 --- [main] o.s.b.f.support.DisposableBeanAdapter    : Invocation of destroy method failed on bean with name 'entityManagerFactory': java.lang.IllegalStateException: EntityManagerFactory is closed
2026-04-13 21:56:11.052  INFO 3052 --- [main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2026-04-13 21:56:11.068  INFO 3052 --- [main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
Any suggestion?

Re: openkm 7 CE and windows server 2016

PostPosted:Wed Apr 15, 2026 6:30 am
by jllort
* stop the OpenKM
* remove all the files in the logs folder
* start the openkm
* when started, zip the logs folder and share here, thanks

Re: openkm 7 CE and windows server 2016

PostPosted:Wed Apr 15, 2026 10:40 am
by CARLOFAGGIONI
Thank you. Here attached the log files.
Carlo

Re: openkm 7 CE and windows server 2016

PostPosted:Thu Apr 16, 2026 10:10 am
by jllort
You have a lot of problems:
1- java.io.FileNotFoundException: C:\tomcat-9.0.115\repository\.system.key (Accesso negato)
you should modify security at C:\tomcat-9.0.115 and give FULL grants to the user "Local Service" ( all the hierarchy )

2-then you have a problem with the database ( or not able to connect or and old version ) -> What database version did you installed. Please check in the openkm.properties the database user and password and try to check if you can access to the database and create tables etc...

Re: openkm 7 CE and windows server 2016

PostPosted:Sun Apr 19, 2026 2:54 pm
by CARLOFAGGIONI
1. security of the directory has been modified
2. Mysql 8.0 which is accessible by the user defined in openkm.properties
but still not working; new log files here attached
Carlo

Re: openkm 7 CE and windows server 2016

PostPosted:Mon Apr 20, 2026 7:14 am
by jllort
You are still having problems accessing the file:
2026-04-19 16:53:30.791 ERROR 788 --- [main] com.openkm.util.event.RepositoryHelper : C:\tomcat-9.0.115\repository.system.key (Access denied)

java.io.FileNotFoundException: C:\tomcat-9.0.115\repository.system.key (Access denied)

I recommend deleting the database and recreating it; this will fix some warnings and start with a clean process... the main issue is still the OS security.

You can try opening the OS terminal as administrator, go to C:\tomcat-9.0.115\bin and then run "catalina.bat run". This is not the correct way to start the application at all, but you have something related to Windows security policy and services that is causing problems when accessing the file in question (and probably others).

After starting it for the first time from the terminal, stop it and try running it as a service to see if it starts correctly. In any case, as I mentioned, your problem is something related to Windows security policy and the service user when accessing files.

Re: openkm 7 CE and windows server 2016

PostPosted:Mon Apr 20, 2026 7:50 pm
by CARLOFAGGIONI
Succeeded! Thank you,
Carlo