• Errors when I Run OpenKM in Hosted Mode

  • 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.
 #3822  by myming
 
After changing several java files and getting launch configuration ready.
I run openkm in hosted mode, I can successfully login, get into the page show below:
afterlogin.JPG
afterlogin.JPG (74.08 KiB) Viewed 5510 times
but when the loading completes, it disappeared and Errors showed in console:
Code: Select all
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d9a0650, pid=4968, tid=6116
#
# JRE version: 6.0_17-b04
# Java VM: Java HotSpot(TM) Client VM (14.3-b01 mixed mode windows-x86 )
# Problematic frame:
# C  [jvm.dll+0xf0650]
#
# An error report file with more information is saved as:
# E:\develop\workspace\openkm\hs_err_pid4968.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
CAxControl::FinalConstruct
And file hs_err_pid4968.log:
Code: Select all
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d9a0650, pid=4968, tid=6116
#
# JRE version: 6.0_17-b04
# Java VM: Java HotSpot(TM) Client VM (14.3-b01 mixed mode windows-x86 )
# Problematic frame:
# C  [jvm.dll+0xf0650]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x02d42000):  JavaThread "Unknown thread" [_thread_in_vm, id=6116, stack(0x008e0000,0x00930000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000080

Registers:
EAX=0x0000deab, EBX=0x2b7db240, ECX=0x00000000, EDX=0x00000000
ESP=0x00925298, EBP=0x00000000, ESI=0x00000000, EDI=0x02d41ffc
EIP=0x6d9a0650, EFLAGS=0x00250246

Top of Stack: (sp=0x00925298)
0x00925298:   02d41ffc 2b7db240 009252e8 02d42110
0x009252a8:   6d9a07e8 2b7db240 034aaff8 6d9a12a5
0x009252b8:   02d42110 2b7db240 009252e8 034aaff8
0x009252c8:   02d42110 00000000 2f581463 02d42110
0x009252d8:   034aaff8 02d42000 385441b8 385441b8
0x009252e8:   00925324 344b9e37 02d42110 0092532c
0x009252f8:   00925334 03049264 fffffffe 00925304
0x00925308:   385441b8 00925334 385b0b88 00000000 

Instructions: (pc=0x6d9a0650)
0x6d9a0640:   53 8b 5c 24 08 55 56 57 8b f1 33 ed 8d 64 24 00
0x6d9a0650:   39 ae 80 00 00 00 75 2c 8b 86 84 00 00 00 3b c5 


Stack: [0x008e0000,0x00930000],  sp=0x00925298,  free space=276k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [jvm.dll+0xf0650]

[error occurred during error reporting (printing native stack), id 0xc0000005]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  java.lang.Class.getPrimitiveClass(Ljava/lang/String;)Ljava/lang/Class;+0
j  java.lang.Float.<clinit>()V+2
v  ~StubRoutines::call_stub
j  java.util.HashMap.<init>(IF)V+56
j  java.util.HashMap.<init>(I)V+4
j  sun.misc.SoftCache.<init>(I)V+26
j  java.lang.Thread.<clinit>()V+28
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
=>0x02d42000 JavaThread "Unknown thread" [_thread_in_vm, id=6116, stack(0x008e0000,0x00930000)]

