Thanks for jllort's reply.
I've noticed there is a warning message in catalina.log
Line 13187: Caused by: com.mysql.jdbc.PacketTooBigException: Packet for query is too large (31653439 > 20971520). You can change this value on the server by setting the max_allowed_packet' variable.
I've changed MySQL max_allowed_packet's value from 20M to 40M. Then restart MySQL and OpenKM.
After changing this value, this warning didn't show up again.
But the problem still exists. I've to wait for 3 mins.
Here is the log when I log in after I restart MySQL & OpenKM.
Code: Select all2014-05-17 21:40:39,500 [ main] INFO org.apache.catalina.startup.Catalina - Server startup in 33690 ms
2014-05-17 21:41:01,500 [http-bio-0.0.0.0-8080-exec-6] INFO org.dozer.config.GlobalSettings - Trying to find Dozer configuration file: dozer.properties
2014-05-17 21:41:01,531 [http-bio-0.0.0.0-8080-exec-6] WARN org.dozer.config.GlobalSettings - Dozer configuration file not found: dozer.properties. Using defaults for all Dozer global properties.
2014-05-17 21:41:01,531 [http-bio-0.0.0.0-8080-exec-5] INFO com.openkm.module.common.CommonAuthModule - PrincipalAdapter: com.openkm.principal.DatabasePrincipalAdapter
2014-05-17 21:41:01,562 [http-bio-0.0.0.0-8080-exec-6] INFO org.dozer.DozerInitializer - Initializing Dozer. Version: 5.3.2, Thread Name: http-bio-0.0.0.0-8080-exec-6
2014-05-17 21:41:01,625 [http-bio-0.0.0.0-8080-exec-6] INFO org.dozer.jmx.JMXPlatformImpl - Dozer JMX MBean [org.dozer.jmx:type=DozerStatisticsController] auto registered with the Platform MBean Server
2014-05-17 21:41:01,656 [http-bio-0.0.0.0-8080-exec-6] INFO org.dozer.jmx.JMXPlatformImpl - Dozer JMX MBean [org.dozer.jmx:type=DozerAdminController] auto registered with the Platform MBean Server
2014-05-17 21:41:01,703 [http-bio-0.0.0.0-8080-exec-6] INFO org.dozer.DozerBeanMapper - Initializing a new instance of dozer bean mapper.
2014-05-17 21:41:01,734 [http-bio-0.0.0.0-8080-exec-6] INFO org.dozer.loader.CustomMappingsLoader - Using the following xml files to load custom mappings for the bean mapper instance: [dozerBeanMapping.xml]
2014-05-17 21:41:01,765 [http-bio-0.0.0.0-8080-exec-6] INFO org.dozer.loader.CustomMappingsLoader - Trying to find xml mapping file: dozerBeanMapping.xml
2014-05-17 21:41:01,781 [http-bio-0.0.0.0-8080-exec-6] INFO org.dozer.loader.CustomMappingsLoader - Using URL [file:/D:/openkm6/tomcat/webapps/OpenKM/WEB-INF/classes/dozerBeanMapping.xml] to load custom xml mappings
2014-05-17 21:41:01,828 [http-bio-0.0.0.0-8080-exec-6] INFO org.dozer.loader.CustomMappingsLoader - Successfully loaded custom xml mappings from URL: [file:/D:/openkm6/tomcat/webapps/OpenKM/WEB-INF/classes/dozerBeanMapping.xml]
number of OKM_NODE_DOCUMENT
4226
number of OKM_NODE_FOLDER
648
number of OKM_NODE_KEYWORD
25
number of OKM_NODE_MAIL
0
number of OKM_NODE_CATEGORY
0
Thanks you very much~