• OpenKM 6.2 Wrong Document Time

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
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.
 #18886  by juliaugong
 
Hi everyone,

I have just installed OpenKM 6.2 on CentOS 6.3, but I found the document time is 12hours early than the OS time. Such as my OS time is Thu Oct 25 17:35:25 HKT 2012, and the OpenKM time is 2012-10-25 5:35:25.

but when I use OpenKM 5.1.11 on the same server, the time correct.

anyone can help me.

thanks very much!
 #18893  by okmuser
 
Is your log entries have the same time difference too?

If so, then the timezone setting is incorrect in tomcat.
 #18894  by juliaugong
 
I have checked several logs,
catalina.log(correct)
Code: Select all
2012-10-25 15:17:31,037 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.RTFTextExtractor for 'application/rtf'
2012-10-25 15:17:31,037 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.RTFTextExtractor for 'text/rtf'
2012-10-25 15:17:31,038 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.HTMLTextExtractor for 'text/html'
2012-10-25 15:17:31,039 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.XMLTextExtractor for 'text/xml'
2012-10-25 15:17:31,039 [pool-2-thread-1] INFO  com.openkm.extractor.RegisteredExtractors - Registering org.apache.jackrabbit.extractor.XMLTextExtractor for 'application/xml'
catalina.2012-10-25.log(correct):
Code: Select all
Oct 25, 2012 3:17:14 PM com.openkm.util.LoggerWatchdog doOnChange
INFO: *** Log4j configuration file changed ***
Oct 25, 2012 3:26:56 PM com.openkm.util.LoggerWatchdog doOnChange
INFO: *** Log4j configuration file changed ***
Oct 25, 2012 4:28:30 PM com.openkm.util.LoggerWatchdog doOnChange
INFO: *** Log4j configuration file changed ***
Oct 25, 2012 4:36:56 PM com.openkm.util.LoggerWatchdog doOnChange
INFO: *** Log4j configuration file changed ***
Oct 25, 2012 5:04:27 PM com.openkm.util.LoggerWatchdog doOnChange
INFO: *** Log4j configuration file changed ***
Oct 25, 2012 5:12:58 PM com.openkm.util.LoggerWatchdog doOnChange
INFO: *** Log4j configuration file changed ***
Oct 25, 2012 5:21:37 PM com.openkm.util.LoggerWatchdog doOnChange
INFO: *** Log4j configuration file changed ***
okmdb.log(correct)
Code: Select all
/*C9*/SET SCHEMA PUBLIC
DISCONNECT
/*C10*/SET SCHEMA PUBLIC
INSERT INTO OKM_ACTIVITY VALUES(1714,'MISC_OPENKM_START','2012-10-25 17:21:53.136000',NULL,NULL,NULL,'system')
COMMIT
how can I set correct timezone in my tomcat?

thanks very much!

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.