Other Threads:
  0x0338f400 VMThread [stack: 0x3e130000,0x3e180000] [id=5920]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 960K, used 17K [0x36530000, 0x36630000, 0x367a0000)
  eden space 896K,   2% used [0x36530000, 0x365347c0, 0x36610000)
  from space 64K,   0% used [0x36610000, 0x36610000, 0x36620000)
  to   space 64K,   0% used [0x36620000, 0x36620000, 0x36630000)
 tenured generation   total 4096K, used 0K [0x367a0000, 0x36ba0000, 0x38530000)
   the space 4096K,   0% used [0x367a0000, 0x367a0000, 0x367a0200, 0x36ba0000)
 compacting perm gen  total 12288K, used 518K [0x38530000, 0x39130000, 0x3c530000)
   the space 12288K,   4% used [0x38530000, 0x385b1908, 0x385b1a00, 0x39130000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x00424000 	C:\Program Files\Java\jdk1.6.0_10\bin\javaw.exe
0x7c920000 - 0x7c9b6000 	C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c91e000 	C:\WINDOWS\system32\kernel32.dll
0x77da0000 - 0x77e49000 	C:\WINDOWS\system32\ADVAPI32.dll
0x77e50000 - 0x77ee2000 	C:\WINDOWS\system32\RPCRT4.dll
0x77fc0000 - 0x77fd1000 	C:\WINDOWS\system32\Secur32.dll
0x77d10000 - 0x77da0000 	C:\WINDOWS\system32\USER32.dll
0x77ef0000 - 0x77f39000 	C:\WINDOWS\system32\GDI32.dll
0x76300000 - 0x7631d000 	C:\WINDOWS\system32\IMM32.DLL
0x62c20000 - 0x62c29000 	C:\WINDOWS\system32\LPK.DLL
0x73fa0000 - 0x7400b000 	C:\WINDOWS\system32\USP10.dll
0x7c340000 - 0x7c396000 	C:\Program Files\Java\jdk1.6.0_10\jre\bin\msvcr71.dll
0x6d8b0000 - 0x6db06000 	C:\Program Files\Java\jdk1.6.0_10\jre\bin\client\jvm.dll
0x76b10000 - 0x76b3a000 	C:\WINDOWS\system32\WINMM.dll
0x6d330000 - 0x6d338000 	C:\Program Files\Java\jdk1.6.0_10\jre\bin\hpi.dll
0x76bc0000 - 0x76bcb000 	C:\WINDOWS\system32\PSAPI.DLL
0x6d860000 - 0x6d86c000 	C:\Program Files\Java\jdk1.6.0_10\jre\bin\verify.dll
0x6d3d0000 - 0x6d3ef000 	C:\Program Files\Java\jdk1.6.0_10\jre\bin\java.dll
0x6d8a0000 - 0x6d8af000 	C:\Program Files\Java\jdk1.6.0_10\jre\bin\zip.dll
0x035d0000 - 0x0362b000 	E:\develop\workspace\openkm\gwt-windows-1.5.3\swt-win32-3235.dll
0x76990000 - 0x76acd000 	C:\WINDOWS\system32\ole32.dll
0x77be0000 - 0x77c38000 	C:\WINDOWS\system32\msvcrt.dll
0x77180000 - 0x77283000 	C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\COMCTL32.dll
0x77f40000 - 0x77fb6000 	C:\WINDOWS\system32\SHLWAPI.dll
0x76320000 - 0x76367000 	C:\WINDOWS\system32\comdlg32.dll
0x7d590000 - 0x7dd84000 	C:\WINDOWS\system32\SHELL32.dll
0x770f0000 - 0x7717b000 	C:\WINDOWS\system32\OLEAUT32.dll
0x76680000 - 0x76726000 	C:\WINDOWS\system32\WININET.dll
0x765e0000 - 0x76673000 	C:\WINDOWS\system32\CRYPT32.dll
0x76db0000 - 0x76dc2000 	C:\WINDOWS\system32\MSASN1.dll
0x73b40000 - 0x73b60000 	C:\WINDOWS\system32\MSVFW32.dll
0x5d170000 - 0x5d20a000 	C:\WINDOWS\system32\comctl32.dll
0x03690000 - 0x036ca000 	D:\Program Files\360\360Safe\safemon\safemon.dll
0x762f0000 - 0x762f5000 	C:\WINDOWS\system32\MSIMG32.dll
0x77bd0000 - 0x77bd8000 	C:\WINDOWS\system32\VERSION.dll
0x71a20000 - 0x71a37000 	C:\WINDOWS\system32\WS2_32.dll
0x71a10000 - 0x71a18000 	C:\WINDOWS\system32\WS2HELP.dll
0x75c60000 - 0x75d00000 	C:\WINDOWS\system32\urlmon.dll
0x74680000 - 0x746cc000 	C:\WINDOWS\system32\MSCTF.dll
0x73640000 - 0x7366e000 	C:\WINDOWS\system32\msctfime.ime
0x5adc0000 - 0x5adf7000 	C:\WINDOWS\system32\uxtheme.dll
0x67600000 - 0x67609000 	E:\develop\workspace\openkm\gwt-windows-1.5.3\gwt-ll.dll
0x71a40000 - 0x71a4b000 	C:\WINDOWS\system32\wsock32.dll
0x76eb0000 - 0x76eec000 	C:\WINDOWS\system32\RASAPI32.DLL
0x76e60000 - 0x76e72000 	C:\WINDOWS\system32\rasman.dll
0x5fdd0000 - 0x5fe25000 	C:\WINDOWS\system32\NETAPI32.dll
0x76e80000 - 0x76eaf000 	C:\WINDOWS\system32\TAPI32.dll
0x76e50000 - 0x76e5e000 	C:\WINDOWS\system32\rtutils.dll
0x77c40000 - 0x77c65000 	C:\WINDOWS\system32\msv1_0.dll
0x76760000 - 0x7676c000 	C:\WINDOWS\system32\cryptdll.dll
0x76d30000 - 0x76d48000 	C:\WINDOWS\system32\iphlpapi.dll
0x72240000 - 0x72245000 	C:\WINDOWS\system32\sensapi.dll
0x759d0000 - 0x75a7f000 	C:\WINDOWS\system32\USERENV.dll
0x68000000 - 0x68036000 	C:\WINDOWS\system32\rsaenh.dll
0x76fa0000 - 0x7701f000 	C:\WINDOWS\system32\CLBCATQ.DLL
0x77020000 - 0x770ba000 	C:\WINDOWS\system32\COMRes.dll
0x7e550000 - 0x7e6c3000 	C:\WINDOWS\system32\shdocvw.dll
0x75430000 - 0x754a1000 	C:\WINDOWS\system32\CRYPTUI.dll
0x76c00000 - 0x76c2e000 	C:\WINDOWS\system32\WINTRUST.dll
0x76c60000 - 0x76c88000 	C:\WINDOWS\system32\IMAGEHLP.dll
0x76f30000 - 0x76f5c000 	C:\WINDOWS\system32\WLDAP32.dll
0x719c0000 - 0x719fe000 	C:\WINDOWS\System32\mswsock.dll
0x76f90000 - 0x76f96000 	C:\WINDOWS\system32\rasadhlp.dll
0x76ef0000 - 0x76f17000 	C:\WINDOWS\system32\DNSAPI.dll
0x76f80000 - 0x76f88000 	C:\WINDOWS\System32\winrnr.dll
0x60fd0000 - 0x61025000 	C:\WINDOWS\system32\hnetcfg.dll
0x71a00000 - 0x71a08000 	C:\WINDOWS\System32\wshtcpip.dll
0x76d70000 - 0x76d92000 	C:\WINDOWS\system32\appHelp.dll
0x75e00000 - 0x75eae000 	C:\WINDOWS\system32\SXS.DLL
0x04840000 - 0x04d89000 	C:\WINDOWS\system32\xpsp2res.dll
0x7c9c0000 - 0x7cc7c000 	C:\WINDOWS\system32\msi.dll
0x04e80000 - 0x04efc000 	C:\WINDOWS\system32\shdoclc.dll
0x74cf0000 - 0x74d81000 	C:\WINDOWS\system32\mlang.dll
0x7e210000 - 0x7e508000 	C:\WINDOWS\system32\mshtml.dll
0x74620000 - 0x74647000 	C:\WINDOWS\system32\msls31.dll
0x66b50000 - 0x66b5c000 	C:\WINDOWS\system32\ImgUtil.dll
0x75bc0000 - 0x75c3d000 	C:\WINDOWS\system32\jscript.dll
0x74650000 - 0x7467a000 	C:\WINDOWS\system32\msimtf.dll
0x5e400000 - 0x5e40c000 	C:\WINDOWS\system32\pngfilt.dll
0x76060000 - 0x761b6000 	C:\WINDOWS\system32\SETUPAPI.dll
0x753b0000 - 0x75421000 	C:\WINDOWS\system32\mshtmled.dll
0x72c90000 - 0x72c99000 	C:\WINDOWS\system32\wdmaud.drv
0x72c80000 - 0x72c88000 	C:\WINDOWS\system32\msacm32.drv
0x77bb0000 - 0x77bc5000 	C:\WINDOWS\system32\MSACM32.dll
0x77ba0000 - 0x77ba7000 	C:\WINDOWS\system32\midimap.dll
0x05ef0000 - 0x06378000 	C:\WINDOWS\system32\Macromed\Flash\Flash10a.ocx
0x73aa0000 - 0x73ab5000 	C:\WINDOWS\system32\mscms.dll
0x72f70000 - 0x72f96000 	C:\WINDOWS\system32\WINSPOOL.DRV
0x6c140000 - 0x6c176000 	C:\WINDOWS\system32\dxtrans.dll
0x76af0000 - 0x76b01000 	C:\WINDOWS\system32\ATL.DLL
0x6d7c0000 - 0x6d7ca000 	C:\WINDOWS\system32\ddrawex.dll
0x736d0000 - 0x7371b000 	C:\WINDOWS\system32\DDRAW.dll
0x73b30000 - 0x73b36000 	C:\WINDOWS\system32\DCIMAN32.dll
0x6c180000 - 0x6c1da000 	C:\WINDOWS\system32\dxtmsft.dll
0x6d0b0000 - 0x6d1e8000 	C:\Program Files\Java\jdk1.6.0_10\jre\bin\awt.dll
0x6d2d0000 - 0x6d324000 	C:\Program Files\Java\jdk1.6.0_10\jre\bin\fontmanager.dll
0x5dd50000 - 0x5de64000 	C:\WINDOWS\system32\msxml3.dll
0x6d410000 - 0x6d42c000 	C:\Program Files\Java\jre6\bin\jp2iexp.dll
0x34220000 - 0x344ab000 	C:\PROGRA~1\Java\jre6\bin\client\jvm.dll
0x6d7b0000 - 0x6d7bc000 	C:\PROGRA~1\Java\jre6\bin\verify.dll
0x2f580000 - 0x2f59f000 	C:\PROGRA~1\Java\jre6\bin\java.dll
0x6d290000 - 0x6d298000 	C:\PROGRA~1\Java\jre6\bin\hpi.dll
0x6d7f0000 - 0x6d7ff000 	C:\PROGRA~1\Java\jre6\bin\zip.dll

VM Arguments:
jvm_args: -Xbootclasspath/a:C:\PROGRA~1\Java\jre6\lib\deploy.jar;C:\PROGRA~1\Java\jre6\lib\javaws.jar;C:\PROGRA~1\Java\jre6\lib\plugin.jar -Xmx32m -Djava.awt.headless=true -Dkernel.background.download=false -Dkernel.download.dialog=false -XX:MaxDirectMemorySize=64m 
java_command: <unknown>
Launcher Type: generic

Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_10
CLASSPATH=.;C:\Program Files\Java\jdk1.6.0_10\dt.jar;C:\Program Files\Java\jdk1.6.0_10\tools.jar
PATH=C:\Program Files\CollabNet Subversion Server;C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\apache-tomcat-6.0.20\bin;C:\Program Files\Java\jdk1.6.0_10\bin;D:\MySQL\MySQL Server 5.0\bin;C:\apache-maven-2.2.1\bin;C:\Program Files\TortoiseSVN\bin;C:\apache-ant-1.7.1\bin;C:\gwt-windows-1.7.1\bin;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;D:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;D:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;D:\Program Files\Microsoft Visual Studio\Common\Tools;D:\Program Files\Microsoft Visual Studio\VC98\bin
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows XP Build 2600 Service Pack 3

CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 23 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3

Memory: 4k page, physical 2061484k(452896k free), swap 3966776k(2156628k free)

vm_info: Java HotSpot(TM) Client VM (14.3-b01) for windows-x86 JRE (1.6.0_17-b04), built on Oct 11 2009 00:52:06 by "java_re" with MS VC++ 7.1

time: Thu Jan 21 10:08:33 2010
elapsed time: 0 seconds
Can anyone tell me how to settle this.
Thanks in advance.
 #3836  by myming
 
jllort wrote:Some memory error ? try assign more if it solves
Thanks, I will try it.

On yesterday, I just uninstalled the older jdk, and unzip a new jdk(from a zip file and obviously not a latest version) into my system. Changed some path configurations and it worked. Now it still has some problems, and I'll keep trying.

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.