Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/.classpath
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/.classpath	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/.classpath	(revision 17156)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.5.0_10"/>
+	<classpathentry kind="lib" path="/research/cc108/greenstone3Project/web/WEB-INF/lib/gsdl3.jar"/>
+	<classpathentry kind="lib" path="/research/cc108/greenstone3Project/web/WEB-INF/lib/axis.jar"/>
+	<classpathentry kind="lib" path="/research/cc108/greenstone3Project/web/WEB-INF/lib/jaxrpc.jar"/>
+	<classpathentry kind="lib" path="/home/cc108/jFreeChart/lib/jcommon-1.0.10.jar"/>
+	<classpathentry kind="lib" path="/home/cc108/jFreeChart/lib/jfreechart-1.0.6.jar"/>
+	<classpathentry kind="lib" path="/research/cc108/greenstone3Project/web/WEB-INF/lib/log4j-1.2.8.jar"/>
+	<classpathentry kind="lib" path="/research/cc108/greenstone3Project/web/WEB-INF/lib/lucene-1.4.1.jar"/>
+	<classpathentry kind="lib" path="/research/cc108/greenstone3Project/web/WEB-INF/lib/LuceneWrapper.jar"/>
+	<classpathentry kind="lib" path="/research/cc108/greenstone3Project/web/applet/xml-apis.jar"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/.project
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/.project	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/.project	(revision 17156)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>Greenstone3Project</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10108.log
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10108.log	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10108.log	(revision 17156)
@@ -0,0 +1,342 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  SIGSEGV (0xb) at pc=0x53e58955, pid=10108, tid=3086001856
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
+# Problematic frame:
+# C  0x53e58955
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x08640bb8):  JavaThread "main" [_thread_in_native, id=10108]
+
+siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x53e58955
+
+Registers:
+EAX=0x00db01b0, EBX=0xb16181d0, ECX=0xb2328fd8, EDX=0x0023d380
+ESP=0xbfa8a27c, EBP=0xbfa8a2a8, ESI=0x08a718b8, EDI=0x08a718b8
+EIP=0x53e58955, CR2=0x53e58955, EFLAGS=0x00210206
+
+Top of Stack: (sp=0xbfa8a27c)
+0xbfa8a27c:   b15fda92 08a718b8 00000018 b161018f
+0xbfa8a28c:   08a718b8 00000001 08a71b5c b15fd99b
+0xbfa8a29c:   b16181d0 b161018f b15fd540 bfa8a2d8
+0xbfa8a2ac:   b15fdbd1 b1610174 b160fbc2 b15fd540
+0xbfa8a2bc:   08640c78 bfa8a308 b160fbc2 b15fdb7b
+0xbfa8a2cc:   b16181d0 08a6abe0 08640c78 bfa8a308
+0xbfa8a2dc:   b15f95cc 08640c78 bfa8a344 00000042
+0xbfa8a2ec:   08a6abe0 bfa8a364 8cccf3f8 b15f954b 
+
+Instructions: (pc=0x53e58955)
+0x53e58945:   
+[error occurred during error reporting, step 100, id 0xb]
+
+Stack: [0xbf890000,0xbfa90000),  sp=0xbfa8a27c,  free space=2024k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  0x53e58955
+C  [libmgsearchjni.so+0xabd1]  InitEnv+0x61
+C  [libmgsearchjni.so+0x65cc]  Java_org_greenstone_mg_MGSearchWrapper_initCSide+0x8c
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x2b5acc]
+V  [libjvm.so+0x2b8a50]
+V  [libjvm.so+0x1ef248]
+C  [libjava.so+0x137ad]  Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0+0x2d
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+274
+j  org.greenstone3.ms.collectionChooser.<init>()V+22
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x1a55f2]
+V  [libjvm.so+0x196802]
+C  [java+0x1873]
+C  [libc.so.6+0x15dec]  __libc_start_main+0xdc
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+274
+j  org.greenstone3.ms.collectionChooser.<init>()V+22
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x08a248e0 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=10121]
+  0x08a15c80 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=10120]
+  0x08688f38 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=10118]
+  0x08687a28 JavaThread "CompilerThread0" daemon [_thread_blocked, id=10117]
+  0x08686a28 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10116]
+  0x08680e48 JavaThread "Finalizer" daemon [_thread_blocked, id=10115]
+  0x0867efc0 JavaThread "Reference Handler" daemon [_thread_blocked, id=10114]
+=>0x08640bb8 JavaThread "main" [_thread_in_native, id=10108]
+
+Other Threads:
+  0x0867c420 VMThread [id=10113]
+  0x0868a500 WatcherThread [id=10119]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 576K, used 40K [0x88b40000, 0x88be0000, 0x89020000)
+  eden space 512K,   7% used [0x88b40000, 0x88b4a108, 0x88bc0000)
+  from space 64K,   0% used [0x88bc0000, 0x88bc0000, 0x88bd0000)
+  to   space 64K,   0% used [0x88bd0000, 0x88bd0000, 0x88be0000)
+ tenured generation   total 2312K, used 1385K [0x89020000, 0x89262000, 0x8cb40000)
+   the space 2312K,  59% used [0x89020000, 0x8917a5e8, 0x8917a600, 0x89262000)
+ compacting perm gen  total 8192K, used 1603K [0x8cb40000, 0x8d340000, 0x90b40000)
+   the space 8192K,  19% used [0x8cb40000, 0x8ccd0d30, 0x8ccd0e00, 0x8d340000)
+    ro space 8192K,  68% used [0x90b40000, 0x910bf220, 0x910bf400, 0x91340000)
+    rw space 12288K,  48% used [0x91340000, 0x9190a968, 0x9190aa00, 0x91f40000)
+
+Dynamic libraries:
+00101000-0023b000 r-xp 00000000 03:03 5133208    /lib/libc-2.5.so
+0023b000-0023d000 r-xp 0013a000 03:03 5133208    /lib/libc-2.5.so
+0023d000-0023e000 rwxp 0013c000 03:03 5133208    /lib/libc-2.5.so
+0023e000-00241000 rwxp 0023e000 00:00 0 
+00243000-00341000 r-xp 00000000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00341000-00345000 rwxp 000fe000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00397000-003b0000 r-xp 00000000 03:03 5133207    /lib/ld-2.5.so
+003b0000-003b1000 r-xp 00019000 03:03 5133207    /lib/ld-2.5.so
+003b1000-003b2000 rwxp 0001a000 03:03 5133207    /lib/ld-2.5.so
+003b4000-003bd000 r-xp 00000000 03:03 5133232    /lib/libnss_files-2.5.so
+003bd000-003be000 r-xp 00008000 03:03 5133232    /lib/libnss_files-2.5.so
+003be000-003bf000 rwxp 00009000 03:03 5133232    /lib/libnss_files-2.5.so
+003c1000-003c9000 r-xp 00000000 03:03 5133235    /lib/libnss_nis-2.5.so
+003c9000-003ca000 r-xp 00007000 03:03 5133235    /lib/libnss_nis-2.5.so
+003ca000-003cb000 rwxp 00008000 03:03 5133235    /lib/libnss_nis-2.5.so
+0042e000-00441000 r-xp 00000000 03:03 5133221    /lib/libnsl-2.5.so
+00441000-00442000 r-xp 00012000 03:03 5133221    /lib/libnsl-2.5.so
+00442000-00443000 rwxp 00013000 03:03 5133221    /lib/libnsl-2.5.so
+00443000-00445000 rwxp 00443000 00:00 0 
+00d66000-00d8b000 r-xp 00000000 03:03 5133213    /lib/libm-2.5.so
+00d8b000-00d8c000 r-xp 00024000 03:03 5133213    /lib/libm-2.5.so
+00d8c000-00d8d000 rwxp 00025000 03:03 5133213    /lib/libm-2.5.so
+00d8f000-00d91000 r-xp 00000000 03:03 5133209    /lib/libdl-2.5.so
+00d91000-00d92000 r-xp 00001000 03:03 5133209    /lib/libdl-2.5.so
+00d92000-00d93000 rwxp 00002000 03:03 5133209    /lib/libdl-2.5.so
+00daa000-00dac000 r-xp 00000000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00dac000-00dad000 rwxp 00001000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00daf000-00db4000 r-xp 00000000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db4000-00db5000 rwxp 00004000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db7000-00dca000 r-xp 00000000 03:03 5133215    /lib/libpthread-2.5.so
+00dca000-00dcb000 r-xp 00012000 03:03 5133215    /lib/libpthread-2.5.so
+00dcb000-00dcc000 rwxp 00013000 03:03 5133215    /lib/libpthread-2.5.so
+00dcc000-00dce000 rwxp 00dcc000 00:00 0 
+00dd0000-00ddf000 r-xp 00000000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00ddf000-00de0000 rwxp 0000e000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00de2000-00dea000 r-xp 00000000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00dea000-00deb000 rwxp 00007000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00ded000-00df1000 r-xp 00000000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+00df1000-00df2000 rwxp 00003000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+06321000-0632a000 r-xp 00000000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0632a000-0632b000 rwxp 00008000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0640e000-06419000 r-xp 00000000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06419000-0641a000 rwxp 0000a000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06443000-06523000 r-xp 00000000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06523000-06527000 r-xp 000df000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06527000-06528000 rwxp 000e3000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06528000-0652e000 rwxp 06528000 00:00 0 
+070b3000-070b8000 r-xp 00000000 03:03 5129595    /lib/libcrypt-2.5.so
+070b8000-070b9000 r-xp 00004000 03:03 5129595    /lib/libcrypt-2.5.so
+070b9000-070ba000 rwxp 00005000 03:03 5129595    /lib/libcrypt-2.5.so
+070ba000-070e1000 rwxp 070ba000 00:00 0 
+08048000-08057000 r-xp 00000000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08057000-08059000 rwxp 0000e000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+0863b000-08a9f000 rwxp 0863b000 00:00 0 
+88b40000-88be0000 rwxp 88b40000 00:00 0 
+88be0000-89020000 rwxp 88be0000 00:00 0 
+89020000-89262000 rwxp 89020000 00:00 0 
+89262000-8cb40000 rwxp 89262000 00:00 0 
+8cb40000-8d340000 rwxp 8cb40000 00:00 0 
+8d340000-90b40000 rwxp 8d340000 00:00 0 
+90b40000-910c0000 r-xs 00001000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+910c0000-91340000 rwxp 910c0000 00:00 0 
+91340000-9190b000 rwxp 00581000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+9190b000-91f40000 rwxp 9190b000 00:00 0 
+91f40000-92010000 rwxp 00b4c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92010000-92340000 rwxp 92010000 00:00 0 
+92340000-92344000 r-xs 00c1c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92344000-92740000 rwxp 92344000 00:00 0 
+b15f3000-b1618000 r-xp 00000000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b1618000-b161a000 rwxp 00025000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b161a000-b161b000 rwxp b161a000 00:00 0 
+b161b000-b1631000 r-xp 00000000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b1631000-b1632000 rwxp 00016000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b1632000-b1666000 r-xp 00000000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b1666000-b166f000 rwxp 00033000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b166f000-b1675000 r-xp 00000000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b1675000-b1676000 rwxp 00005000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b1688000-b168a000 r-xp 00000000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b168a000-b168b000 rwxp 00002000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b168b000-b168e000 --xp b168b000 00:00 0 
+b168e000-b170c000 rwxp b168e000 00:00 0 
+b170c000-b170f000 --xp b170c000 00:00 0 
+b170f000-b178d000 rwxp b170f000 00:00 0 
+b178d000-b17f7000 r-xp 00000000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b17f7000-b1801000 rwxp 00069000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b1801000-b1805000 rwxp b1801000 00:00 0 
+b1805000-b1808000 r-xs 00000000 03:04 11177891   /research/cc108/greenstone3Project/lib/jni/mgpp.jar
+b1808000-b180b000 r-xs 00000000 03:04 11177890   /research/cc108/greenstone3Project/lib/jni/mg.jar
+b180b000-b1811000 r-xs 00000000 03:04 11177881   /research/cc108/greenstone3Project/lib/jni/javagdbm.jar
+b1811000-b1937000 r-xs 00000000 03:04 824762     /research/cc108/greenstone3Project/web/WEB-INF/lib/xercesImpl.jar
+b1937000-b197c000 r-xs 00000000 03:04 824767     /research/cc108/greenstone3Project/web/WEB-INF/lib/mail.jar
+b197c000-b19ac000 r-xs 00000000 03:04 922338     /research/cc108/greenstone3Project/web/applet/xml-apis.jar
+b19ac000-b1a57000 r-xs 00000000 03:04 823556     /research/cc108/greenstone3Project/web/WEB-INF/lib/LuceneWrapper.jar
+b1a57000-b1aa6000 r-xs 00000000 03:04 824760     /research/cc108/greenstone3Project/web/WEB-INF/lib/lucene-1.4.1.jar
+b1aa6000-b1afd000 r-xs 00000000 03:04 822971     /research/cc108/greenstone3Project/web/WEB-INF/lib/log4j-1.2.8.jar
+b1afd000-b1c26000 r-xs 00000000 00:12 10701459   /home/cc108/jFreeChart/lib/jfreechart-1.0.6.jar
+b1c26000-b1c73000 r-xs 00000000 00:12 10701456   /home/cc108/jFreeChart/lib/jcommon-1.0.10.jar
+b1c73000-b1c7b000 r-xs 00000000 03:04 823023     /research/cc108/greenstone3Project/web/WEB-INF/lib/jaxrpc.jar
+b1c7b000-b1e03000 r-xs 00000000 03:04 823122     /research/cc108/greenstone3Project/web/WEB-INF/lib/axis.jar
+b1e03000-b1e65000 r-xs 00000000 03:04 823577     /research/cc108/greenstone3Project/web/WEB-INF/lib/gsdl3.jar
+b1e65000-b1e93000 r-xp 00000000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1e93000-b1e96000 rwxp 0002e000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1e96000-b1e97000 rwxp b1e96000 00:00 0 
+b1e97000-b1f5d000 r-xp 00000000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1f5d000-b1f5e000 rwxp 000c5000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1f5e000-b1fbe000 r-xp 00000000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b1fbe000-b1fc4000 rwxp 0005f000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b1fc4000-b1fe8000 rwxp b1fc4000 00:00 0 
+b1fe8000-b20ad000 r-xs 00000000 03:03 6669015    /opt/jdk1.5.0_10/jre/lib/ext/localedata.jar
+b20ad000-b20af000 r-xs 00000000 03:03 6669016    /opt/jdk1.5.0_10/jre/lib/ext/dnsns.jar
+b20af000-b20da000 r-xs 00000000 03:03 6669017    /opt/jdk1.5.0_10/jre/lib/ext/sunpkcs11.jar
+b20da000-b2101000 r-xs 00000000 03:03 6669014    /opt/jdk1.5.0_10/jre/lib/ext/sunjce_provider.jar
+b2101000-b2102000 --xp b2101000 00:00 0 
+b2102000-b2182000 rwxp b2102000 00:00 0 
+b2182000-b2185000 --xp b2182000 00:00 0 
+b2185000-b2203000 rwxp b2185000 00:00 0 
+b2203000-b2206000 --xp b2203000 00:00 0 
+b2206000-b2284000 rwxp b2206000 00:00 0 
+b2284000-b2287000 --xp b2284000 00:00 0 
+b2287000-b2305000 rwxp b2287000 00:00 0 
+b2305000-b2505000 r-xp 00000000 03:03 4773667    /usr/lib/locale/locale-archive
+b2505000-b2508000 --xp b2505000 00:00 0 
+b2508000-b2586000 rwxp b2508000 00:00 0 
+b2586000-b2589000 --xp b2586000 00:00 0 
+b2589000-b2607000 rwxp b2589000 00:00 0 
+b2607000-b2608000 --xp b2607000 00:00 0 
+b2608000-b2694000 rwxp b2608000 00:00 0 
+b2694000-b26b0000 rwxp b2694000 00:00 0 
+b26b0000-b26b2000 rwxp b26b0000 00:00 0 
+b26b2000-b26ce000 rwxp b26b2000 00:00 0 
+b26ce000-b26cf000 rwxp b26ce000 00:00 0 
+b26cf000-b26d0000 rwxp b26cf000 00:00 0 
+b26d0000-b26d2000 rwxp b26d0000 00:00 0 
+b26d2000-b26ee000 rwxp b26d2000 00:00 0 
+b26ee000-b26f2000 rwxp b26ee000 00:00 0 
+b26f2000-b270e000 rwxp b26f2000 00:00 0 
+b270e000-b271d000 rwxp b270e000 00:00 0 
+b271d000-b2799000 rwxp b271d000 00:00 0 
+b2799000-b2881000 rwxp b2799000 00:00 0 
+b2881000-b4799000 rwxp b2881000 00:00 0 
+b4799000-b5008000 r-xs 00000000 03:03 6668968    /opt/jdk1.5.0_10/jre/lib/charsets.jar
+b5008000-b501d000 r-xs 00000000 03:03 6668987    /opt/jdk1.5.0_10/jre/lib/jce.jar
+b501d000-b50a2000 r-xs 00000000 03:03 6668837    /opt/jdk1.5.0_10/jre/lib/jsse.jar
+b50a2000-b510b000 rwxp b50a2000 00:00 0 
+b510b000-b7719000 r-xs 00000000 03:03 6668836    /opt/jdk1.5.0_10/jre/lib/rt.jar
+b7719000-b7728000 r-xp 00000000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b7728000-b772a000 rwxp 0000e000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b772a000-b774b000 r-xp 00000000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b774b000-b774d000 rwxp 00020000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b774d000-b7754000 r-xp 00000000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7754000-b7755000 r-xp 00006000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7755000-b7756000 rwxp 00007000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7756000-b7757000 r-xs 00000000 03:04 11177901   /research/cc108/greenstone3Project/lib/jni/cp.jar
+b7757000-b775c000 rwxp b7757000 00:00 0 
+b775c000-b7767000 r-xp 00000000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b7767000-b7768000 rwxp 0000b000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b7768000-b7ad5000 r-xp 00000000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7ad5000-b7af3000 rwxp 0036c000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7af3000-b7f0c000 rwxp b7af3000 00:00 0 
+b7f0c000-b7f0d000 r-xp 02aea000 03:03 4773667    /usr/lib/locale/locale-archive
+b7f0d000-b7f15000 rwxs 00000000 03:03 4151850    /tmp/hsperfdata_cc108/10108
+b7f15000-b7f1b000 r-xp 00000000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f1b000-b7f1c000 rwxp 00006000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f1c000-b7f1d000 rwxp b7f1c000 00:00 0 
+b7f1d000-b7f1e000 r-xp b7f1d000 00:00 0 
+b7f1e000-b7f1f000 r-xp b7f1e000 00:00 0          [vdso]
+bf890000-bf893000 --xp bf890000 00:00 0 
+bf893000-bfa90000 rwxp bf893000 00:00 0          [stack]
+
+VM Arguments:
+jvm_args: -Djava.library.path=/research/cc108/greenstone3Project/lib/jni -Djava.net.preferIPv4Stack=true
+java_command: org.greenstone3.ms.collectionChooser
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=/opt/jdk1.5.0_10
+JRE_HOME=/opt/jdk1.5.0_10/jre
+PATH=/home/cc108/bin:/opt/jdk1.5.0_10:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
+USERNAME=cc108
+LD_LIBRARY_PATH=/opt/jdk1.5.0_10/jre/lib/i386/client:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386:/usr/lib/firefox-1.5.0.12
+SHELL=/bin/bash
+DISPLAY=:0.0
+
+Signal Handlers:
+SIGSEGV: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGBUS: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGFPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGPIPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGILL: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
+SIGUSR2: [libjvm.so+0x28ce60], sa_mask[0]=0x00000000, sa_flags=0x10000004
+SIGHUP: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGINT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGQUIT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGTERM: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Fedora Core release 6 (Zod)
+
+uname:Linux 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 12:34:26 EDT 2007 i686
+libc:glibc 2.5 NPTL 2.5 
+rlimit: STACK 10240k, CORE 0k, NPROC 16383, NOFILE 1024, AS infinity
+load average:0.31 0.32 0.31
+
+CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
+
+Memory: 4k page, physical 1034780k(27232k free), swap 2000084k(1998756k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0_10-b03) for linux-x86, built on Nov  9 2006 14:22:56 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10153.log
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10153.log	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10153.log	(revision 17156)
@@ -0,0 +1,342 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  SIGSEGV (0xb) at pc=0x53e58955, pid=10153, tid=3086165696
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
+# Problematic frame:
+# C  0x53e58955
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x09818bb8):  JavaThread "main" [_thread_in_native, id=10153]
+
+siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x53e58955
+
+Registers:
+EAX=0x00db01b0, EBX=0xb16401d0, ECX=0xb2350fd8, EDX=0x0023d380
+ESP=0xbff46f3c, EBP=0xbff46f68, ESI=0x09c49f88, EDI=0x09c49f88
+EIP=0x53e58955, CR2=0x53e58955, EFLAGS=0x00210206
+
+Top of Stack: (sp=0xbff46f3c)
+0xbff46f3c:   b1625a92 09c49f88 00000018 b163818f
+0xbff46f4c:   09c49f88 00000001 09c49ff4 b162599b
+0xbff46f5c:   b16401d0 b163818f b1625540 bff46f98
+0xbff46f6c:   b1625bd1 b1638174 b1637bc2 b1625540
+0xbff46f7c:   09818c78 bff46fc8 b1637bc2 b1625b7b
+0xbff46f8c:   b16401d0 09c4a118 09818c78 bff46fc8
+0xbff46f9c:   b16215cc 09818c78 bff47004 00000042
+0xbff46fac:   09c4a118 bff47024 8cccf440 b162154b 
+
+Instructions: (pc=0x53e58955)
+0x53e58945:   
+[error occurred during error reporting, step 100, id 0xb]
+
+Stack: [0xbfd4d000,0xbff4d000),  sp=0xbff46f3c,  free space=2023k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  0x53e58955
+C  [libmgsearchjni.so+0xabd1]  InitEnv+0x61
+C  [libmgsearchjni.so+0x65cc]  Java_org_greenstone_mg_MGSearchWrapper_initCSide+0x8c
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x2b5acc]
+V  [libjvm.so+0x2b8a50]
+V  [libjvm.so+0x1ef248]
+C  [libjava.so+0x137ad]  Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0+0x2d
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+289
+j  org.greenstone3.ms.collectionChooser.<init>()V+22
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x1a55f2]
+V  [libjvm.so+0x196802]
+C  [java+0x1873]
+C  [libc.so.6+0x15dec]  __libc_start_main+0xdc
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+289
+j  org.greenstone3.ms.collectionChooser.<init>()V+22
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x09bfc910 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=10166]
+  0x09bedc38 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=10165]
+  0x09860f38 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=10163]
+  0x0985f988 JavaThread "CompilerThread0" daemon [_thread_blocked, id=10162]
+  0x0985ea28 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10161]
+  0x09858e48 JavaThread "Finalizer" daemon [_thread_blocked, id=10160]
+  0x09856fc0 JavaThread "Reference Handler" daemon [_thread_blocked, id=10159]
+=>0x09818bb8 JavaThread "main" [_thread_in_native, id=10153]
+
+Other Threads:
+  0x09854420 VMThread [id=10158]
+  0x09862428 WatcherThread [id=10164]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 576K, used 40K [0x88b40000, 0x88be0000, 0x89020000)
+  eden space 512K,   7% used [0x88b40000, 0x88b4a108, 0x88bc0000)
+  from space 64K,   0% used [0x88bc0000, 0x88bc0000, 0x88bd0000)
+  to   space 64K,   0% used [0x88bd0000, 0x88bd0000, 0x88be0000)
+ tenured generation   total 2312K, used 1385K [0x89020000, 0x89262000, 0x8cb40000)
+   the space 2312K,  59% used [0x89020000, 0x8917a620, 0x8917a800, 0x89262000)
+ compacting perm gen  total 8192K, used 1603K [0x8cb40000, 0x8d340000, 0x90b40000)
+   the space 8192K,  19% used [0x8cb40000, 0x8ccd0d78, 0x8ccd0e00, 0x8d340000)
+    ro space 8192K,  68% used [0x90b40000, 0x910bf220, 0x910bf400, 0x91340000)
+    rw space 12288K,  48% used [0x91340000, 0x9190a968, 0x9190aa00, 0x91f40000)
+
+Dynamic libraries:
+00101000-0023b000 r-xp 00000000 03:03 5133208    /lib/libc-2.5.so
+0023b000-0023d000 r-xp 0013a000 03:03 5133208    /lib/libc-2.5.so
+0023d000-0023e000 rwxp 0013c000 03:03 5133208    /lib/libc-2.5.so
+0023e000-00241000 rwxp 0023e000 00:00 0 
+00243000-00341000 r-xp 00000000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00341000-00345000 rwxp 000fe000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00397000-003b0000 r-xp 00000000 03:03 5133207    /lib/ld-2.5.so
+003b0000-003b1000 r-xp 00019000 03:03 5133207    /lib/ld-2.5.so
+003b1000-003b2000 rwxp 0001a000 03:03 5133207    /lib/ld-2.5.so
+003b4000-003bd000 r-xp 00000000 03:03 5133232    /lib/libnss_files-2.5.so
+003bd000-003be000 r-xp 00008000 03:03 5133232    /lib/libnss_files-2.5.so
+003be000-003bf000 rwxp 00009000 03:03 5133232    /lib/libnss_files-2.5.so
+003c1000-003c9000 r-xp 00000000 03:03 5133235    /lib/libnss_nis-2.5.so
+003c9000-003ca000 r-xp 00007000 03:03 5133235    /lib/libnss_nis-2.5.so
+003ca000-003cb000 rwxp 00008000 03:03 5133235    /lib/libnss_nis-2.5.so
+0042e000-00441000 r-xp 00000000 03:03 5133221    /lib/libnsl-2.5.so
+00441000-00442000 r-xp 00012000 03:03 5133221    /lib/libnsl-2.5.so
+00442000-00443000 rwxp 00013000 03:03 5133221    /lib/libnsl-2.5.so
+00443000-00445000 rwxp 00443000 00:00 0 
+00d66000-00d8b000 r-xp 00000000 03:03 5133213    /lib/libm-2.5.so
+00d8b000-00d8c000 r-xp 00024000 03:03 5133213    /lib/libm-2.5.so
+00d8c000-00d8d000 rwxp 00025000 03:03 5133213    /lib/libm-2.5.so
+00d8f000-00d91000 r-xp 00000000 03:03 5133209    /lib/libdl-2.5.so
+00d91000-00d92000 r-xp 00001000 03:03 5133209    /lib/libdl-2.5.so
+00d92000-00d93000 rwxp 00002000 03:03 5133209    /lib/libdl-2.5.so
+00daa000-00dac000 r-xp 00000000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00dac000-00dad000 rwxp 00001000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00daf000-00db4000 r-xp 00000000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db4000-00db5000 rwxp 00004000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db7000-00dca000 r-xp 00000000 03:03 5133215    /lib/libpthread-2.5.so
+00dca000-00dcb000 r-xp 00012000 03:03 5133215    /lib/libpthread-2.5.so
+00dcb000-00dcc000 rwxp 00013000 03:03 5133215    /lib/libpthread-2.5.so
+00dcc000-00dce000 rwxp 00dcc000 00:00 0 
+00dd0000-00ddf000 r-xp 00000000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00ddf000-00de0000 rwxp 0000e000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00de2000-00dea000 r-xp 00000000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00dea000-00deb000 rwxp 00007000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00ded000-00df1000 r-xp 00000000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+00df1000-00df2000 rwxp 00003000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+06321000-0632a000 r-xp 00000000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0632a000-0632b000 rwxp 00008000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0640e000-06419000 r-xp 00000000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06419000-0641a000 rwxp 0000a000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06443000-06523000 r-xp 00000000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06523000-06527000 r-xp 000df000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06527000-06528000 rwxp 000e3000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06528000-0652e000 rwxp 06528000 00:00 0 
+070b3000-070b8000 r-xp 00000000 03:03 5129595    /lib/libcrypt-2.5.so
+070b8000-070b9000 r-xp 00004000 03:03 5129595    /lib/libcrypt-2.5.so
+070b9000-070ba000 rwxp 00005000 03:03 5129595    /lib/libcrypt-2.5.so
+070ba000-070e1000 rwxp 070ba000 00:00 0 
+08048000-08057000 r-xp 00000000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08057000-08059000 rwxp 0000e000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+09813000-09c5b000 rwxp 09813000 00:00 0 
+88b40000-88be0000 rwxp 88b40000 00:00 0 
+88be0000-89020000 rwxp 88be0000 00:00 0 
+89020000-89262000 rwxp 89020000 00:00 0 
+89262000-8cb40000 rwxp 89262000 00:00 0 
+8cb40000-8d340000 rwxp 8cb40000 00:00 0 
+8d340000-90b40000 rwxp 8d340000 00:00 0 
+90b40000-910c0000 r-xs 00001000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+910c0000-91340000 rwxp 910c0000 00:00 0 
+91340000-9190b000 rwxp 00581000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+9190b000-91f40000 rwxp 9190b000 00:00 0 
+91f40000-92010000 rwxp 00b4c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92010000-92340000 rwxp 92010000 00:00 0 
+92340000-92344000 r-xs 00c1c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92344000-92740000 rwxp 92344000 00:00 0 
+b161b000-b1640000 r-xp 00000000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b1640000-b1642000 rwxp 00025000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b1642000-b1643000 rwxp b1642000 00:00 0 
+b1643000-b1659000 r-xp 00000000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b1659000-b165a000 rwxp 00016000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b165a000-b168e000 r-xp 00000000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b168e000-b1697000 rwxp 00033000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b1697000-b169d000 r-xp 00000000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b169d000-b169e000 rwxp 00005000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b16b0000-b16b2000 r-xp 00000000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b16b2000-b16b3000 rwxp 00002000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b16b3000-b16b6000 --xp b16b3000 00:00 0 
+b16b6000-b1734000 rwxp b16b6000 00:00 0 
+b1734000-b1737000 --xp b1734000 00:00 0 
+b1737000-b17b5000 rwxp b1737000 00:00 0 
+b17b5000-b181f000 r-xp 00000000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b181f000-b1829000 rwxp 00069000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b1829000-b182d000 rwxp b1829000 00:00 0 
+b182d000-b1830000 r-xs 00000000 03:04 11177891   /research/cc108/greenstone3Project/lib/jni/mgpp.jar
+b1830000-b1833000 r-xs 00000000 03:04 11177890   /research/cc108/greenstone3Project/lib/jni/mg.jar
+b1833000-b1839000 r-xs 00000000 03:04 11177881   /research/cc108/greenstone3Project/lib/jni/javagdbm.jar
+b1839000-b195f000 r-xs 00000000 03:04 824762     /research/cc108/greenstone3Project/web/WEB-INF/lib/xercesImpl.jar
+b195f000-b19a4000 r-xs 00000000 03:04 824767     /research/cc108/greenstone3Project/web/WEB-INF/lib/mail.jar
+b19a4000-b19d4000 r-xs 00000000 03:04 922338     /research/cc108/greenstone3Project/web/applet/xml-apis.jar
+b19d4000-b1a7f000 r-xs 00000000 03:04 823556     /research/cc108/greenstone3Project/web/WEB-INF/lib/LuceneWrapper.jar
+b1a7f000-b1ace000 r-xs 00000000 03:04 824760     /research/cc108/greenstone3Project/web/WEB-INF/lib/lucene-1.4.1.jar
+b1ace000-b1b25000 r-xs 00000000 03:04 822971     /research/cc108/greenstone3Project/web/WEB-INF/lib/log4j-1.2.8.jar
+b1b25000-b1c4e000 r-xs 00000000 00:12 10701459   /home/cc108/jFreeChart/lib/jfreechart-1.0.6.jar
+b1c4e000-b1c9b000 r-xs 00000000 00:12 10701456   /home/cc108/jFreeChart/lib/jcommon-1.0.10.jar
+b1c9b000-b1ca3000 r-xs 00000000 03:04 823023     /research/cc108/greenstone3Project/web/WEB-INF/lib/jaxrpc.jar
+b1ca3000-b1e2b000 r-xs 00000000 03:04 823122     /research/cc108/greenstone3Project/web/WEB-INF/lib/axis.jar
+b1e2b000-b1e8d000 r-xs 00000000 03:04 823577     /research/cc108/greenstone3Project/web/WEB-INF/lib/gsdl3.jar
+b1e8d000-b1ebb000 r-xp 00000000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1ebb000-b1ebe000 rwxp 0002e000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1ebe000-b1ebf000 rwxp b1ebe000 00:00 0 
+b1ebf000-b1f85000 r-xp 00000000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1f85000-b1f86000 rwxp 000c5000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1f86000-b1fe6000 r-xp 00000000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b1fe6000-b1fec000 rwxp 0005f000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b1fec000-b2010000 rwxp b1fec000 00:00 0 
+b2010000-b20d5000 r-xs 00000000 03:03 6669015    /opt/jdk1.5.0_10/jre/lib/ext/localedata.jar
+b20d5000-b20d7000 r-xs 00000000 03:03 6669016    /opt/jdk1.5.0_10/jre/lib/ext/dnsns.jar
+b20d7000-b2102000 r-xs 00000000 03:03 6669017    /opt/jdk1.5.0_10/jre/lib/ext/sunpkcs11.jar
+b2102000-b2129000 r-xs 00000000 03:03 6669014    /opt/jdk1.5.0_10/jre/lib/ext/sunjce_provider.jar
+b2129000-b212a000 --xp b2129000 00:00 0 
+b212a000-b21aa000 rwxp b212a000 00:00 0 
+b21aa000-b21ad000 --xp b21aa000 00:00 0 
+b21ad000-b222b000 rwxp b21ad000 00:00 0 
+b222b000-b222e000 --xp b222b000 00:00 0 
+b222e000-b22ac000 rwxp b222e000 00:00 0 
+b22ac000-b22af000 --xp b22ac000 00:00 0 
+b22af000-b232d000 rwxp b22af000 00:00 0 
+b232d000-b252d000 r-xp 00000000 03:03 4773667    /usr/lib/locale/locale-archive
+b252d000-b2530000 --xp b252d000 00:00 0 
+b2530000-b25ae000 rwxp b2530000 00:00 0 
+b25ae000-b25b1000 --xp b25ae000 00:00 0 
+b25b1000-b262f000 rwxp b25b1000 00:00 0 
+b262f000-b2630000 --xp b262f000 00:00 0 
+b2630000-b26bc000 rwxp b2630000 00:00 0 
+b26bc000-b26d8000 rwxp b26bc000 00:00 0 
+b26d8000-b26da000 rwxp b26d8000 00:00 0 
+b26da000-b26f6000 rwxp b26da000 00:00 0 
+b26f6000-b26f7000 rwxp b26f6000 00:00 0 
+b26f7000-b26f8000 rwxp b26f7000 00:00 0 
+b26f8000-b26fa000 rwxp b26f8000 00:00 0 
+b26fa000-b2716000 rwxp b26fa000 00:00 0 
+b2716000-b271a000 rwxp b2716000 00:00 0 
+b271a000-b2736000 rwxp b271a000 00:00 0 
+b2736000-b2745000 rwxp b2736000 00:00 0 
+b2745000-b27c1000 rwxp b2745000 00:00 0 
+b27c1000-b28a9000 rwxp b27c1000 00:00 0 
+b28a9000-b47c1000 rwxp b28a9000 00:00 0 
+b47c1000-b5030000 r-xs 00000000 03:03 6668968    /opt/jdk1.5.0_10/jre/lib/charsets.jar
+b5030000-b5045000 r-xs 00000000 03:03 6668987    /opt/jdk1.5.0_10/jre/lib/jce.jar
+b5045000-b50ca000 r-xs 00000000 03:03 6668837    /opt/jdk1.5.0_10/jre/lib/jsse.jar
+b50ca000-b5133000 rwxp b50ca000 00:00 0 
+b5133000-b7741000 r-xs 00000000 03:03 6668836    /opt/jdk1.5.0_10/jre/lib/rt.jar
+b7741000-b7750000 r-xp 00000000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b7750000-b7752000 rwxp 0000e000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b7752000-b7773000 r-xp 00000000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b7773000-b7775000 rwxp 00020000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b7775000-b777c000 r-xp 00000000 03:03 5129541    /lib/libnss_compat-2.5.so
+b777c000-b777d000 r-xp 00006000 03:03 5129541    /lib/libnss_compat-2.5.so
+b777d000-b777e000 rwxp 00007000 03:03 5129541    /lib/libnss_compat-2.5.so
+b777e000-b777f000 r-xs 00000000 03:04 11177901   /research/cc108/greenstone3Project/lib/jni/cp.jar
+b777f000-b7784000 rwxp b777f000 00:00 0 
+b7784000-b778f000 r-xp 00000000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b778f000-b7790000 rwxp 0000b000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b7790000-b7afd000 r-xp 00000000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7afd000-b7b1b000 rwxp 0036c000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b1b000-b7f34000 rwxp b7b1b000 00:00 0 
+b7f34000-b7f35000 r-xp 02aea000 03:03 4773667    /usr/lib/locale/locale-archive
+b7f35000-b7f3d000 rwxs 00000000 03:03 4151850    /tmp/hsperfdata_cc108/10153
+b7f3d000-b7f43000 r-xp 00000000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f43000-b7f44000 rwxp 00006000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f44000-b7f45000 rwxp b7f44000 00:00 0 
+b7f45000-b7f46000 r-xp b7f45000 00:00 0 
+b7f46000-b7f47000 r-xp b7f46000 00:00 0          [vdso]
+bfd4d000-bfd50000 --xp bfd4d000 00:00 0 
+bfd50000-bff4d000 rwxp bfd50000 00:00 0          [stack]
+
+VM Arguments:
+jvm_args: -Djava.library.path=/research/cc108/greenstone3Project/lib/jni -Djava.net.preferIPv4Stack=true
+java_command: org.greenstone3.ms.collectionChooser
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=/opt/jdk1.5.0_10
+JRE_HOME=/opt/jdk1.5.0_10/jre
+PATH=/home/cc108/bin:/opt/jdk1.5.0_10:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
+USERNAME=cc108
+LD_LIBRARY_PATH=/opt/jdk1.5.0_10/jre/lib/i386/client:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386:/usr/lib/firefox-1.5.0.12
+SHELL=/bin/bash
+DISPLAY=:0.0
+
+Signal Handlers:
+SIGSEGV: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGBUS: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGFPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGPIPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGILL: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
+SIGUSR2: [libjvm.so+0x28ce60], sa_mask[0]=0x00000000, sa_flags=0x10000004
+SIGHUP: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGINT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGQUIT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGTERM: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Fedora Core release 6 (Zod)
+
+uname:Linux 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 12:34:26 EDT 2007 i686
+libc:glibc 2.5 NPTL 2.5 
+rlimit: STACK 10240k, CORE 0k, NPROC 16383, NOFILE 1024, AS infinity
+load average:0.30 0.30 0.30
+
+CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
+
+Memory: 4k page, physical 1034780k(66968k free), swap 2000084k(1998684k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0_10-b03) for linux-x86, built on Nov  9 2006 14:22:56 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10196.log
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10196.log	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10196.log	(revision 17156)
@@ -0,0 +1,342 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  SIGSEGV (0xb) at pc=0x53e58955, pid=10196, tid=3085878976
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
+# Problematic frame:
+# C  0x53e58955
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x09e5ebb8):  JavaThread "main" [_thread_in_native, id=10196]
+
+siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x53e58955
+
+Registers:
+EAX=0x00db01b0, EBX=0xb15fa1d0, ECX=0xb230afd8, EDX=0x0023d380
+ESP=0xbfaf2ad8, EBP=0xbfaf2b04, ESI=0x0a298540, EDI=0x0a298540
+EIP=0x53e58955, CR2=0x53e58955, EFLAGS=0x00210202
+
+Top of Stack: (sp=0xbfaf2ad8)
+0xbfaf2ad8:   b15dfa92 0a298540 00000018 b15f218f
+0xbfaf2ae8:   0a298540 00000001 0a28e52c b15df99b
+0xbfaf2af8:   b15fa1d0 b15f218f b15df540 bfaf2b34
+0xbfaf2b08:   b15dfbd1 b15f2174 b15f1bc2 b15df540
+0xbfaf2b18:   09e5ec78 bfaf2b64 b15f1bc2 b15dfb7b
+0xbfaf2b28:   b15fa1d0 0a2996e0 09e5ec78 bfaf2b64
+0xbfaf2b38:   b15db5cc 09e5ec78 bfaf2ba0 00000042
+0xbfaf2b48:   0a2996e0 bfaf2bc0 8cccf450 b15db54b 
+
+Instructions: (pc=0x53e58955)
+0x53e58945:   
+[error occurred during error reporting, step 100, id 0xb]
+
+Stack: [0xbf8f9000,0xbfaf9000),  sp=0xbfaf2ad8,  free space=2022k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  0x53e58955
+C  [libmgsearchjni.so+0xabd1]  InitEnv+0x61
+C  [libmgsearchjni.so+0x65cc]  Java_org_greenstone_mg_MGSearchWrapper_initCSide+0x8c
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x2b5acc]
+V  [libjvm.so+0x2b8a50]
+V  [libjvm.so+0x1ef248]
+C  [libjava.so+0x137ad]  Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0+0x2d
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+274
+j  org.greenstone3.ms.collectionChooser.<init>()V+22
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x1a55f2]
+V  [libjvm.so+0x196802]
+C  [java+0x1873]
+C  [libc.so.6+0x15dec]  __libc_start_main+0xdc
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+274
+j  org.greenstone3.ms.collectionChooser.<init>()V+22
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x0a242920 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=10209]
+  0x0a233c48 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=10208]
+  0x09ea6f38 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=10206]
+  0x09ea5a28 JavaThread "CompilerThread0" daemon [_thread_blocked, id=10205]
+  0x09ea4a28 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10204]
+  0x09e9ee48 JavaThread "Finalizer" daemon [_thread_blocked, id=10203]
+  0x09e9cfc0 JavaThread "Reference Handler" daemon [_thread_blocked, id=10202]
+=>0x09e5ebb8 JavaThread "main" [_thread_in_native, id=10196]
+
+Other Threads:
+  0x09e9a420 VMThread [id=10201]
+  0x09ea8500 WatcherThread [id=10207]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 576K, used 40K [0x88b40000, 0x88be0000, 0x89020000)
+  eden space 512K,   7% used [0x88b40000, 0x88b4a108, 0x88bc0000)
+  from space 64K,   0% used [0x88bc0000, 0x88bc0000, 0x88bd0000)
+  to   space 64K,   0% used [0x88bd0000, 0x88bd0000, 0x88be0000)
+ tenured generation   total 2312K, used 1385K [0x89020000, 0x89262000, 0x8cb40000)
+   the space 2312K,  59% used [0x89020000, 0x8917a588, 0x8917a600, 0x89262000)
+ compacting perm gen  total 8192K, used 1603K [0x8cb40000, 0x8d340000, 0x90b40000)
+   the space 8192K,  19% used [0x8cb40000, 0x8ccd0d88, 0x8ccd0e00, 0x8d340000)
+    ro space 8192K,  68% used [0x90b40000, 0x910bf220, 0x910bf400, 0x91340000)
+    rw space 12288K,  48% used [0x91340000, 0x9190a968, 0x9190aa00, 0x91f40000)
+
+Dynamic libraries:
+00101000-0023b000 r-xp 00000000 03:03 5133208    /lib/libc-2.5.so
+0023b000-0023d000 r-xp 0013a000 03:03 5133208    /lib/libc-2.5.so
+0023d000-0023e000 rwxp 0013c000 03:03 5133208    /lib/libc-2.5.so
+0023e000-00241000 rwxp 0023e000 00:00 0 
+00243000-00341000 r-xp 00000000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00341000-00345000 rwxp 000fe000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00397000-003b0000 r-xp 00000000 03:03 5133207    /lib/ld-2.5.so
+003b0000-003b1000 r-xp 00019000 03:03 5133207    /lib/ld-2.5.so
+003b1000-003b2000 rwxp 0001a000 03:03 5133207    /lib/ld-2.5.so
+003b4000-003bd000 r-xp 00000000 03:03 5133232    /lib/libnss_files-2.5.so
+003bd000-003be000 r-xp 00008000 03:03 5133232    /lib/libnss_files-2.5.so
+003be000-003bf000 rwxp 00009000 03:03 5133232    /lib/libnss_files-2.5.so
+003c1000-003c9000 r-xp 00000000 03:03 5133235    /lib/libnss_nis-2.5.so
+003c9000-003ca000 r-xp 00007000 03:03 5133235    /lib/libnss_nis-2.5.so
+003ca000-003cb000 rwxp 00008000 03:03 5133235    /lib/libnss_nis-2.5.so
+0042e000-00441000 r-xp 00000000 03:03 5133221    /lib/libnsl-2.5.so
+00441000-00442000 r-xp 00012000 03:03 5133221    /lib/libnsl-2.5.so
+00442000-00443000 rwxp 00013000 03:03 5133221    /lib/libnsl-2.5.so
+00443000-00445000 rwxp 00443000 00:00 0 
+00d66000-00d8b000 r-xp 00000000 03:03 5133213    /lib/libm-2.5.so
+00d8b000-00d8c000 r-xp 00024000 03:03 5133213    /lib/libm-2.5.so
+00d8c000-00d8d000 rwxp 00025000 03:03 5133213    /lib/libm-2.5.so
+00d8f000-00d91000 r-xp 00000000 03:03 5133209    /lib/libdl-2.5.so
+00d91000-00d92000 r-xp 00001000 03:03 5133209    /lib/libdl-2.5.so
+00d92000-00d93000 rwxp 00002000 03:03 5133209    /lib/libdl-2.5.so
+00daa000-00dac000 r-xp 00000000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00dac000-00dad000 rwxp 00001000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00daf000-00db4000 r-xp 00000000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db4000-00db5000 rwxp 00004000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db7000-00dca000 r-xp 00000000 03:03 5133215    /lib/libpthread-2.5.so
+00dca000-00dcb000 r-xp 00012000 03:03 5133215    /lib/libpthread-2.5.so
+00dcb000-00dcc000 rwxp 00013000 03:03 5133215    /lib/libpthread-2.5.so
+00dcc000-00dce000 rwxp 00dcc000 00:00 0 
+00dd0000-00ddf000 r-xp 00000000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00ddf000-00de0000 rwxp 0000e000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00de2000-00dea000 r-xp 00000000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00dea000-00deb000 rwxp 00007000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00ded000-00df1000 r-xp 00000000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+00df1000-00df2000 rwxp 00003000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+06321000-0632a000 r-xp 00000000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0632a000-0632b000 rwxp 00008000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0640e000-06419000 r-xp 00000000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06419000-0641a000 rwxp 0000a000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06443000-06523000 r-xp 00000000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06523000-06527000 r-xp 000df000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06527000-06528000 rwxp 000e3000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06528000-0652e000 rwxp 06528000 00:00 0 
+070b3000-070b8000 r-xp 00000000 03:03 5129595    /lib/libcrypt-2.5.so
+070b8000-070b9000 r-xp 00004000 03:03 5129595    /lib/libcrypt-2.5.so
+070b9000-070ba000 rwxp 00005000 03:03 5129595    /lib/libcrypt-2.5.so
+070ba000-070e1000 rwxp 070ba000 00:00 0 
+08048000-08057000 r-xp 00000000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08057000-08059000 rwxp 0000e000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+09e59000-0a2bd000 rwxp 09e59000 00:00 0 
+88b40000-88be0000 rwxp 88b40000 00:00 0 
+88be0000-89020000 rwxp 88be0000 00:00 0 
+89020000-89262000 rwxp 89020000 00:00 0 
+89262000-8cb40000 rwxp 89262000 00:00 0 
+8cb40000-8d340000 rwxp 8cb40000 00:00 0 
+8d340000-90b40000 rwxp 8d340000 00:00 0 
+90b40000-910c0000 r-xs 00001000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+910c0000-91340000 rwxp 910c0000 00:00 0 
+91340000-9190b000 rwxp 00581000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+9190b000-91f40000 rwxp 9190b000 00:00 0 
+91f40000-92010000 rwxp 00b4c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92010000-92340000 rwxp 92010000 00:00 0 
+92340000-92344000 r-xs 00c1c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92344000-92740000 rwxp 92344000 00:00 0 
+b15d5000-b15fa000 r-xp 00000000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b15fa000-b15fc000 rwxp 00025000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b15fc000-b15fd000 rwxp b15fc000 00:00 0 
+b15fd000-b1613000 r-xp 00000000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b1613000-b1614000 rwxp 00016000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b1614000-b1648000 r-xp 00000000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b1648000-b1651000 rwxp 00033000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b1651000-b1657000 r-xp 00000000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b1657000-b1658000 rwxp 00005000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b166a000-b166c000 r-xp 00000000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b166c000-b166d000 rwxp 00002000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b166d000-b1670000 --xp b166d000 00:00 0 
+b1670000-b16ee000 rwxp b1670000 00:00 0 
+b16ee000-b16f1000 --xp b16ee000 00:00 0 
+b16f1000-b176f000 rwxp b16f1000 00:00 0 
+b176f000-b17d9000 r-xp 00000000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b17d9000-b17e3000 rwxp 00069000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b17e3000-b17e7000 rwxp b17e3000 00:00 0 
+b17e7000-b17ea000 r-xs 00000000 03:04 11177891   /research/cc108/greenstone3Project/lib/jni/mgpp.jar
+b17ea000-b17ed000 r-xs 00000000 03:04 11177890   /research/cc108/greenstone3Project/lib/jni/mg.jar
+b17ed000-b17f3000 r-xs 00000000 03:04 11177881   /research/cc108/greenstone3Project/lib/jni/javagdbm.jar
+b17f3000-b1919000 r-xs 00000000 03:04 824762     /research/cc108/greenstone3Project/web/WEB-INF/lib/xercesImpl.jar
+b1919000-b195e000 r-xs 00000000 03:04 824767     /research/cc108/greenstone3Project/web/WEB-INF/lib/mail.jar
+b195e000-b198e000 r-xs 00000000 03:04 922338     /research/cc108/greenstone3Project/web/applet/xml-apis.jar
+b198e000-b1a39000 r-xs 00000000 03:04 823556     /research/cc108/greenstone3Project/web/WEB-INF/lib/LuceneWrapper.jar
+b1a39000-b1a88000 r-xs 00000000 03:04 824760     /research/cc108/greenstone3Project/web/WEB-INF/lib/lucene-1.4.1.jar
+b1a88000-b1adf000 r-xs 00000000 03:04 822971     /research/cc108/greenstone3Project/web/WEB-INF/lib/log4j-1.2.8.jar
+b1adf000-b1c08000 r-xs 00000000 00:12 10701459   /home/cc108/jFreeChart/lib/jfreechart-1.0.6.jar
+b1c08000-b1c55000 r-xs 00000000 00:12 10701456   /home/cc108/jFreeChart/lib/jcommon-1.0.10.jar
+b1c55000-b1c5d000 r-xs 00000000 03:04 823023     /research/cc108/greenstone3Project/web/WEB-INF/lib/jaxrpc.jar
+b1c5d000-b1de5000 r-xs 00000000 03:04 823122     /research/cc108/greenstone3Project/web/WEB-INF/lib/axis.jar
+b1de5000-b1e47000 r-xs 00000000 03:04 823577     /research/cc108/greenstone3Project/web/WEB-INF/lib/gsdl3.jar
+b1e47000-b1e75000 r-xp 00000000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1e75000-b1e78000 rwxp 0002e000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1e78000-b1e79000 rwxp b1e78000 00:00 0 
+b1e79000-b1f3f000 r-xp 00000000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1f3f000-b1f40000 rwxp 000c5000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1f40000-b1fa0000 r-xp 00000000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b1fa0000-b1fa6000 rwxp 0005f000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b1fa6000-b1fca000 rwxp b1fa6000 00:00 0 
+b1fca000-b208f000 r-xs 00000000 03:03 6669015    /opt/jdk1.5.0_10/jre/lib/ext/localedata.jar
+b208f000-b2091000 r-xs 00000000 03:03 6669016    /opt/jdk1.5.0_10/jre/lib/ext/dnsns.jar
+b2091000-b20bc000 r-xs 00000000 03:03 6669017    /opt/jdk1.5.0_10/jre/lib/ext/sunpkcs11.jar
+b20bc000-b20e3000 r-xs 00000000 03:03 6669014    /opt/jdk1.5.0_10/jre/lib/ext/sunjce_provider.jar
+b20e3000-b20e4000 --xp b20e3000 00:00 0 
+b20e4000-b2164000 rwxp b20e4000 00:00 0 
+b2164000-b2167000 --xp b2164000 00:00 0 
+b2167000-b21e5000 rwxp b2167000 00:00 0 
+b21e5000-b21e8000 --xp b21e5000 00:00 0 
+b21e8000-b2266000 rwxp b21e8000 00:00 0 
+b2266000-b2269000 --xp b2266000 00:00 0 
+b2269000-b22e7000 rwxp b2269000 00:00 0 
+b22e7000-b24e7000 r-xp 00000000 03:03 4773667    /usr/lib/locale/locale-archive
+b24e7000-b24ea000 --xp b24e7000 00:00 0 
+b24ea000-b2568000 rwxp b24ea000 00:00 0 
+b2568000-b256b000 --xp b2568000 00:00 0 
+b256b000-b25e9000 rwxp b256b000 00:00 0 
+b25e9000-b25ea000 --xp b25e9000 00:00 0 
+b25ea000-b2676000 rwxp b25ea000 00:00 0 
+b2676000-b2692000 rwxp b2676000 00:00 0 
+b2692000-b2694000 rwxp b2692000 00:00 0 
+b2694000-b26b0000 rwxp b2694000 00:00 0 
+b26b0000-b26b1000 rwxp b26b0000 00:00 0 
+b26b1000-b26b2000 rwxp b26b1000 00:00 0 
+b26b2000-b26b4000 rwxp b26b2000 00:00 0 
+b26b4000-b26d0000 rwxp b26b4000 00:00 0 
+b26d0000-b26d4000 rwxp b26d0000 00:00 0 
+b26d4000-b26f0000 rwxp b26d4000 00:00 0 
+b26f0000-b26ff000 rwxp b26f0000 00:00 0 
+b26ff000-b277b000 rwxp b26ff000 00:00 0 
+b277b000-b2863000 rwxp b277b000 00:00 0 
+b2863000-b477b000 rwxp b2863000 00:00 0 
+b477b000-b4fea000 r-xs 00000000 03:03 6668968    /opt/jdk1.5.0_10/jre/lib/charsets.jar
+b4fea000-b4fff000 r-xs 00000000 03:03 6668987    /opt/jdk1.5.0_10/jre/lib/jce.jar
+b4fff000-b5084000 r-xs 00000000 03:03 6668837    /opt/jdk1.5.0_10/jre/lib/jsse.jar
+b5084000-b50ed000 rwxp b5084000 00:00 0 
+b50ed000-b76fb000 r-xs 00000000 03:03 6668836    /opt/jdk1.5.0_10/jre/lib/rt.jar
+b76fb000-b770a000 r-xp 00000000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b770a000-b770c000 rwxp 0000e000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b770c000-b772d000 r-xp 00000000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b772d000-b772f000 rwxp 00020000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b772f000-b7736000 r-xp 00000000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7736000-b7737000 r-xp 00006000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7737000-b7738000 rwxp 00007000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7738000-b7739000 r-xs 00000000 03:04 11177901   /research/cc108/greenstone3Project/lib/jni/cp.jar
+b7739000-b773e000 rwxp b7739000 00:00 0 
+b773e000-b7749000 r-xp 00000000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b7749000-b774a000 rwxp 0000b000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b774a000-b7ab7000 r-xp 00000000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7ab7000-b7ad5000 rwxp 0036c000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7ad5000-b7eee000 rwxp b7ad5000 00:00 0 
+b7eee000-b7eef000 r-xp 02aea000 03:03 4773667    /usr/lib/locale/locale-archive
+b7eef000-b7ef7000 rwxs 00000000 03:03 4151850    /tmp/hsperfdata_cc108/10196
+b7ef7000-b7efd000 r-xp 00000000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7efd000-b7efe000 rwxp 00006000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7efe000-b7eff000 rwxp b7efe000 00:00 0 
+b7eff000-b7f00000 r-xp b7eff000 00:00 0 
+b7f00000-b7f01000 r-xp b7f00000 00:00 0          [vdso]
+bf8f9000-bf8fc000 --xp bf8f9000 00:00 0 
+bf8fc000-bfaf9000 rwxp bf8fc000 00:00 0          [stack]
+
+VM Arguments:
+jvm_args: -Djava.library.path=/research/cc108/greenstone3Project/lib/jni -Djava.net.preferIPv4Stack=true
+java_command: org.greenstone3.ms.collectionChooser
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=/opt/jdk1.5.0_10
+JRE_HOME=/opt/jdk1.5.0_10/jre
+PATH=/home/cc108/bin:/opt/jdk1.5.0_10:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
+USERNAME=cc108
+LD_LIBRARY_PATH=/opt/jdk1.5.0_10/jre/lib/i386/client:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386:/usr/lib/firefox-1.5.0.12
+SHELL=/bin/bash
+DISPLAY=:0.0
+
+Signal Handlers:
+SIGSEGV: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGBUS: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGFPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGPIPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGILL: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
+SIGUSR2: [libjvm.so+0x28ce60], sa_mask[0]=0x00000000, sa_flags=0x10000004
+SIGHUP: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGINT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGQUIT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGTERM: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Fedora Core release 6 (Zod)
+
+uname:Linux 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 12:34:26 EDT 2007 i686
+libc:glibc 2.5 NPTL 2.5 
+rlimit: STACK 10240k, CORE 0k, NPROC 16383, NOFILE 1024, AS infinity
+load average:0.24 0.28 0.29
+
+CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
+
+Memory: 4k page, physical 1034780k(68560k free), swap 2000084k(1998684k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0_10-b03) for linux-x86, built on Nov  9 2006 14:22:56 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10446.log
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10446.log	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10446.log	(revision 17156)
@@ -0,0 +1,342 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  SIGSEGV (0xb) at pc=0x53e58955, pid=10446, tid=3086808768
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
+# Problematic frame:
+# C  0x53e58955
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x09e7bbb8):  JavaThread "main" [_thread_in_native, id=10446]
+
+siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x53e58955
+
+Registers:
+EAX=0x00db01b0, EBX=0xb16dd1d0, ECX=0xb23edfd8, EDX=0x0023d380
+ESP=0xbfd33d1c, EBP=0xbfd33d48, ESI=0x0a2b7d98, EDI=0x0a2b7d98
+EIP=0x53e58955, CR2=0x53e58955, EFLAGS=0x00210202
+
+Top of Stack: (sp=0xbfd33d1c)
+0xbfd33d1c:   b16c2a92 0a2b7d98 00000018 b16d518f
+0xbfd33d2c:   0a2b7d98 00000001 0a2a9924 b16c299b
+0xbfd33d3c:   b16dd1d0 b16d518f b16c2540 bfd33d78
+0xbfd33d4c:   b16c2bd1 b16d5174 b16d4bc2 b16c2540
+0xbfd33d5c:   09e7bc78 bfd33da8 b16d4bc2 b16c2b7b
+0xbfd33d6c:   b16dd1d0 0a2b7d78 09e7bc78 bfd33da8
+0xbfd33d7c:   b16be5cc 09e7bc78 bfd33de4 00000042
+0xbfd33d8c:   0a2b7d78 bfd33e04 8cccf400 b16be54b 
+
+Instructions: (pc=0x53e58955)
+0x53e58945:   
+[error occurred during error reporting, step 100, id 0xb]
+
+Stack: [0xbfb38000,0xbfd38000),  sp=0xbfd33d1c,  free space=2031k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  0x53e58955
+C  [libmgsearchjni.so+0xabd1]  InitEnv+0x61
+C  [libmgsearchjni.so+0x65cc]  Java_org_greenstone_mg_MGSearchWrapper_initCSide+0x8c
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x2b5acc]
+V  [libjvm.so+0x2b8a50]
+V  [libjvm.so+0x1ef248]
+C  [libjava.so+0x137ad]  Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0+0x2d
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+274
+j  org.greenstone3.ms.collectionChooser.<init>()V+22
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x1a55f2]
+V  [libjvm.so+0x196802]
+C  [java+0x1873]
+C  [libc.so.6+0x15dec]  __libc_start_main+0xdc
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+274
+j  org.greenstone3.ms.collectionChooser.<init>()V+22
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x0a25f948 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=10460]
+  0x0a250c70 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=10459]
+  0x09ec3f80 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=10456]
+  0x09ec2a70 JavaThread "CompilerThread0" daemon [_thread_blocked, id=10455]
+  0x09ec07d8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10454]
+  0x09ebad00 JavaThread "Finalizer" daemon [_thread_blocked, id=10453]
+  0x09eb9ff8 JavaThread "Reference Handler" daemon [_thread_blocked, id=10452]
+=>0x09e7bbb8 JavaThread "main" [_thread_in_native, id=10446]
+
+Other Threads:
+  0x09eb7420 VMThread [id=10451]
+  0x09ec5548 WatcherThread [id=10457]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 576K, used 40K [0x88b40000, 0x88be0000, 0x89020000)
+  eden space 512K,   7% used [0x88b40000, 0x88b4a108, 0x88bc0000)
+  from space 64K,   0% used [0x88bc0000, 0x88bc0000, 0x88bd0000)
+  to   space 64K,   0% used [0x88bd0000, 0x88bd0000, 0x88be0000)
+ tenured generation   total 2176K, used 1303K [0x89020000, 0x89240000, 0x8cb40000)
+   the space 2176K,  59% used [0x89020000, 0x89165e48, 0x89166000, 0x89240000)
+ compacting perm gen  total 8192K, used 1603K [0x8cb40000, 0x8d340000, 0x90b40000)
+   the space 8192K,  19% used [0x8cb40000, 0x8ccd0d38, 0x8ccd0e00, 0x8d340000)
+    ro space 8192K,  68% used [0x90b40000, 0x910bf220, 0x910bf400, 0x91340000)
+    rw space 12288K,  48% used [0x91340000, 0x9190a968, 0x9190aa00, 0x91f40000)
+
+Dynamic libraries:
+00101000-0023b000 r-xp 00000000 03:03 5133208    /lib/libc-2.5.so
+0023b000-0023d000 r-xp 0013a000 03:03 5133208    /lib/libc-2.5.so
+0023d000-0023e000 rwxp 0013c000 03:03 5133208    /lib/libc-2.5.so
+0023e000-00241000 rwxp 0023e000 00:00 0 
+00243000-00341000 r-xp 00000000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00341000-00345000 rwxp 000fe000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00397000-003b0000 r-xp 00000000 03:03 5133207    /lib/ld-2.5.so
+003b0000-003b1000 r-xp 00019000 03:03 5133207    /lib/ld-2.5.so
+003b1000-003b2000 rwxp 0001a000 03:03 5133207    /lib/ld-2.5.so
+003b4000-003bd000 r-xp 00000000 03:03 5133232    /lib/libnss_files-2.5.so
+003bd000-003be000 r-xp 00008000 03:03 5133232    /lib/libnss_files-2.5.so
+003be000-003bf000 rwxp 00009000 03:03 5133232    /lib/libnss_files-2.5.so
+003c1000-003c9000 r-xp 00000000 03:03 5133235    /lib/libnss_nis-2.5.so
+003c9000-003ca000 r-xp 00007000 03:03 5133235    /lib/libnss_nis-2.5.so
+003ca000-003cb000 rwxp 00008000 03:03 5133235    /lib/libnss_nis-2.5.so
+0042e000-00441000 r-xp 00000000 03:03 5133221    /lib/libnsl-2.5.so
+00441000-00442000 r-xp 00012000 03:03 5133221    /lib/libnsl-2.5.so
+00442000-00443000 rwxp 00013000 03:03 5133221    /lib/libnsl-2.5.so
+00443000-00445000 rwxp 00443000 00:00 0 
+00d66000-00d8b000 r-xp 00000000 03:03 5133213    /lib/libm-2.5.so
+00d8b000-00d8c000 r-xp 00024000 03:03 5133213    /lib/libm-2.5.so
+00d8c000-00d8d000 rwxp 00025000 03:03 5133213    /lib/libm-2.5.so
+00d8f000-00d91000 r-xp 00000000 03:03 5133209    /lib/libdl-2.5.so
+00d91000-00d92000 r-xp 00001000 03:03 5133209    /lib/libdl-2.5.so
+00d92000-00d93000 rwxp 00002000 03:03 5133209    /lib/libdl-2.5.so
+00daa000-00dac000 r-xp 00000000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00dac000-00dad000 rwxp 00001000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00daf000-00db4000 r-xp 00000000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db4000-00db5000 rwxp 00004000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db7000-00dca000 r-xp 00000000 03:03 5133215    /lib/libpthread-2.5.so
+00dca000-00dcb000 r-xp 00012000 03:03 5133215    /lib/libpthread-2.5.so
+00dcb000-00dcc000 rwxp 00013000 03:03 5133215    /lib/libpthread-2.5.so
+00dcc000-00dce000 rwxp 00dcc000 00:00 0 
+00dd0000-00ddf000 r-xp 00000000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00ddf000-00de0000 rwxp 0000e000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00de2000-00dea000 r-xp 00000000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00dea000-00deb000 rwxp 00007000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00ded000-00df1000 r-xp 00000000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+00df1000-00df2000 rwxp 00003000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+06321000-0632a000 r-xp 00000000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0632a000-0632b000 rwxp 00008000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0640e000-06419000 r-xp 00000000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06419000-0641a000 rwxp 0000a000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06443000-06523000 r-xp 00000000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06523000-06527000 r-xp 000df000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06527000-06528000 rwxp 000e3000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06528000-0652e000 rwxp 06528000 00:00 0 
+070b3000-070b8000 r-xp 00000000 03:03 5129595    /lib/libcrypt-2.5.so
+070b8000-070b9000 r-xp 00004000 03:03 5129595    /lib/libcrypt-2.5.so
+070b9000-070ba000 rwxp 00005000 03:03 5129595    /lib/libcrypt-2.5.so
+070ba000-070e1000 rwxp 070ba000 00:00 0 
+08048000-08057000 r-xp 00000000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08057000-08059000 rwxp 0000e000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+09e76000-0a2c0000 rwxp 09e76000 00:00 0 
+88b40000-88be0000 rwxp 88b40000 00:00 0 
+88be0000-89020000 rwxp 88be0000 00:00 0 
+89020000-89240000 rwxp 89020000 00:00 0 
+89240000-8cb40000 rwxp 89240000 00:00 0 
+8cb40000-8d340000 rwxp 8cb40000 00:00 0 
+8d340000-90b40000 rwxp 8d340000 00:00 0 
+90b40000-910c0000 r-xs 00001000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+910c0000-91340000 rwxp 910c0000 00:00 0 
+91340000-9190b000 rwxp 00581000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+9190b000-91f40000 rwxp 9190b000 00:00 0 
+91f40000-92010000 rwxp 00b4c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92010000-92340000 rwxp 92010000 00:00 0 
+92340000-92344000 r-xs 00c1c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92344000-92740000 rwxp 92344000 00:00 0 
+b16b8000-b16dd000 r-xp 00000000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b16dd000-b16df000 rwxp 00025000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b16df000-b16e0000 rwxp b16df000 00:00 0 
+b16e0000-b16f6000 r-xp 00000000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b16f6000-b16f7000 rwxp 00016000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b16f7000-b172b000 r-xp 00000000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b172b000-b1734000 rwxp 00033000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b1734000-b173a000 r-xp 00000000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b173a000-b173b000 rwxp 00005000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b174d000-b174f000 r-xp 00000000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b174f000-b1750000 rwxp 00002000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b1750000-b1753000 --xp b1750000 00:00 0 
+b1753000-b17d1000 rwxp b1753000 00:00 0 
+b17d1000-b17d4000 --xp b17d1000 00:00 0 
+b17d4000-b1852000 rwxp b17d4000 00:00 0 
+b1852000-b18bc000 r-xp 00000000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b18bc000-b18c6000 rwxp 00069000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b18c6000-b18ca000 rwxp b18c6000 00:00 0 
+b18ca000-b18cd000 r-xs 00000000 03:04 11177891   /research/cc108/greenstone3Project/lib/jni/mgpp.jar
+b18cd000-b18d0000 r-xs 00000000 03:04 11177890   /research/cc108/greenstone3Project/lib/jni/mg.jar
+b18d0000-b18d6000 r-xs 00000000 03:04 11177881   /research/cc108/greenstone3Project/lib/jni/javagdbm.jar
+b18d6000-b19fc000 r-xs 00000000 03:04 824762     /research/cc108/greenstone3Project/web/WEB-INF/lib/xercesImpl.jar
+b19fc000-b1a41000 r-xs 00000000 03:04 824767     /research/cc108/greenstone3Project/web/WEB-INF/lib/mail.jar
+b1a41000-b1a71000 r-xs 00000000 03:04 922338     /research/cc108/greenstone3Project/web/applet/xml-apis.jar
+b1a71000-b1b1c000 r-xs 00000000 03:04 823556     /research/cc108/greenstone3Project/web/WEB-INF/lib/LuceneWrapper.jar
+b1b1c000-b1b6b000 r-xs 00000000 03:04 824760     /research/cc108/greenstone3Project/web/WEB-INF/lib/lucene-1.4.1.jar
+b1b6b000-b1bc2000 r-xs 00000000 03:04 822971     /research/cc108/greenstone3Project/web/WEB-INF/lib/log4j-1.2.8.jar
+b1bc2000-b1ceb000 r-xs 00000000 00:12 10701459   /home/cc108/jFreeChart/lib/jfreechart-1.0.6.jar
+b1ceb000-b1d38000 r-xs 00000000 00:12 10701456   /home/cc108/jFreeChart/lib/jcommon-1.0.10.jar
+b1d38000-b1d40000 r-xs 00000000 03:04 823023     /research/cc108/greenstone3Project/web/WEB-INF/lib/jaxrpc.jar
+b1d40000-b1ec8000 r-xs 00000000 03:04 823122     /research/cc108/greenstone3Project/web/WEB-INF/lib/axis.jar
+b1ec8000-b1f2a000 r-xs 00000000 03:04 823577     /research/cc108/greenstone3Project/web/WEB-INF/lib/gsdl3.jar
+b1f2a000-b1f58000 r-xp 00000000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1f58000-b1f5b000 rwxp 0002e000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1f5b000-b1f5c000 rwxp b1f5b000 00:00 0 
+b1f5c000-b2022000 r-xp 00000000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b2022000-b2023000 rwxp 000c5000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b2023000-b2083000 r-xp 00000000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b2083000-b2089000 rwxp 0005f000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b2089000-b20ad000 rwxp b2089000 00:00 0 
+b20ad000-b2172000 r-xs 00000000 03:03 6669015    /opt/jdk1.5.0_10/jre/lib/ext/localedata.jar
+b2172000-b2174000 r-xs 00000000 03:03 6669016    /opt/jdk1.5.0_10/jre/lib/ext/dnsns.jar
+b2174000-b219f000 r-xs 00000000 03:03 6669017    /opt/jdk1.5.0_10/jre/lib/ext/sunpkcs11.jar
+b219f000-b21c6000 r-xs 00000000 03:03 6669014    /opt/jdk1.5.0_10/jre/lib/ext/sunjce_provider.jar
+b21c6000-b21c7000 --xp b21c6000 00:00 0 
+b21c7000-b2247000 rwxp b21c7000 00:00 0 
+b2247000-b224a000 --xp b2247000 00:00 0 
+b224a000-b22c8000 rwxp b224a000 00:00 0 
+b22c8000-b22cb000 --xp b22c8000 00:00 0 
+b22cb000-b2349000 rwxp b22cb000 00:00 0 
+b2349000-b234c000 --xp b2349000 00:00 0 
+b234c000-b23ca000 rwxp b234c000 00:00 0 
+b23ca000-b25ca000 r-xp 00000000 03:03 4773667    /usr/lib/locale/locale-archive
+b25ca000-b25cd000 --xp b25ca000 00:00 0 
+b25cd000-b264b000 rwxp b25cd000 00:00 0 
+b264b000-b264e000 --xp b264b000 00:00 0 
+b264e000-b26cc000 rwxp b264e000 00:00 0 
+b26cc000-b26cd000 --xp b26cc000 00:00 0 
+b26cd000-b2759000 rwxp b26cd000 00:00 0 
+b2759000-b2775000 rwxp b2759000 00:00 0 
+b2775000-b2777000 rwxp b2775000 00:00 0 
+b2777000-b2793000 rwxp b2777000 00:00 0 
+b2793000-b2794000 rwxp b2793000 00:00 0 
+b2794000-b2795000 rwxp b2794000 00:00 0 
+b2795000-b2797000 rwxp b2795000 00:00 0 
+b2797000-b27b3000 rwxp b2797000 00:00 0 
+b27b3000-b27b7000 rwxp b27b3000 00:00 0 
+b27b7000-b27d3000 rwxp b27b7000 00:00 0 
+b27d3000-b27e2000 rwxp b27d3000 00:00 0 
+b27e2000-b285e000 rwxp b27e2000 00:00 0 
+b285e000-b294e000 rwxp b285e000 00:00 0 
+b294e000-b485e000 rwxp b294e000 00:00 0 
+b485e000-b50cd000 r-xs 00000000 03:03 6668968    /opt/jdk1.5.0_10/jre/lib/charsets.jar
+b50cd000-b50e2000 r-xs 00000000 03:03 6668987    /opt/jdk1.5.0_10/jre/lib/jce.jar
+b50e2000-b5167000 r-xs 00000000 03:03 6668837    /opt/jdk1.5.0_10/jre/lib/jsse.jar
+b5167000-b51d0000 rwxp b5167000 00:00 0 
+b51d0000-b77de000 r-xs 00000000 03:03 6668836    /opt/jdk1.5.0_10/jre/lib/rt.jar
+b77de000-b77ed000 r-xp 00000000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b77ed000-b77ef000 rwxp 0000e000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b77ef000-b7810000 r-xp 00000000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b7810000-b7812000 rwxp 00020000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b7812000-b7819000 r-xp 00000000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7819000-b781a000 r-xp 00006000 03:03 5129541    /lib/libnss_compat-2.5.so
+b781a000-b781b000 rwxp 00007000 03:03 5129541    /lib/libnss_compat-2.5.so
+b781b000-b781c000 r-xs 00000000 03:04 11177901   /research/cc108/greenstone3Project/lib/jni/cp.jar
+b781c000-b7821000 rwxp b781c000 00:00 0 
+b7821000-b782c000 r-xp 00000000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b782c000-b782d000 rwxp 0000b000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b782d000-b7b9a000 r-xp 00000000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b9a000-b7bb8000 rwxp 0036c000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7bb8000-b7fd1000 rwxp b7bb8000 00:00 0 
+b7fd1000-b7fd2000 r-xp 02aea000 03:03 4773667    /usr/lib/locale/locale-archive
+b7fd2000-b7fda000 rwxs 00000000 03:03 4151852    /tmp/hsperfdata_cc108/10446
+b7fda000-b7fe0000 r-xp 00000000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7fe0000-b7fe1000 rwxp 00006000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7fe1000-b7fe2000 rwxp b7fe1000 00:00 0 
+b7fe2000-b7fe3000 r-xp b7fe2000 00:00 0 
+b7fe3000-b7fe4000 r-xp b7fe3000 00:00 0          [vdso]
+bfb38000-bfb3b000 --xp bfb38000 00:00 0 
+bfb3b000-bfd38000 rwxp bfb3b000 00:00 0          [stack]
+
+VM Arguments:
+jvm_args: -Djava.library.path=/research/cc108/greenstone3Project/lib/jni -Djava.net.preferIPv4Stack=true
+java_command: org.greenstone3.ms.collectionChooser
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=/opt/jdk1.5.0_10
+JRE_HOME=/opt/jdk1.5.0_10/jre
+PATH=/home/cc108/bin:/opt/jdk1.5.0_10:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
+USERNAME=cc108
+LD_LIBRARY_PATH=/opt/jdk1.5.0_10/jre/lib/i386/client:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386:/usr/lib/firefox-1.5.0.12
+SHELL=/bin/bash
+DISPLAY=:0.0
+
+Signal Handlers:
+SIGSEGV: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGBUS: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGFPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGPIPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGILL: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
+SIGUSR2: [libjvm.so+0x28ce60], sa_mask[0]=0x00000000, sa_flags=0x10000004
+SIGHUP: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGINT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGQUIT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGTERM: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Fedora Core release 6 (Zod)
+
+uname:Linux 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 12:34:26 EDT 2007 i686
+libc:glibc 2.5 NPTL 2.5 
+rlimit: STACK 10240k, CORE 0k, NPROC 16383, NOFILE 1024, AS infinity
+load average:0.39 0.35 0.30
+
+CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
+
+Memory: 4k page, physical 1034780k(17740k free), swap 2000084k(1997340k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0_10-b03) for linux-x86, built on Nov  9 2006 14:22:56 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10525.log
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10525.log	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10525.log	(revision 17156)
@@ -0,0 +1,342 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  SIGSEGV (0xb) at pc=0x53e58955, pid=10525, tid=3086321344
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
+# Problematic frame:
+# C  0x53e58955
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x08af2bb8):  JavaThread "main" [_thread_in_native, id=10525]
+
+siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x53e58955
+
+Registers:
+EAX=0x00db01b0, EBX=0xb16661d0, ECX=0xb2376fd8, EDX=0x0023d380
+ESP=0xbf85d84c, EBP=0xbf85d878, ESI=0x08f281a8, EDI=0x08f281a8
+EIP=0x53e58955, CR2=0x53e58955, EFLAGS=0x00210202
+
+Top of Stack: (sp=0xbf85d84c)
+0xbf85d84c:   b164ba92 08f281a8 00000018 b165e18f
+0xbf85d85c:   08f281a8 00000001 08f2113c b164b99b
+0xbf85d86c:   b16661d0 b165e18f b164b540 bf85d8a8
+0xbf85d87c:   b164bbd1 b165e174 b165dbc2 b164b540
+0xbf85d88c:   08af2c78 bf85d8d8 b165dbc2 b164bb7b
+0xbf85d89c:   b16661d0 08f28188 08af2c78 bf85d8d8
+0xbf85d8ac:   b16475cc 08af2c78 bf85d914 00000042
+0xbf85d8bc:   08f28188 bf85d934 8cccf468 b164754b 
+
+Instructions: (pc=0x53e58955)
+0x53e58945:   
+[error occurred during error reporting, step 100, id 0xb]
+
+Stack: [0xbf664000,0xbf864000),  sp=0xbf85d84c,  free space=2022k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  0x53e58955
+C  [libmgsearchjni.so+0xabd1]  InitEnv+0x61
+C  [libmgsearchjni.so+0x65cc]  Java_org_greenstone_mg_MGSearchWrapper_initCSide+0x8c
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x2b5acc]
+V  [libjvm.so+0x2b8a50]
+V  [libjvm.so+0x1ef248]
+C  [libjava.so+0x137ad]  Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0+0x2d
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+285
+j  org.greenstone3.ms.collectionChooser.<init>()V+22
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x1a55f2]
+V  [libjvm.so+0x196802]
+C  [java+0x1873]
+C  [libc.so.6+0x15dec]  __libc_start_main+0xdc
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+285
+j  org.greenstone3.ms.collectionChooser.<init>()V+22
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x08ed6918 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=10538]
+  0x08ec7cb8 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=10537]
+  0x08b3af70 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=10535]
+  0x08b39a60 JavaThread "CompilerThread0" daemon [_thread_blocked, id=10534]
+  0x08b38a60 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10533]
+  0x08b31d00 JavaThread "Finalizer" daemon [_thread_blocked, id=10532]
+  0x08b30ff8 JavaThread "Reference Handler" daemon [_thread_blocked, id=10531]
+=>0x08af2bb8 JavaThread "main" [_thread_in_native, id=10525]
+
+Other Threads:
+  0x08b2e420 VMThread [id=10530]
+  0x08b3c538 WatcherThread [id=10536]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 576K, used 88K [0x88b40000, 0x88be0000, 0x89020000)
+  eden space 512K,  17% used [0x88b40000, 0x88b56340, 0x88bc0000)
+  from space 64K,   0% used [0x88bc0000, 0x88bc0000, 0x88bd0000)
+  to   space 64K,   0% used [0x88bd0000, 0x88bd0000, 0x88be0000)
+ tenured generation   total 2264K, used 1357K [0x89020000, 0x89256000, 0x8cb40000)
+   the space 2264K,  59% used [0x89020000, 0x891734e8, 0x89173600, 0x89256000)
+ compacting perm gen  total 8192K, used 1603K [0x8cb40000, 0x8d340000, 0x90b40000)
+   the space 8192K,  19% used [0x8cb40000, 0x8ccd0da0, 0x8ccd0e00, 0x8d340000)
+    ro space 8192K,  68% used [0x90b40000, 0x910bf220, 0x910bf400, 0x91340000)
+    rw space 12288K,  48% used [0x91340000, 0x9190a968, 0x9190aa00, 0x91f40000)
+
+Dynamic libraries:
+00101000-0023b000 r-xp 00000000 03:03 5133208    /lib/libc-2.5.so
+0023b000-0023d000 r-xp 0013a000 03:03 5133208    /lib/libc-2.5.so
+0023d000-0023e000 rwxp 0013c000 03:03 5133208    /lib/libc-2.5.so
+0023e000-00241000 rwxp 0023e000 00:00 0 
+00243000-00341000 r-xp 00000000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00341000-00345000 rwxp 000fe000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00397000-003b0000 r-xp 00000000 03:03 5133207    /lib/ld-2.5.so
+003b0000-003b1000 r-xp 00019000 03:03 5133207    /lib/ld-2.5.so
+003b1000-003b2000 rwxp 0001a000 03:03 5133207    /lib/ld-2.5.so
+003b4000-003bd000 r-xp 00000000 03:03 5133232    /lib/libnss_files-2.5.so
+003bd000-003be000 r-xp 00008000 03:03 5133232    /lib/libnss_files-2.5.so
+003be000-003bf000 rwxp 00009000 03:03 5133232    /lib/libnss_files-2.5.so
+003c1000-003c9000 r-xp 00000000 03:03 5133235    /lib/libnss_nis-2.5.so
+003c9000-003ca000 r-xp 00007000 03:03 5133235    /lib/libnss_nis-2.5.so
+003ca000-003cb000 rwxp 00008000 03:03 5133235    /lib/libnss_nis-2.5.so
+0042e000-00441000 r-xp 00000000 03:03 5133221    /lib/libnsl-2.5.so
+00441000-00442000 r-xp 00012000 03:03 5133221    /lib/libnsl-2.5.so
+00442000-00443000 rwxp 00013000 03:03 5133221    /lib/libnsl-2.5.so
+00443000-00445000 rwxp 00443000 00:00 0 
+00d66000-00d8b000 r-xp 00000000 03:03 5133213    /lib/libm-2.5.so
+00d8b000-00d8c000 r-xp 00024000 03:03 5133213    /lib/libm-2.5.so
+00d8c000-00d8d000 rwxp 00025000 03:03 5133213    /lib/libm-2.5.so
+00d8f000-00d91000 r-xp 00000000 03:03 5133209    /lib/libdl-2.5.so
+00d91000-00d92000 r-xp 00001000 03:03 5133209    /lib/libdl-2.5.so
+00d92000-00d93000 rwxp 00002000 03:03 5133209    /lib/libdl-2.5.so
+00daa000-00dac000 r-xp 00000000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00dac000-00dad000 rwxp 00001000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00daf000-00db4000 r-xp 00000000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db4000-00db5000 rwxp 00004000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db7000-00dca000 r-xp 00000000 03:03 5133215    /lib/libpthread-2.5.so
+00dca000-00dcb000 r-xp 00012000 03:03 5133215    /lib/libpthread-2.5.so
+00dcb000-00dcc000 rwxp 00013000 03:03 5133215    /lib/libpthread-2.5.so
+00dcc000-00dce000 rwxp 00dcc000 00:00 0 
+00dd0000-00ddf000 r-xp 00000000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00ddf000-00de0000 rwxp 0000e000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00de2000-00dea000 r-xp 00000000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00dea000-00deb000 rwxp 00007000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00ded000-00df1000 r-xp 00000000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+00df1000-00df2000 rwxp 00003000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+06321000-0632a000 r-xp 00000000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0632a000-0632b000 rwxp 00008000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0640e000-06419000 r-xp 00000000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06419000-0641a000 rwxp 0000a000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06443000-06523000 r-xp 00000000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06523000-06527000 r-xp 000df000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06527000-06528000 rwxp 000e3000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06528000-0652e000 rwxp 06528000 00:00 0 
+070b3000-070b8000 r-xp 00000000 03:03 5129595    /lib/libcrypt-2.5.so
+070b8000-070b9000 r-xp 00004000 03:03 5129595    /lib/libcrypt-2.5.so
+070b9000-070ba000 rwxp 00005000 03:03 5129595    /lib/libcrypt-2.5.so
+070ba000-070e1000 rwxp 070ba000 00:00 0 
+08048000-08057000 r-xp 00000000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08057000-08059000 rwxp 0000e000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08aed000-08f52000 rwxp 08aed000 00:00 0 
+88b40000-88be0000 rwxp 88b40000 00:00 0 
+88be0000-89020000 rwxp 88be0000 00:00 0 
+89020000-89256000 rwxp 89020000 00:00 0 
+89256000-8cb40000 rwxp 89256000 00:00 0 
+8cb40000-8d340000 rwxp 8cb40000 00:00 0 
+8d340000-90b40000 rwxp 8d340000 00:00 0 
+90b40000-910c0000 r-xs 00001000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+910c0000-91340000 rwxp 910c0000 00:00 0 
+91340000-9190b000 rwxp 00581000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+9190b000-91f40000 rwxp 9190b000 00:00 0 
+91f40000-92010000 rwxp 00b4c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92010000-92340000 rwxp 92010000 00:00 0 
+92340000-92344000 r-xs 00c1c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92344000-92740000 rwxp 92344000 00:00 0 
+b1641000-b1666000 r-xp 00000000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b1666000-b1668000 rwxp 00025000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b1668000-b1669000 rwxp b1668000 00:00 0 
+b1669000-b167f000 r-xp 00000000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b167f000-b1680000 rwxp 00016000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b1680000-b16b4000 r-xp 00000000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b16b4000-b16bd000 rwxp 00033000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b16bd000-b16c3000 r-xp 00000000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b16c3000-b16c4000 rwxp 00005000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b16d6000-b16d8000 r-xp 00000000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b16d8000-b16d9000 rwxp 00002000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b16d9000-b16dc000 --xp b16d9000 00:00 0 
+b16dc000-b175a000 rwxp b16dc000 00:00 0 
+b175a000-b175d000 --xp b175a000 00:00 0 
+b175d000-b17db000 rwxp b175d000 00:00 0 
+b17db000-b1845000 r-xp 00000000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b1845000-b184f000 rwxp 00069000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b184f000-b1853000 rwxp b184f000 00:00 0 
+b1853000-b1856000 r-xs 00000000 03:04 11177891   /research/cc108/greenstone3Project/lib/jni/mgpp.jar
+b1856000-b1859000 r-xs 00000000 03:04 11177890   /research/cc108/greenstone3Project/lib/jni/mg.jar
+b1859000-b185f000 r-xs 00000000 03:04 11177881   /research/cc108/greenstone3Project/lib/jni/javagdbm.jar
+b185f000-b1985000 r-xs 00000000 03:04 824762     /research/cc108/greenstone3Project/web/WEB-INF/lib/xercesImpl.jar
+b1985000-b19ca000 r-xs 00000000 03:04 824767     /research/cc108/greenstone3Project/web/WEB-INF/lib/mail.jar
+b19ca000-b19fa000 r-xs 00000000 03:04 922338     /research/cc108/greenstone3Project/web/applet/xml-apis.jar
+b19fa000-b1aa5000 r-xs 00000000 03:04 823556     /research/cc108/greenstone3Project/web/WEB-INF/lib/LuceneWrapper.jar
+b1aa5000-b1af4000 r-xs 00000000 03:04 824760     /research/cc108/greenstone3Project/web/WEB-INF/lib/lucene-1.4.1.jar
+b1af4000-b1b4b000 r-xs 00000000 03:04 822971     /research/cc108/greenstone3Project/web/WEB-INF/lib/log4j-1.2.8.jar
+b1b4b000-b1c74000 r-xs 00000000 00:12 10701459   /home/cc108/jFreeChart/lib/jfreechart-1.0.6.jar
+b1c74000-b1cc1000 r-xs 00000000 00:12 10701456   /home/cc108/jFreeChart/lib/jcommon-1.0.10.jar
+b1cc1000-b1cc9000 r-xs 00000000 03:04 823023     /research/cc108/greenstone3Project/web/WEB-INF/lib/jaxrpc.jar
+b1cc9000-b1e51000 r-xs 00000000 03:04 823122     /research/cc108/greenstone3Project/web/WEB-INF/lib/axis.jar
+b1e51000-b1eb3000 r-xs 00000000 03:04 823577     /research/cc108/greenstone3Project/web/WEB-INF/lib/gsdl3.jar
+b1eb3000-b1ee1000 r-xp 00000000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1ee1000-b1ee4000 rwxp 0002e000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1ee4000-b1ee5000 rwxp b1ee4000 00:00 0 
+b1ee5000-b1fab000 r-xp 00000000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1fab000-b1fac000 rwxp 000c5000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1fac000-b200c000 r-xp 00000000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b200c000-b2012000 rwxp 0005f000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b2012000-b2036000 rwxp b2012000 00:00 0 
+b2036000-b20fb000 r-xs 00000000 03:03 6669015    /opt/jdk1.5.0_10/jre/lib/ext/localedata.jar
+b20fb000-b20fd000 r-xs 00000000 03:03 6669016    /opt/jdk1.5.0_10/jre/lib/ext/dnsns.jar
+b20fd000-b2128000 r-xs 00000000 03:03 6669017    /opt/jdk1.5.0_10/jre/lib/ext/sunpkcs11.jar
+b2128000-b214f000 r-xs 00000000 03:03 6669014    /opt/jdk1.5.0_10/jre/lib/ext/sunjce_provider.jar
+b214f000-b2150000 --xp b214f000 00:00 0 
+b2150000-b21d0000 rwxp b2150000 00:00 0 
+b21d0000-b21d3000 --xp b21d0000 00:00 0 
+b21d3000-b2251000 rwxp b21d3000 00:00 0 
+b2251000-b2254000 --xp b2251000 00:00 0 
+b2254000-b22d2000 rwxp b2254000 00:00 0 
+b22d2000-b22d5000 --xp b22d2000 00:00 0 
+b22d5000-b2353000 rwxp b22d5000 00:00 0 
+b2353000-b2553000 r-xp 00000000 03:03 4773667    /usr/lib/locale/locale-archive
+b2553000-b2556000 --xp b2553000 00:00 0 
+b2556000-b25d4000 rwxp b2556000 00:00 0 
+b25d4000-b25d7000 --xp b25d4000 00:00 0 
+b25d7000-b2655000 rwxp b25d7000 00:00 0 
+b2655000-b2656000 --xp b2655000 00:00 0 
+b2656000-b26e2000 rwxp b2656000 00:00 0 
+b26e2000-b26fe000 rwxp b26e2000 00:00 0 
+b26fe000-b2700000 rwxp b26fe000 00:00 0 
+b2700000-b271c000 rwxp b2700000 00:00 0 
+b271c000-b271d000 rwxp b271c000 00:00 0 
+b271d000-b271e000 rwxp b271d000 00:00 0 
+b271e000-b2720000 rwxp b271e000 00:00 0 
+b2720000-b273c000 rwxp b2720000 00:00 0 
+b273c000-b2740000 rwxp b273c000 00:00 0 
+b2740000-b275c000 rwxp b2740000 00:00 0 
+b275c000-b276b000 rwxp b275c000 00:00 0 
+b276b000-b27e7000 rwxp b276b000 00:00 0 
+b27e7000-b28cf000 rwxp b27e7000 00:00 0 
+b28cf000-b47e7000 rwxp b28cf000 00:00 0 
+b47e7000-b5056000 r-xs 00000000 03:03 6668968    /opt/jdk1.5.0_10/jre/lib/charsets.jar
+b5056000-b506b000 r-xs 00000000 03:03 6668987    /opt/jdk1.5.0_10/jre/lib/jce.jar
+b506b000-b50f0000 r-xs 00000000 03:03 6668837    /opt/jdk1.5.0_10/jre/lib/jsse.jar
+b50f0000-b5159000 rwxp b50f0000 00:00 0 
+b5159000-b7767000 r-xs 00000000 03:03 6668836    /opt/jdk1.5.0_10/jre/lib/rt.jar
+b7767000-b7776000 r-xp 00000000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b7776000-b7778000 rwxp 0000e000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b7778000-b7799000 r-xp 00000000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b7799000-b779b000 rwxp 00020000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b779b000-b77a2000 r-xp 00000000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77a2000-b77a3000 r-xp 00006000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77a3000-b77a4000 rwxp 00007000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77a4000-b77a5000 r-xs 00000000 03:04 11177901   /research/cc108/greenstone3Project/lib/jni/cp.jar
+b77a5000-b77aa000 rwxp b77a5000 00:00 0 
+b77aa000-b77b5000 r-xp 00000000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b77b5000-b77b6000 rwxp 0000b000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b77b6000-b7b23000 r-xp 00000000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b23000-b7b41000 rwxp 0036c000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b41000-b7f5a000 rwxp b7b41000 00:00 0 
+b7f5a000-b7f5b000 r-xp 02aea000 03:03 4773667    /usr/lib/locale/locale-archive
+b7f5b000-b7f63000 rwxs 00000000 03:03 4151852    /tmp/hsperfdata_cc108/10525
+b7f63000-b7f69000 r-xp 00000000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f69000-b7f6a000 rwxp 00006000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f6a000-b7f6b000 rwxp b7f6a000 00:00 0 
+b7f6b000-b7f6c000 r-xp b7f6b000 00:00 0 
+b7f6c000-b7f6d000 r-xp b7f6c000 00:00 0          [vdso]
+bf664000-bf667000 --xp bf664000 00:00 0 
+bf667000-bf864000 rwxp bf667000 00:00 0          [stack]
+
+VM Arguments:
+jvm_args: -Djava.library.path=/research/cc108/greenstone3Project/lib/jni -Djava.net.preferIPv4Stack=true
+java_command: org.greenstone3.ms.collectionChooser
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=/opt/jdk1.5.0_10
+JRE_HOME=/opt/jdk1.5.0_10/jre
+PATH=/home/cc108/bin:/opt/jdk1.5.0_10:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
+USERNAME=cc108
+LD_LIBRARY_PATH=/opt/jdk1.5.0_10/jre/lib/i386/client:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386:/usr/lib/firefox-1.5.0.12
+SHELL=/bin/bash
+DISPLAY=:0.0
+
+Signal Handlers:
+SIGSEGV: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGBUS: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGFPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGPIPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGILL: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
+SIGUSR2: [libjvm.so+0x28ce60], sa_mask[0]=0x00000000, sa_flags=0x10000004
+SIGHUP: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGINT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGQUIT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGTERM: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Fedora Core release 6 (Zod)
+
+uname:Linux 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 12:34:26 EDT 2007 i686
+libc:glibc 2.5 NPTL 2.5 
+rlimit: STACK 10240k, CORE 0k, NPROC 16383, NOFILE 1024, AS infinity
+load average:0.48 0.32 0.29
+
+CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
+
+Memory: 4k page, physical 1034780k(68812k free), swap 2000084k(1949628k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0_10-b03) for linux-x86, built on Nov  9 2006 14:22:56 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10698.log
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10698.log	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10698.log	(revision 17156)
@@ -0,0 +1,344 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  SIGSEGV (0xb) at pc=0x53e58955, pid=10698, tid=3086616256
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
+# Problematic frame:
+# C  0x53e58955
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x097aab18):  JavaThread "main" [_thread_in_native, id=10698]
+
+siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x53e58955
+
+Registers:
+EAX=0x00db01b0, EBX=0xb15a91d0, ECX=0xb23befd8, EDX=0x0023d380
+ESP=0xbfb57b6c, EBP=0xbfb57b98, ESI=0xb1609248, EDI=0xb1609248
+EIP=0x53e58955, CR2=0x53e58955, EFLAGS=0x00210286
+
+Top of Stack: (sp=0xbfb57b6c)
+0xbfb57b6c:   b158ea92 b1609248 00000018 b15a118f
+0xbfb57b7c:   b1609248 00000001 b1609264 b158e99b
+0xbfb57b8c:   b15a91d0 b15a118f b158e540 bfb57bc8
+0xbfb57b9c:   b158ebd1 b15a1174 b15a0bc2 b158e540
+0xbfb57bac:   097aabd8 bfb57bf8 b15a0bc2 b158eb7b
+0xbfb57bbc:   b15a91d0 b1602320 097aabd8 bfb57bf8
+0xbfb57bcc:   b158a5cc 097aabd8 bfb57c34 00000042
+0xbfb57bdc:   b1602320 bfb57c54 8cccf3f8 b158a54b 
+
+Instructions: (pc=0x53e58955)
+0x53e58945:   
+[error occurred during error reporting, step 100, id 0xb]
+
+Stack: [0xbf95e000,0xbfb5e000),  sp=0xbfb57b6c,  free space=2022k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  0x53e58955
+C  [libmgsearchjni.so+0xabd1]  InitEnv+0x61
+C  [libmgsearchjni.so+0x65cc]  Java_org_greenstone_mg_MGSearchWrapper_initCSide+0x8c
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x2b5acc]
+V  [libjvm.so+0x2b8a50]
+V  [libjvm.so+0x1ef248]
+C  [libjava.so+0x137ad]  Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0+0x2d
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+285
+j  org.greenstone3.ms.collectionChooser.<init>()V+14
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x1a55f2]
+V  [libjvm.so+0x196802]
+C  [java+0x1873]
+C  [libc.so.6+0x15dec]  __libc_start_main+0xdc
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+285
+j  org.greenstone3.ms.collectionChooser.<init>()V+14
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x09b8fa00 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=10711]
+  0x09b80d28 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=10710]
+  0x097f2e98 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=10708]
+  0x097f1988 JavaThread "CompilerThread0" daemon [_thread_blocked, id=10707]
+  0x097f0988 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10706]
+  0x097eada8 JavaThread "Finalizer" daemon [_thread_blocked, id=10705]
+  0x097e8f20 JavaThread "Reference Handler" daemon [_thread_blocked, id=10704]
+=>0x097aab18 JavaThread "main" [_thread_in_native, id=10698]
+
+Other Threads:
+  0x097e6380 VMThread [id=10703]
+  0x097f4460 WatcherThread [id=10709]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 576K, used 41K [0x88b40000, 0x88be0000, 0x89020000)
+  eden space 512K,   8% used [0x88b40000, 0x88b4a480, 0x88bc0000)
+  from space 64K,   0% used [0x88bc0000, 0x88bc0000, 0x88bd0000)
+  to   space 64K,   0% used [0x88bd0000, 0x88bd0000, 0x88be0000)
+ tenured generation   total 2312K, used 1385K [0x89020000, 0x89262000, 0x8cb40000)
+   the space 2312K,  59% used [0x89020000, 0x8917a5d0, 0x8917a600, 0x89262000)
+ compacting perm gen  total 8192K, used 1603K [0x8cb40000, 0x8d340000, 0x90b40000)
+   the space 8192K,  19% used [0x8cb40000, 0x8ccd0d30, 0x8ccd0e00, 0x8d340000)
+    ro space 8192K,  68% used [0x90b40000, 0x910bf220, 0x910bf400, 0x91340000)
+    rw space 12288K,  48% used [0x91340000, 0x9190a968, 0x9190aa00, 0x91f40000)
+
+Dynamic libraries:
+00101000-0023b000 r-xp 00000000 03:03 5133208    /lib/libc-2.5.so
+0023b000-0023d000 r-xp 0013a000 03:03 5133208    /lib/libc-2.5.so
+0023d000-0023e000 rwxp 0013c000 03:03 5133208    /lib/libc-2.5.so
+0023e000-00241000 rwxp 0023e000 00:00 0 
+00243000-00341000 r-xp 00000000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00341000-00345000 rwxp 000fe000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00397000-003b0000 r-xp 00000000 03:03 5133207    /lib/ld-2.5.so
+003b0000-003b1000 r-xp 00019000 03:03 5133207    /lib/ld-2.5.so
+003b1000-003b2000 rwxp 0001a000 03:03 5133207    /lib/ld-2.5.so
+003b4000-003bd000 r-xp 00000000 03:03 5133232    /lib/libnss_files-2.5.so
+003bd000-003be000 r-xp 00008000 03:03 5133232    /lib/libnss_files-2.5.so
+003be000-003bf000 rwxp 00009000 03:03 5133232    /lib/libnss_files-2.5.so
+003c1000-003c9000 r-xp 00000000 03:03 5133235    /lib/libnss_nis-2.5.so
+003c9000-003ca000 r-xp 00007000 03:03 5133235    /lib/libnss_nis-2.5.so
+003ca000-003cb000 rwxp 00008000 03:03 5133235    /lib/libnss_nis-2.5.so
+0042e000-00441000 r-xp 00000000 03:03 5133221    /lib/libnsl-2.5.so
+00441000-00442000 r-xp 00012000 03:03 5133221    /lib/libnsl-2.5.so
+00442000-00443000 rwxp 00013000 03:03 5133221    /lib/libnsl-2.5.so
+00443000-00445000 rwxp 00443000 00:00 0 
+00d66000-00d8b000 r-xp 00000000 03:03 5133213    /lib/libm-2.5.so
+00d8b000-00d8c000 r-xp 00024000 03:03 5133213    /lib/libm-2.5.so
+00d8c000-00d8d000 rwxp 00025000 03:03 5133213    /lib/libm-2.5.so
+00d8f000-00d91000 r-xp 00000000 03:03 5133209    /lib/libdl-2.5.so
+00d91000-00d92000 r-xp 00001000 03:03 5133209    /lib/libdl-2.5.so
+00d92000-00d93000 rwxp 00002000 03:03 5133209    /lib/libdl-2.5.so
+00daa000-00dac000 r-xp 00000000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00dac000-00dad000 rwxp 00001000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00daf000-00db4000 r-xp 00000000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db4000-00db5000 rwxp 00004000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db7000-00dca000 r-xp 00000000 03:03 5133215    /lib/libpthread-2.5.so
+00dca000-00dcb000 r-xp 00012000 03:03 5133215    /lib/libpthread-2.5.so
+00dcb000-00dcc000 rwxp 00013000 03:03 5133215    /lib/libpthread-2.5.so
+00dcc000-00dce000 rwxp 00dcc000 00:00 0 
+00dd0000-00ddf000 r-xp 00000000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00ddf000-00de0000 rwxp 0000e000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00de2000-00dea000 r-xp 00000000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00dea000-00deb000 rwxp 00007000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00ded000-00df1000 r-xp 00000000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+00df1000-00df2000 rwxp 00003000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+06321000-0632a000 r-xp 00000000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0632a000-0632b000 rwxp 00008000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0640e000-06419000 r-xp 00000000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06419000-0641a000 rwxp 0000a000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06443000-06523000 r-xp 00000000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06523000-06527000 r-xp 000df000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06527000-06528000 rwxp 000e3000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06528000-0652e000 rwxp 06528000 00:00 0 
+070b3000-070b8000 r-xp 00000000 03:03 5129595    /lib/libcrypt-2.5.so
+070b8000-070b9000 r-xp 00004000 03:03 5129595    /lib/libcrypt-2.5.so
+070b9000-070ba000 rwxp 00005000 03:03 5129595    /lib/libcrypt-2.5.so
+070ba000-070e1000 rwxp 070ba000 00:00 0 
+08048000-08057000 r-xp 00000000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08057000-08059000 rwxp 0000e000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+097a5000-09be2000 rwxp 097a5000 00:00 0 
+88b40000-88be0000 rwxp 88b40000 00:00 0 
+88be0000-89020000 rwxp 88be0000 00:00 0 
+89020000-89262000 rwxp 89020000 00:00 0 
+89262000-8cb40000 rwxp 89262000 00:00 0 
+8cb40000-8d340000 rwxp 8cb40000 00:00 0 
+8d340000-90b40000 rwxp 8d340000 00:00 0 
+90b40000-910c0000 r-xs 00001000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+910c0000-91340000 rwxp 910c0000 00:00 0 
+91340000-9190b000 rwxp 00581000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+9190b000-91f40000 rwxp 9190b000 00:00 0 
+91f40000-92010000 rwxp 00b4c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92010000-92340000 rwxp 92010000 00:00 0 
+92340000-92344000 r-xs 00c1c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92344000-92740000 rwxp 92344000 00:00 0 
+b1584000-b15a9000 r-xp 00000000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b15a9000-b15ab000 rwxp 00025000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b15ab000-b15ac000 rwxp b15ab000 00:00 0 
+b15ac000-b15c2000 r-xp 00000000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b15c2000-b15c3000 rwxp 00016000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b15c3000-b15f7000 r-xp 00000000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b15f7000-b1600000 rwxp 00033000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b1600000-b1641000 rwxp b1600000 00:00 0 
+b1641000-b1700000 --xp b1641000 00:00 0 
+b1705000-b170b000 r-xp 00000000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b170b000-b170c000 rwxp 00005000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b171e000-b1720000 r-xp 00000000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b1720000-b1721000 rwxp 00002000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b1721000-b1724000 --xp b1721000 00:00 0 
+b1724000-b17a2000 rwxp b1724000 00:00 0 
+b17a2000-b17a5000 --xp b17a2000 00:00 0 
+b17a5000-b1823000 rwxp b17a5000 00:00 0 
+b1823000-b188d000 r-xp 00000000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b188d000-b1897000 rwxp 00069000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b1897000-b189b000 rwxp b1897000 00:00 0 
+b189b000-b189e000 r-xs 00000000 03:04 11177891   /research/cc108/greenstone3Project/lib/jni/mgpp.jar
+b189e000-b18a1000 r-xs 00000000 03:04 11177890   /research/cc108/greenstone3Project/lib/jni/mg.jar
+b18a1000-b18a7000 r-xs 00000000 03:04 11177881   /research/cc108/greenstone3Project/lib/jni/javagdbm.jar
+b18a7000-b19cd000 r-xs 00000000 03:04 824762     /research/cc108/greenstone3Project/web/WEB-INF/lib/xercesImpl.jar
+b19cd000-b1a12000 r-xs 00000000 03:04 824767     /research/cc108/greenstone3Project/web/WEB-INF/lib/mail.jar
+b1a12000-b1a42000 r-xs 00000000 03:04 922338     /research/cc108/greenstone3Project/web/applet/xml-apis.jar
+b1a42000-b1aed000 r-xs 00000000 03:04 823556     /research/cc108/greenstone3Project/web/WEB-INF/lib/LuceneWrapper.jar
+b1aed000-b1b3c000 r-xs 00000000 03:04 824760     /research/cc108/greenstone3Project/web/WEB-INF/lib/lucene-1.4.1.jar
+b1b3c000-b1b93000 r-xs 00000000 03:04 822971     /research/cc108/greenstone3Project/web/WEB-INF/lib/log4j-1.2.8.jar
+b1b93000-b1cbc000 r-xs 00000000 00:12 10701459   /home/cc108/jFreeChart/lib/jfreechart-1.0.6.jar
+b1cbc000-b1d09000 r-xs 00000000 00:12 10701456   /home/cc108/jFreeChart/lib/jcommon-1.0.10.jar
+b1d09000-b1d11000 r-xs 00000000 03:04 823023     /research/cc108/greenstone3Project/web/WEB-INF/lib/jaxrpc.jar
+b1d11000-b1e99000 r-xs 00000000 03:04 823122     /research/cc108/greenstone3Project/web/WEB-INF/lib/axis.jar
+b1e99000-b1efb000 r-xs 00000000 03:04 823577     /research/cc108/greenstone3Project/web/WEB-INF/lib/gsdl3.jar
+b1efb000-b1f29000 r-xp 00000000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1f29000-b1f2c000 rwxp 0002e000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1f2c000-b1f2d000 rwxp b1f2c000 00:00 0 
+b1f2d000-b1ff3000 r-xp 00000000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1ff3000-b1ff4000 rwxp 000c5000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1ff4000-b2054000 r-xp 00000000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b2054000-b205a000 rwxp 0005f000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b205a000-b207e000 rwxp b205a000 00:00 0 
+b207e000-b2143000 r-xs 00000000 03:03 6669015    /opt/jdk1.5.0_10/jre/lib/ext/localedata.jar
+b2143000-b2145000 r-xs 00000000 03:03 6669016    /opt/jdk1.5.0_10/jre/lib/ext/dnsns.jar
+b2145000-b2170000 r-xs 00000000 03:03 6669017    /opt/jdk1.5.0_10/jre/lib/ext/sunpkcs11.jar
+b2170000-b2197000 r-xs 00000000 03:03 6669014    /opt/jdk1.5.0_10/jre/lib/ext/sunjce_provider.jar
+b2197000-b2198000 --xp b2197000 00:00 0 
+b2198000-b2218000 rwxp b2198000 00:00 0 
+b2218000-b221b000 --xp b2218000 00:00 0 
+b221b000-b2299000 rwxp b221b000 00:00 0 
+b2299000-b229c000 --xp b2299000 00:00 0 
+b229c000-b231a000 rwxp b229c000 00:00 0 
+b231a000-b231d000 --xp b231a000 00:00 0 
+b231d000-b239b000 rwxp b231d000 00:00 0 
+b239b000-b259b000 r-xp 00000000 03:03 4773667    /usr/lib/locale/locale-archive
+b259b000-b259e000 --xp b259b000 00:00 0 
+b259e000-b261c000 rwxp b259e000 00:00 0 
+b261c000-b261f000 --xp b261c000 00:00 0 
+b261f000-b269d000 rwxp b261f000 00:00 0 
+b269d000-b269e000 --xp b269d000 00:00 0 
+b269e000-b272a000 rwxp b269e000 00:00 0 
+b272a000-b2746000 rwxp b272a000 00:00 0 
+b2746000-b2748000 rwxp b2746000 00:00 0 
+b2748000-b2764000 rwxp b2748000 00:00 0 
+b2764000-b2765000 rwxp b2764000 00:00 0 
+b2765000-b2766000 rwxp b2765000 00:00 0 
+b2766000-b2768000 rwxp b2766000 00:00 0 
+b2768000-b2784000 rwxp b2768000 00:00 0 
+b2784000-b2788000 rwxp b2784000 00:00 0 
+b2788000-b27a4000 rwxp b2788000 00:00 0 
+b27a4000-b27b3000 rwxp b27a4000 00:00 0 
+b27b3000-b282f000 rwxp b27b3000 00:00 0 
+b282f000-b2917000 rwxp b282f000 00:00 0 
+b2917000-b482f000 rwxp b2917000 00:00 0 
+b482f000-b509e000 r-xs 00000000 03:03 6668968    /opt/jdk1.5.0_10/jre/lib/charsets.jar
+b509e000-b50b3000 r-xs 00000000 03:03 6668987    /opt/jdk1.5.0_10/jre/lib/jce.jar
+b50b3000-b5138000 r-xs 00000000 03:03 6668837    /opt/jdk1.5.0_10/jre/lib/jsse.jar
+b5138000-b51a1000 rwxp b5138000 00:00 0 
+b51a1000-b77af000 r-xs 00000000 03:03 6668836    /opt/jdk1.5.0_10/jre/lib/rt.jar
+b77af000-b77be000 r-xp 00000000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b77be000-b77c0000 rwxp 0000e000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b77c0000-b77e1000 r-xp 00000000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b77e1000-b77e3000 rwxp 00020000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b77e3000-b77ea000 r-xp 00000000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77ea000-b77eb000 r-xp 00006000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77eb000-b77ec000 rwxp 00007000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77ec000-b77ed000 r-xs 00000000 03:04 11177901   /research/cc108/greenstone3Project/lib/jni/cp.jar
+b77ed000-b77f2000 rwxp b77ed000 00:00 0 
+b77f2000-b77fd000 r-xp 00000000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b77fd000-b77fe000 rwxp 0000b000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b77fe000-b7b6b000 r-xp 00000000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b6b000-b7b89000 rwxp 0036c000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b89000-b7fa2000 rwxp b7b89000 00:00 0 
+b7fa2000-b7fa3000 r-xp 02aea000 03:03 4773667    /usr/lib/locale/locale-archive
+b7fa3000-b7fab000 rwxs 00000000 03:03 4151853    /tmp/hsperfdata_cc108/10698
+b7fab000-b7fb1000 r-xp 00000000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7fb1000-b7fb2000 rwxp 00006000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7fb2000-b7fb3000 rwxp b7fb2000 00:00 0 
+b7fb3000-b7fb4000 r-xp b7fb3000 00:00 0 
+b7fb4000-b7fb5000 r-xp b7fb4000 00:00 0          [vdso]
+bf95e000-bf961000 --xp bf95e000 00:00 0 
+bf961000-bfb5e000 rwxp bf961000 00:00 0          [stack]
+
+VM Arguments:
+jvm_args: -Djava.library.path=/research/cc108/greenstone3Project/lib/jni
+java_command: org.greenstone3.ms.collectionChooser
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=/opt/jdk1.5.0_10
+JRE_HOME=/opt/jdk1.5.0_10/jre
+PATH=/home/cc108/bin:/opt/jdk1.5.0_10:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
+USERNAME=cc108
+LD_LIBRARY_PATH=/opt/jdk1.5.0_10/jre/lib/i386/client:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386:/usr/lib/firefox-1.5.0.12
+SHELL=/bin/bash
+DISPLAY=:0.0
+
+Signal Handlers:
+SIGSEGV: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGBUS: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGFPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGPIPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGILL: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
+SIGUSR2: [libjvm.so+0x28ce60], sa_mask[0]=0x00000000, sa_flags=0x10000004
+SIGHUP: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGINT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGQUIT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGTERM: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Fedora Core release 6 (Zod)
+
+uname:Linux 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 12:34:26 EDT 2007 i686
+libc:glibc 2.5 NPTL 2.5 
+rlimit: STACK 10240k, CORE 0k, NPROC 16383, NOFILE 1024, AS infinity
+load average:0.17 0.26 0.29
+
+CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
+
+Memory: 4k page, physical 1034780k(36168k free), swap 2000084k(1949636k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0_10-b03) for linux-x86, built on Nov  9 2006 14:22:56 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10722.log
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10722.log	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10722.log	(revision 17156)
@@ -0,0 +1,341 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  SIGSEGV (0xb) at pc=0x53e58955, pid=10722, tid=3086018240
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
+# Problematic frame:
+# C  0x53e58955
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x0913ca88):  JavaThread "main" [_thread_in_native, id=10722]
+
+siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x53e58955
+
+Registers:
+EAX=0x00db01b0, EBX=0xb161c1d0, ECX=0xb232cfd8, EDX=0x0023d380
+ESP=0xbfb45b8c, EBP=0xbfb45bb8, ESI=0x09567e98, EDI=0x09567e98
+EIP=0x53e58955, CR2=0x53e58955, EFLAGS=0x00210202
+
+Top of Stack: (sp=0xbfb45b8c)
+0xbfb45b8c:   b1601a92 09567e98 00000018 b161418f
+0xbfb45b9c:   09567e98 00000001 09567eb4 b160199b
+0xbfb45bac:   b161c1d0 b161418f b1601540 bfb45be8
+0xbfb45bbc:   b1601bd1 b1614174 b1613bc2 b1601540
+0xbfb45bcc:   0913cb48 bfb45c18 b1613bc2 b1601b7b
+0xbfb45bdc:   b161c1d0 09567e78 0913cb48 bfb45c18
+0xbfb45bec:   b15fd5cc 0913cb48 bfb45c54 00000042
+0xbfb45bfc:   09567e78 bfb45c74 8cccf3f8 b15fd54b 
+
+Instructions: (pc=0x53e58955)
+0x53e58945:   
+[error occurred during error reporting, step 100, id 0xb]
+
+Stack: [0xbf94c000,0xbfb4c000),  sp=0xbfb45b8c,  free space=2022k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  0x53e58955
+C  [libmgsearchjni.so+0xabd1]  InitEnv+0x61
+C  [libmgsearchjni.so+0x65cc]  Java_org_greenstone_mg_MGSearchWrapper_initCSide+0x8c
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x2b5acc]
+V  [libjvm.so+0x2b8a50]
+V  [libjvm.so+0x1ef248]
+C  [libjava.so+0x137ad]  Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0+0x2d
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+285
+j  org.greenstone3.ms.collectionChooser.<init>()V+14
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x1a55f2]
+V  [libjvm.so+0x196802]
+C  [java+0x1873]
+C  [libc.so.6+0x15dec]  __libc_start_main+0xdc
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+285
+j  org.greenstone3.ms.collectionChooser.<init>()V+14
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x09515260 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=10736]
+  0x09506518 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=10735]
+  0x09184e40 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=10733]
+  0x09183930 JavaThread "CompilerThread0" daemon [_thread_blocked, id=10732]
+  0x09182930 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10731]
+  0x0917cd50 JavaThread "Finalizer" daemon [_thread_blocked, id=10730]
+  0x0917aec8 JavaThread "Reference Handler" daemon [_thread_blocked, id=10729]
+=>0x0913ca88 JavaThread "main" [_thread_in_native, id=10722]
+
+Other Threads:
+  0x091782f0 VMThread [id=10728]
+  0x09186408 WatcherThread [id=10734]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 576K, used 27K [0x88b40000, 0x88be0000, 0x89020000)
+  eden space 512K,   5% used [0x88b40000, 0x88b46da8, 0x88bc0000)
+  from space 64K,   0% used [0x88bc0000, 0x88bc0000, 0x88bd0000)
+  to   space 64K,   0% used [0x88bd0000, 0x88bd0000, 0x88be0000)
+ tenured generation   total 2288K, used 1372K [0x89020000, 0x8925c000, 0x8cb40000)
+   the space 2288K,  59% used [0x89020000, 0x89177288, 0x89177400, 0x8925c000)
+ compacting perm gen  total 8192K, used 1603K [0x8cb40000, 0x8d340000, 0x90b40000)
+   the space 8192K,  19% used [0x8cb40000, 0x8ccd0d30, 0x8ccd0e00, 0x8d340000)
+    ro space 8192K,  68% used [0x90b40000, 0x910bf220, 0x910bf400, 0x91340000)
+    rw space 12288K,  48% used [0x91340000, 0x9190a968, 0x9190aa00, 0x91f40000)
+
+Dynamic libraries:
+00101000-0023b000 r-xp 00000000 03:03 5133208    /lib/libc-2.5.so
+0023b000-0023d000 r-xp 0013a000 03:03 5133208    /lib/libc-2.5.so
+0023d000-0023e000 rwxp 0013c000 03:03 5133208    /lib/libc-2.5.so
+0023e000-00241000 rwxp 0023e000 00:00 0 
+00243000-00341000 r-xp 00000000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00341000-00345000 rwxp 000fe000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00397000-003b0000 r-xp 00000000 03:03 5133207    /lib/ld-2.5.so
+003b0000-003b1000 r-xp 00019000 03:03 5133207    /lib/ld-2.5.so
+003b1000-003b2000 rwxp 0001a000 03:03 5133207    /lib/ld-2.5.so
+003b4000-003bd000 r-xp 00000000 03:03 5133232    /lib/libnss_files-2.5.so
+003bd000-003be000 r-xp 00008000 03:03 5133232    /lib/libnss_files-2.5.so
+003be000-003bf000 rwxp 00009000 03:03 5133232    /lib/libnss_files-2.5.so
+003c1000-003c9000 r-xp 00000000 03:03 5133235    /lib/libnss_nis-2.5.so
+003c9000-003ca000 r-xp 00007000 03:03 5133235    /lib/libnss_nis-2.5.so
+003ca000-003cb000 rwxp 00008000 03:03 5133235    /lib/libnss_nis-2.5.so
+0042e000-00441000 r-xp 00000000 03:03 5133221    /lib/libnsl-2.5.so
+00441000-00442000 r-xp 00012000 03:03 5133221    /lib/libnsl-2.5.so
+00442000-00443000 rwxp 00013000 03:03 5133221    /lib/libnsl-2.5.so
+00443000-00445000 rwxp 00443000 00:00 0 
+00d66000-00d8b000 r-xp 00000000 03:03 5133213    /lib/libm-2.5.so
+00d8b000-00d8c000 r-xp 00024000 03:03 5133213    /lib/libm-2.5.so
+00d8c000-00d8d000 rwxp 00025000 03:03 5133213    /lib/libm-2.5.so
+00d8f000-00d91000 r-xp 00000000 03:03 5133209    /lib/libdl-2.5.so
+00d91000-00d92000 r-xp 00001000 03:03 5133209    /lib/libdl-2.5.so
+00d92000-00d93000 rwxp 00002000 03:03 5133209    /lib/libdl-2.5.so
+00daa000-00dac000 r-xp 00000000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00dac000-00dad000 rwxp 00001000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00daf000-00db4000 r-xp 00000000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db4000-00db5000 rwxp 00004000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db7000-00dca000 r-xp 00000000 03:03 5133215    /lib/libpthread-2.5.so
+00dca000-00dcb000 r-xp 00012000 03:03 5133215    /lib/libpthread-2.5.so
+00dcb000-00dcc000 rwxp 00013000 03:03 5133215    /lib/libpthread-2.5.so
+00dcc000-00dce000 rwxp 00dcc000 00:00 0 
+00dd0000-00ddf000 r-xp 00000000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00ddf000-00de0000 rwxp 0000e000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00de2000-00dea000 r-xp 00000000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00dea000-00deb000 rwxp 00007000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00ded000-00df1000 r-xp 00000000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+00df1000-00df2000 rwxp 00003000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+06321000-0632a000 r-xp 00000000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0632a000-0632b000 rwxp 00008000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0640e000-06419000 r-xp 00000000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06419000-0641a000 rwxp 0000a000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06443000-06523000 r-xp 00000000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06523000-06527000 r-xp 000df000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06527000-06528000 rwxp 000e3000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06528000-0652e000 rwxp 06528000 00:00 0 
+070b3000-070b8000 r-xp 00000000 03:03 5129595    /lib/libcrypt-2.5.so
+070b8000-070b9000 r-xp 00004000 03:03 5129595    /lib/libcrypt-2.5.so
+070b9000-070ba000 rwxp 00005000 03:03 5129595    /lib/libcrypt-2.5.so
+070ba000-070e1000 rwxp 070ba000 00:00 0 
+08048000-08057000 r-xp 00000000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08057000-08059000 rwxp 0000e000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+09137000-0958f000 rwxp 09137000 00:00 0 
+88b40000-88be0000 rwxp 88b40000 00:00 0 
+88be0000-89020000 rwxp 88be0000 00:00 0 
+89020000-8925c000 rwxp 89020000 00:00 0 
+8925c000-8cb40000 rwxp 8925c000 00:00 0 
+8cb40000-8d340000 rwxp 8cb40000 00:00 0 
+8d340000-90b40000 rwxp 8d340000 00:00 0 
+90b40000-910c0000 r-xs 00001000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+910c0000-91340000 rwxp 910c0000 00:00 0 
+91340000-9190b000 rwxp 00581000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+9190b000-91f40000 rwxp 9190b000 00:00 0 
+91f40000-92010000 rwxp 00b4c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92010000-92340000 rwxp 92010000 00:00 0 
+92340000-92344000 r-xs 00c1c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92344000-92740000 rwxp 92344000 00:00 0 
+b15f7000-b161c000 r-xp 00000000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b161c000-b161e000 rwxp 00025000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b161e000-b161f000 rwxp b161e000 00:00 0 
+b161f000-b1635000 r-xp 00000000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b1635000-b1636000 rwxp 00016000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b1636000-b166a000 r-xp 00000000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b166a000-b1673000 rwxp 00033000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b1673000-b1679000 r-xp 00000000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b1679000-b167a000 rwxp 00005000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b168c000-b168e000 r-xp 00000000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b168e000-b168f000 rwxp 00002000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b168f000-b1692000 --xp b168f000 00:00 0 
+b1692000-b1710000 rwxp b1692000 00:00 0 
+b1710000-b1713000 --xp b1710000 00:00 0 
+b1713000-b1791000 rwxp b1713000 00:00 0 
+b1791000-b17fb000 r-xp 00000000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b17fb000-b1805000 rwxp 00069000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b1805000-b1809000 rwxp b1805000 00:00 0 
+b1809000-b180c000 r-xs 00000000 03:04 11177891   /research/cc108/greenstone3Project/lib/jni/mgpp.jar
+b180c000-b180f000 r-xs 00000000 03:04 11177890   /research/cc108/greenstone3Project/lib/jni/mg.jar
+b180f000-b1815000 r-xs 00000000 03:04 11177881   /research/cc108/greenstone3Project/lib/jni/javagdbm.jar
+b1815000-b193b000 r-xs 00000000 03:04 824762     /research/cc108/greenstone3Project/web/WEB-INF/lib/xercesImpl.jar
+b193b000-b1980000 r-xs 00000000 03:04 824767     /research/cc108/greenstone3Project/web/WEB-INF/lib/mail.jar
+b1980000-b19b0000 r-xs 00000000 03:04 922338     /research/cc108/greenstone3Project/web/applet/xml-apis.jar
+b19b0000-b1a5b000 r-xs 00000000 03:04 823556     /research/cc108/greenstone3Project/web/WEB-INF/lib/LuceneWrapper.jar
+b1a5b000-b1aaa000 r-xs 00000000 03:04 824760     /research/cc108/greenstone3Project/web/WEB-INF/lib/lucene-1.4.1.jar
+b1aaa000-b1b01000 r-xs 00000000 03:04 822971     /research/cc108/greenstone3Project/web/WEB-INF/lib/log4j-1.2.8.jar
+b1b01000-b1c2a000 r-xs 00000000 00:12 10701459   /home/cc108/jFreeChart/lib/jfreechart-1.0.6.jar
+b1c2a000-b1c77000 r-xs 00000000 00:12 10701456   /home/cc108/jFreeChart/lib/jcommon-1.0.10.jar
+b1c77000-b1c7f000 r-xs 00000000 03:04 823023     /research/cc108/greenstone3Project/web/WEB-INF/lib/jaxrpc.jar
+b1c7f000-b1e07000 r-xs 00000000 03:04 823122     /research/cc108/greenstone3Project/web/WEB-INF/lib/axis.jar
+b1e07000-b1e69000 r-xs 00000000 03:04 823577     /research/cc108/greenstone3Project/web/WEB-INF/lib/gsdl3.jar
+b1e69000-b1e97000 r-xp 00000000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1e97000-b1e9a000 rwxp 0002e000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1e9a000-b1e9b000 rwxp b1e9a000 00:00 0 
+b1e9b000-b1f61000 r-xp 00000000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1f61000-b1f62000 rwxp 000c5000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1f62000-b1fc2000 r-xp 00000000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b1fc2000-b1fc8000 rwxp 0005f000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b1fc8000-b1fec000 rwxp b1fc8000 00:00 0 
+b1fec000-b20b1000 r-xs 00000000 03:03 6669015    /opt/jdk1.5.0_10/jre/lib/ext/localedata.jar
+b20b1000-b20b3000 r-xs 00000000 03:03 6669016    /opt/jdk1.5.0_10/jre/lib/ext/dnsns.jar
+b20b3000-b20de000 r-xs 00000000 03:03 6669017    /opt/jdk1.5.0_10/jre/lib/ext/sunpkcs11.jar
+b20de000-b2105000 r-xs 00000000 03:03 6669014    /opt/jdk1.5.0_10/jre/lib/ext/sunjce_provider.jar
+b2105000-b2106000 --xp b2105000 00:00 0 
+b2106000-b2186000 rwxp b2106000 00:00 0 
+b2186000-b2189000 --xp b2186000 00:00 0 
+b2189000-b2207000 rwxp b2189000 00:00 0 
+b2207000-b220a000 --xp b2207000 00:00 0 
+b220a000-b2288000 rwxp b220a000 00:00 0 
+b2288000-b228b000 --xp b2288000 00:00 0 
+b228b000-b2309000 rwxp b228b000 00:00 0 
+b2309000-b2509000 r-xp 00000000 03:03 4773667    /usr/lib/locale/locale-archive
+b2509000-b250c000 --xp b2509000 00:00 0 
+b250c000-b258a000 rwxp b250c000 00:00 0 
+b258a000-b258d000 --xp b258a000 00:00 0 
+b258d000-b260b000 rwxp b258d000 00:00 0 
+b260b000-b260c000 --xp b260b000 00:00 0 
+b260c000-b2698000 rwxp b260c000 00:00 0 
+b2698000-b26b4000 rwxp b2698000 00:00 0 
+b26b4000-b26b6000 rwxp b26b4000 00:00 0 
+b26b6000-b26d2000 rwxp b26b6000 00:00 0 
+b26d2000-b26d3000 rwxp b26d2000 00:00 0 
+b26d3000-b26d4000 rwxp b26d3000 00:00 0 
+b26d4000-b26d6000 rwxp b26d4000 00:00 0 
+b26d6000-b26f2000 rwxp b26d6000 00:00 0 
+b26f2000-b26f6000 rwxp b26f2000 00:00 0 
+b26f6000-b2712000 rwxp b26f6000 00:00 0 
+b2712000-b2721000 rwxp b2712000 00:00 0 
+b2721000-b279d000 rwxp b2721000 00:00 0 
+b279d000-b2885000 rwxp b279d000 00:00 0 
+b2885000-b479d000 rwxp b2885000 00:00 0 
+b479d000-b500c000 r-xs 00000000 03:03 6668968    /opt/jdk1.5.0_10/jre/lib/charsets.jar
+b500c000-b5021000 r-xs 00000000 03:03 6668987    /opt/jdk1.5.0_10/jre/lib/jce.jar
+b5021000-b50a6000 r-xs 00000000 03:03 6668837    /opt/jdk1.5.0_10/jre/lib/jsse.jar
+b50a6000-b510f000 rwxp b50a6000 00:00 0 
+b510f000-b771d000 r-xs 00000000 03:03 6668836    /opt/jdk1.5.0_10/jre/lib/rt.jar
+b771d000-b772c000 r-xp 00000000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b772c000-b772e000 rwxp 0000e000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b772e000-b774f000 r-xp 00000000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b774f000-b7751000 rwxp 00020000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b7751000-b7758000 r-xp 00000000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7758000-b7759000 r-xp 00006000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7759000-b775a000 rwxp 00007000 03:03 5129541    /lib/libnss_compat-2.5.so
+b775b000-b7760000 rwxp b775b000 00:00 0 
+b7760000-b776b000 r-xp 00000000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b776b000-b776c000 rwxp 0000b000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b776c000-b7ad9000 r-xp 00000000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7ad9000-b7af7000 rwxp 0036c000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7af7000-b7f10000 rwxp b7af7000 00:00 0 
+b7f10000-b7f11000 r-xp 02aea000 03:03 4773667    /usr/lib/locale/locale-archive
+b7f11000-b7f19000 rwxs 00000000 03:03 4151853    /tmp/hsperfdata_cc108/10722
+b7f19000-b7f1f000 r-xp 00000000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f1f000-b7f20000 rwxp 00006000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f20000-b7f21000 rwxp b7f20000 00:00 0 
+b7f21000-b7f22000 r-xp b7f21000 00:00 0 
+b7f22000-b7f23000 r-xp b7f22000 00:00 0          [vdso]
+bf94c000-bf94f000 --xp bf94c000 00:00 0 
+bf94f000-bfb4c000 rwxp bf94f000 00:00 0          [stack]
+
+VM Arguments:
+jvm_args: -Djava.library.path=/research/cc108/greenstone3Project/lib/jni
+java_command: org.greenstone3.ms.collectionChooser
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=/opt/jdk1.5.0_10
+JRE_HOME=/opt/jdk1.5.0_10/jre
+PATH=/home/cc108/bin:/opt/jdk1.5.0_10:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
+USERNAME=cc108
+LD_LIBRARY_PATH=/opt/jdk1.5.0_10/jre/lib/i386/client:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386:/usr/lib/firefox-1.5.0.12
+SHELL=/bin/bash
+DISPLAY=:0.0
+
+Signal Handlers:
+SIGSEGV: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGBUS: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGFPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGPIPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGILL: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
+SIGUSR2: [libjvm.so+0x28ce60], sa_mask[0]=0x00000000, sa_flags=0x10000004
+SIGHUP: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGINT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGQUIT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGTERM: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Fedora Core release 6 (Zod)
+
+uname:Linux 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 12:34:26 EDT 2007 i686
+libc:glibc 2.5 NPTL 2.5 
+rlimit: STACK 10240k, CORE 0k, NPROC 16383, NOFILE 1024, AS infinity
+load average:0.10 0.22 0.27
+
+CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
+
+Memory: 4k page, physical 1034780k(70632k free), swap 2000084k(1947564k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0_10-b03) for linux-x86, built on Nov  9 2006 14:22:56 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10740.log
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10740.log	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10740.log	(revision 17156)
@@ -0,0 +1,342 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  SIGSEGV (0xb) at pc=0x53e58955, pid=10740, tid=3086010048
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
+# Problematic frame:
+# C  0x53e58955
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x0933eb18):  JavaThread "main" [_thread_in_native, id=10740]
+
+siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x53e58955
+
+Registers:
+EAX=0x00db01b0, EBX=0xb161a1d0, ECX=0xb232afd8, EDX=0x0023d380
+ESP=0xbfec1ecc, EBP=0xbfec1ef8, ESI=0x09776750, EDI=0x09776750
+EIP=0x53e58955, CR2=0x53e58955, EFLAGS=0x00210206
+
+Top of Stack: (sp=0xbfec1ecc)
+0xbfec1ecc:   b15ffa92 09776750 00000018 b161218f
+0xbfec1edc:   09776750 00000001 0976dd44 b15ff99b
+0xbfec1eec:   b161a1d0 b161218f b15ff540 bfec1f28
+0xbfec1efc:   b15ffbd1 b1612174 b1611bc2 b15ff540
+0xbfec1f0c:   0933ebd8 bfec1f58 b1611bc2 b15ffb7b
+0xbfec1f1c:   b161a1d0 09770890 0933ebd8 bfec1f58
+0xbfec1f2c:   b15fb5cc 0933ebd8 bfec1f94 00000042
+0xbfec1f3c:   09770890 bfec1fb4 8cccf3f8 b15fb54b 
+
+Instructions: (pc=0x53e58955)
+0x53e58945:   
+[error occurred during error reporting, step 100, id 0xb]
+
+Stack: [0xbfcc8000,0xbfec8000),  sp=0xbfec1ecc,  free space=2023k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  0x53e58955
+C  [libmgsearchjni.so+0xabd1]  InitEnv+0x61
+C  [libmgsearchjni.so+0x65cc]  Java_org_greenstone_mg_MGSearchWrapper_initCSide+0x8c
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x2b5acc]
+V  [libjvm.so+0x2b8a50]
+V  [libjvm.so+0x1ef248]
+C  [libjava.so+0x137ad]  Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0+0x2d
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+285
+j  org.greenstone3.ms.collectionChooser.<init>()V+14
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x1a55f2]
+V  [libjvm.so+0x196802]
+C  [java+0x1873]
+C  [libc.so.6+0x15dec]  __libc_start_main+0xdc
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+285
+j  org.greenstone3.ms.collectionChooser.<init>()V+14
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x097239e8 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=10755]
+  0x09714d10 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=10754]
+  0x09386e98 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=10751]
+  0x09385988 JavaThread "CompilerThread0" daemon [_thread_blocked, id=10750]
+  0x09384988 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10749]
+  0x0937eda8 JavaThread "Finalizer" daemon [_thread_blocked, id=10747]
+  0x0937cf20 JavaThread "Reference Handler" daemon [_thread_blocked, id=10746]
+=>0x0933eb18 JavaThread "main" [_thread_in_native, id=10740]
+
+Other Threads:
+  0x0937a380 VMThread [id=10745]
+  0x09388460 WatcherThread [id=10752]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 576K, used 41K [0x88b40000, 0x88be0000, 0x89020000)
+  eden space 512K,   8% used [0x88b40000, 0x88b4a4a8, 0x88bc0000)
+  from space 64K,   0% used [0x88bc0000, 0x88bc0000, 0x88bd0000)
+  to   space 64K,   0% used [0x88bd0000, 0x88bd0000, 0x88be0000)
+ tenured generation   total 2292K, used 1373K [0x89020000, 0x8925d000, 0x8cb40000)
+   the space 2292K,  59% used [0x89020000, 0x891776a0, 0x89177800, 0x8925d000)
+ compacting perm gen  total 8192K, used 1603K [0x8cb40000, 0x8d340000, 0x90b40000)
+   the space 8192K,  19% used [0x8cb40000, 0x8ccd0d30, 0x8ccd0e00, 0x8d340000)
+    ro space 8192K,  68% used [0x90b40000, 0x910bf220, 0x910bf400, 0x91340000)
+    rw space 12288K,  48% used [0x91340000, 0x9190a968, 0x9190aa00, 0x91f40000)
+
+Dynamic libraries:
+00101000-0023b000 r-xp 00000000 03:03 5133208    /lib/libc-2.5.so
+0023b000-0023d000 r-xp 0013a000 03:03 5133208    /lib/libc-2.5.so
+0023d000-0023e000 rwxp 0013c000 03:03 5133208    /lib/libc-2.5.so
+0023e000-00241000 rwxp 0023e000 00:00 0 
+00243000-00341000 r-xp 00000000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00341000-00345000 rwxp 000fe000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00397000-003b0000 r-xp 00000000 03:03 5133207    /lib/ld-2.5.so
+003b0000-003b1000 r-xp 00019000 03:03 5133207    /lib/ld-2.5.so
+003b1000-003b2000 rwxp 0001a000 03:03 5133207    /lib/ld-2.5.so
+003b4000-003bd000 r-xp 00000000 03:03 5133232    /lib/libnss_files-2.5.so
+003bd000-003be000 r-xp 00008000 03:03 5133232    /lib/libnss_files-2.5.so
+003be000-003bf000 rwxp 00009000 03:03 5133232    /lib/libnss_files-2.5.so
+003c1000-003c9000 r-xp 00000000 03:03 5133235    /lib/libnss_nis-2.5.so
+003c9000-003ca000 r-xp 00007000 03:03 5133235    /lib/libnss_nis-2.5.so
+003ca000-003cb000 rwxp 00008000 03:03 5133235    /lib/libnss_nis-2.5.so
+0042e000-00441000 r-xp 00000000 03:03 5133221    /lib/libnsl-2.5.so
+00441000-00442000 r-xp 00012000 03:03 5133221    /lib/libnsl-2.5.so
+00442000-00443000 rwxp 00013000 03:03 5133221    /lib/libnsl-2.5.so
+00443000-00445000 rwxp 00443000 00:00 0 
+00d66000-00d8b000 r-xp 00000000 03:03 5133213    /lib/libm-2.5.so
+00d8b000-00d8c000 r-xp 00024000 03:03 5133213    /lib/libm-2.5.so
+00d8c000-00d8d000 rwxp 00025000 03:03 5133213    /lib/libm-2.5.so
+00d8f000-00d91000 r-xp 00000000 03:03 5133209    /lib/libdl-2.5.so
+00d91000-00d92000 r-xp 00001000 03:03 5133209    /lib/libdl-2.5.so
+00d92000-00d93000 rwxp 00002000 03:03 5133209    /lib/libdl-2.5.so
+00daa000-00dac000 r-xp 00000000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00dac000-00dad000 rwxp 00001000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00daf000-00db4000 r-xp 00000000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db4000-00db5000 rwxp 00004000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db7000-00dca000 r-xp 00000000 03:03 5133215    /lib/libpthread-2.5.so
+00dca000-00dcb000 r-xp 00012000 03:03 5133215    /lib/libpthread-2.5.so
+00dcb000-00dcc000 rwxp 00013000 03:03 5133215    /lib/libpthread-2.5.so
+00dcc000-00dce000 rwxp 00dcc000 00:00 0 
+00dd0000-00ddf000 r-xp 00000000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00ddf000-00de0000 rwxp 0000e000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00de2000-00dea000 r-xp 00000000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00dea000-00deb000 rwxp 00007000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00ded000-00df1000 r-xp 00000000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+00df1000-00df2000 rwxp 00003000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+06321000-0632a000 r-xp 00000000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0632a000-0632b000 rwxp 00008000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0640e000-06419000 r-xp 00000000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06419000-0641a000 rwxp 0000a000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06443000-06523000 r-xp 00000000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06523000-06527000 r-xp 000df000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06527000-06528000 rwxp 000e3000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06528000-0652e000 rwxp 06528000 00:00 0 
+070b3000-070b8000 r-xp 00000000 03:03 5129595    /lib/libcrypt-2.5.so
+070b8000-070b9000 r-xp 00004000 03:03 5129595    /lib/libcrypt-2.5.so
+070b9000-070ba000 rwxp 00005000 03:03 5129595    /lib/libcrypt-2.5.so
+070ba000-070e1000 rwxp 070ba000 00:00 0 
+08048000-08057000 r-xp 00000000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08057000-08059000 rwxp 0000e000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+09339000-09782000 rwxp 09339000 00:00 0 
+88b40000-88be0000 rwxp 88b40000 00:00 0 
+88be0000-89020000 rwxp 88be0000 00:00 0 
+89020000-8925d000 rwxp 89020000 00:00 0 
+8925d000-8cb40000 rwxp 8925d000 00:00 0 
+8cb40000-8d340000 rwxp 8cb40000 00:00 0 
+8d340000-90b40000 rwxp 8d340000 00:00 0 
+90b40000-910c0000 r-xs 00001000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+910c0000-91340000 rwxp 910c0000 00:00 0 
+91340000-9190b000 rwxp 00581000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+9190b000-91f40000 rwxp 9190b000 00:00 0 
+91f40000-92010000 rwxp 00b4c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92010000-92340000 rwxp 92010000 00:00 0 
+92340000-92344000 r-xs 00c1c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92344000-92740000 rwxp 92344000 00:00 0 
+b15f5000-b161a000 r-xp 00000000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b161a000-b161c000 rwxp 00025000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b161c000-b161d000 rwxp b161c000 00:00 0 
+b161d000-b1633000 r-xp 00000000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b1633000-b1634000 rwxp 00016000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b1634000-b1668000 r-xp 00000000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b1668000-b1671000 rwxp 00033000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b1671000-b1677000 r-xp 00000000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b1677000-b1678000 rwxp 00005000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b168a000-b168c000 r-xp 00000000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b168c000-b168d000 rwxp 00002000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b168d000-b1690000 --xp b168d000 00:00 0 
+b1690000-b170e000 rwxp b1690000 00:00 0 
+b170e000-b1711000 --xp b170e000 00:00 0 
+b1711000-b178f000 rwxp b1711000 00:00 0 
+b178f000-b17f9000 r-xp 00000000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b17f9000-b1803000 rwxp 00069000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b1803000-b1807000 rwxp b1803000 00:00 0 
+b1807000-b180a000 r-xs 00000000 03:04 11177891   /research/cc108/greenstone3Project/lib/jni/mgpp.jar
+b180a000-b180d000 r-xs 00000000 03:04 11177890   /research/cc108/greenstone3Project/lib/jni/mg.jar
+b180d000-b1813000 r-xs 00000000 03:04 11177881   /research/cc108/greenstone3Project/lib/jni/javagdbm.jar
+b1813000-b1939000 r-xs 00000000 03:04 824762     /research/cc108/greenstone3Project/web/WEB-INF/lib/xercesImpl.jar
+b1939000-b197e000 r-xs 00000000 03:04 824767     /research/cc108/greenstone3Project/web/WEB-INF/lib/mail.jar
+b197e000-b19ae000 r-xs 00000000 03:04 922338     /research/cc108/greenstone3Project/web/applet/xml-apis.jar
+b19ae000-b1a59000 r-xs 00000000 03:04 823556     /research/cc108/greenstone3Project/web/WEB-INF/lib/LuceneWrapper.jar
+b1a59000-b1aa8000 r-xs 00000000 03:04 824760     /research/cc108/greenstone3Project/web/WEB-INF/lib/lucene-1.4.1.jar
+b1aa8000-b1aff000 r-xs 00000000 03:04 822971     /research/cc108/greenstone3Project/web/WEB-INF/lib/log4j-1.2.8.jar
+b1aff000-b1c28000 r-xs 00000000 00:12 10701459   /home/cc108/jFreeChart/lib/jfreechart-1.0.6.jar
+b1c28000-b1c75000 r-xs 00000000 00:12 10701456   /home/cc108/jFreeChart/lib/jcommon-1.0.10.jar
+b1c75000-b1c7d000 r-xs 00000000 03:04 823023     /research/cc108/greenstone3Project/web/WEB-INF/lib/jaxrpc.jar
+b1c7d000-b1e05000 r-xs 00000000 03:04 823122     /research/cc108/greenstone3Project/web/WEB-INF/lib/axis.jar
+b1e05000-b1e67000 r-xs 00000000 03:04 823577     /research/cc108/greenstone3Project/web/WEB-INF/lib/gsdl3.jar
+b1e67000-b1e95000 r-xp 00000000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1e95000-b1e98000 rwxp 0002e000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1e98000-b1e99000 rwxp b1e98000 00:00 0 
+b1e99000-b1f5f000 r-xp 00000000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1f5f000-b1f60000 rwxp 000c5000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1f60000-b1fc0000 r-xp 00000000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b1fc0000-b1fc6000 rwxp 0005f000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b1fc6000-b1fea000 rwxp b1fc6000 00:00 0 
+b1fea000-b20af000 r-xs 00000000 03:03 6669015    /opt/jdk1.5.0_10/jre/lib/ext/localedata.jar
+b20af000-b20b1000 r-xs 00000000 03:03 6669016    /opt/jdk1.5.0_10/jre/lib/ext/dnsns.jar
+b20b1000-b20dc000 r-xs 00000000 03:03 6669017    /opt/jdk1.5.0_10/jre/lib/ext/sunpkcs11.jar
+b20dc000-b2103000 r-xs 00000000 03:03 6669014    /opt/jdk1.5.0_10/jre/lib/ext/sunjce_provider.jar
+b2103000-b2104000 --xp b2103000 00:00 0 
+b2104000-b2184000 rwxp b2104000 00:00 0 
+b2184000-b2187000 --xp b2184000 00:00 0 
+b2187000-b2205000 rwxp b2187000 00:00 0 
+b2205000-b2208000 --xp b2205000 00:00 0 
+b2208000-b2286000 rwxp b2208000 00:00 0 
+b2286000-b2289000 --xp b2286000 00:00 0 
+b2289000-b2307000 rwxp b2289000 00:00 0 
+b2307000-b2507000 r-xp 00000000 03:03 4773667    /usr/lib/locale/locale-archive
+b2507000-b250a000 --xp b2507000 00:00 0 
+b250a000-b2588000 rwxp b250a000 00:00 0 
+b2588000-b258b000 --xp b2588000 00:00 0 
+b258b000-b2609000 rwxp b258b000 00:00 0 
+b2609000-b260a000 --xp b2609000 00:00 0 
+b260a000-b2696000 rwxp b260a000 00:00 0 
+b2696000-b26b2000 rwxp b2696000 00:00 0 
+b26b2000-b26b4000 rwxp b26b2000 00:00 0 
+b26b4000-b26d0000 rwxp b26b4000 00:00 0 
+b26d0000-b26d1000 rwxp b26d0000 00:00 0 
+b26d1000-b26d2000 rwxp b26d1000 00:00 0 
+b26d2000-b26d4000 rwxp b26d2000 00:00 0 
+b26d4000-b26f0000 rwxp b26d4000 00:00 0 
+b26f0000-b26f4000 rwxp b26f0000 00:00 0 
+b26f4000-b2710000 rwxp b26f4000 00:00 0 
+b2710000-b271f000 rwxp b2710000 00:00 0 
+b271f000-b279b000 rwxp b271f000 00:00 0 
+b279b000-b2883000 rwxp b279b000 00:00 0 
+b2883000-b479b000 rwxp b2883000 00:00 0 
+b479b000-b500a000 r-xs 00000000 03:03 6668968    /opt/jdk1.5.0_10/jre/lib/charsets.jar
+b500a000-b501f000 r-xs 00000000 03:03 6668987    /opt/jdk1.5.0_10/jre/lib/jce.jar
+b501f000-b50a4000 r-xs 00000000 03:03 6668837    /opt/jdk1.5.0_10/jre/lib/jsse.jar
+b50a4000-b510d000 rwxp b50a4000 00:00 0 
+b510d000-b771b000 r-xs 00000000 03:03 6668836    /opt/jdk1.5.0_10/jre/lib/rt.jar
+b771b000-b772a000 r-xp 00000000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b772a000-b772c000 rwxp 0000e000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b772c000-b774d000 r-xp 00000000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b774d000-b774f000 rwxp 00020000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b774f000-b7756000 r-xp 00000000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7756000-b7757000 r-xp 00006000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7757000-b7758000 rwxp 00007000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7758000-b7759000 r-xs 00000000 03:04 11177901   /research/cc108/greenstone3Project/lib/jni/cp.jar
+b7759000-b775e000 rwxp b7759000 00:00 0 
+b775e000-b7769000 r-xp 00000000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b7769000-b776a000 rwxp 0000b000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b776a000-b7ad7000 r-xp 00000000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7ad7000-b7af5000 rwxp 0036c000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7af5000-b7f0e000 rwxp b7af5000 00:00 0 
+b7f0e000-b7f0f000 r-xp 02aea000 03:03 4773667    /usr/lib/locale/locale-archive
+b7f0f000-b7f17000 rwxs 00000000 03:03 4151853    /tmp/hsperfdata_cc108/10740
+b7f17000-b7f1d000 r-xp 00000000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f1d000-b7f1e000 rwxp 00006000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f1e000-b7f1f000 rwxp b7f1e000 00:00 0 
+b7f1f000-b7f20000 r-xp b7f1f000 00:00 0 
+b7f20000-b7f21000 r-xp b7f20000 00:00 0          [vdso]
+bfcc8000-bfccb000 --xp bfcc8000 00:00 0 
+bfccb000-bfec8000 rwxp bfccb000 00:00 0          [stack]
+
+VM Arguments:
+jvm_args: -Djava.library.path=/research/cc108/greenstone3Project/lib/jni
+java_command: org.greenstone3.ms.collectionChooser
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=/opt/jdk1.5.0_10
+JRE_HOME=/opt/jdk1.5.0_10/jre
+PATH=/home/cc108/bin:/opt/jdk1.5.0_10:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
+USERNAME=cc108
+LD_LIBRARY_PATH=/opt/jdk1.5.0_10/jre/lib/i386/client:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386:/usr/lib/firefox-1.5.0.12
+SHELL=/bin/bash
+DISPLAY=:0.0
+
+Signal Handlers:
+SIGSEGV: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGBUS: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGFPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGPIPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGILL: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
+SIGUSR2: [libjvm.so+0x28ce60], sa_mask[0]=0x00000000, sa_flags=0x10000004
+SIGHUP: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGINT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGQUIT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGTERM: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Fedora Core release 6 (Zod)
+
+uname:Linux 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 12:34:26 EDT 2007 i686
+libc:glibc 2.5 NPTL 2.5 
+rlimit: STACK 10240k, CORE 0k, NPROC 16383, NOFILE 1024, AS infinity
+load average:0.06 0.19 0.26
+
+CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
+
+Memory: 4k page, physical 1034780k(70412k free), swap 2000084k(1947564k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0_10-b03) for linux-x86, built on Nov  9 2006 14:22:56 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10784.log
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10784.log	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10784.log	(revision 17156)
@@ -0,0 +1,342 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  SIGSEGV (0xb) at pc=0x53e58955, pid=10784, tid=3086493376
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
+# Problematic frame:
+# C  0x53e58955
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x097c8b18):  JavaThread "main" [_thread_in_native, id=10784]
+
+siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x53e58955
+
+Registers:
+EAX=0x00db01b0, EBX=0xb16901d0, ECX=0xb23a0fd8, EDX=0x0023d380
+ESP=0xbfce04ec, EBP=0xbfce0518, ESI=0x09bfe5f8, EDI=0x09bfe5f8
+EIP=0x53e58955, CR2=0x53e58955, EFLAGS=0x00210202
+
+Top of Stack: (sp=0xbfce04ec)
+0xbfce04ec:   b1675a92 09bfe5f8 00000018 b168818f
+0xbfce04fc:   09bfe5f8 00000001 09bfe614 b167599b
+0xbfce050c:   b16901d0 b168818f b1675540 bfce0548
+0xbfce051c:   b1675bd1 b1688174 b1687bc2 b1675540
+0xbfce052c:   097c8bd8 bfce0578 b1687bc2 b1675b7b
+0xbfce053c:   b16901d0 09bfe5d8 097c8bd8 bfce0578
+0xbfce054c:   b16715cc 097c8bd8 bfce05b4 00000042
+0xbfce055c:   09bfe5d8 bfce05d4 8cccf360 b167154b 
+
+Instructions: (pc=0x53e58955)
+0x53e58945:   
+[error occurred during error reporting, step 100, id 0xb]
+
+Stack: [0xbfae6000,0xbfce6000),  sp=0xbfce04ec,  free space=2025k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  0x53e58955
+C  [libmgsearchjni.so+0xabd1]  InitEnv+0x61
+C  [libmgsearchjni.so+0x65cc]  Java_org_greenstone_mg_MGSearchWrapper_initCSide+0x8c
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x2b5acc]
+V  [libjvm.so+0x2b8a50]
+V  [libjvm.so+0x1ef248]
+C  [libjava.so+0x137ad]  Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0+0x2d
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+285
+j  org.greenstone3.ms.collectionChooser.<init>()V+14
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x1a55f2]
+V  [libjvm.so+0x196802]
+C  [java+0x1873]
+C  [libc.so.6+0x15dec]  __libc_start_main+0xdc
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+285
+j  org.greenstone3.ms.collectionChooser.<init>()V+14
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x09bad9e8 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=10797]
+  0x09b9ed10 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=10796]
+  0x09810e98 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=10794]
+  0x0980f988 JavaThread "CompilerThread0" daemon [_thread_blocked, id=10793]
+  0x0980e988 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10792]
+  0x09808da8 JavaThread "Finalizer" daemon [_thread_blocked, id=10791]
+  0x09806f20 JavaThread "Reference Handler" daemon [_thread_blocked, id=10790]
+=>0x097c8b18 JavaThread "main" [_thread_in_native, id=10784]
+
+Other Threads:
+  0x09804380 VMThread [id=10789]
+  0x09812460 WatcherThread [id=10795]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 576K, used 23K [0x88b40000, 0x88be0000, 0x89020000)
+  eden space 512K,   4% used [0x88b40000, 0x88b45ef0, 0x88bc0000)
+  from space 64K,   0% used [0x88bc0000, 0x88bc0000, 0x88bd0000)
+  to   space 64K,   0% used [0x88bd0000, 0x88bd0000, 0x88be0000)
+ tenured generation   total 2244K, used 1344K [0x89020000, 0x89251000, 0x8cb40000)
+   the space 2244K,  59% used [0x89020000, 0x89170200, 0x89170200, 0x89251000)
+ compacting perm gen  total 8192K, used 1603K [0x8cb40000, 0x8d340000, 0x90b40000)
+   the space 8192K,  19% used [0x8cb40000, 0x8ccd0c98, 0x8ccd0e00, 0x8d340000)
+    ro space 8192K,  68% used [0x90b40000, 0x910bf220, 0x910bf400, 0x91340000)
+    rw space 12288K,  48% used [0x91340000, 0x9190a968, 0x9190aa00, 0x91f40000)
+
+Dynamic libraries:
+00101000-0023b000 r-xp 00000000 03:03 5133208    /lib/libc-2.5.so
+0023b000-0023d000 r-xp 0013a000 03:03 5133208    /lib/libc-2.5.so
+0023d000-0023e000 rwxp 0013c000 03:03 5133208    /lib/libc-2.5.so
+0023e000-00241000 rwxp 0023e000 00:00 0 
+00243000-00341000 r-xp 00000000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00341000-00345000 rwxp 000fe000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00397000-003b0000 r-xp 00000000 03:03 5133207    /lib/ld-2.5.so
+003b0000-003b1000 r-xp 00019000 03:03 5133207    /lib/ld-2.5.so
+003b1000-003b2000 rwxp 0001a000 03:03 5133207    /lib/ld-2.5.so
+003b4000-003bd000 r-xp 00000000 03:03 5133232    /lib/libnss_files-2.5.so
+003bd000-003be000 r-xp 00008000 03:03 5133232    /lib/libnss_files-2.5.so
+003be000-003bf000 rwxp 00009000 03:03 5133232    /lib/libnss_files-2.5.so
+003c1000-003c9000 r-xp 00000000 03:03 5133235    /lib/libnss_nis-2.5.so
+003c9000-003ca000 r-xp 00007000 03:03 5133235    /lib/libnss_nis-2.5.so
+003ca000-003cb000 rwxp 00008000 03:03 5133235    /lib/libnss_nis-2.5.so
+0042e000-00441000 r-xp 00000000 03:03 5133221    /lib/libnsl-2.5.so
+00441000-00442000 r-xp 00012000 03:03 5133221    /lib/libnsl-2.5.so
+00442000-00443000 rwxp 00013000 03:03 5133221    /lib/libnsl-2.5.so
+00443000-00445000 rwxp 00443000 00:00 0 
+00d66000-00d8b000 r-xp 00000000 03:03 5133213    /lib/libm-2.5.so
+00d8b000-00d8c000 r-xp 00024000 03:03 5133213    /lib/libm-2.5.so
+00d8c000-00d8d000 rwxp 00025000 03:03 5133213    /lib/libm-2.5.so
+00d8f000-00d91000 r-xp 00000000 03:03 5133209    /lib/libdl-2.5.so
+00d91000-00d92000 r-xp 00001000 03:03 5133209    /lib/libdl-2.5.so
+00d92000-00d93000 rwxp 00002000 03:03 5133209    /lib/libdl-2.5.so
+00daa000-00dac000 r-xp 00000000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00dac000-00dad000 rwxp 00001000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00daf000-00db4000 r-xp 00000000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db4000-00db5000 rwxp 00004000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db7000-00dca000 r-xp 00000000 03:03 5133215    /lib/libpthread-2.5.so
+00dca000-00dcb000 r-xp 00012000 03:03 5133215    /lib/libpthread-2.5.so
+00dcb000-00dcc000 rwxp 00013000 03:03 5133215    /lib/libpthread-2.5.so
+00dcc000-00dce000 rwxp 00dcc000 00:00 0 
+00dd0000-00ddf000 r-xp 00000000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00ddf000-00de0000 rwxp 0000e000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00de2000-00dea000 r-xp 00000000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00dea000-00deb000 rwxp 00007000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00ded000-00df1000 r-xp 00000000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+00df1000-00df2000 rwxp 00003000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+06321000-0632a000 r-xp 00000000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0632a000-0632b000 rwxp 00008000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0640e000-06419000 r-xp 00000000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06419000-0641a000 rwxp 0000a000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06443000-06523000 r-xp 00000000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06523000-06527000 r-xp 000df000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06527000-06528000 rwxp 000e3000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06528000-0652e000 rwxp 06528000 00:00 0 
+070b3000-070b8000 r-xp 00000000 03:03 5129595    /lib/libcrypt-2.5.so
+070b8000-070b9000 r-xp 00004000 03:03 5129595    /lib/libcrypt-2.5.so
+070b9000-070ba000 rwxp 00005000 03:03 5129595    /lib/libcrypt-2.5.so
+070ba000-070e1000 rwxp 070ba000 00:00 0 
+08048000-08057000 r-xp 00000000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08057000-08059000 rwxp 0000e000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+097c3000-09c28000 rwxp 097c3000 00:00 0 
+88b40000-88be0000 rwxp 88b40000 00:00 0 
+88be0000-89020000 rwxp 88be0000 00:00 0 
+89020000-89251000 rwxp 89020000 00:00 0 
+89251000-8cb40000 rwxp 89251000 00:00 0 
+8cb40000-8d340000 rwxp 8cb40000 00:00 0 
+8d340000-90b40000 rwxp 8d340000 00:00 0 
+90b40000-910c0000 r-xs 00001000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+910c0000-91340000 rwxp 910c0000 00:00 0 
+91340000-9190b000 rwxp 00581000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+9190b000-91f40000 rwxp 9190b000 00:00 0 
+91f40000-92010000 rwxp 00b4c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92010000-92340000 rwxp 92010000 00:00 0 
+92340000-92344000 r-xs 00c1c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92344000-92740000 rwxp 92344000 00:00 0 
+b166b000-b1690000 r-xp 00000000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b1690000-b1692000 rwxp 00025000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b1692000-b1693000 rwxp b1692000 00:00 0 
+b1693000-b16a9000 r-xp 00000000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b16a9000-b16aa000 rwxp 00016000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b16aa000-b16de000 r-xp 00000000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b16de000-b16e7000 rwxp 00033000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b16e7000-b16ed000 r-xp 00000000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b16ed000-b16ee000 rwxp 00005000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b1700000-b1702000 r-xp 00000000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b1702000-b1703000 rwxp 00002000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b1703000-b1706000 --xp b1703000 00:00 0 
+b1706000-b1784000 rwxp b1706000 00:00 0 
+b1784000-b1787000 --xp b1784000 00:00 0 
+b1787000-b1805000 rwxp b1787000 00:00 0 
+b1805000-b186f000 r-xp 00000000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b186f000-b1879000 rwxp 00069000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b1879000-b187d000 rwxp b1879000 00:00 0 
+b187d000-b1880000 r-xs 00000000 03:04 11177891   /research/cc108/greenstone3Project/lib/jni/mgpp.jar
+b1880000-b1883000 r-xs 00000000 03:04 11177890   /research/cc108/greenstone3Project/lib/jni/mg.jar
+b1883000-b1889000 r-xs 00000000 03:04 11177881   /research/cc108/greenstone3Project/lib/jni/javagdbm.jar
+b1889000-b19af000 r-xs 00000000 03:04 824762     /research/cc108/greenstone3Project/web/WEB-INF/lib/xercesImpl.jar
+b19af000-b19f4000 r-xs 00000000 03:04 824767     /research/cc108/greenstone3Project/web/WEB-INF/lib/mail.jar
+b19f4000-b1a24000 r-xs 00000000 03:04 922338     /research/cc108/greenstone3Project/web/applet/xml-apis.jar
+b1a24000-b1acf000 r-xs 00000000 03:04 823556     /research/cc108/greenstone3Project/web/WEB-INF/lib/LuceneWrapper.jar
+b1acf000-b1b1e000 r-xs 00000000 03:04 824760     /research/cc108/greenstone3Project/web/WEB-INF/lib/lucene-1.4.1.jar
+b1b1e000-b1b75000 r-xs 00000000 03:04 822971     /research/cc108/greenstone3Project/web/WEB-INF/lib/log4j-1.2.8.jar
+b1b75000-b1c9e000 r-xs 00000000 00:12 10701459   /home/cc108/jFreeChart/lib/jfreechart-1.0.6.jar
+b1c9e000-b1ceb000 r-xs 00000000 00:12 10701456   /home/cc108/jFreeChart/lib/jcommon-1.0.10.jar
+b1ceb000-b1cf3000 r-xs 00000000 03:04 823023     /research/cc108/greenstone3Project/web/WEB-INF/lib/jaxrpc.jar
+b1cf3000-b1e7b000 r-xs 00000000 03:04 823122     /research/cc108/greenstone3Project/web/WEB-INF/lib/axis.jar
+b1e7b000-b1edd000 r-xs 00000000 03:04 823577     /research/cc108/greenstone3Project/web/WEB-INF/lib/gsdl3.jar
+b1edd000-b1f0b000 r-xp 00000000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1f0b000-b1f0e000 rwxp 0002e000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1f0e000-b1f0f000 rwxp b1f0e000 00:00 0 
+b1f0f000-b1fd5000 r-xp 00000000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1fd5000-b1fd6000 rwxp 000c5000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1fd6000-b2036000 r-xp 00000000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b2036000-b203c000 rwxp 0005f000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b203c000-b2060000 rwxp b203c000 00:00 0 
+b2060000-b2125000 r-xs 00000000 03:03 6669015    /opt/jdk1.5.0_10/jre/lib/ext/localedata.jar
+b2125000-b2127000 r-xs 00000000 03:03 6669016    /opt/jdk1.5.0_10/jre/lib/ext/dnsns.jar
+b2127000-b2152000 r-xs 00000000 03:03 6669017    /opt/jdk1.5.0_10/jre/lib/ext/sunpkcs11.jar
+b2152000-b2179000 r-xs 00000000 03:03 6669014    /opt/jdk1.5.0_10/jre/lib/ext/sunjce_provider.jar
+b2179000-b217a000 --xp b2179000 00:00 0 
+b217a000-b21fa000 rwxp b217a000 00:00 0 
+b21fa000-b21fd000 --xp b21fa000 00:00 0 
+b21fd000-b227b000 rwxp b21fd000 00:00 0 
+b227b000-b227e000 --xp b227b000 00:00 0 
+b227e000-b22fc000 rwxp b227e000 00:00 0 
+b22fc000-b22ff000 --xp b22fc000 00:00 0 
+b22ff000-b237d000 rwxp b22ff000 00:00 0 
+b237d000-b257d000 r-xp 00000000 03:03 4773667    /usr/lib/locale/locale-archive
+b257d000-b2580000 --xp b257d000 00:00 0 
+b2580000-b25fe000 rwxp b2580000 00:00 0 
+b25fe000-b2601000 --xp b25fe000 00:00 0 
+b2601000-b267f000 rwxp b2601000 00:00 0 
+b267f000-b2680000 --xp b267f000 00:00 0 
+b2680000-b270c000 rwxp b2680000 00:00 0 
+b270c000-b2728000 rwxp b270c000 00:00 0 
+b2728000-b272a000 rwxp b2728000 00:00 0 
+b272a000-b2746000 rwxp b272a000 00:00 0 
+b2746000-b2747000 rwxp b2746000 00:00 0 
+b2747000-b2748000 rwxp b2747000 00:00 0 
+b2748000-b274a000 rwxp b2748000 00:00 0 
+b274a000-b2766000 rwxp b274a000 00:00 0 
+b2766000-b276a000 rwxp b2766000 00:00 0 
+b276a000-b2786000 rwxp b276a000 00:00 0 
+b2786000-b2795000 rwxp b2786000 00:00 0 
+b2795000-b2811000 rwxp b2795000 00:00 0 
+b2811000-b28f9000 rwxp b2811000 00:00 0 
+b28f9000-b4811000 rwxp b28f9000 00:00 0 
+b4811000-b5080000 r-xs 00000000 03:03 6668968    /opt/jdk1.5.0_10/jre/lib/charsets.jar
+b5080000-b5095000 r-xs 00000000 03:03 6668987    /opt/jdk1.5.0_10/jre/lib/jce.jar
+b5095000-b511a000 r-xs 00000000 03:03 6668837    /opt/jdk1.5.0_10/jre/lib/jsse.jar
+b511a000-b5183000 rwxp b511a000 00:00 0 
+b5183000-b7791000 r-xs 00000000 03:03 6668836    /opt/jdk1.5.0_10/jre/lib/rt.jar
+b7791000-b77a0000 r-xp 00000000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b77a0000-b77a2000 rwxp 0000e000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b77a2000-b77c3000 r-xp 00000000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b77c3000-b77c5000 rwxp 00020000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b77c5000-b77cc000 r-xp 00000000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77cc000-b77cd000 r-xp 00006000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77cd000-b77ce000 rwxp 00007000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77ce000-b77cf000 r-xs 00000000 03:04 11177901   /research/cc108/greenstone3Project/lib/jni/cp.jar
+b77cf000-b77d4000 rwxp b77cf000 00:00 0 
+b77d4000-b77df000 r-xp 00000000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b77df000-b77e0000 rwxp 0000b000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b77e0000-b7b4d000 r-xp 00000000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b4d000-b7b6b000 rwxp 0036c000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b6b000-b7f84000 rwxp b7b6b000 00:00 0 
+b7f84000-b7f85000 r-xp 02aea000 03:03 4773667    /usr/lib/locale/locale-archive
+b7f85000-b7f8d000 rwxs 00000000 03:03 4151853    /tmp/hsperfdata_cc108/10784
+b7f8d000-b7f93000 r-xp 00000000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f93000-b7f94000 rwxp 00006000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f94000-b7f95000 rwxp b7f94000 00:00 0 
+b7f95000-b7f96000 r-xp b7f95000 00:00 0 
+b7f96000-b7f97000 r-xp b7f96000 00:00 0          [vdso]
+bfae6000-bfae9000 --xp bfae6000 00:00 0 
+bfae9000-bfce6000 rwxp bfae9000 00:00 0          [stack]
+
+VM Arguments:
+jvm_args: -Djava.library.path=/research/cc108/greenstone3Project/lib/jni
+java_command: org.greenstone3.ms.collectionChooser
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=/opt/jdk1.5.0_10
+JRE_HOME=/opt/jdk1.5.0_10/jre
+PATH=/home/cc108/bin:/opt/jdk1.5.0_10:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
+USERNAME=cc108
+LD_LIBRARY_PATH=/opt/jdk1.5.0_10/jre/lib/i386/client:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386:/usr/lib/firefox-1.5.0.12
+SHELL=/bin/bash
+DISPLAY=:0.0
+
+Signal Handlers:
+SIGSEGV: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGBUS: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGFPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGPIPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGILL: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
+SIGUSR2: [libjvm.so+0x28ce60], sa_mask[0]=0x00000000, sa_flags=0x10000004
+SIGHUP: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGINT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGQUIT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGTERM: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Fedora Core release 6 (Zod)
+
+uname:Linux 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 12:34:26 EDT 2007 i686
+libc:glibc 2.5 NPTL 2.5 
+rlimit: STACK 10240k, CORE 0k, NPROC 16383, NOFILE 1024, AS infinity
+load average:0.17 0.14 0.22
+
+CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
+
+Memory: 4k page, physical 1034780k(66788k free), swap 2000084k(1947564k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0_10-b03) for linux-x86, built on Nov  9 2006 14:22:56 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10804.log
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10804.log	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10804.log	(revision 17156)
@@ -0,0 +1,342 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  SIGSEGV (0xb) at pc=0x53e58955, pid=10804, tid=3086350016
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
+# Problematic frame:
+# C  0x53e58955
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x088ebb18):  JavaThread "main" [_thread_in_native, id=10804]
+
+siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x53e58955
+
+Registers:
+EAX=0x00db01b0, EBX=0xb166d1d0, ECX=0xb237dfd8, EDX=0x0023d380
+ESP=0xbff5375c, EBP=0xbff53788, ESI=0x08d1c0b8, EDI=0x08d1c0b8
+EIP=0x53e58955, CR2=0x53e58955, EFLAGS=0x00210206
+
+Top of Stack: (sp=0xbff5375c)
+0xbff5375c:   b1652a92 08d1c0b8 00000018 b166518f
+0xbff5376c:   08d1c0b8 00000001 08d1c2ec b165299b
+0xbff5377c:   b166d1d0 b166518f b1652540 bff537b8
+0xbff5378c:   b1652bd1 b1665174 b1664bc2 b1652540
+0xbff5379c:   088ebbd8 bff537e8 b1664bc2 b1652b7b
+0xbff537ac:   b166d1d0 08d1c1b0 088ebbd8 bff537e8
+0xbff537bc:   b164e5cc 088ebbd8 bff53824 00000042
+0xbff537cc:   08d1c1b0 bff53844 8cccf330 b164e54b 
+
+Instructions: (pc=0x53e58955)
+0x53e58945:   
+[error occurred during error reporting, step 100, id 0xb]
+
+Stack: [0xbfd57000,0xbff57000),  sp=0xbff5375c,  free space=2033k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  0x53e58955
+C  [libmgsearchjni.so+0xabd1]  InitEnv+0x61
+C  [libmgsearchjni.so+0x65cc]  Java_org_greenstone_mg_MGSearchWrapper_initCSide+0x8c
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x2b5acc]
+V  [libjvm.so+0x2b8a50]
+V  [libjvm.so+0x1ef248]
+C  [libjava.so+0x137ad]  Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0+0x2d
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+285
+j  org.greenstone3.ms.collectionChooser.<init>()V+14
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x1a55f2]
+V  [libjvm.so+0x196802]
+C  [java+0x1873]
+C  [libc.so.6+0x15dec]  __libc_start_main+0xdc
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+285
+j  org.greenstone3.ms.collectionChooser.<init>()V+14
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x08cd09e8 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=10817]
+  0x08cc1d10 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=10816]
+  0x08933e98 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=10814]
+  0x08932988 JavaThread "CompilerThread0" daemon [_thread_blocked, id=10813]
+  0x08931988 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10812]
+  0x0892bda8 JavaThread "Finalizer" daemon [_thread_blocked, id=10811]
+  0x08929f20 JavaThread "Reference Handler" daemon [_thread_blocked, id=10810]
+=>0x088ebb18 JavaThread "main" [_thread_in_native, id=10804]
+
+Other Threads:
+  0x08927380 VMThread [id=10809]
+  0x08935460 WatcherThread [id=10815]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 576K, used 41K [0x88b40000, 0x88be0000, 0x89020000)
+  eden space 512K,   8% used [0x88b40000, 0x88b4a498, 0x88bc0000)
+  from space 64K,   0% used [0x88bc0000, 0x88bc0000, 0x88bd0000)
+  to   space 64K,   0% used [0x88bd0000, 0x88bd0000, 0x88be0000)
+ tenured generation   total 2292K, used 1373K [0x89020000, 0x8925d000, 0x8cb40000)
+   the space 2292K,  59% used [0x89020000, 0x89177520, 0x89177600, 0x8925d000)
+ compacting perm gen  total 8192K, used 1603K [0x8cb40000, 0x8d340000, 0x90b40000)
+   the space 8192K,  19% used [0x8cb40000, 0x8ccd0c68, 0x8ccd0e00, 0x8d340000)
+    ro space 8192K,  68% used [0x90b40000, 0x910bf220, 0x910bf400, 0x91340000)
+    rw space 12288K,  48% used [0x91340000, 0x9190a968, 0x9190aa00, 0x91f40000)
+
+Dynamic libraries:
+00101000-0023b000 r-xp 00000000 03:03 5133208    /lib/libc-2.5.so
+0023b000-0023d000 r-xp 0013a000 03:03 5133208    /lib/libc-2.5.so
+0023d000-0023e000 rwxp 0013c000 03:03 5133208    /lib/libc-2.5.so
+0023e000-00241000 rwxp 0023e000 00:00 0 
+00243000-00341000 r-xp 00000000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00341000-00345000 rwxp 000fe000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00397000-003b0000 r-xp 00000000 03:03 5133207    /lib/ld-2.5.so
+003b0000-003b1000 r-xp 00019000 03:03 5133207    /lib/ld-2.5.so
+003b1000-003b2000 rwxp 0001a000 03:03 5133207    /lib/ld-2.5.so
+003b4000-003bd000 r-xp 00000000 03:03 5133232    /lib/libnss_files-2.5.so
+003bd000-003be000 r-xp 00008000 03:03 5133232    /lib/libnss_files-2.5.so
+003be000-003bf000 rwxp 00009000 03:03 5133232    /lib/libnss_files-2.5.so
+003c1000-003c9000 r-xp 00000000 03:03 5133235    /lib/libnss_nis-2.5.so
+003c9000-003ca000 r-xp 00007000 03:03 5133235    /lib/libnss_nis-2.5.so
+003ca000-003cb000 rwxp 00008000 03:03 5133235    /lib/libnss_nis-2.5.so
+0042e000-00441000 r-xp 00000000 03:03 5133221    /lib/libnsl-2.5.so
+00441000-00442000 r-xp 00012000 03:03 5133221    /lib/libnsl-2.5.so
+00442000-00443000 rwxp 00013000 03:03 5133221    /lib/libnsl-2.5.so
+00443000-00445000 rwxp 00443000 00:00 0 
+00d66000-00d8b000 r-xp 00000000 03:03 5133213    /lib/libm-2.5.so
+00d8b000-00d8c000 r-xp 00024000 03:03 5133213    /lib/libm-2.5.so
+00d8c000-00d8d000 rwxp 00025000 03:03 5133213    /lib/libm-2.5.so
+00d8f000-00d91000 r-xp 00000000 03:03 5133209    /lib/libdl-2.5.so
+00d91000-00d92000 r-xp 00001000 03:03 5133209    /lib/libdl-2.5.so
+00d92000-00d93000 rwxp 00002000 03:03 5133209    /lib/libdl-2.5.so
+00daa000-00dac000 r-xp 00000000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00dac000-00dad000 rwxp 00001000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00daf000-00db4000 r-xp 00000000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db4000-00db5000 rwxp 00004000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db7000-00dca000 r-xp 00000000 03:03 5133215    /lib/libpthread-2.5.so
+00dca000-00dcb000 r-xp 00012000 03:03 5133215    /lib/libpthread-2.5.so
+00dcb000-00dcc000 rwxp 00013000 03:03 5133215    /lib/libpthread-2.5.so
+00dcc000-00dce000 rwxp 00dcc000 00:00 0 
+00dd0000-00ddf000 r-xp 00000000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00ddf000-00de0000 rwxp 0000e000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00de2000-00dea000 r-xp 00000000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00dea000-00deb000 rwxp 00007000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00ded000-00df1000 r-xp 00000000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+00df1000-00df2000 rwxp 00003000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+06321000-0632a000 r-xp 00000000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0632a000-0632b000 rwxp 00008000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0640e000-06419000 r-xp 00000000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06419000-0641a000 rwxp 0000a000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06443000-06523000 r-xp 00000000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06523000-06527000 r-xp 000df000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06527000-06528000 rwxp 000e3000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06528000-0652e000 rwxp 06528000 00:00 0 
+070b3000-070b8000 r-xp 00000000 03:03 5129595    /lib/libcrypt-2.5.so
+070b8000-070b9000 r-xp 00004000 03:03 5129595    /lib/libcrypt-2.5.so
+070b9000-070ba000 rwxp 00005000 03:03 5129595    /lib/libcrypt-2.5.so
+070ba000-070e1000 rwxp 070ba000 00:00 0 
+08048000-08057000 r-xp 00000000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08057000-08059000 rwxp 0000e000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+088e6000-08d4b000 rwxp 088e6000 00:00 0 
+88b40000-88be0000 rwxp 88b40000 00:00 0 
+88be0000-89020000 rwxp 88be0000 00:00 0 
+89020000-8925d000 rwxp 89020000 00:00 0 
+8925d000-8cb40000 rwxp 8925d000 00:00 0 
+8cb40000-8d340000 rwxp 8cb40000 00:00 0 
+8d340000-90b40000 rwxp 8d340000 00:00 0 
+90b40000-910c0000 r-xs 00001000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+910c0000-91340000 rwxp 910c0000 00:00 0 
+91340000-9190b000 rwxp 00581000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+9190b000-91f40000 rwxp 9190b000 00:00 0 
+91f40000-92010000 rwxp 00b4c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92010000-92340000 rwxp 92010000 00:00 0 
+92340000-92344000 r-xs 00c1c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92344000-92740000 rwxp 92344000 00:00 0 
+b1648000-b166d000 r-xp 00000000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b166d000-b166f000 rwxp 00025000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b166f000-b1670000 rwxp b166f000 00:00 0 
+b1670000-b1686000 r-xp 00000000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b1686000-b1687000 rwxp 00016000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b1687000-b16bb000 r-xp 00000000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b16bb000-b16c4000 rwxp 00033000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b16c4000-b16ca000 r-xp 00000000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b16ca000-b16cb000 rwxp 00005000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b16dd000-b16df000 r-xp 00000000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b16df000-b16e0000 rwxp 00002000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b16e0000-b16e3000 --xp b16e0000 00:00 0 
+b16e3000-b1761000 rwxp b16e3000 00:00 0 
+b1761000-b1764000 --xp b1761000 00:00 0 
+b1764000-b17e2000 rwxp b1764000 00:00 0 
+b17e2000-b184c000 r-xp 00000000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b184c000-b1856000 rwxp 00069000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b1856000-b185a000 rwxp b1856000 00:00 0 
+b185a000-b185d000 r-xs 00000000 03:04 11177891   /research/cc108/greenstone3Project/lib/jni/mgpp.jar
+b185d000-b1860000 r-xs 00000000 03:04 11177890   /research/cc108/greenstone3Project/lib/jni/mg.jar
+b1860000-b1866000 r-xs 00000000 03:04 11177881   /research/cc108/greenstone3Project/lib/jni/javagdbm.jar
+b1866000-b198c000 r-xs 00000000 03:04 824762     /research/cc108/greenstone3Project/web/WEB-INF/lib/xercesImpl.jar
+b198c000-b19d1000 r-xs 00000000 03:04 824767     /research/cc108/greenstone3Project/web/WEB-INF/lib/mail.jar
+b19d1000-b1a01000 r-xs 00000000 03:04 922338     /research/cc108/greenstone3Project/web/applet/xml-apis.jar
+b1a01000-b1aac000 r-xs 00000000 03:04 823556     /research/cc108/greenstone3Project/web/WEB-INF/lib/LuceneWrapper.jar
+b1aac000-b1afb000 r-xs 00000000 03:04 824760     /research/cc108/greenstone3Project/web/WEB-INF/lib/lucene-1.4.1.jar
+b1afb000-b1b52000 r-xs 00000000 03:04 822971     /research/cc108/greenstone3Project/web/WEB-INF/lib/log4j-1.2.8.jar
+b1b52000-b1c7b000 r-xs 00000000 00:12 10701459   /home/cc108/jFreeChart/lib/jfreechart-1.0.6.jar
+b1c7b000-b1cc8000 r-xs 00000000 00:12 10701456   /home/cc108/jFreeChart/lib/jcommon-1.0.10.jar
+b1cc8000-b1cd0000 r-xs 00000000 03:04 823023     /research/cc108/greenstone3Project/web/WEB-INF/lib/jaxrpc.jar
+b1cd0000-b1e58000 r-xs 00000000 03:04 823122     /research/cc108/greenstone3Project/web/WEB-INF/lib/axis.jar
+b1e58000-b1eba000 r-xs 00000000 03:04 823577     /research/cc108/greenstone3Project/web/WEB-INF/lib/gsdl3.jar
+b1eba000-b1ee8000 r-xp 00000000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1ee8000-b1eeb000 rwxp 0002e000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1eeb000-b1eec000 rwxp b1eeb000 00:00 0 
+b1eec000-b1fb2000 r-xp 00000000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1fb2000-b1fb3000 rwxp 000c5000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1fb3000-b2013000 r-xp 00000000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b2013000-b2019000 rwxp 0005f000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b2019000-b203d000 rwxp b2019000 00:00 0 
+b203d000-b2102000 r-xs 00000000 03:03 6669015    /opt/jdk1.5.0_10/jre/lib/ext/localedata.jar
+b2102000-b2104000 r-xs 00000000 03:03 6669016    /opt/jdk1.5.0_10/jre/lib/ext/dnsns.jar
+b2104000-b212f000 r-xs 00000000 03:03 6669017    /opt/jdk1.5.0_10/jre/lib/ext/sunpkcs11.jar
+b212f000-b2156000 r-xs 00000000 03:03 6669014    /opt/jdk1.5.0_10/jre/lib/ext/sunjce_provider.jar
+b2156000-b2157000 --xp b2156000 00:00 0 
+b2157000-b21d7000 rwxp b2157000 00:00 0 
+b21d7000-b21da000 --xp b21d7000 00:00 0 
+b21da000-b2258000 rwxp b21da000 00:00 0 
+b2258000-b225b000 --xp b2258000 00:00 0 
+b225b000-b22d9000 rwxp b225b000 00:00 0 
+b22d9000-b22dc000 --xp b22d9000 00:00 0 
+b22dc000-b235a000 rwxp b22dc000 00:00 0 
+b235a000-b255a000 r-xp 00000000 03:03 4773667    /usr/lib/locale/locale-archive
+b255a000-b255d000 --xp b255a000 00:00 0 
+b255d000-b25db000 rwxp b255d000 00:00 0 
+b25db000-b25de000 --xp b25db000 00:00 0 
+b25de000-b265c000 rwxp b25de000 00:00 0 
+b265c000-b265d000 --xp b265c000 00:00 0 
+b265d000-b26e9000 rwxp b265d000 00:00 0 
+b26e9000-b2705000 rwxp b26e9000 00:00 0 
+b2705000-b2707000 rwxp b2705000 00:00 0 
+b2707000-b2723000 rwxp b2707000 00:00 0 
+b2723000-b2724000 rwxp b2723000 00:00 0 
+b2724000-b2725000 rwxp b2724000 00:00 0 
+b2725000-b2727000 rwxp b2725000 00:00 0 
+b2727000-b2743000 rwxp b2727000 00:00 0 
+b2743000-b2747000 rwxp b2743000 00:00 0 
+b2747000-b2763000 rwxp b2747000 00:00 0 
+b2763000-b2772000 rwxp b2763000 00:00 0 
+b2772000-b27ee000 rwxp b2772000 00:00 0 
+b27ee000-b28d6000 rwxp b27ee000 00:00 0 
+b28d6000-b47ee000 rwxp b28d6000 00:00 0 
+b47ee000-b505d000 r-xs 00000000 03:03 6668968    /opt/jdk1.5.0_10/jre/lib/charsets.jar
+b505d000-b5072000 r-xs 00000000 03:03 6668987    /opt/jdk1.5.0_10/jre/lib/jce.jar
+b5072000-b50f7000 r-xs 00000000 03:03 6668837    /opt/jdk1.5.0_10/jre/lib/jsse.jar
+b50f7000-b5160000 rwxp b50f7000 00:00 0 
+b5160000-b776e000 r-xs 00000000 03:03 6668836    /opt/jdk1.5.0_10/jre/lib/rt.jar
+b776e000-b777d000 r-xp 00000000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b777d000-b777f000 rwxp 0000e000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b777f000-b77a0000 r-xp 00000000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b77a0000-b77a2000 rwxp 00020000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b77a2000-b77a9000 r-xp 00000000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77a9000-b77aa000 r-xp 00006000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77aa000-b77ab000 rwxp 00007000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77ab000-b77ac000 r-xs 00000000 03:04 11177901   /research/cc108/greenstone3Project/lib/jni/cp.jar
+b77ac000-b77b1000 rwxp b77ac000 00:00 0 
+b77b1000-b77bc000 r-xp 00000000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b77bc000-b77bd000 rwxp 0000b000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b77bd000-b7b2a000 r-xp 00000000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b2a000-b7b48000 rwxp 0036c000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b48000-b7f61000 rwxp b7b48000 00:00 0 
+b7f61000-b7f62000 r-xp 02aea000 03:03 4773667    /usr/lib/locale/locale-archive
+b7f62000-b7f6a000 rwxs 00000000 03:03 4151853    /tmp/hsperfdata_cc108/10804
+b7f6a000-b7f70000 r-xp 00000000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f70000-b7f71000 rwxp 00006000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f71000-b7f72000 rwxp b7f71000 00:00 0 
+b7f72000-b7f73000 r-xp b7f72000 00:00 0 
+b7f73000-b7f74000 r-xp b7f73000 00:00 0          [vdso]
+bfd57000-bfd5a000 --xp bfd57000 00:00 0 
+bfd5a000-bff57000 rwxp bfd5a000 00:00 0          [stack]
+
+VM Arguments:
+jvm_args: -Djava.library.path=/research/cc108/greenstone3Project/lib/jni
+java_command: org.greenstone3.ms.collectionChooser
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=/opt/jdk1.5.0_10
+JRE_HOME=/opt/jdk1.5.0_10/jre
+PATH=/home/cc108/bin:/opt/jdk1.5.0_10:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
+USERNAME=cc108
+LD_LIBRARY_PATH=/opt/jdk1.5.0_10/jre/lib/i386/client:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386:/usr/lib/firefox-1.5.0.12
+SHELL=/bin/bash
+DISPLAY=:0.0
+
+Signal Handlers:
+SIGSEGV: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGBUS: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGFPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGPIPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGILL: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
+SIGUSR2: [libjvm.so+0x28ce60], sa_mask[0]=0x00000000, sa_flags=0x10000004
+SIGHUP: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGINT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGQUIT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGTERM: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Fedora Core release 6 (Zod)
+
+uname:Linux 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 12:34:26 EDT 2007 i686
+libc:glibc 2.5 NPTL 2.5 
+rlimit: STACK 10240k, CORE 0k, NPROC 16383, NOFILE 1024, AS infinity
+load average:0.16 0.14 0.22
+
+CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
+
+Memory: 4k page, physical 1034780k(66632k free), swap 2000084k(1947564k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0_10-b03) for linux-x86, built on Nov  9 2006 14:22:56 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10956.log
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10956.log	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid10956.log	(revision 17156)
@@ -0,0 +1,342 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  SIGSEGV (0xb) at pc=0x53e58955, pid=10956, tid=3085964992
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
+# Problematic frame:
+# C  0x53e58955
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x0861fb18):  JavaThread "main" [_thread_in_native, id=10956]
+
+siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x53e58955
+
+Registers:
+EAX=0x00db01b0, EBX=0xb160f1d0, ECX=0xb231ffd8, EDX=0x0023d380
+ESP=0xbfea4f2c, EBP=0xbfea4f58, ESI=0x08a57f68, EDI=0x08a57f68
+EIP=0x53e58955, CR2=0x53e58955, EFLAGS=0x00210202
+
+Top of Stack: (sp=0xbfea4f2c)
+0xbfea4f2c:   b15f4a92 08a57f68 00000018 b160718f
+0xbfea4f3c:   08a57f68 00000001 08a57f84 b15f499b
+0xbfea4f4c:   b160f1d0 b160718f b15f4540 bfea4f88
+0xbfea4f5c:   b15f4bd1 b1607174 b1606bc2 b15f4540
+0xbfea4f6c:   0861fbd8 bfea4fb8 b1606bc2 b15f4b7b
+0xbfea4f7c:   b160f1d0 08a57f48 0861fbd8 bfea4fb8
+0xbfea4f8c:   b15f05cc 0861fbd8 bfea4ff4 00000042
+0xbfea4f9c:   08a57f48 bfea5014 8cccf0d0 b15f054b 
+
+Instructions: (pc=0x53e58955)
+0x53e58945:   
+[error occurred during error reporting, step 100, id 0xb]
+
+Stack: [0xbfca9000,0xbfea9000),  sp=0xbfea4f2c,  free space=2031k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  0x53e58955
+C  [libmgsearchjni.so+0xabd1]  InitEnv+0x61
+C  [libmgsearchjni.so+0x65cc]  Java_org_greenstone_mg_MGSearchWrapper_initCSide+0x8c
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x2b5acc]
+V  [libjvm.so+0x2b8a50]
+V  [libjvm.so+0x1ef248]
+C  [libjava.so+0x137ad]  Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0+0x2d
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+285
+j  org.greenstone3.ms.collectionChooser.<init>()V+14
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x1a55f2]
+V  [libjvm.so+0x196802]
+C  [java+0x1873]
+C  [libc.so.6+0x15dec]  __libc_start_main+0xdc
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+285
+j  org.greenstone3.ms.collectionChooser.<init>()V+14
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x08a049d8 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=10972]
+  0x089f5d00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=10971]
+  0x08667e98 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=10967]
+  0x08666988 JavaThread "CompilerThread0" daemon [_thread_blocked, id=10966]
+  0x08665988 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10965]
+  0x0865fda8 JavaThread "Finalizer" daemon [_thread_blocked, id=10963]
+  0x0865df20 JavaThread "Reference Handler" daemon [_thread_blocked, id=10962]
+=>0x0861fb18 JavaThread "main" [_thread_in_native, id=10956]
+
+Other Threads:
+  0x0865b380 VMThread [id=10961]
+  0x08669460 WatcherThread [id=10969]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 576K, used 23K [0x88b40000, 0x88be0000, 0x89020000)
+  eden space 512K,   4% used [0x88b40000, 0x88b45ef0, 0x88bc0000)
+  from space 64K,   0% used [0x88bc0000, 0x88bc0000, 0x88bd0000)
+  to   space 64K,   0% used [0x88bd0000, 0x88bd0000, 0x88be0000)
+ tenured generation   total 2176K, used 1305K [0x89020000, 0x89240000, 0x8cb40000)
+   the space 2176K,  59% used [0x89020000, 0x89166540, 0x89166600, 0x89240000)
+ compacting perm gen  total 8192K, used 1602K [0x8cb40000, 0x8d340000, 0x90b40000)
+   the space 8192K,  19% used [0x8cb40000, 0x8ccd0a08, 0x8ccd0c00, 0x8d340000)
+    ro space 8192K,  68% used [0x90b40000, 0x910bf220, 0x910bf400, 0x91340000)
+    rw space 12288K,  48% used [0x91340000, 0x9190a968, 0x9190aa00, 0x91f40000)
+
+Dynamic libraries:
+00101000-0023b000 r-xp 00000000 03:03 5133208    /lib/libc-2.5.so
+0023b000-0023d000 r-xp 0013a000 03:03 5133208    /lib/libc-2.5.so
+0023d000-0023e000 rwxp 0013c000 03:03 5133208    /lib/libc-2.5.so
+0023e000-00241000 rwxp 0023e000 00:00 0 
+00243000-00341000 r-xp 00000000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00341000-00345000 rwxp 000fe000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00397000-003b0000 r-xp 00000000 03:03 5133207    /lib/ld-2.5.so
+003b0000-003b1000 r-xp 00019000 03:03 5133207    /lib/ld-2.5.so
+003b1000-003b2000 rwxp 0001a000 03:03 5133207    /lib/ld-2.5.so
+003b4000-003bd000 r-xp 00000000 03:03 5133232    /lib/libnss_files-2.5.so
+003bd000-003be000 r-xp 00008000 03:03 5133232    /lib/libnss_files-2.5.so
+003be000-003bf000 rwxp 00009000 03:03 5133232    /lib/libnss_files-2.5.so
+003c1000-003c9000 r-xp 00000000 03:03 5133235    /lib/libnss_nis-2.5.so
+003c9000-003ca000 r-xp 00007000 03:03 5133235    /lib/libnss_nis-2.5.so
+003ca000-003cb000 rwxp 00008000 03:03 5133235    /lib/libnss_nis-2.5.so
+0042e000-00441000 r-xp 00000000 03:03 5133221    /lib/libnsl-2.5.so
+00441000-00442000 r-xp 00012000 03:03 5133221    /lib/libnsl-2.5.so
+00442000-00443000 rwxp 00013000 03:03 5133221    /lib/libnsl-2.5.so
+00443000-00445000 rwxp 00443000 00:00 0 
+00d66000-00d8b000 r-xp 00000000 03:03 5133213    /lib/libm-2.5.so
+00d8b000-00d8c000 r-xp 00024000 03:03 5133213    /lib/libm-2.5.so
+00d8c000-00d8d000 rwxp 00025000 03:03 5133213    /lib/libm-2.5.so
+00d8f000-00d91000 r-xp 00000000 03:03 5133209    /lib/libdl-2.5.so
+00d91000-00d92000 r-xp 00001000 03:03 5133209    /lib/libdl-2.5.so
+00d92000-00d93000 rwxp 00002000 03:03 5133209    /lib/libdl-2.5.so
+00daa000-00dac000 r-xp 00000000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00dac000-00dad000 rwxp 00001000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00daf000-00db4000 r-xp 00000000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db4000-00db5000 rwxp 00004000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db7000-00dca000 r-xp 00000000 03:03 5133215    /lib/libpthread-2.5.so
+00dca000-00dcb000 r-xp 00012000 03:03 5133215    /lib/libpthread-2.5.so
+00dcb000-00dcc000 rwxp 00013000 03:03 5133215    /lib/libpthread-2.5.so
+00dcc000-00dce000 rwxp 00dcc000 00:00 0 
+00dd0000-00ddf000 r-xp 00000000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00ddf000-00de0000 rwxp 0000e000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00de2000-00dea000 r-xp 00000000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00dea000-00deb000 rwxp 00007000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00ded000-00df1000 r-xp 00000000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+00df1000-00df2000 rwxp 00003000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+06321000-0632a000 r-xp 00000000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0632a000-0632b000 rwxp 00008000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0640e000-06419000 r-xp 00000000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06419000-0641a000 rwxp 0000a000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06443000-06523000 r-xp 00000000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06523000-06527000 r-xp 000df000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06527000-06528000 rwxp 000e3000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06528000-0652e000 rwxp 06528000 00:00 0 
+070b3000-070b8000 r-xp 00000000 03:03 5129595    /lib/libcrypt-2.5.so
+070b8000-070b9000 r-xp 00004000 03:03 5129595    /lib/libcrypt-2.5.so
+070b9000-070ba000 rwxp 00005000 03:03 5129595    /lib/libcrypt-2.5.so
+070ba000-070e1000 rwxp 070ba000 00:00 0 
+08048000-08057000 r-xp 00000000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08057000-08059000 rwxp 0000e000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+0861a000-08a82000 rwxp 0861a000 00:00 0 
+88b40000-88be0000 rwxp 88b40000 00:00 0 
+88be0000-89020000 rwxp 88be0000 00:00 0 
+89020000-89240000 rwxp 89020000 00:00 0 
+89240000-8cb40000 rwxp 89240000 00:00 0 
+8cb40000-8d340000 rwxp 8cb40000 00:00 0 
+8d340000-90b40000 rwxp 8d340000 00:00 0 
+90b40000-910c0000 r-xs 00001000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+910c0000-91340000 rwxp 910c0000 00:00 0 
+91340000-9190b000 rwxp 00581000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+9190b000-91f40000 rwxp 9190b000 00:00 0 
+91f40000-92010000 rwxp 00b4c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92010000-92340000 rwxp 92010000 00:00 0 
+92340000-92344000 r-xs 00c1c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92344000-92740000 rwxp 92344000 00:00 0 
+b15ea000-b160f000 r-xp 00000000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b160f000-b1611000 rwxp 00025000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b1611000-b1612000 rwxp b1611000 00:00 0 
+b1612000-b1628000 r-xp 00000000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b1628000-b1629000 rwxp 00016000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b1629000-b165d000 r-xp 00000000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b165d000-b1666000 rwxp 00033000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b1666000-b166c000 r-xp 00000000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b166c000-b166d000 rwxp 00005000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b167f000-b1681000 r-xp 00000000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b1681000-b1682000 rwxp 00002000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b1682000-b1685000 --xp b1682000 00:00 0 
+b1685000-b1703000 rwxp b1685000 00:00 0 
+b1703000-b1706000 --xp b1703000 00:00 0 
+b1706000-b1784000 rwxp b1706000 00:00 0 
+b1784000-b17ee000 r-xp 00000000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b17ee000-b17f8000 rwxp 00069000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b17f8000-b17fc000 rwxp b17f8000 00:00 0 
+b17fc000-b17ff000 r-xs 00000000 03:04 11177891   /research/cc108/greenstone3Project/lib/jni/mgpp.jar
+b17ff000-b1802000 r-xs 00000000 03:04 11177890   /research/cc108/greenstone3Project/lib/jni/mg.jar
+b1802000-b1808000 r-xs 00000000 03:04 11177881   /research/cc108/greenstone3Project/lib/jni/javagdbm.jar
+b1808000-b192e000 r-xs 00000000 03:04 824762     /research/cc108/greenstone3Project/web/WEB-INF/lib/xercesImpl.jar
+b192e000-b1973000 r-xs 00000000 03:04 824767     /research/cc108/greenstone3Project/web/WEB-INF/lib/mail.jar
+b1973000-b19a3000 r-xs 00000000 03:04 922338     /research/cc108/greenstone3Project/web/applet/xml-apis.jar
+b19a3000-b1a4e000 r-xs 00000000 03:04 823556     /research/cc108/greenstone3Project/web/WEB-INF/lib/LuceneWrapper.jar
+b1a4e000-b1a9d000 r-xs 00000000 03:04 824760     /research/cc108/greenstone3Project/web/WEB-INF/lib/lucene-1.4.1.jar
+b1a9d000-b1af4000 r-xs 00000000 03:04 822971     /research/cc108/greenstone3Project/web/WEB-INF/lib/log4j-1.2.8.jar
+b1af4000-b1c1d000 r-xs 00000000 00:12 10701459   /home/cc108/jFreeChart/lib/jfreechart-1.0.6.jar
+b1c1d000-b1c6a000 r-xs 00000000 00:12 10701456   /home/cc108/jFreeChart/lib/jcommon-1.0.10.jar
+b1c6a000-b1c72000 r-xs 00000000 03:04 823023     /research/cc108/greenstone3Project/web/WEB-INF/lib/jaxrpc.jar
+b1c72000-b1dfa000 r-xs 00000000 03:04 823122     /research/cc108/greenstone3Project/web/WEB-INF/lib/axis.jar
+b1dfa000-b1e5c000 r-xs 00000000 03:04 823577     /research/cc108/greenstone3Project/web/WEB-INF/lib/gsdl3.jar
+b1e5c000-b1e8a000 r-xp 00000000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1e8a000-b1e8d000 rwxp 0002e000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1e8d000-b1e8e000 rwxp b1e8d000 00:00 0 
+b1e8e000-b1f54000 r-xp 00000000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1f54000-b1f55000 rwxp 000c5000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1f55000-b1fb5000 r-xp 00000000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b1fb5000-b1fbb000 rwxp 0005f000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b1fbb000-b1fdf000 rwxp b1fbb000 00:00 0 
+b1fdf000-b20a4000 r-xs 00000000 03:03 6669015    /opt/jdk1.5.0_10/jre/lib/ext/localedata.jar
+b20a4000-b20a6000 r-xs 00000000 03:03 6669016    /opt/jdk1.5.0_10/jre/lib/ext/dnsns.jar
+b20a6000-b20d1000 r-xs 00000000 03:03 6669017    /opt/jdk1.5.0_10/jre/lib/ext/sunpkcs11.jar
+b20d1000-b20f8000 r-xs 00000000 03:03 6669014    /opt/jdk1.5.0_10/jre/lib/ext/sunjce_provider.jar
+b20f8000-b20f9000 --xp b20f8000 00:00 0 
+b20f9000-b2179000 rwxp b20f9000 00:00 0 
+b2179000-b217c000 --xp b2179000 00:00 0 
+b217c000-b21fa000 rwxp b217c000 00:00 0 
+b21fa000-b21fd000 --xp b21fa000 00:00 0 
+b21fd000-b227b000 rwxp b21fd000 00:00 0 
+b227b000-b227e000 --xp b227b000 00:00 0 
+b227e000-b22fc000 rwxp b227e000 00:00 0 
+b22fc000-b24fc000 r-xp 00000000 03:03 4773667    /usr/lib/locale/locale-archive
+b24fc000-b24ff000 --xp b24fc000 00:00 0 
+b24ff000-b257d000 rwxp b24ff000 00:00 0 
+b257d000-b2580000 --xp b257d000 00:00 0 
+b2580000-b25fe000 rwxp b2580000 00:00 0 
+b25fe000-b25ff000 --xp b25fe000 00:00 0 
+b25ff000-b268b000 rwxp b25ff000 00:00 0 
+b268b000-b26a7000 rwxp b268b000 00:00 0 
+b26a7000-b26a9000 rwxp b26a7000 00:00 0 
+b26a9000-b26c5000 rwxp b26a9000 00:00 0 
+b26c5000-b26c6000 rwxp b26c5000 00:00 0 
+b26c6000-b26c7000 rwxp b26c6000 00:00 0 
+b26c7000-b26c9000 rwxp b26c7000 00:00 0 
+b26c9000-b26e5000 rwxp b26c9000 00:00 0 
+b26e5000-b26e9000 rwxp b26e5000 00:00 0 
+b26e9000-b2705000 rwxp b26e9000 00:00 0 
+b2705000-b2714000 rwxp b2705000 00:00 0 
+b2714000-b2790000 rwxp b2714000 00:00 0 
+b2790000-b2880000 rwxp b2790000 00:00 0 
+b2880000-b4790000 rwxp b2880000 00:00 0 
+b4790000-b4fff000 r-xs 00000000 03:03 6668968    /opt/jdk1.5.0_10/jre/lib/charsets.jar
+b4fff000-b5014000 r-xs 00000000 03:03 6668987    /opt/jdk1.5.0_10/jre/lib/jce.jar
+b5014000-b5099000 r-xs 00000000 03:03 6668837    /opt/jdk1.5.0_10/jre/lib/jsse.jar
+b5099000-b5102000 rwxp b5099000 00:00 0 
+b5102000-b7710000 r-xs 00000000 03:03 6668836    /opt/jdk1.5.0_10/jre/lib/rt.jar
+b7710000-b771f000 r-xp 00000000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b771f000-b7721000 rwxp 0000e000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b7721000-b7742000 r-xp 00000000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b7742000-b7744000 rwxp 00020000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b7744000-b774b000 r-xp 00000000 03:03 5129541    /lib/libnss_compat-2.5.so
+b774b000-b774c000 r-xp 00006000 03:03 5129541    /lib/libnss_compat-2.5.so
+b774c000-b774d000 rwxp 00007000 03:03 5129541    /lib/libnss_compat-2.5.so
+b774d000-b774e000 r-xs 00000000 03:04 11177901   /research/cc108/greenstone3Project/lib/jni/cp.jar
+b774e000-b7753000 rwxp b774e000 00:00 0 
+b7753000-b775e000 r-xp 00000000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b775e000-b775f000 rwxp 0000b000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b775f000-b7acc000 r-xp 00000000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7acc000-b7aea000 rwxp 0036c000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7aea000-b7f03000 rwxp b7aea000 00:00 0 
+b7f03000-b7f04000 r-xp 02aea000 03:03 4773667    /usr/lib/locale/locale-archive
+b7f04000-b7f0c000 rwxs 00000000 03:03 4151856    /tmp/hsperfdata_cc108/10956
+b7f0c000-b7f12000 r-xp 00000000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f12000-b7f13000 rwxp 00006000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f13000-b7f14000 rwxp b7f13000 00:00 0 
+b7f14000-b7f15000 r-xp b7f14000 00:00 0 
+b7f15000-b7f16000 r-xp b7f15000 00:00 0          [vdso]
+bfca9000-bfcac000 --xp bfca9000 00:00 0 
+bfcac000-bfea9000 rwxp bfcac000 00:00 0          [stack]
+
+VM Arguments:
+jvm_args: -Djava.library.path=/research/cc108/greenstone3Project/lib/jni
+java_command: org.greenstone3.ms.collectionChooser
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=/opt/jdk1.5.0_10
+JRE_HOME=/opt/jdk1.5.0_10/jre
+PATH=/home/cc108/bin:/opt/jdk1.5.0_10:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
+USERNAME=cc108
+LD_LIBRARY_PATH=/opt/jdk1.5.0_10/jre/lib/i386/client:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386:/usr/lib/firefox-1.5.0.12
+SHELL=/bin/bash
+DISPLAY=:0.0
+
+Signal Handlers:
+SIGSEGV: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGBUS: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGFPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGPIPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGILL: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
+SIGUSR2: [libjvm.so+0x28ce60], sa_mask[0]=0x00000000, sa_flags=0x10000004
+SIGHUP: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGINT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGQUIT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGTERM: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Fedora Core release 6 (Zod)
+
+uname:Linux 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 12:34:26 EDT 2007 i686
+libc:glibc 2.5 NPTL 2.5 
+rlimit: STACK 10240k, CORE 0k, NPROC 16383, NOFILE 1024, AS infinity
+load average:0.43 0.21 0.22
+
+CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
+
+Memory: 4k page, physical 1034780k(48424k free), swap 2000084k(1947564k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0_10-b03) for linux-x86, built on Nov  9 2006 14:22:56 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid11234.log
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid11234.log	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid11234.log	(revision 17156)
@@ -0,0 +1,342 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  SIGSEGV (0xb) at pc=0x53e58955, pid=11234, tid=3086399168
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
+# Problematic frame:
+# C  0x53e58955
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x085dfb18):  JavaThread "main" [_thread_in_native, id=11234]
+
+siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x53e58955
+
+Registers:
+EAX=0x00db01b0, EBX=0xb16791d0, ECX=0xb2389fd8, EDX=0x0023d380
+ESP=0xbfd2dd3c, EBP=0xbfd2dd68, ESI=0x08a18680, EDI=0x08a18680
+EIP=0x53e58955, CR2=0x53e58955, EFLAGS=0x00210202
+
+Top of Stack: (sp=0xbfd2dd3c)
+0xbfd2dd3c:   b165ea92 08a18680 00000018 b167118f
+0xbfd2dd4c:   08a18680 00000001 08a1869c b165e99b
+0xbfd2dd5c:   b16791d0 b167118f b165e540 bfd2dd98
+0xbfd2dd6c:   b165ebd1 b1671174 b1670bc2 b165e540
+0xbfd2dd7c:   085dfbd8 bfd2ddc8 b1670bc2 b165eb7b
+0xbfd2dd8c:   b16791d0 089857a8 085dfbd8 bfd2ddc8
+0xbfd2dd9c:   b165a5cc 085dfbd8 bfd2de04 00000042
+0xbfd2ddac:   089857a8 bfd2de24 8ccd0020 b165a54b 
+
+Instructions: (pc=0x53e58955)
+0x53e58945:   
+[error occurred during error reporting, step 100, id 0xb]
+
+Stack: [0xbfb32000,0xbfd32000),  sp=0xbfd2dd3c,  free space=2031k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  0x53e58955
+C  [libmgsearchjni.so+0xabd1]  InitEnv+0x61
+C  [libmgsearchjni.so+0x65cc]  Java_org_greenstone_mg_MGSearchWrapper_initCSide+0x8c
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x2b5acc]
+V  [libjvm.so+0x2b8a50]
+V  [libjvm.so+0x1ef248]
+C  [libjava.so+0x137ad]  Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0+0x2d
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+285
+j  org.greenstone3.ms.collectionChooser.<init>()V+14
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x1a55f2]
+V  [libjvm.so+0x196802]
+C  [java+0x1873]
+C  [libc.so.6+0x15dec]  __libc_start_main+0xdc
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+285
+j  org.greenstone3.ms.collectionChooser.<init>()V+14
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x089c4a20 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=11249]
+  0x089b5d48 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=11248]
+  0x08627ed0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=11246]
+  0x086269c0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=11245]
+  0x086259c0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=11244]
+  0x0861fde0 JavaThread "Finalizer" daemon [_thread_blocked, id=11243]
+  0x0861df58 JavaThread "Reference Handler" daemon [_thread_blocked, id=11242]
+=>0x085dfb18 JavaThread "main" [_thread_in_native, id=11234]
+
+Other Threads:
+  0x0861b380 VMThread [id=11241]
+  0x08629498 WatcherThread [id=11247]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 576K, used 268K [0x88b40000, 0x88be0000, 0x89020000)
+  eden space 512K,  52% used [0x88b40000, 0x88b83150, 0x88bc0000)
+  from space 64K,   0% used [0x88bc0000, 0x88bc0000, 0x88bd0000)
+  to   space 64K,   0% used [0x88bd0000, 0x88bd0000, 0x88be0000)
+ tenured generation   total 2136K, used 1280K [0x89020000, 0x89236000, 0x8cb40000)
+   the space 2136K,  59% used [0x89020000, 0x891602c0, 0x89160400, 0x89236000)
+ compacting perm gen  total 8192K, used 1606K [0x8cb40000, 0x8d340000, 0x90b40000)
+   the space 8192K,  19% used [0x8cb40000, 0x8ccd1958, 0x8ccd1a00, 0x8d340000)
+    ro space 8192K,  68% used [0x90b40000, 0x910bf220, 0x910bf400, 0x91340000)
+    rw space 12288K,  48% used [0x91340000, 0x9190a968, 0x9190aa00, 0x91f40000)
+
+Dynamic libraries:
+00101000-0023b000 r-xp 00000000 03:03 5133208    /lib/libc-2.5.so
+0023b000-0023d000 r-xp 0013a000 03:03 5133208    /lib/libc-2.5.so
+0023d000-0023e000 rwxp 0013c000 03:03 5133208    /lib/libc-2.5.so
+0023e000-00241000 rwxp 0023e000 00:00 0 
+00243000-00341000 r-xp 00000000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00341000-00345000 rwxp 000fe000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00397000-003b0000 r-xp 00000000 03:03 5133207    /lib/ld-2.5.so
+003b0000-003b1000 r-xp 00019000 03:03 5133207    /lib/ld-2.5.so
+003b1000-003b2000 rwxp 0001a000 03:03 5133207    /lib/ld-2.5.so
+003b4000-003bd000 r-xp 00000000 03:03 5133232    /lib/libnss_files-2.5.so
+003bd000-003be000 r-xp 00008000 03:03 5133232    /lib/libnss_files-2.5.so
+003be000-003bf000 rwxp 00009000 03:03 5133232    /lib/libnss_files-2.5.so
+003c1000-003c9000 r-xp 00000000 03:03 5133235    /lib/libnss_nis-2.5.so
+003c9000-003ca000 r-xp 00007000 03:03 5133235    /lib/libnss_nis-2.5.so
+003ca000-003cb000 rwxp 00008000 03:03 5133235    /lib/libnss_nis-2.5.so
+0042e000-00441000 r-xp 00000000 03:03 5133221    /lib/libnsl-2.5.so
+00441000-00442000 r-xp 00012000 03:03 5133221    /lib/libnsl-2.5.so
+00442000-00443000 rwxp 00013000 03:03 5133221    /lib/libnsl-2.5.so
+00443000-00445000 rwxp 00443000 00:00 0 
+00d66000-00d8b000 r-xp 00000000 03:03 5133213    /lib/libm-2.5.so
+00d8b000-00d8c000 r-xp 00024000 03:03 5133213    /lib/libm-2.5.so
+00d8c000-00d8d000 rwxp 00025000 03:03 5133213    /lib/libm-2.5.so
+00d8f000-00d91000 r-xp 00000000 03:03 5133209    /lib/libdl-2.5.so
+00d91000-00d92000 r-xp 00001000 03:03 5133209    /lib/libdl-2.5.so
+00d92000-00d93000 rwxp 00002000 03:03 5133209    /lib/libdl-2.5.so
+00daa000-00dac000 r-xp 00000000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00dac000-00dad000 rwxp 00001000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00daf000-00db4000 r-xp 00000000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db4000-00db5000 rwxp 00004000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db7000-00dca000 r-xp 00000000 03:03 5133215    /lib/libpthread-2.5.so
+00dca000-00dcb000 r-xp 00012000 03:03 5133215    /lib/libpthread-2.5.so
+00dcb000-00dcc000 rwxp 00013000 03:03 5133215    /lib/libpthread-2.5.so
+00dcc000-00dce000 rwxp 00dcc000 00:00 0 
+00dd0000-00ddf000 r-xp 00000000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00ddf000-00de0000 rwxp 0000e000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00de2000-00dea000 r-xp 00000000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00dea000-00deb000 rwxp 00007000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00ded000-00df1000 r-xp 00000000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+00df1000-00df2000 rwxp 00003000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+06321000-0632a000 r-xp 00000000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0632a000-0632b000 rwxp 00008000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0640e000-06419000 r-xp 00000000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06419000-0641a000 rwxp 0000a000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06443000-06523000 r-xp 00000000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06523000-06527000 r-xp 000df000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06527000-06528000 rwxp 000e3000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06528000-0652e000 rwxp 06528000 00:00 0 
+070b3000-070b8000 r-xp 00000000 03:03 5129595    /lib/libcrypt-2.5.so
+070b8000-070b9000 r-xp 00004000 03:03 5129595    /lib/libcrypt-2.5.so
+070b9000-070ba000 rwxp 00005000 03:03 5129595    /lib/libcrypt-2.5.so
+070ba000-070e1000 rwxp 070ba000 00:00 0 
+08048000-08057000 r-xp 00000000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08057000-08059000 rwxp 0000e000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+085da000-08a41000 rwxp 085da000 00:00 0 
+88b40000-88be0000 rwxp 88b40000 00:00 0 
+88be0000-89020000 rwxp 88be0000 00:00 0 
+89020000-89236000 rwxp 89020000 00:00 0 
+89236000-8cb40000 rwxp 89236000 00:00 0 
+8cb40000-8d340000 rwxp 8cb40000 00:00 0 
+8d340000-90b40000 rwxp 8d340000 00:00 0 
+90b40000-910c0000 r-xs 00001000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+910c0000-91340000 rwxp 910c0000 00:00 0 
+91340000-9190b000 rwxp 00581000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+9190b000-91f40000 rwxp 9190b000 00:00 0 
+91f40000-92010000 rwxp 00b4c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92010000-92340000 rwxp 92010000 00:00 0 
+92340000-92344000 r-xs 00c1c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92344000-92740000 rwxp 92344000 00:00 0 
+b1654000-b1679000 r-xp 00000000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b1679000-b167b000 rwxp 00025000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b167b000-b167c000 rwxp b167b000 00:00 0 
+b167c000-b1692000 r-xp 00000000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b1692000-b1693000 rwxp 00016000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b1693000-b16c7000 r-xp 00000000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b16c7000-b16d0000 rwxp 00033000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b16d0000-b16d6000 r-xp 00000000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b16d6000-b16d7000 rwxp 00005000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b16e9000-b16eb000 r-xp 00000000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b16eb000-b16ec000 rwxp 00002000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b16ec000-b16ef000 --xp b16ec000 00:00 0 
+b16ef000-b176d000 rwxp b16ef000 00:00 0 
+b176d000-b1770000 --xp b176d000 00:00 0 
+b1770000-b17ee000 rwxp b1770000 00:00 0 
+b17ee000-b1858000 r-xp 00000000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b1858000-b1862000 rwxp 00069000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b1862000-b1866000 rwxp b1862000 00:00 0 
+b1866000-b1869000 r-xs 00000000 03:04 11177891   /research/cc108/greenstone3Project/lib/jni/mgpp.jar
+b1869000-b186c000 r-xs 00000000 03:04 11177890   /research/cc108/greenstone3Project/lib/jni/mg.jar
+b186c000-b1872000 r-xs 00000000 03:04 11177881   /research/cc108/greenstone3Project/lib/jni/javagdbm.jar
+b1872000-b1998000 r-xs 00000000 03:04 824762     /research/cc108/greenstone3Project/web/WEB-INF/lib/xercesImpl.jar
+b1998000-b19dd000 r-xs 00000000 03:04 824767     /research/cc108/greenstone3Project/web/WEB-INF/lib/mail.jar
+b19dd000-b1a0d000 r-xs 00000000 03:04 922338     /research/cc108/greenstone3Project/web/applet/xml-apis.jar
+b1a0d000-b1ab8000 r-xs 00000000 03:04 823556     /research/cc108/greenstone3Project/web/WEB-INF/lib/LuceneWrapper.jar
+b1ab8000-b1b07000 r-xs 00000000 03:04 824760     /research/cc108/greenstone3Project/web/WEB-INF/lib/lucene-1.4.1.jar
+b1b07000-b1b5e000 r-xs 00000000 03:04 822971     /research/cc108/greenstone3Project/web/WEB-INF/lib/log4j-1.2.8.jar
+b1b5e000-b1c87000 r-xs 00000000 00:12 10701459   /home/cc108/jFreeChart/lib/jfreechart-1.0.6.jar
+b1c87000-b1cd4000 r-xs 00000000 00:12 10701456   /home/cc108/jFreeChart/lib/jcommon-1.0.10.jar
+b1cd4000-b1cdc000 r-xs 00000000 03:04 823023     /research/cc108/greenstone3Project/web/WEB-INF/lib/jaxrpc.jar
+b1cdc000-b1e64000 r-xs 00000000 03:04 823122     /research/cc108/greenstone3Project/web/WEB-INF/lib/axis.jar
+b1e64000-b1ec6000 r-xs 00000000 03:04 823605     /research/cc108/greenstone3Project/web/WEB-INF/lib/gsdl3.jar
+b1ec6000-b1ef4000 r-xp 00000000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1ef4000-b1ef7000 rwxp 0002e000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1ef7000-b1ef8000 rwxp b1ef7000 00:00 0 
+b1ef8000-b1fbe000 r-xp 00000000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1fbe000-b1fbf000 rwxp 000c5000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1fbf000-b201f000 r-xp 00000000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b201f000-b2025000 rwxp 0005f000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b2025000-b2049000 rwxp b2025000 00:00 0 
+b2049000-b210e000 r-xs 00000000 03:03 6669015    /opt/jdk1.5.0_10/jre/lib/ext/localedata.jar
+b210e000-b2110000 r-xs 00000000 03:03 6669016    /opt/jdk1.5.0_10/jre/lib/ext/dnsns.jar
+b2110000-b213b000 r-xs 00000000 03:03 6669017    /opt/jdk1.5.0_10/jre/lib/ext/sunpkcs11.jar
+b213b000-b2162000 r-xs 00000000 03:03 6669014    /opt/jdk1.5.0_10/jre/lib/ext/sunjce_provider.jar
+b2162000-b2163000 --xp b2162000 00:00 0 
+b2163000-b21e3000 rwxp b2163000 00:00 0 
+b21e3000-b21e6000 --xp b21e3000 00:00 0 
+b21e6000-b2264000 rwxp b21e6000 00:00 0 
+b2264000-b2267000 --xp b2264000 00:00 0 
+b2267000-b22e5000 rwxp b2267000 00:00 0 
+b22e5000-b22e8000 --xp b22e5000 00:00 0 
+b22e8000-b2366000 rwxp b22e8000 00:00 0 
+b2366000-b2566000 r-xp 00000000 03:03 4773667    /usr/lib/locale/locale-archive
+b2566000-b2569000 --xp b2566000 00:00 0 
+b2569000-b25e7000 rwxp b2569000 00:00 0 
+b25e7000-b25ea000 --xp b25e7000 00:00 0 
+b25ea000-b2668000 rwxp b25ea000 00:00 0 
+b2668000-b2669000 --xp b2668000 00:00 0 
+b2669000-b26f5000 rwxp b2669000 00:00 0 
+b26f5000-b2711000 rwxp b26f5000 00:00 0 
+b2711000-b2713000 rwxp b2711000 00:00 0 
+b2713000-b272f000 rwxp b2713000 00:00 0 
+b272f000-b2730000 rwxp b272f000 00:00 0 
+b2730000-b2731000 rwxp b2730000 00:00 0 
+b2731000-b2733000 rwxp b2731000 00:00 0 
+b2733000-b274f000 rwxp b2733000 00:00 0 
+b274f000-b2753000 rwxp b274f000 00:00 0 
+b2753000-b276f000 rwxp b2753000 00:00 0 
+b276f000-b277e000 rwxp b276f000 00:00 0 
+b277e000-b27fa000 rwxp b277e000 00:00 0 
+b27fa000-b28e2000 rwxp b27fa000 00:00 0 
+b28e2000-b47fa000 rwxp b28e2000 00:00 0 
+b47fa000-b5069000 r-xs 00000000 03:03 6668968    /opt/jdk1.5.0_10/jre/lib/charsets.jar
+b5069000-b507e000 r-xs 00000000 03:03 6668987    /opt/jdk1.5.0_10/jre/lib/jce.jar
+b507e000-b5103000 r-xs 00000000 03:03 6668837    /opt/jdk1.5.0_10/jre/lib/jsse.jar
+b5103000-b516c000 rwxp b5103000 00:00 0 
+b516c000-b777a000 r-xs 00000000 03:03 6668836    /opt/jdk1.5.0_10/jre/lib/rt.jar
+b777a000-b7789000 r-xp 00000000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b7789000-b778b000 rwxp 0000e000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b778b000-b77ac000 r-xp 00000000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b77ac000-b77ae000 rwxp 00020000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b77ae000-b77b5000 r-xp 00000000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77b5000-b77b6000 r-xp 00006000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77b6000-b77b7000 rwxp 00007000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77b7000-b77b8000 r-xs 00000000 03:04 11177901   /research/cc108/greenstone3Project/lib/jni/cp.jar
+b77b8000-b77bd000 rwxp b77b8000 00:00 0 
+b77bd000-b77c8000 r-xp 00000000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b77c8000-b77c9000 rwxp 0000b000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b77c9000-b7b36000 r-xp 00000000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b36000-b7b54000 rwxp 0036c000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b54000-b7f6d000 rwxp b7b54000 00:00 0 
+b7f6d000-b7f6e000 r-xp 02aea000 03:03 4773667    /usr/lib/locale/locale-archive
+b7f6e000-b7f76000 rwxs 00000000 03:03 4151855    /tmp/hsperfdata_cc108/11234
+b7f76000-b7f7c000 r-xp 00000000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f7c000-b7f7d000 rwxp 00006000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f7d000-b7f7e000 rwxp b7f7d000 00:00 0 
+b7f7e000-b7f7f000 r-xp b7f7e000 00:00 0 
+b7f7f000-b7f80000 r-xp b7f7f000 00:00 0          [vdso]
+bfb32000-bfb35000 --xp bfb32000 00:00 0 
+bfb35000-bfd32000 rwxp bfb35000 00:00 0          [stack]
+
+VM Arguments:
+jvm_args: -Djava.library.path=/research/cc108/greenstone3Project/lib/jni
+java_command: org.greenstone3.ms.collectionChooser
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=/opt/jdk1.5.0_10
+JRE_HOME=/opt/jdk1.5.0_10/jre
+PATH=/home/cc108/bin:/opt/jdk1.5.0_10:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
+USERNAME=cc108
+LD_LIBRARY_PATH=/opt/jdk1.5.0_10/jre/lib/i386/client:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386:/usr/lib/firefox-1.5.0.12
+SHELL=/bin/bash
+DISPLAY=:0.0
+
+Signal Handlers:
+SIGSEGV: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGBUS: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGFPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGPIPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGILL: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
+SIGUSR2: [libjvm.so+0x28ce60], sa_mask[0]=0x00000000, sa_flags=0x10000004
+SIGHUP: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGINT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGQUIT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGTERM: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Fedora Core release 6 (Zod)
+
+uname:Linux 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 12:34:26 EDT 2007 i686
+libc:glibc 2.5 NPTL 2.5 
+rlimit: STACK 10240k, CORE 0k, NPROC 16383, NOFILE 1024, AS infinity
+load average:0.19 0.14 0.17
+
+CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
+
+Memory: 4k page, physical 1034780k(25708k free), swap 2000084k(1922628k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0_10-b03) for linux-x86, built on Nov  9 2006 14:22:56 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid11322.log
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid11322.log	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid11322.log	(revision 17156)
@@ -0,0 +1,342 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  SIGSEGV (0xb) at pc=0x53e58955, pid=11322, tid=3086550720
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
+# Problematic frame:
+# C  0x53e58955
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x098bab18):  JavaThread "main" [_thread_in_native, id=11322]
+
+siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x53e58955
+
+Registers:
+EAX=0x00db01b0, EBX=0xb169e1d0, ECX=0xb23aefd8, EDX=0x0023d380
+ESP=0xbfdc75dc, EBP=0xbfdc7608, ESI=0x09cf4150, EDI=0x09cf4150
+EIP=0x53e58955, CR2=0x53e58955, EFLAGS=0x00210206
+
+Top of Stack: (sp=0xbfdc75dc)
+0xbfdc75dc:   b1683a92 09cf4150 00000018 b169618f
+0xbfdc75ec:   09cf4150 00000001 09cea2c4 b168399b
+0xbfdc75fc:   b169e1d0 b169618f b1683540 bfdc7638
+0xbfdc760c:   b1683bd1 b1696174 b1695bc2 b1683540
+0xbfdc761c:   098babd8 bfdc7668 b1695bc2 b1683b7b
+0xbfdc762c:   b169e1d0 09cf40a8 098babd8 bfdc7668
+0xbfdc763c:   b167f5cc 098babd8 bfdc76a4 00000042
+0xbfdc764c:   09cf40a8 bfdc76c4 8cccf598 b167f54b 
+
+Instructions: (pc=0x53e58955)
+0x53e58945:   
+[error occurred during error reporting, step 100, id 0xb]
+
+Stack: [0xbfbcd000,0xbfdcd000),  sp=0xbfdc75dc,  free space=2025k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  0x53e58955
+C  [libmgsearchjni.so+0xabd1]  InitEnv+0x61
+C  [libmgsearchjni.so+0x65cc]  Java_org_greenstone_mg_MGSearchWrapper_initCSide+0x8c
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x2b5acc]
+V  [libjvm.so+0x2b8a50]
+V  [libjvm.so+0x1ef248]
+C  [libjava.so+0x137ad]  Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0+0x2d
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+285
+j  org.greenstone3.ms.collectionChooser.<init>()V+14
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x1a55f2]
+V  [libjvm.so+0x196802]
+C  [java+0x1873]
+C  [libc.so.6+0x15dec]  __libc_start_main+0xdc
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+285
+j  org.greenstone3.ms.collectionChooser.<init>()V+14
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x09c9f9e8 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=11335]
+  0x09c90d10 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=11334]
+  0x09902e98 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=11332]
+  0x09901988 JavaThread "CompilerThread0" daemon [_thread_blocked, id=11331]
+  0x09900988 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=11330]
+  0x098fada8 JavaThread "Finalizer" daemon [_thread_blocked, id=11329]
+  0x098f8f20 JavaThread "Reference Handler" daemon [_thread_blocked, id=11328]
+=>0x098bab18 JavaThread "main" [_thread_in_native, id=11322]
+
+Other Threads:
+  0x098f6380 VMThread [id=11327]
+  0x09904460 WatcherThread [id=11333]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 576K, used 343K [0x88b40000, 0x88be0000, 0x89020000)
+  eden space 512K,  54% used [0x88b40000, 0x88b85f58, 0x88bc0000)
+  from space 64K, 100% used [0x88bc0000, 0x88bd0000, 0x88bd0000)
+  to   space 64K,   0% used [0x88bd0000, 0x88bd0000, 0x88be0000)
+ tenured generation   total 1408K, used 1387K [0x89020000, 0x89180000, 0x8cb40000)
+   the space 1408K,  98% used [0x89020000, 0x8917ad18, 0x8917ae00, 0x89180000)
+ compacting perm gen  total 8192K, used 1603K [0x8cb40000, 0x8d340000, 0x90b40000)
+   the space 8192K,  19% used [0x8cb40000, 0x8ccd0ed0, 0x8ccd1000, 0x8d340000)
+    ro space 8192K,  68% used [0x90b40000, 0x910bf220, 0x910bf400, 0x91340000)
+    rw space 12288K,  48% used [0x91340000, 0x9190a968, 0x9190aa00, 0x91f40000)
+
+Dynamic libraries:
+00101000-0023b000 r-xp 00000000 03:03 5133208    /lib/libc-2.5.so
+0023b000-0023d000 r-xp 0013a000 03:03 5133208    /lib/libc-2.5.so
+0023d000-0023e000 rwxp 0013c000 03:03 5133208    /lib/libc-2.5.so
+0023e000-00241000 rwxp 0023e000 00:00 0 
+00243000-00341000 r-xp 00000000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00341000-00345000 rwxp 000fe000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00397000-003b0000 r-xp 00000000 03:03 5133207    /lib/ld-2.5.so
+003b0000-003b1000 r-xp 00019000 03:03 5133207    /lib/ld-2.5.so
+003b1000-003b2000 rwxp 0001a000 03:03 5133207    /lib/ld-2.5.so
+003b4000-003bd000 r-xp 00000000 03:03 5133232    /lib/libnss_files-2.5.so
+003bd000-003be000 r-xp 00008000 03:03 5133232    /lib/libnss_files-2.5.so
+003be000-003bf000 rwxp 00009000 03:03 5133232    /lib/libnss_files-2.5.so
+003c1000-003c9000 r-xp 00000000 03:03 5133235    /lib/libnss_nis-2.5.so
+003c9000-003ca000 r-xp 00007000 03:03 5133235    /lib/libnss_nis-2.5.so
+003ca000-003cb000 rwxp 00008000 03:03 5133235    /lib/libnss_nis-2.5.so
+0042e000-00441000 r-xp 00000000 03:03 5133221    /lib/libnsl-2.5.so
+00441000-00442000 r-xp 00012000 03:03 5133221    /lib/libnsl-2.5.so
+00442000-00443000 rwxp 00013000 03:03 5133221    /lib/libnsl-2.5.so
+00443000-00445000 rwxp 00443000 00:00 0 
+00d66000-00d8b000 r-xp 00000000 03:03 5133213    /lib/libm-2.5.so
+00d8b000-00d8c000 r-xp 00024000 03:03 5133213    /lib/libm-2.5.so
+00d8c000-00d8d000 rwxp 00025000 03:03 5133213    /lib/libm-2.5.so
+00d8f000-00d91000 r-xp 00000000 03:03 5133209    /lib/libdl-2.5.so
+00d91000-00d92000 r-xp 00001000 03:03 5133209    /lib/libdl-2.5.so
+00d92000-00d93000 rwxp 00002000 03:03 5133209    /lib/libdl-2.5.so
+00daa000-00dac000 r-xp 00000000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00dac000-00dad000 rwxp 00001000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00daf000-00db4000 r-xp 00000000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db4000-00db5000 rwxp 00004000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db7000-00dca000 r-xp 00000000 03:03 5133215    /lib/libpthread-2.5.so
+00dca000-00dcb000 r-xp 00012000 03:03 5133215    /lib/libpthread-2.5.so
+00dcb000-00dcc000 rwxp 00013000 03:03 5133215    /lib/libpthread-2.5.so
+00dcc000-00dce000 rwxp 00dcc000 00:00 0 
+00dd0000-00ddf000 r-xp 00000000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00ddf000-00de0000 rwxp 0000e000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00de2000-00dea000 r-xp 00000000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00dea000-00deb000 rwxp 00007000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00ded000-00df1000 r-xp 00000000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+00df1000-00df2000 rwxp 00003000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+06321000-0632a000 r-xp 00000000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0632a000-0632b000 rwxp 00008000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0640e000-06419000 r-xp 00000000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06419000-0641a000 rwxp 0000a000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06443000-06523000 r-xp 00000000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06523000-06527000 r-xp 000df000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06527000-06528000 rwxp 000e3000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06528000-0652e000 rwxp 06528000 00:00 0 
+070b3000-070b8000 r-xp 00000000 03:03 5129595    /lib/libcrypt-2.5.so
+070b8000-070b9000 r-xp 00004000 03:03 5129595    /lib/libcrypt-2.5.so
+070b9000-070ba000 rwxp 00005000 03:03 5129595    /lib/libcrypt-2.5.so
+070ba000-070e1000 rwxp 070ba000 00:00 0 
+08048000-08057000 r-xp 00000000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08057000-08059000 rwxp 0000e000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+098b5000-09cfe000 rwxp 098b5000 00:00 0 
+88b40000-88be0000 rwxp 88b40000 00:00 0 
+88be0000-89020000 rwxp 88be0000 00:00 0 
+89020000-89180000 rwxp 89020000 00:00 0 
+89180000-8cb40000 rwxp 89180000 00:00 0 
+8cb40000-8d340000 rwxp 8cb40000 00:00 0 
+8d340000-90b40000 rwxp 8d340000 00:00 0 
+90b40000-910c0000 r-xs 00001000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+910c0000-91340000 rwxp 910c0000 00:00 0 
+91340000-9190b000 rwxp 00581000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+9190b000-91f40000 rwxp 9190b000 00:00 0 
+91f40000-92010000 rwxp 00b4c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92010000-92340000 rwxp 92010000 00:00 0 
+92340000-92344000 r-xs 00c1c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92344000-92740000 rwxp 92344000 00:00 0 
+b1679000-b169e000 r-xp 00000000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b169e000-b16a0000 rwxp 00025000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b16a0000-b16a1000 rwxp b16a0000 00:00 0 
+b16a1000-b16b7000 r-xp 00000000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b16b7000-b16b8000 rwxp 00016000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b16b8000-b16ec000 r-xp 00000000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b16ec000-b16f5000 rwxp 00033000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b16f5000-b16fb000 r-xp 00000000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b16fb000-b16fc000 rwxp 00005000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b170e000-b1710000 r-xp 00000000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b1710000-b1711000 rwxp 00002000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b1711000-b1714000 --xp b1711000 00:00 0 
+b1714000-b1792000 rwxp b1714000 00:00 0 
+b1792000-b1795000 --xp b1792000 00:00 0 
+b1795000-b1813000 rwxp b1795000 00:00 0 
+b1813000-b187d000 r-xp 00000000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b187d000-b1887000 rwxp 00069000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b1887000-b188b000 rwxp b1887000 00:00 0 
+b188b000-b188e000 r-xs 00000000 03:04 11177891   /research/cc108/greenstone3Project/lib/jni/mgpp.jar
+b188e000-b1891000 r-xs 00000000 03:04 11177890   /research/cc108/greenstone3Project/lib/jni/mg.jar
+b1891000-b1897000 r-xs 00000000 03:04 11177881   /research/cc108/greenstone3Project/lib/jni/javagdbm.jar
+b1897000-b19bd000 r-xs 00000000 03:04 824762     /research/cc108/greenstone3Project/web/WEB-INF/lib/xercesImpl.jar
+b19bd000-b1a02000 r-xs 00000000 03:04 824767     /research/cc108/greenstone3Project/web/WEB-INF/lib/mail.jar
+b1a02000-b1a32000 r-xs 00000000 03:04 922338     /research/cc108/greenstone3Project/web/applet/xml-apis.jar
+b1a32000-b1add000 r-xs 00000000 03:04 823556     /research/cc108/greenstone3Project/web/WEB-INF/lib/LuceneWrapper.jar
+b1add000-b1b2c000 r-xs 00000000 03:04 824760     /research/cc108/greenstone3Project/web/WEB-INF/lib/lucene-1.4.1.jar
+b1b2c000-b1b83000 r-xs 00000000 03:04 822971     /research/cc108/greenstone3Project/web/WEB-INF/lib/log4j-1.2.8.jar
+b1b83000-b1cac000 r-xs 00000000 00:12 10701459   /home/cc108/jFreeChart/lib/jfreechart-1.0.6.jar
+b1cac000-b1cf9000 r-xs 00000000 00:12 10701456   /home/cc108/jFreeChart/lib/jcommon-1.0.10.jar
+b1cf9000-b1d01000 r-xs 00000000 03:04 823023     /research/cc108/greenstone3Project/web/WEB-INF/lib/jaxrpc.jar
+b1d01000-b1e89000 r-xs 00000000 03:04 823122     /research/cc108/greenstone3Project/web/WEB-INF/lib/axis.jar
+b1e89000-b1eeb000 r-xs 00000000 03:04 823605     /research/cc108/greenstone3Project/web/WEB-INF/lib/gsdl3.jar
+b1eeb000-b1f19000 r-xp 00000000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1f19000-b1f1c000 rwxp 0002e000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1f1c000-b1f1d000 rwxp b1f1c000 00:00 0 
+b1f1d000-b1fe3000 r-xp 00000000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1fe3000-b1fe4000 rwxp 000c5000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1fe4000-b2044000 r-xp 00000000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b2044000-b204a000 rwxp 0005f000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b204a000-b206e000 rwxp b204a000 00:00 0 
+b206e000-b2133000 r-xs 00000000 03:03 6669015    /opt/jdk1.5.0_10/jre/lib/ext/localedata.jar
+b2133000-b2135000 r-xs 00000000 03:03 6669016    /opt/jdk1.5.0_10/jre/lib/ext/dnsns.jar
+b2135000-b2160000 r-xs 00000000 03:03 6669017    /opt/jdk1.5.0_10/jre/lib/ext/sunpkcs11.jar
+b2160000-b2187000 r-xs 00000000 03:03 6669014    /opt/jdk1.5.0_10/jre/lib/ext/sunjce_provider.jar
+b2187000-b2188000 --xp b2187000 00:00 0 
+b2188000-b2208000 rwxp b2188000 00:00 0 
+b2208000-b220b000 --xp b2208000 00:00 0 
+b220b000-b2289000 rwxp b220b000 00:00 0 
+b2289000-b228c000 --xp b2289000 00:00 0 
+b228c000-b230a000 rwxp b228c000 00:00 0 
+b230a000-b230d000 --xp b230a000 00:00 0 
+b230d000-b238b000 rwxp b230d000 00:00 0 
+b238b000-b258b000 r-xp 00000000 03:03 4773667    /usr/lib/locale/locale-archive
+b258b000-b258e000 --xp b258b000 00:00 0 
+b258e000-b260c000 rwxp b258e000 00:00 0 
+b260c000-b260f000 --xp b260c000 00:00 0 
+b260f000-b268d000 rwxp b260f000 00:00 0 
+b268d000-b268e000 --xp b268d000 00:00 0 
+b268e000-b271a000 rwxp b268e000 00:00 0 
+b271a000-b2736000 rwxp b271a000 00:00 0 
+b2736000-b2737000 rwxp b2736000 00:00 0 
+b2737000-b2754000 rwxp b2737000 00:00 0 
+b2754000-b2755000 rwxp b2754000 00:00 0 
+b2755000-b2756000 rwxp b2755000 00:00 0 
+b2756000-b2758000 rwxp b2756000 00:00 0 
+b2758000-b2774000 rwxp b2758000 00:00 0 
+b2774000-b2778000 rwxp b2774000 00:00 0 
+b2778000-b2794000 rwxp b2778000 00:00 0 
+b2794000-b27a3000 rwxp b2794000 00:00 0 
+b27a3000-b281f000 rwxp b27a3000 00:00 0 
+b281f000-b2907000 rwxp b281f000 00:00 0 
+b2907000-b481f000 rwxp b2907000 00:00 0 
+b481f000-b508e000 r-xs 00000000 03:03 6668968    /opt/jdk1.5.0_10/jre/lib/charsets.jar
+b508e000-b50a3000 r-xs 00000000 03:03 6668987    /opt/jdk1.5.0_10/jre/lib/jce.jar
+b50a3000-b5128000 r-xs 00000000 03:03 6668837    /opt/jdk1.5.0_10/jre/lib/jsse.jar
+b5128000-b5191000 rwxp b5128000 00:00 0 
+b5191000-b779f000 r-xs 00000000 03:03 6668836    /opt/jdk1.5.0_10/jre/lib/rt.jar
+b779f000-b77ae000 r-xp 00000000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b77ae000-b77b0000 rwxp 0000e000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b77b0000-b77d1000 r-xp 00000000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b77d1000-b77d3000 rwxp 00020000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b77d3000-b77da000 r-xp 00000000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77da000-b77db000 r-xp 00006000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77db000-b77dc000 rwxp 00007000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77dc000-b77dd000 r-xs 00000000 03:04 11177901   /research/cc108/greenstone3Project/lib/jni/cp.jar
+b77dd000-b77e2000 rwxp b77dd000 00:00 0 
+b77e2000-b77ed000 r-xp 00000000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b77ed000-b77ee000 rwxp 0000b000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b77ee000-b7b5b000 r-xp 00000000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b5b000-b7b79000 rwxp 0036c000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b79000-b7f92000 rwxp b7b79000 00:00 0 
+b7f92000-b7f93000 r-xp 02aea000 03:03 4773667    /usr/lib/locale/locale-archive
+b7f93000-b7f9b000 rwxs 00000000 03:03 4151855    /tmp/hsperfdata_cc108/11322
+b7f9b000-b7fa1000 r-xp 00000000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7fa1000-b7fa2000 rwxp 00006000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7fa2000-b7fa3000 rwxp b7fa2000 00:00 0 
+b7fa3000-b7fa4000 r-xp b7fa3000 00:00 0 
+b7fa4000-b7fa5000 r-xp b7fa4000 00:00 0          [vdso]
+bfbcd000-bfbd0000 --xp bfbcd000 00:00 0 
+bfbd0000-bfdcd000 rwxp bfbd0000 00:00 0          [stack]
+
+VM Arguments:
+jvm_args: -Djava.library.path=/research/cc108/greenstone3Project/lib/jni
+java_command: org.greenstone3.ms.collectionChooser
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=/opt/jdk1.5.0_10
+JRE_HOME=/opt/jdk1.5.0_10/jre
+PATH=/home/cc108/bin:/opt/jdk1.5.0_10:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
+USERNAME=cc108
+LD_LIBRARY_PATH=/opt/jdk1.5.0_10/jre/lib/i386/client:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386:/usr/lib/firefox-1.5.0.12
+SHELL=/bin/bash
+DISPLAY=:0.0
+
+Signal Handlers:
+SIGSEGV: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGBUS: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGFPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGPIPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGILL: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
+SIGUSR2: [libjvm.so+0x28ce60], sa_mask[0]=0x00000000, sa_flags=0x10000004
+SIGHUP: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGINT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGQUIT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGTERM: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Fedora Core release 6 (Zod)
+
+uname:Linux 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 12:34:26 EDT 2007 i686
+libc:glibc 2.5 NPTL 2.5 
+rlimit: STACK 10240k, CORE 0k, NPROC 16383, NOFILE 1024, AS infinity
+load average:0.33 0.17 0.18
+
+CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
+
+Memory: 4k page, physical 1034780k(22256k free), swap 2000084k(1922628k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0_10-b03) for linux-x86, built on Nov  9 2006 14:22:56 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid11392.log
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid11392.log	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid11392.log	(revision 17156)
@@ -0,0 +1,342 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  SIGSEGV (0xb) at pc=0x53e58955, pid=11392, tid=3086649024
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
+# Problematic frame:
+# C  0x53e58955
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x081a2b18):  JavaThread "main" [_thread_in_native, id=11392]
+
+siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x53e58955
+
+Registers:
+EAX=0x00db01b0, EBX=0xb16b61d0, ECX=0xb23c6fd8, EDX=0x0023d380
+ESP=0xbfdfae0c, EBP=0xbfdfae38, ESI=0x085d37a8, EDI=0x085d37a8
+EIP=0x53e58955, CR2=0x53e58955, EFLAGS=0x00210202
+
+Top of Stack: (sp=0xbfdfae0c)
+0xbfdfae0c:   b169ba92 085d37a8 00000018 b16ae18f
+0xbfdfae1c:   085d37a8 00000001 085b6b04 b169b99b
+0xbfdfae2c:   b16b61d0 b16ae18f b169b540 bfdfae68
+0xbfdfae3c:   b169bbd1 b16ae174 b16adbc2 b169b540
+0xbfdfae4c:   081a2bd8 bfdfae98 b16adbc2 b169bb7b
+0xbfdfae5c:   b16b61d0 085d3c68 081a2bd8 bfdfae98
+0xbfdfae6c:   b16975cc 081a2bd8 bfdfaed4 00000042
+0xbfdfae7c:   085d3c68 bfdfaef4 8cccf6c8 b169754b 
+
+Instructions: (pc=0x53e58955)
+0x53e58945:   
+[error occurred during error reporting, step 100, id 0xb]
+
+Stack: [0xbfc01000,0xbfe01000),  sp=0xbfdfae0c,  free space=2023k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  0x53e58955
+C  [libmgsearchjni.so+0xabd1]  InitEnv+0x61
+C  [libmgsearchjni.so+0x65cc]  Java_org_greenstone_mg_MGSearchWrapper_initCSide+0x8c
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x2b5acc]
+V  [libjvm.so+0x2b8a50]
+V  [libjvm.so+0x1ef248]
+C  [libjava.so+0x137ad]  Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0+0x2d
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+311
+j  org.greenstone3.ms.collectionChooser.<init>()V+14
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x1a55f2]
+V  [libjvm.so+0x196802]
+C  [java+0x1873]
+C  [libc.so.6+0x15dec]  __libc_start_main+0xdc
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+311
+j  org.greenstone3.ms.collectionChooser.<init>()V+14
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x085879e8 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=11405]
+  0x08578d10 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=11404]
+  0x081eae98 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=11402]
+  0x081e9988 JavaThread "CompilerThread0" daemon [_thread_blocked, id=11401]
+  0x081e8988 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=11400]
+  0x081e2da8 JavaThread "Finalizer" daemon [_thread_blocked, id=11399]
+  0x081e0f20 JavaThread "Reference Handler" daemon [_thread_blocked, id=11398]
+=>0x081a2b18 JavaThread "main" [_thread_in_native, id=11392]
+
+Other Threads:
+  0x081de380 VMThread [id=11397]
+  0x081ec460 WatcherThread [id=11403]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 576K, used 357K [0x88b40000, 0x88be0000, 0x89020000)
+  eden space 512K,  57% used [0x88b40000, 0x88b89530, 0x88bc0000)
+  from space 64K, 100% used [0x88bc0000, 0x88bd0000, 0x88bd0000)
+  to   space 64K,   0% used [0x88bd0000, 0x88bd0000, 0x88be0000)
+ tenured generation   total 1408K, used 1370K [0x89020000, 0x89180000, 0x8cb40000)
+   the space 1408K,  97% used [0x89020000, 0x89176a10, 0x89176c00, 0x89180000)
+ compacting perm gen  total 8192K, used 1604K [0x8cb40000, 0x8d340000, 0x90b40000)
+   the space 8192K,  19% used [0x8cb40000, 0x8ccd1000, 0x8ccd1000, 0x8d340000)
+    ro space 8192K,  68% used [0x90b40000, 0x910bf220, 0x910bf400, 0x91340000)
+    rw space 12288K,  48% used [0x91340000, 0x9190a968, 0x9190aa00, 0x91f40000)
+
+Dynamic libraries:
+00101000-0023b000 r-xp 00000000 03:03 5133208    /lib/libc-2.5.so
+0023b000-0023d000 r-xp 0013a000 03:03 5133208    /lib/libc-2.5.so
+0023d000-0023e000 rwxp 0013c000 03:03 5133208    /lib/libc-2.5.so
+0023e000-00241000 rwxp 0023e000 00:00 0 
+00243000-00341000 r-xp 00000000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00341000-00345000 rwxp 000fe000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00397000-003b0000 r-xp 00000000 03:03 5133207    /lib/ld-2.5.so
+003b0000-003b1000 r-xp 00019000 03:03 5133207    /lib/ld-2.5.so
+003b1000-003b2000 rwxp 0001a000 03:03 5133207    /lib/ld-2.5.so
+003b4000-003bd000 r-xp 00000000 03:03 5133232    /lib/libnss_files-2.5.so
+003bd000-003be000 r-xp 00008000 03:03 5133232    /lib/libnss_files-2.5.so
+003be000-003bf000 rwxp 00009000 03:03 5133232    /lib/libnss_files-2.5.so
+003c1000-003c9000 r-xp 00000000 03:03 5133235    /lib/libnss_nis-2.5.so
+003c9000-003ca000 r-xp 00007000 03:03 5133235    /lib/libnss_nis-2.5.so
+003ca000-003cb000 rwxp 00008000 03:03 5133235    /lib/libnss_nis-2.5.so
+0042e000-00441000 r-xp 00000000 03:03 5133221    /lib/libnsl-2.5.so
+00441000-00442000 r-xp 00012000 03:03 5133221    /lib/libnsl-2.5.so
+00442000-00443000 rwxp 00013000 03:03 5133221    /lib/libnsl-2.5.so
+00443000-00445000 rwxp 00443000 00:00 0 
+00d66000-00d8b000 r-xp 00000000 03:03 5133213    /lib/libm-2.5.so
+00d8b000-00d8c000 r-xp 00024000 03:03 5133213    /lib/libm-2.5.so
+00d8c000-00d8d000 rwxp 00025000 03:03 5133213    /lib/libm-2.5.so
+00d8f000-00d91000 r-xp 00000000 03:03 5133209    /lib/libdl-2.5.so
+00d91000-00d92000 r-xp 00001000 03:03 5133209    /lib/libdl-2.5.so
+00d92000-00d93000 rwxp 00002000 03:03 5133209    /lib/libdl-2.5.so
+00daa000-00dac000 r-xp 00000000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00dac000-00dad000 rwxp 00001000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00daf000-00db4000 r-xp 00000000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db4000-00db5000 rwxp 00004000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db7000-00dca000 r-xp 00000000 03:03 5133215    /lib/libpthread-2.5.so
+00dca000-00dcb000 r-xp 00012000 03:03 5133215    /lib/libpthread-2.5.so
+00dcb000-00dcc000 rwxp 00013000 03:03 5133215    /lib/libpthread-2.5.so
+00dcc000-00dce000 rwxp 00dcc000 00:00 0 
+00dd0000-00ddf000 r-xp 00000000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00ddf000-00de0000 rwxp 0000e000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00de2000-00dea000 r-xp 00000000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00dea000-00deb000 rwxp 00007000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00ded000-00df1000 r-xp 00000000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+00df1000-00df2000 rwxp 00003000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+06321000-0632a000 r-xp 00000000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0632a000-0632b000 rwxp 00008000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0640e000-06419000 r-xp 00000000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06419000-0641a000 rwxp 0000a000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06443000-06523000 r-xp 00000000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06523000-06527000 r-xp 000df000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06527000-06528000 rwxp 000e3000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06528000-0652e000 rwxp 06528000 00:00 0 
+070b3000-070b8000 r-xp 00000000 03:03 5129595    /lib/libcrypt-2.5.so
+070b8000-070b9000 r-xp 00004000 03:03 5129595    /lib/libcrypt-2.5.so
+070b9000-070ba000 rwxp 00005000 03:03 5129595    /lib/libcrypt-2.5.so
+070ba000-070e1000 rwxp 070ba000 00:00 0 
+08048000-08057000 r-xp 00000000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08057000-08059000 rwxp 0000e000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+0819d000-085e6000 rwxp 0819d000 00:00 0 
+88b40000-88be0000 rwxp 88b40000 00:00 0 
+88be0000-89020000 rwxp 88be0000 00:00 0 
+89020000-89180000 rwxp 89020000 00:00 0 
+89180000-8cb40000 rwxp 89180000 00:00 0 
+8cb40000-8d340000 rwxp 8cb40000 00:00 0 
+8d340000-90b40000 rwxp 8d340000 00:00 0 
+90b40000-910c0000 r-xs 00001000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+910c0000-91340000 rwxp 910c0000 00:00 0 
+91340000-9190b000 rwxp 00581000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+9190b000-91f40000 rwxp 9190b000 00:00 0 
+91f40000-92010000 rwxp 00b4c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92010000-92340000 rwxp 92010000 00:00 0 
+92340000-92344000 r-xs 00c1c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92344000-92740000 rwxp 92344000 00:00 0 
+b1691000-b16b6000 r-xp 00000000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b16b6000-b16b8000 rwxp 00025000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b16b8000-b16b9000 rwxp b16b8000 00:00 0 
+b16b9000-b16cf000 r-xp 00000000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b16cf000-b16d0000 rwxp 00016000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b16d0000-b1704000 r-xp 00000000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b1704000-b170d000 rwxp 00033000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b170d000-b1713000 r-xp 00000000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b1713000-b1714000 rwxp 00005000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b1726000-b1728000 r-xp 00000000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b1728000-b1729000 rwxp 00002000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b1729000-b172c000 --xp b1729000 00:00 0 
+b172c000-b17aa000 rwxp b172c000 00:00 0 
+b17aa000-b17ad000 --xp b17aa000 00:00 0 
+b17ad000-b182b000 rwxp b17ad000 00:00 0 
+b182b000-b1895000 r-xp 00000000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b1895000-b189f000 rwxp 00069000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b189f000-b18a3000 rwxp b189f000 00:00 0 
+b18a3000-b18a6000 r-xs 00000000 03:04 11177891   /research/cc108/greenstone3Project/lib/jni/mgpp.jar
+b18a6000-b18a9000 r-xs 00000000 03:04 11177890   /research/cc108/greenstone3Project/lib/jni/mg.jar
+b18a9000-b18af000 r-xs 00000000 03:04 11177881   /research/cc108/greenstone3Project/lib/jni/javagdbm.jar
+b18af000-b19d5000 r-xs 00000000 03:04 824762     /research/cc108/greenstone3Project/web/WEB-INF/lib/xercesImpl.jar
+b19d5000-b1a1a000 r-xs 00000000 03:04 824767     /research/cc108/greenstone3Project/web/WEB-INF/lib/mail.jar
+b1a1a000-b1a4a000 r-xs 00000000 03:04 922338     /research/cc108/greenstone3Project/web/applet/xml-apis.jar
+b1a4a000-b1af5000 r-xs 00000000 03:04 823556     /research/cc108/greenstone3Project/web/WEB-INF/lib/LuceneWrapper.jar
+b1af5000-b1b44000 r-xs 00000000 03:04 824760     /research/cc108/greenstone3Project/web/WEB-INF/lib/lucene-1.4.1.jar
+b1b44000-b1b9b000 r-xs 00000000 03:04 822971     /research/cc108/greenstone3Project/web/WEB-INF/lib/log4j-1.2.8.jar
+b1b9b000-b1cc4000 r-xs 00000000 00:12 10701459   /home/cc108/jFreeChart/lib/jfreechart-1.0.6.jar
+b1cc4000-b1d11000 r-xs 00000000 00:12 10701456   /home/cc108/jFreeChart/lib/jcommon-1.0.10.jar
+b1d11000-b1d19000 r-xs 00000000 03:04 823023     /research/cc108/greenstone3Project/web/WEB-INF/lib/jaxrpc.jar
+b1d19000-b1ea1000 r-xs 00000000 03:04 823122     /research/cc108/greenstone3Project/web/WEB-INF/lib/axis.jar
+b1ea1000-b1f03000 r-xs 00000000 03:04 823605     /research/cc108/greenstone3Project/web/WEB-INF/lib/gsdl3.jar
+b1f03000-b1f31000 r-xp 00000000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1f31000-b1f34000 rwxp 0002e000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1f34000-b1f35000 rwxp b1f34000 00:00 0 
+b1f35000-b1ffb000 r-xp 00000000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1ffb000-b1ffc000 rwxp 000c5000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1ffc000-b205c000 r-xp 00000000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b205c000-b2062000 rwxp 0005f000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b2062000-b2086000 rwxp b2062000 00:00 0 
+b2086000-b214b000 r-xs 00000000 03:03 6669015    /opt/jdk1.5.0_10/jre/lib/ext/localedata.jar
+b214b000-b214d000 r-xs 00000000 03:03 6669016    /opt/jdk1.5.0_10/jre/lib/ext/dnsns.jar
+b214d000-b2178000 r-xs 00000000 03:03 6669017    /opt/jdk1.5.0_10/jre/lib/ext/sunpkcs11.jar
+b2178000-b219f000 r-xs 00000000 03:03 6669014    /opt/jdk1.5.0_10/jre/lib/ext/sunjce_provider.jar
+b219f000-b21a0000 --xp b219f000 00:00 0 
+b21a0000-b2220000 rwxp b21a0000 00:00 0 
+b2220000-b2223000 --xp b2220000 00:00 0 
+b2223000-b22a1000 rwxp b2223000 00:00 0 
+b22a1000-b22a4000 --xp b22a1000 00:00 0 
+b22a4000-b2322000 rwxp b22a4000 00:00 0 
+b2322000-b2325000 --xp b2322000 00:00 0 
+b2325000-b23a3000 rwxp b2325000 00:00 0 
+b23a3000-b25a3000 r-xp 00000000 03:03 4773667    /usr/lib/locale/locale-archive
+b25a3000-b25a6000 --xp b25a3000 00:00 0 
+b25a6000-b2624000 rwxp b25a6000 00:00 0 
+b2624000-b2627000 --xp b2624000 00:00 0 
+b2627000-b26a5000 rwxp b2627000 00:00 0 
+b26a5000-b26a6000 --xp b26a5000 00:00 0 
+b26a6000-b2732000 rwxp b26a6000 00:00 0 
+b2732000-b274e000 rwxp b2732000 00:00 0 
+b274e000-b274f000 rwxp b274e000 00:00 0 
+b274f000-b276c000 rwxp b274f000 00:00 0 
+b276c000-b276d000 rwxp b276c000 00:00 0 
+b276d000-b276e000 rwxp b276d000 00:00 0 
+b276e000-b2770000 rwxp b276e000 00:00 0 
+b2770000-b278c000 rwxp b2770000 00:00 0 
+b278c000-b2790000 rwxp b278c000 00:00 0 
+b2790000-b27ac000 rwxp b2790000 00:00 0 
+b27ac000-b27bb000 rwxp b27ac000 00:00 0 
+b27bb000-b2837000 rwxp b27bb000 00:00 0 
+b2837000-b291f000 rwxp b2837000 00:00 0 
+b291f000-b4837000 rwxp b291f000 00:00 0 
+b4837000-b50a6000 r-xs 00000000 03:03 6668968    /opt/jdk1.5.0_10/jre/lib/charsets.jar
+b50a6000-b50bb000 r-xs 00000000 03:03 6668987    /opt/jdk1.5.0_10/jre/lib/jce.jar
+b50bb000-b5140000 r-xs 00000000 03:03 6668837    /opt/jdk1.5.0_10/jre/lib/jsse.jar
+b5140000-b51a9000 rwxp b5140000 00:00 0 
+b51a9000-b77b7000 r-xs 00000000 03:03 6668836    /opt/jdk1.5.0_10/jre/lib/rt.jar
+b77b7000-b77c6000 r-xp 00000000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b77c6000-b77c8000 rwxp 0000e000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b77c8000-b77e9000 r-xp 00000000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b77e9000-b77eb000 rwxp 00020000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b77eb000-b77f2000 r-xp 00000000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77f2000-b77f3000 r-xp 00006000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77f3000-b77f4000 rwxp 00007000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77f4000-b77f5000 r-xs 00000000 03:04 11177901   /research/cc108/greenstone3Project/lib/jni/cp.jar
+b77f5000-b77fa000 rwxp b77f5000 00:00 0 
+b77fa000-b7805000 r-xp 00000000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b7805000-b7806000 rwxp 0000b000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b7806000-b7b73000 r-xp 00000000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b73000-b7b91000 rwxp 0036c000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b91000-b7faa000 rwxp b7b91000 00:00 0 
+b7faa000-b7fab000 r-xp 02aea000 03:03 4773667    /usr/lib/locale/locale-archive
+b7fab000-b7fb3000 rwxs 00000000 03:03 4151855    /tmp/hsperfdata_cc108/11392
+b7fb3000-b7fb9000 r-xp 00000000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7fb9000-b7fba000 rwxp 00006000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7fba000-b7fbb000 rwxp b7fba000 00:00 0 
+b7fbb000-b7fbc000 r-xp b7fbb000 00:00 0 
+b7fbc000-b7fbd000 r-xp b7fbc000 00:00 0          [vdso]
+bfc01000-bfc04000 --xp bfc01000 00:00 0 
+bfc04000-bfe01000 rwxp bfc04000 00:00 0          [stack]
+
+VM Arguments:
+jvm_args: -Djava.library.path=/research/cc108/greenstone3Project/lib/jni
+java_command: org.greenstone3.ms.collectionChooser
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=/opt/jdk1.5.0_10
+JRE_HOME=/opt/jdk1.5.0_10/jre
+PATH=/home/cc108/bin:/opt/jdk1.5.0_10:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
+USERNAME=cc108
+LD_LIBRARY_PATH=/opt/jdk1.5.0_10/jre/lib/i386/client:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386:/usr/lib/firefox-1.5.0.12
+SHELL=/bin/bash
+DISPLAY=:0.0
+
+Signal Handlers:
+SIGSEGV: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGBUS: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGFPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGPIPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGILL: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
+SIGUSR2: [libjvm.so+0x28ce60], sa_mask[0]=0x00000000, sa_flags=0x10000004
+SIGHUP: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGINT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGQUIT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGTERM: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Fedora Core release 6 (Zod)
+
+uname:Linux 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 12:34:26 EDT 2007 i686
+libc:glibc 2.5 NPTL 2.5 
+rlimit: STACK 10240k, CORE 0k, NPROC 16383, NOFILE 1024, AS infinity
+load average:0.16 0.14 0.16
+
+CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
+
+Memory: 4k page, physical 1034780k(68556k free), swap 2000084k(1914120k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0_10-b03) for linux-x86, built on Nov  9 2006 14:22:56 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid11424.log
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid11424.log	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid11424.log	(revision 17156)
@@ -0,0 +1,342 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  SIGSEGV (0xb) at pc=0x53e58955, pid=11424, tid=3086104256
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
+# Problematic frame:
+# C  0x53e58955
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x08827b18):  JavaThread "main" [_thread_in_native, id=11424]
+
+siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x53e58955
+
+Registers:
+EAX=0x00db01b0, EBX=0xb16311d0, ECX=0xb2341fd8, EDX=0x0023d380
+ESP=0xbfb2db3c, EBP=0xbfb2db68, ESI=0x08c57320, EDI=0x08c57320
+EIP=0x53e58955, CR2=0x53e58955, EFLAGS=0x00210202
+
+Top of Stack: (sp=0xbfb2db3c)
+0xbfb2db3c:   b1616a92 08c57320 00000018 b162918f
+0xbfb2db4c:   08c57320 00000001 08c571ac b161699b
+0xbfb2db5c:   b16311d0 b162918f b1616540 bfb2db98
+0xbfb2db6c:   b1616bd1 b1629174 b1628bc2 b1616540
+0xbfb2db7c:   08827bd8 bfb2dbc8 b1628bc2 b1616b7b
+0xbfb2db8c:   b16311d0 08bcda40 08827bd8 bfb2dbc8
+0xbfb2db9c:   b16125cc 08827bd8 bfb2dc04 00000042
+0xbfb2dbac:   08bcda40 bfb2dc24 8ccd0150 b161254b 
+
+Instructions: (pc=0x53e58955)
+0x53e58945:   
+[error occurred during error reporting, step 100, id 0xb]
+
+Stack: [0xbf932000,0xbfb32000),  sp=0xbfb2db3c,  free space=2030k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  0x53e58955
+C  [libmgsearchjni.so+0xabd1]  InitEnv+0x61
+C  [libmgsearchjni.so+0x65cc]  Java_org_greenstone_mg_MGSearchWrapper_initCSide+0x8c
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x2b5acc]
+V  [libjvm.so+0x2b8a50]
+V  [libjvm.so+0x1ef248]
+C  [libjava.so+0x137ad]  Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0+0x2d
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+311
+j  org.greenstone3.ms.collectionChooser.<init>()V+14
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x1a55f2]
+V  [libjvm.so+0x196802]
+C  [java+0x1873]
+C  [libc.so.6+0x15dec]  __libc_start_main+0xdc
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+311
+j  org.greenstone3.ms.collectionChooser.<init>()V+14
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x08c0c9d8 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=11439]
+  0x08bfdd00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=11438]
+  0x0886fe98 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=11436]
+  0x0886e988 JavaThread "CompilerThread0" daemon [_thread_blocked, id=11435]
+  0x0886d988 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=11434]
+  0x08867da8 JavaThread "Finalizer" daemon [_thread_blocked, id=11433]
+  0x08865f20 JavaThread "Reference Handler" daemon [_thread_blocked, id=11432]
+=>0x08827b18 JavaThread "main" [_thread_in_native, id=11424]
+
+Other Threads:
+  0x08863380 VMThread [id=11431]
+  0x08871460 WatcherThread [id=11437]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 576K, used 270K [0x88b40000, 0x88be0000, 0x89020000)
+  eden space 512K,  52% used [0x88b40000, 0x88b83b30, 0x88bc0000)
+  from space 64K,   0% used [0x88bc0000, 0x88bc0000, 0x88bd0000)
+  to   space 64K,   0% used [0x88bd0000, 0x88bd0000, 0x88be0000)
+ tenured generation   total 2180K, used 1306K [0x89020000, 0x89241000, 0x8cb40000)
+   the space 2180K,  59% used [0x89020000, 0x89166960, 0x89166a00, 0x89241000)
+ compacting perm gen  total 8192K, used 1606K [0x8cb40000, 0x8d340000, 0x90b40000)
+   the space 8192K,  19% used [0x8cb40000, 0x8ccd1a88, 0x8ccd1c00, 0x8d340000)
+    ro space 8192K,  68% used [0x90b40000, 0x910bf220, 0x910bf400, 0x91340000)
+    rw space 12288K,  48% used [0x91340000, 0x9190a968, 0x9190aa00, 0x91f40000)
+
+Dynamic libraries:
+00101000-0023b000 r-xp 00000000 03:03 5133208    /lib/libc-2.5.so
+0023b000-0023d000 r-xp 0013a000 03:03 5133208    /lib/libc-2.5.so
+0023d000-0023e000 rwxp 0013c000 03:03 5133208    /lib/libc-2.5.so
+0023e000-00241000 rwxp 0023e000 00:00 0 
+00243000-00341000 r-xp 00000000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00341000-00345000 rwxp 000fe000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00397000-003b0000 r-xp 00000000 03:03 5133207    /lib/ld-2.5.so
+003b0000-003b1000 r-xp 00019000 03:03 5133207    /lib/ld-2.5.so
+003b1000-003b2000 rwxp 0001a000 03:03 5133207    /lib/ld-2.5.so
+003b4000-003bd000 r-xp 00000000 03:03 5133232    /lib/libnss_files-2.5.so
+003bd000-003be000 r-xp 00008000 03:03 5133232    /lib/libnss_files-2.5.so
+003be000-003bf000 rwxp 00009000 03:03 5133232    /lib/libnss_files-2.5.so
+003c1000-003c9000 r-xp 00000000 03:03 5133235    /lib/libnss_nis-2.5.so
+003c9000-003ca000 r-xp 00007000 03:03 5133235    /lib/libnss_nis-2.5.so
+003ca000-003cb000 rwxp 00008000 03:03 5133235    /lib/libnss_nis-2.5.so
+0042e000-00441000 r-xp 00000000 03:03 5133221    /lib/libnsl-2.5.so
+00441000-00442000 r-xp 00012000 03:03 5133221    /lib/libnsl-2.5.so
+00442000-00443000 rwxp 00013000 03:03 5133221    /lib/libnsl-2.5.so
+00443000-00445000 rwxp 00443000 00:00 0 
+00d66000-00d8b000 r-xp 00000000 03:03 5133213    /lib/libm-2.5.so
+00d8b000-00d8c000 r-xp 00024000 03:03 5133213    /lib/libm-2.5.so
+00d8c000-00d8d000 rwxp 00025000 03:03 5133213    /lib/libm-2.5.so
+00d8f000-00d91000 r-xp 00000000 03:03 5133209    /lib/libdl-2.5.so
+00d91000-00d92000 r-xp 00001000 03:03 5133209    /lib/libdl-2.5.so
+00d92000-00d93000 rwxp 00002000 03:03 5133209    /lib/libdl-2.5.so
+00daa000-00dac000 r-xp 00000000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00dac000-00dad000 rwxp 00001000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00daf000-00db4000 r-xp 00000000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db4000-00db5000 rwxp 00004000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db7000-00dca000 r-xp 00000000 03:03 5133215    /lib/libpthread-2.5.so
+00dca000-00dcb000 r-xp 00012000 03:03 5133215    /lib/libpthread-2.5.so
+00dcb000-00dcc000 rwxp 00013000 03:03 5133215    /lib/libpthread-2.5.so
+00dcc000-00dce000 rwxp 00dcc000 00:00 0 
+00dd0000-00ddf000 r-xp 00000000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00ddf000-00de0000 rwxp 0000e000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00de2000-00dea000 r-xp 00000000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00dea000-00deb000 rwxp 00007000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00ded000-00df1000 r-xp 00000000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+00df1000-00df2000 rwxp 00003000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+06321000-0632a000 r-xp 00000000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0632a000-0632b000 rwxp 00008000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0640e000-06419000 r-xp 00000000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06419000-0641a000 rwxp 0000a000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06443000-06523000 r-xp 00000000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06523000-06527000 r-xp 000df000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06527000-06528000 rwxp 000e3000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06528000-0652e000 rwxp 06528000 00:00 0 
+070b3000-070b8000 r-xp 00000000 03:03 5129595    /lib/libcrypt-2.5.so
+070b8000-070b9000 r-xp 00004000 03:03 5129595    /lib/libcrypt-2.5.so
+070b9000-070ba000 rwxp 00005000 03:03 5129595    /lib/libcrypt-2.5.so
+070ba000-070e1000 rwxp 070ba000 00:00 0 
+08048000-08057000 r-xp 00000000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08057000-08059000 rwxp 0000e000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08822000-08c86000 rwxp 08822000 00:00 0 
+88b40000-88be0000 rwxp 88b40000 00:00 0 
+88be0000-89020000 rwxp 88be0000 00:00 0 
+89020000-89241000 rwxp 89020000 00:00 0 
+89241000-8cb40000 rwxp 89241000 00:00 0 
+8cb40000-8d340000 rwxp 8cb40000 00:00 0 
+8d340000-90b40000 rwxp 8d340000 00:00 0 
+90b40000-910c0000 r-xs 00001000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+910c0000-91340000 rwxp 910c0000 00:00 0 
+91340000-9190b000 rwxp 00581000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+9190b000-91f40000 rwxp 9190b000 00:00 0 
+91f40000-92010000 rwxp 00b4c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92010000-92340000 rwxp 92010000 00:00 0 
+92340000-92344000 r-xs 00c1c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92344000-92740000 rwxp 92344000 00:00 0 
+b160c000-b1631000 r-xp 00000000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b1631000-b1633000 rwxp 00025000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b1633000-b1634000 rwxp b1633000 00:00 0 
+b1634000-b164a000 r-xp 00000000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b164a000-b164b000 rwxp 00016000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b164b000-b167f000 r-xp 00000000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b167f000-b1688000 rwxp 00033000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b1688000-b168e000 r-xp 00000000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b168e000-b168f000 rwxp 00005000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b16a1000-b16a3000 r-xp 00000000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b16a3000-b16a4000 rwxp 00002000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b16a4000-b16a7000 --xp b16a4000 00:00 0 
+b16a7000-b1725000 rwxp b16a7000 00:00 0 
+b1725000-b1728000 --xp b1725000 00:00 0 
+b1728000-b17a6000 rwxp b1728000 00:00 0 
+b17a6000-b1810000 r-xp 00000000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b1810000-b181a000 rwxp 00069000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b181a000-b181e000 rwxp b181a000 00:00 0 
+b181e000-b1821000 r-xs 00000000 03:04 11177891   /research/cc108/greenstone3Project/lib/jni/mgpp.jar
+b1821000-b1824000 r-xs 00000000 03:04 11177890   /research/cc108/greenstone3Project/lib/jni/mg.jar
+b1824000-b182a000 r-xs 00000000 03:04 11177881   /research/cc108/greenstone3Project/lib/jni/javagdbm.jar
+b182a000-b1950000 r-xs 00000000 03:04 824762     /research/cc108/greenstone3Project/web/WEB-INF/lib/xercesImpl.jar
+b1950000-b1995000 r-xs 00000000 03:04 824767     /research/cc108/greenstone3Project/web/WEB-INF/lib/mail.jar
+b1995000-b19c5000 r-xs 00000000 03:04 922338     /research/cc108/greenstone3Project/web/applet/xml-apis.jar
+b19c5000-b1a70000 r-xs 00000000 03:04 823556     /research/cc108/greenstone3Project/web/WEB-INF/lib/LuceneWrapper.jar
+b1a70000-b1abf000 r-xs 00000000 03:04 824760     /research/cc108/greenstone3Project/web/WEB-INF/lib/lucene-1.4.1.jar
+b1abf000-b1b16000 r-xs 00000000 03:04 822971     /research/cc108/greenstone3Project/web/WEB-INF/lib/log4j-1.2.8.jar
+b1b16000-b1c3f000 r-xs 00000000 00:12 10701459   /home/cc108/jFreeChart/lib/jfreechart-1.0.6.jar
+b1c3f000-b1c8c000 r-xs 00000000 00:12 10701456   /home/cc108/jFreeChart/lib/jcommon-1.0.10.jar
+b1c8c000-b1c94000 r-xs 00000000 03:04 823023     /research/cc108/greenstone3Project/web/WEB-INF/lib/jaxrpc.jar
+b1c94000-b1e1c000 r-xs 00000000 03:04 823122     /research/cc108/greenstone3Project/web/WEB-INF/lib/axis.jar
+b1e1c000-b1e7e000 r-xs 00000000 03:04 823605     /research/cc108/greenstone3Project/web/WEB-INF/lib/gsdl3.jar
+b1e7e000-b1eac000 r-xp 00000000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1eac000-b1eaf000 rwxp 0002e000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1eaf000-b1eb0000 rwxp b1eaf000 00:00 0 
+b1eb0000-b1f76000 r-xp 00000000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1f76000-b1f77000 rwxp 000c5000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1f77000-b1fd7000 r-xp 00000000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b1fd7000-b1fdd000 rwxp 0005f000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b1fdd000-b2001000 rwxp b1fdd000 00:00 0 
+b2001000-b20c6000 r-xs 00000000 03:03 6669015    /opt/jdk1.5.0_10/jre/lib/ext/localedata.jar
+b20c6000-b20c8000 r-xs 00000000 03:03 6669016    /opt/jdk1.5.0_10/jre/lib/ext/dnsns.jar
+b20c8000-b20f3000 r-xs 00000000 03:03 6669017    /opt/jdk1.5.0_10/jre/lib/ext/sunpkcs11.jar
+b20f3000-b211a000 r-xs 00000000 03:03 6669014    /opt/jdk1.5.0_10/jre/lib/ext/sunjce_provider.jar
+b211a000-b211b000 --xp b211a000 00:00 0 
+b211b000-b219b000 rwxp b211b000 00:00 0 
+b219b000-b219e000 --xp b219b000 00:00 0 
+b219e000-b221c000 rwxp b219e000 00:00 0 
+b221c000-b221f000 --xp b221c000 00:00 0 
+b221f000-b229d000 rwxp b221f000 00:00 0 
+b229d000-b22a0000 --xp b229d000 00:00 0 
+b22a0000-b231e000 rwxp b22a0000 00:00 0 
+b231e000-b251e000 r-xp 00000000 03:03 4773667    /usr/lib/locale/locale-archive
+b251e000-b2521000 --xp b251e000 00:00 0 
+b2521000-b259f000 rwxp b2521000 00:00 0 
+b259f000-b25a2000 --xp b259f000 00:00 0 
+b25a2000-b2620000 rwxp b25a2000 00:00 0 
+b2620000-b2621000 --xp b2620000 00:00 0 
+b2621000-b26ad000 rwxp b2621000 00:00 0 
+b26ad000-b26c9000 rwxp b26ad000 00:00 0 
+b26c9000-b26cb000 rwxp b26c9000 00:00 0 
+b26cb000-b26e7000 rwxp b26cb000 00:00 0 
+b26e7000-b26e8000 rwxp b26e7000 00:00 0 
+b26e8000-b26e9000 rwxp b26e8000 00:00 0 
+b26e9000-b26eb000 rwxp b26e9000 00:00 0 
+b26eb000-b2707000 rwxp b26eb000 00:00 0 
+b2707000-b270b000 rwxp b2707000 00:00 0 
+b270b000-b2727000 rwxp b270b000 00:00 0 
+b2727000-b2736000 rwxp b2727000 00:00 0 
+b2736000-b27b2000 rwxp b2736000 00:00 0 
+b27b2000-b289a000 rwxp b27b2000 00:00 0 
+b289a000-b47b2000 rwxp b289a000 00:00 0 
+b47b2000-b5021000 r-xs 00000000 03:03 6668968    /opt/jdk1.5.0_10/jre/lib/charsets.jar
+b5021000-b5036000 r-xs 00000000 03:03 6668987    /opt/jdk1.5.0_10/jre/lib/jce.jar
+b5036000-b50bb000 r-xs 00000000 03:03 6668837    /opt/jdk1.5.0_10/jre/lib/jsse.jar
+b50bb000-b5124000 rwxp b50bb000 00:00 0 
+b5124000-b7732000 r-xs 00000000 03:03 6668836    /opt/jdk1.5.0_10/jre/lib/rt.jar
+b7732000-b7741000 r-xp 00000000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b7741000-b7743000 rwxp 0000e000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b7743000-b7764000 r-xp 00000000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b7764000-b7766000 rwxp 00020000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b7766000-b776d000 r-xp 00000000 03:03 5129541    /lib/libnss_compat-2.5.so
+b776d000-b776e000 r-xp 00006000 03:03 5129541    /lib/libnss_compat-2.5.so
+b776e000-b776f000 rwxp 00007000 03:03 5129541    /lib/libnss_compat-2.5.so
+b776f000-b7770000 r-xs 00000000 03:04 11177901   /research/cc108/greenstone3Project/lib/jni/cp.jar
+b7770000-b7775000 rwxp b7770000 00:00 0 
+b7775000-b7780000 r-xp 00000000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b7780000-b7781000 rwxp 0000b000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b7781000-b7aee000 r-xp 00000000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7aee000-b7b0c000 rwxp 0036c000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b0c000-b7f25000 rwxp b7b0c000 00:00 0 
+b7f25000-b7f26000 r-xp 02aea000 03:03 4773667    /usr/lib/locale/locale-archive
+b7f26000-b7f2e000 rwxs 00000000 03:03 4151855    /tmp/hsperfdata_cc108/11424
+b7f2e000-b7f34000 r-xp 00000000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f34000-b7f35000 rwxp 00006000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f35000-b7f36000 rwxp b7f35000 00:00 0 
+b7f36000-b7f37000 r-xp b7f36000 00:00 0 
+b7f37000-b7f38000 r-xp b7f37000 00:00 0          [vdso]
+bf932000-bf935000 --xp bf932000 00:00 0 
+bf935000-bfb32000 rwxp bf935000 00:00 0          [stack]
+
+VM Arguments:
+jvm_args: -Djava.library.path=/research/cc108/greenstone3Project/lib/jni
+java_command: org.greenstone3.ms.collectionChooser
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=/opt/jdk1.5.0_10
+JRE_HOME=/opt/jdk1.5.0_10/jre
+PATH=/home/cc108/bin:/opt/jdk1.5.0_10:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
+USERNAME=cc108
+LD_LIBRARY_PATH=/opt/jdk1.5.0_10/jre/lib/i386/client:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386:/usr/lib/firefox-1.5.0.12
+SHELL=/bin/bash
+DISPLAY=:0.0
+
+Signal Handlers:
+SIGSEGV: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGBUS: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGFPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGPIPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGILL: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
+SIGUSR2: [libjvm.so+0x28ce60], sa_mask[0]=0x00000000, sa_flags=0x10000004
+SIGHUP: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGINT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGQUIT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGTERM: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Fedora Core release 6 (Zod)
+
+uname:Linux 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 12:34:26 EDT 2007 i686
+libc:glibc 2.5 NPTL 2.5 
+rlimit: STACK 10240k, CORE 0k, NPROC 16383, NOFILE 1024, AS infinity
+load average:0.17 0.11 0.14
+
+CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
+
+Memory: 4k page, physical 1034780k(57224k free), swap 2000084k(1914120k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0_10-b03) for linux-x86, built on Nov  9 2006 14:22:56 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid22986.log
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid22986.log	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid22986.log	(revision 17156)
@@ -0,0 +1,342 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  SIGSEGV (0xb) at pc=0x53e58955, pid=22986, tid=3086649024
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
+# Problematic frame:
+# C  0x53e58955
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x092a2b18):  JavaThread "main" [_thread_in_native, id=22986]
+
+siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x53e58955
+
+Registers:
+EAX=0x00db01b0, EBX=0xb16b61d0, ECX=0xb23c6fd8, EDX=0x0023d380
+ESP=0xbfd98dac, EBP=0xbfd98dd8, ESI=0x096da3c0, EDI=0x096da3c0
+EIP=0x53e58955, CR2=0x53e58955, EFLAGS=0x00210206
+
+Top of Stack: (sp=0xbfd98dac)
+0xbfd98dac:   b169ba92 096da3c0 00000018 b16ae18f
+0xbfd98dbc:   096da3c0 00000001 096da3dc b169b99b
+0xbfd98dcc:   b16b61d0 b16ae18f b169b540 bfd98e08
+0xbfd98ddc:   b169bbd1 b16ae174 b16adbc2 b169b540
+0xbfd98dec:   092a2bd8 bfd98e38 b16adbc2 b169bb7b
+0xbfd98dfc:   b16b61d0 096da3a0 092a2bd8 bfd98e38
+0xbfd98e0c:   b16975cc 092a2bd8 bfd98e74 00000042
+0xbfd98e1c:   096da3a0 bfd98e94 8cccf6b8 b169754b 
+
+Instructions: (pc=0x53e58955)
+0x53e58945:   
+[error occurred during error reporting, step 100, id 0xb]
+
+Stack: [0xbfb9f000,0xbfd9f000),  sp=0xbfd98dac,  free space=2023k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  0x53e58955
+C  [libmgsearchjni.so+0xabd1]  InitEnv+0x61
+C  [libmgsearchjni.so+0x65cc]  Java_org_greenstone_mg_MGSearchWrapper_initCSide+0x8c
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x2b5acc]
+V  [libjvm.so+0x2b8a50]
+V  [libjvm.so+0x1ef248]
+C  [libjava.so+0x137ad]  Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0+0x2d
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+311
+j  org.greenstone3.ms.collectionChooser.<init>()V+14
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x1a55f2]
+V  [libjvm.so+0x196802]
+C  [java+0x1873]
+C  [libc.so.6+0x15dec]  __libc_start_main+0xdc
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+311
+j  org.greenstone3.ms.collectionChooser.<init>()V+14
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x096879e8 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=23000]
+  0x09678d10 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=22999]
+  0x092eae98 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=22997]
+  0x092e9988 JavaThread "CompilerThread0" daemon [_thread_blocked, id=22996]
+  0x092e8988 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=22995]
+  0x092e2da8 JavaThread "Finalizer" daemon [_thread_blocked, id=22994]
+  0x092e0f20 JavaThread "Reference Handler" daemon [_thread_blocked, id=22993]
+=>0x092a2b18 JavaThread "main" [_thread_in_native, id=22986]
+
+Other Threads:
+  0x092de380 VMThread [id=22992]
+  0x092ec460 WatcherThread [id=22998]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 576K, used 27K [0x88b40000, 0x88be0000, 0x89020000)
+  eden space 512K,   5% used [0x88b40000, 0x88b46c88, 0x88bc0000)
+  from space 64K,   0% used [0x88bc0000, 0x88bc0000, 0x88bd0000)
+  to   space 64K,   0% used [0x88bd0000, 0x88bd0000, 0x88be0000)
+ tenured generation   total 2176K, used 1304K [0x89020000, 0x89240000, 0x8cb40000)
+   the space 2176K,  59% used [0x89020000, 0x891663b0, 0x89166400, 0x89240000)
+ compacting perm gen  total 8192K, used 1603K [0x8cb40000, 0x8d340000, 0x90b40000)
+   the space 8192K,  19% used [0x8cb40000, 0x8ccd0ff0, 0x8ccd1000, 0x8d340000)
+    ro space 8192K,  68% used [0x90b40000, 0x910bf220, 0x910bf400, 0x91340000)
+    rw space 12288K,  48% used [0x91340000, 0x9190a968, 0x9190aa00, 0x91f40000)
+
+Dynamic libraries:
+00101000-0023b000 r-xp 00000000 03:03 5133208    /lib/libc-2.5.so
+0023b000-0023d000 r-xp 0013a000 03:03 5133208    /lib/libc-2.5.so
+0023d000-0023e000 rwxp 0013c000 03:03 5133208    /lib/libc-2.5.so
+0023e000-00241000 rwxp 0023e000 00:00 0 
+00243000-00341000 r-xp 00000000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00341000-00345000 rwxp 000fe000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00397000-003b0000 r-xp 00000000 03:03 5133207    /lib/ld-2.5.so
+003b0000-003b1000 r-xp 00019000 03:03 5133207    /lib/ld-2.5.so
+003b1000-003b2000 rwxp 0001a000 03:03 5133207    /lib/ld-2.5.so
+003b4000-003bd000 r-xp 00000000 03:03 5133232    /lib/libnss_files-2.5.so
+003bd000-003be000 r-xp 00008000 03:03 5133232    /lib/libnss_files-2.5.so
+003be000-003bf000 rwxp 00009000 03:03 5133232    /lib/libnss_files-2.5.so
+003c1000-003c9000 r-xp 00000000 03:03 5133235    /lib/libnss_nis-2.5.so
+003c9000-003ca000 r-xp 00007000 03:03 5133235    /lib/libnss_nis-2.5.so
+003ca000-003cb000 rwxp 00008000 03:03 5133235    /lib/libnss_nis-2.5.so
+0042e000-00441000 r-xp 00000000 03:03 5133221    /lib/libnsl-2.5.so
+00441000-00442000 r-xp 00012000 03:03 5133221    /lib/libnsl-2.5.so
+00442000-00443000 rwxp 00013000 03:03 5133221    /lib/libnsl-2.5.so
+00443000-00445000 rwxp 00443000 00:00 0 
+00d66000-00d8b000 r-xp 00000000 03:03 5133213    /lib/libm-2.5.so
+00d8b000-00d8c000 r-xp 00024000 03:03 5133213    /lib/libm-2.5.so
+00d8c000-00d8d000 rwxp 00025000 03:03 5133213    /lib/libm-2.5.so
+00d8f000-00d91000 r-xp 00000000 03:03 5133209    /lib/libdl-2.5.so
+00d91000-00d92000 r-xp 00001000 03:03 5133209    /lib/libdl-2.5.so
+00d92000-00d93000 rwxp 00002000 03:03 5133209    /lib/libdl-2.5.so
+00daa000-00dac000 r-xp 00000000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00dac000-00dad000 rwxp 00001000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00daf000-00db4000 r-xp 00000000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db4000-00db5000 rwxp 00004000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db7000-00dca000 r-xp 00000000 03:03 5133215    /lib/libpthread-2.5.so
+00dca000-00dcb000 r-xp 00012000 03:03 5133215    /lib/libpthread-2.5.so
+00dcb000-00dcc000 rwxp 00013000 03:03 5133215    /lib/libpthread-2.5.so
+00dcc000-00dce000 rwxp 00dcc000 00:00 0 
+00dd0000-00ddf000 r-xp 00000000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00ddf000-00de0000 rwxp 0000e000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00de2000-00dea000 r-xp 00000000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00dea000-00deb000 rwxp 00007000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00ded000-00df1000 r-xp 00000000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+00df1000-00df2000 rwxp 00003000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+06321000-0632a000 r-xp 00000000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0632a000-0632b000 rwxp 00008000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0640e000-06419000 r-xp 00000000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06419000-0641a000 rwxp 0000a000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06443000-06523000 r-xp 00000000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06523000-06527000 r-xp 000df000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06527000-06528000 rwxp 000e3000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06528000-0652e000 rwxp 06528000 00:00 0 
+070b3000-070b8000 r-xp 00000000 03:03 5129595    /lib/libcrypt-2.5.so
+070b8000-070b9000 r-xp 00004000 03:03 5129595    /lib/libcrypt-2.5.so
+070b9000-070ba000 rwxp 00005000 03:03 5129595    /lib/libcrypt-2.5.so
+070ba000-070e1000 rwxp 070ba000 00:00 0 
+08048000-08057000 r-xp 00000000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08057000-08059000 rwxp 0000e000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+0929d000-09704000 rwxp 0929d000 00:00 0 
+88b40000-88be0000 rwxp 88b40000 00:00 0 
+88be0000-89020000 rwxp 88be0000 00:00 0 
+89020000-89240000 rwxp 89020000 00:00 0 
+89240000-8cb40000 rwxp 89240000 00:00 0 
+8cb40000-8d340000 rwxp 8cb40000 00:00 0 
+8d340000-90b40000 rwxp 8d340000 00:00 0 
+90b40000-910c0000 r-xs 00001000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+910c0000-91340000 rwxp 910c0000 00:00 0 
+91340000-9190b000 rwxp 00581000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+9190b000-91f40000 rwxp 9190b000 00:00 0 
+91f40000-92010000 rwxp 00b4c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92010000-92340000 rwxp 92010000 00:00 0 
+92340000-92344000 r-xs 00c1c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92344000-92740000 rwxp 92344000 00:00 0 
+b1691000-b16b6000 r-xp 00000000 03:04 729555     /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b16b6000-b16b8000 rwxp 00025000 03:04 729555     /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b16b8000-b16b9000 rwxp b16b8000 00:00 0 
+b16b9000-b16cf000 r-xp 00000000 03:04 729557     /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b16cf000-b16d0000 rwxp 00016000 03:04 729557     /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b16d0000-b1704000 r-xp 00000000 03:04 729558     /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b1704000-b170d000 rwxp 00033000 03:04 729558     /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b170d000-b1713000 r-xp 00000000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b1713000-b1714000 rwxp 00005000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b1726000-b1728000 r-xp 00000000 03:04 729550     /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b1728000-b1729000 rwxp 00002000 03:04 729550     /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b1729000-b172c000 --xp b1729000 00:00 0 
+b172c000-b17aa000 rwxp b172c000 00:00 0 
+b17aa000-b17ad000 --xp b17aa000 00:00 0 
+b17ad000-b182b000 rwxp b17ad000 00:00 0 
+b182b000-b1895000 r-xp 00000000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b1895000-b189f000 rwxp 00069000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b189f000-b18a3000 rwxp b189f000 00:00 0 
+b18a3000-b18a6000 r-xs 00000000 03:04 729553     /research/cc108/greenstone3Project/lib/jni/mgpp.jar
+b18a6000-b18a9000 r-xs 00000000 03:04 729552     /research/cc108/greenstone3Project/lib/jni/mg.jar
+b18a9000-b18af000 r-xs 00000000 03:04 729551     /research/cc108/greenstone3Project/lib/jni/javagdbm.jar
+b18af000-b19d5000 r-xs 00000000 03:04 984824     /research/cc108/greenstone3Project/web/WEB-INF/lib/xercesImpl.jar
+b19d5000-b1a1a000 r-xs 00000000 03:04 984829     /research/cc108/greenstone3Project/web/WEB-INF/lib/mail.jar
+b1a1a000-b1a4a000 r-xs 00000000 03:04 1021640    /research/cc108/greenstone3Project/web/applet/xml-apis.jar
+b1a4a000-b1af5000 r-xs 00000000 03:04 983920     /research/cc108/greenstone3Project/web/WEB-INF/lib/LuceneWrapper.jar
+b1af5000-b1b44000 r-xs 00000000 03:04 984822     /research/cc108/greenstone3Project/web/WEB-INF/lib/lucene-1.4.1.jar
+b1b44000-b1b9b000 r-xs 00000000 03:04 983537     /research/cc108/greenstone3Project/web/WEB-INF/lib/log4j-1.2.8.jar
+b1b9b000-b1cc4000 r-xs 00000000 00:12 10701459   /home/cc108/jFreeChart/lib/jfreechart-1.0.6.jar
+b1cc4000-b1d11000 r-xs 00000000 00:12 10701456   /home/cc108/jFreeChart/lib/jcommon-1.0.10.jar
+b1d11000-b1d19000 r-xs 00000000 03:04 983549     /research/cc108/greenstone3Project/web/WEB-INF/lib/jaxrpc.jar
+b1d19000-b1ea1000 r-xs 00000000 03:04 983569     /research/cc108/greenstone3Project/web/WEB-INF/lib/axis.jar
+b1ea1000-b1f03000 r-xs 00000000 03:04 983969     /research/cc108/greenstone3Project/web/WEB-INF/lib/gsdl3.jar
+b1f03000-b1f31000 r-xp 00000000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1f31000-b1f34000 rwxp 0002e000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1f34000-b1f35000 rwxp b1f34000 00:00 0 
+b1f35000-b1ffb000 r-xp 00000000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1ffb000-b1ffc000 rwxp 000c5000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1ffc000-b205c000 r-xp 00000000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b205c000-b2062000 rwxp 0005f000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b2062000-b2086000 rwxp b2062000 00:00 0 
+b2086000-b214b000 r-xs 00000000 03:03 6669015    /opt/jdk1.5.0_10/jre/lib/ext/localedata.jar
+b214b000-b214d000 r-xs 00000000 03:03 6669016    /opt/jdk1.5.0_10/jre/lib/ext/dnsns.jar
+b214d000-b2178000 r-xs 00000000 03:03 6669017    /opt/jdk1.5.0_10/jre/lib/ext/sunpkcs11.jar
+b2178000-b219f000 r-xs 00000000 03:03 6669014    /opt/jdk1.5.0_10/jre/lib/ext/sunjce_provider.jar
+b219f000-b21a0000 --xp b219f000 00:00 0 
+b21a0000-b2220000 rwxp b21a0000 00:00 0 
+b2220000-b2223000 --xp b2220000 00:00 0 
+b2223000-b22a1000 rwxp b2223000 00:00 0 
+b22a1000-b22a4000 --xp b22a1000 00:00 0 
+b22a4000-b2322000 rwxp b22a4000 00:00 0 
+b2322000-b2325000 --xp b2322000 00:00 0 
+b2325000-b23a3000 rwxp b2325000 00:00 0 
+b23a3000-b25a3000 r-xp 00000000 03:03 4773667    /usr/lib/locale/locale-archive
+b25a3000-b25a6000 --xp b25a3000 00:00 0 
+b25a6000-b2624000 rwxp b25a6000 00:00 0 
+b2624000-b2627000 --xp b2624000 00:00 0 
+b2627000-b26a5000 rwxp b2627000 00:00 0 
+b26a5000-b26a6000 --xp b26a5000 00:00 0 
+b26a6000-b2732000 rwxp b26a6000 00:00 0 
+b2732000-b274e000 rwxp b2732000 00:00 0 
+b274e000-b2750000 rwxp b274e000 00:00 0 
+b2750000-b276c000 rwxp b2750000 00:00 0 
+b276c000-b276d000 rwxp b276c000 00:00 0 
+b276d000-b276e000 rwxp b276d000 00:00 0 
+b276e000-b2770000 rwxp b276e000 00:00 0 
+b2770000-b278c000 rwxp b2770000 00:00 0 
+b278c000-b2790000 rwxp b278c000 00:00 0 
+b2790000-b27ac000 rwxp b2790000 00:00 0 
+b27ac000-b27bb000 rwxp b27ac000 00:00 0 
+b27bb000-b2837000 rwxp b27bb000 00:00 0 
+b2837000-b2927000 rwxp b2837000 00:00 0 
+b2927000-b4837000 rwxp b2927000 00:00 0 
+b4837000-b50a6000 r-xs 00000000 03:03 6668968    /opt/jdk1.5.0_10/jre/lib/charsets.jar
+b50a6000-b50bb000 r-xs 00000000 03:03 6668987    /opt/jdk1.5.0_10/jre/lib/jce.jar
+b50bb000-b5140000 r-xs 00000000 03:03 6668837    /opt/jdk1.5.0_10/jre/lib/jsse.jar
+b5140000-b51a9000 rwxp b5140000 00:00 0 
+b51a9000-b77b7000 r-xs 00000000 03:03 6668836    /opt/jdk1.5.0_10/jre/lib/rt.jar
+b77b7000-b77c6000 r-xp 00000000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b77c6000-b77c8000 rwxp 0000e000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b77c8000-b77e9000 r-xp 00000000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b77e9000-b77eb000 rwxp 00020000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b77eb000-b77f2000 r-xp 00000000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77f2000-b77f3000 r-xp 00006000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77f3000-b77f4000 rwxp 00007000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77f4000-b77f5000 r-xs 00000000 03:04 856426     /research/cc108/greenstone3Project/lib/jni/cp.jar
+b77f5000-b77fa000 rwxp b77f5000 00:00 0 
+b77fa000-b7805000 r-xp 00000000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b7805000-b7806000 rwxp 0000b000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b7806000-b7b73000 r-xp 00000000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b73000-b7b91000 rwxp 0036c000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b91000-b7faa000 rwxp b7b91000 00:00 0 
+b7faa000-b7fab000 r-xp 02aea000 03:03 4773667    /usr/lib/locale/locale-archive
+b7fab000-b7fb3000 rwxs 00000000 03:03 4151855    /tmp/hsperfdata_cc108/22986
+b7fb3000-b7fb9000 r-xp 00000000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7fb9000-b7fba000 rwxp 00006000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7fba000-b7fbb000 rwxp b7fba000 00:00 0 
+b7fbb000-b7fbc000 r-xp b7fbb000 00:00 0 
+b7fbc000-b7fbd000 r-xp b7fbc000 00:00 0          [vdso]
+bfb9f000-bfba2000 --xp bfb9f000 00:00 0 
+bfba2000-bfd9f000 rwxp bfba2000 00:00 0          [stack]
+
+VM Arguments:
+jvm_args: -Djava.library.path=/research/cc108/greenstone3Project/lib/jni
+java_command: org.greenstone3.ms.collectionChooser
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=/opt/jdk1.5.0_10
+JRE_HOME=/opt/jdk1.5.0_10/jre
+PATH=/home/cc108/bin:/opt/jdk1.5.0_10:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
+USERNAME=cc108
+LD_LIBRARY_PATH=/opt/jdk1.5.0_10/jre/lib/i386/client:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386:/usr/lib/firefox-1.5.0.12
+SHELL=/bin/bash
+DISPLAY=:0.0
+
+Signal Handlers:
+SIGSEGV: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGBUS: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGFPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGPIPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGILL: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
+SIGUSR2: [libjvm.so+0x28ce60], sa_mask[0]=0x00000000, sa_flags=0x10000004
+SIGHUP: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGINT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGQUIT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGTERM: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Fedora Core release 6 (Zod)
+
+uname:Linux 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 12:34:26 EDT 2007 i686
+libc:glibc 2.5 NPTL 2.5 
+rlimit: STACK 10240k, CORE 0k, NPROC 16383, NOFILE 1024, AS infinity
+load average:0.35 0.66 0.71
+
+CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
+
+Memory: 4k page, physical 1034780k(75812k free), swap 2000084k(1804508k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0_10-b03) for linux-x86, built on Nov  9 2006 14:22:56 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid9180.log
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid9180.log	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid9180.log	(revision 17156)
@@ -0,0 +1,342 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  SIGSEGV (0xb) at pc=0x53e58955, pid=9180, tid=3086354112
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
+# Problematic frame:
+# C  0x53e58955
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x09484bb8):  JavaThread "main" [_thread_in_native, id=9180]
+
+siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x53e58955
+
+Registers:
+EAX=0x00db01b0, EBX=0xb166e1d0, ECX=0xb237efd8, EDX=0x0023d380
+ESP=0xbfb6ac9c, EBP=0xbfb6acc8, ESI=0x098bf658, EDI=0x098bf658
+EIP=0x53e58955, CR2=0x53e58955, EFLAGS=0x00210202
+
+Top of Stack: (sp=0xbfb6ac9c)
+0xbfb6ac9c:   b1653a92 098bf658 00000018 b166618f
+0xbfb6acac:   098bf658 00000001 098bf194 b165399b
+0xbfb6acbc:   b166e1d0 b166618f b1653540 bfb6acf8
+0xbfb6accc:   b1653bd1 b1666174 b1665bc2 b1653540
+0xbfb6acdc:   09484c78 bfb6ad28 b1665bc2 b1653b7b
+0xbfb6acec:   b166e1d0 098bf638 09484c78 bfb6ad28
+0xbfb6acfc:   b164f5cc 09484c78 bfb6ad64 00000042
+0xbfb6ad0c:   098bf638 bfb6ad84 8cccf168 b164f54b 
+
+Instructions: (pc=0x53e58955)
+0x53e58945:   
+[error occurred during error reporting, step 100, id 0xb]
+
+Stack: [0xbf971000,0xbfb71000),  sp=0xbfb6ac9c,  free space=2023k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  0x53e58955
+C  [libmgsearchjni.so+0xabd1]  InitEnv+0x61
+C  [libmgsearchjni.so+0x65cc]  Java_org_greenstone_mg_MGSearchWrapper_initCSide+0x8c
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x2b5acc]
+V  [libjvm.so+0x2b8a50]
+V  [libjvm.so+0x1ef248]
+C  [libjava.so+0x137ad]  Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0+0x2d
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+234
+j  org.greenstone3.ms.collectionChooser.<init>()V+22
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x1a55f2]
+V  [libjvm.so+0x196802]
+C  [java+0x1873]
+C  [libc.so.6+0x15dec]  __libc_start_main+0xdc
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+234
+j  org.greenstone3.ms.collectionChooser.<init>()V+22
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x09868910 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=9194]
+  0x09859c38 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=9193]
+  0x094ccf38 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=9191]
+  0x094cba28 JavaThread "CompilerThread0" daemon [_thread_blocked, id=9190]
+  0x094caa28 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=9189]
+  0x094c4e48 JavaThread "Finalizer" daemon [_thread_blocked, id=9188]
+  0x094c2fc0 JavaThread "Reference Handler" daemon [_thread_blocked, id=9187]
+=>0x09484bb8 JavaThread "main" [_thread_in_native, id=9180]
+
+Other Threads:
+  0x094c0420 VMThread [id=9186]
+  0x094ce500 WatcherThread [id=9192]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 576K, used 40K [0x88b40000, 0x88be0000, 0x89020000)
+  eden space 512K,   8% used [0x88b40000, 0x88b4a3f0, 0x88bc0000)
+  from space 64K,   0% used [0x88bc0000, 0x88bc0000, 0x88bd0000)
+  to   space 64K,   0% used [0x88bd0000, 0x88bd0000, 0x88be0000)
+ tenured generation   total 2344K, used 1404K [0x89020000, 0x8926a000, 0x8cb40000)
+   the space 2344K,  59% used [0x89020000, 0x8917f290, 0x8917f400, 0x8926a000)
+ compacting perm gen  total 8192K, used 1602K [0x8cb40000, 0x8d340000, 0x90b40000)
+   the space 8192K,  19% used [0x8cb40000, 0x8ccd0aa0, 0x8ccd0c00, 0x8d340000)
+    ro space 8192K,  68% used [0x90b40000, 0x910bf220, 0x910bf400, 0x91340000)
+    rw space 12288K,  48% used [0x91340000, 0x9190a968, 0x9190aa00, 0x91f40000)
+
+Dynamic libraries:
+00101000-0023b000 r-xp 00000000 03:03 5133208    /lib/libc-2.5.so
+0023b000-0023d000 r-xp 0013a000 03:03 5133208    /lib/libc-2.5.so
+0023d000-0023e000 rwxp 0013c000 03:03 5133208    /lib/libc-2.5.so
+0023e000-00241000 rwxp 0023e000 00:00 0 
+00243000-00341000 r-xp 00000000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00341000-00345000 rwxp 000fe000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00397000-003b0000 r-xp 00000000 03:03 5133207    /lib/ld-2.5.so
+003b0000-003b1000 r-xp 00019000 03:03 5133207    /lib/ld-2.5.so
+003b1000-003b2000 rwxp 0001a000 03:03 5133207    /lib/ld-2.5.so
+003b4000-003bd000 r-xp 00000000 03:03 5133232    /lib/libnss_files-2.5.so
+003bd000-003be000 r-xp 00008000 03:03 5133232    /lib/libnss_files-2.5.so
+003be000-003bf000 rwxp 00009000 03:03 5133232    /lib/libnss_files-2.5.so
+003c1000-003c9000 r-xp 00000000 03:03 5133235    /lib/libnss_nis-2.5.so
+003c9000-003ca000 r-xp 00007000 03:03 5133235    /lib/libnss_nis-2.5.so
+003ca000-003cb000 rwxp 00008000 03:03 5133235    /lib/libnss_nis-2.5.so
+0042e000-00441000 r-xp 00000000 03:03 5133221    /lib/libnsl-2.5.so
+00441000-00442000 r-xp 00012000 03:03 5133221    /lib/libnsl-2.5.so
+00442000-00443000 rwxp 00013000 03:03 5133221    /lib/libnsl-2.5.so
+00443000-00445000 rwxp 00443000 00:00 0 
+00d66000-00d8b000 r-xp 00000000 03:03 5133213    /lib/libm-2.5.so
+00d8b000-00d8c000 r-xp 00024000 03:03 5133213    /lib/libm-2.5.so
+00d8c000-00d8d000 rwxp 00025000 03:03 5133213    /lib/libm-2.5.so
+00d8f000-00d91000 r-xp 00000000 03:03 5133209    /lib/libdl-2.5.so
+00d91000-00d92000 r-xp 00001000 03:03 5133209    /lib/libdl-2.5.so
+00d92000-00d93000 rwxp 00002000 03:03 5133209    /lib/libdl-2.5.so
+00daa000-00dac000 r-xp 00000000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00dac000-00dad000 rwxp 00001000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00daf000-00db4000 r-xp 00000000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db4000-00db5000 rwxp 00004000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db7000-00dca000 r-xp 00000000 03:03 5133215    /lib/libpthread-2.5.so
+00dca000-00dcb000 r-xp 00012000 03:03 5133215    /lib/libpthread-2.5.so
+00dcb000-00dcc000 rwxp 00013000 03:03 5133215    /lib/libpthread-2.5.so
+00dcc000-00dce000 rwxp 00dcc000 00:00 0 
+00dd0000-00ddf000 r-xp 00000000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00ddf000-00de0000 rwxp 0000e000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00de2000-00dea000 r-xp 00000000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00dea000-00deb000 rwxp 00007000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00ded000-00df1000 r-xp 00000000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+00df1000-00df2000 rwxp 00003000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+06321000-0632a000 r-xp 00000000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0632a000-0632b000 rwxp 00008000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0640e000-06419000 r-xp 00000000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06419000-0641a000 rwxp 0000a000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06443000-06523000 r-xp 00000000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06523000-06527000 r-xp 000df000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06527000-06528000 rwxp 000e3000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06528000-0652e000 rwxp 06528000 00:00 0 
+070b3000-070b8000 r-xp 00000000 03:03 5129595    /lib/libcrypt-2.5.so
+070b8000-070b9000 r-xp 00004000 03:03 5129595    /lib/libcrypt-2.5.so
+070b9000-070ba000 rwxp 00005000 03:03 5129595    /lib/libcrypt-2.5.so
+070ba000-070e1000 rwxp 070ba000 00:00 0 
+08048000-08057000 r-xp 00000000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08057000-08059000 rwxp 0000e000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+0947f000-098e7000 rwxp 0947f000 00:00 0 
+88b40000-88be0000 rwxp 88b40000 00:00 0 
+88be0000-89020000 rwxp 88be0000 00:00 0 
+89020000-8926a000 rwxp 89020000 00:00 0 
+8926a000-8cb40000 rwxp 8926a000 00:00 0 
+8cb40000-8d340000 rwxp 8cb40000 00:00 0 
+8d340000-90b40000 rwxp 8d340000 00:00 0 
+90b40000-910c0000 r-xs 00001000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+910c0000-91340000 rwxp 910c0000 00:00 0 
+91340000-9190b000 rwxp 00581000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+9190b000-91f40000 rwxp 9190b000 00:00 0 
+91f40000-92010000 rwxp 00b4c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92010000-92340000 rwxp 92010000 00:00 0 
+92340000-92344000 r-xs 00c1c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92344000-92740000 rwxp 92344000 00:00 0 
+b1649000-b166e000 r-xp 00000000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b166e000-b1670000 rwxp 00025000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b1670000-b1671000 rwxp b1670000 00:00 0 
+b1671000-b1687000 r-xp 00000000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b1687000-b1688000 rwxp 00016000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b1688000-b16bc000 r-xp 00000000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b16bc000-b16c5000 rwxp 00033000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b16c5000-b16cb000 r-xp 00000000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b16cb000-b16cc000 rwxp 00005000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b16de000-b16e0000 r-xp 00000000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b16e0000-b16e1000 rwxp 00002000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b16e1000-b16e4000 --xp b16e1000 00:00 0 
+b16e4000-b1762000 rwxp b16e4000 00:00 0 
+b1762000-b1765000 --xp b1762000 00:00 0 
+b1765000-b17e3000 rwxp b1765000 00:00 0 
+b17e3000-b184d000 r-xp 00000000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b184d000-b1857000 rwxp 00069000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b1857000-b185b000 rwxp b1857000 00:00 0 
+b185b000-b185e000 r-xs 00000000 03:04 11177891   /research/cc108/greenstone3Project/lib/jni/mgpp.jar
+b185e000-b1861000 r-xs 00000000 03:04 11177890   /research/cc108/greenstone3Project/lib/jni/mg.jar
+b1861000-b1867000 r-xs 00000000 03:04 11177881   /research/cc108/greenstone3Project/lib/jni/javagdbm.jar
+b1867000-b198d000 r-xs 00000000 03:04 824762     /research/cc108/greenstone3Project/web/WEB-INF/lib/xercesImpl.jar
+b198d000-b19d2000 r-xs 00000000 03:04 824767     /research/cc108/greenstone3Project/web/WEB-INF/lib/mail.jar
+b19d2000-b1a02000 r-xs 00000000 03:04 922338     /research/cc108/greenstone3Project/web/applet/xml-apis.jar
+b1a02000-b1aad000 r-xs 00000000 03:04 823556     /research/cc108/greenstone3Project/web/WEB-INF/lib/LuceneWrapper.jar
+b1aad000-b1afc000 r-xs 00000000 03:04 824760     /research/cc108/greenstone3Project/web/WEB-INF/lib/lucene-1.4.1.jar
+b1afc000-b1b53000 r-xs 00000000 03:04 822971     /research/cc108/greenstone3Project/web/WEB-INF/lib/log4j-1.2.8.jar
+b1b53000-b1c7c000 r-xs 00000000 00:12 10701459   /home/cc108/jFreeChart/lib/jfreechart-1.0.6.jar
+b1c7c000-b1cc9000 r-xs 00000000 00:12 10701456   /home/cc108/jFreeChart/lib/jcommon-1.0.10.jar
+b1cc9000-b1cd1000 r-xs 00000000 03:04 823023     /research/cc108/greenstone3Project/web/WEB-INF/lib/jaxrpc.jar
+b1cd1000-b1e59000 r-xs 00000000 03:04 823122     /research/cc108/greenstone3Project/web/WEB-INF/lib/axis.jar
+b1e59000-b1ebb000 r-xs 00000000 03:04 823577     /research/cc108/greenstone3Project/web/WEB-INF/lib/gsdl3.jar
+b1ebb000-b1ee9000 r-xp 00000000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1ee9000-b1eec000 rwxp 0002e000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1eec000-b1eed000 rwxp b1eec000 00:00 0 
+b1eed000-b1fb3000 r-xp 00000000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1fb3000-b1fb4000 rwxp 000c5000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1fb4000-b2014000 r-xp 00000000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b2014000-b201a000 rwxp 0005f000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b201a000-b203e000 rwxp b201a000 00:00 0 
+b203e000-b2103000 r-xs 00000000 03:03 6669015    /opt/jdk1.5.0_10/jre/lib/ext/localedata.jar
+b2103000-b2105000 r-xs 00000000 03:03 6669016    /opt/jdk1.5.0_10/jre/lib/ext/dnsns.jar
+b2105000-b2130000 r-xs 00000000 03:03 6669017    /opt/jdk1.5.0_10/jre/lib/ext/sunpkcs11.jar
+b2130000-b2157000 r-xs 00000000 03:03 6669014    /opt/jdk1.5.0_10/jre/lib/ext/sunjce_provider.jar
+b2157000-b2158000 --xp b2157000 00:00 0 
+b2158000-b21d8000 rwxp b2158000 00:00 0 
+b21d8000-b21db000 --xp b21d8000 00:00 0 
+b21db000-b2259000 rwxp b21db000 00:00 0 
+b2259000-b225c000 --xp b2259000 00:00 0 
+b225c000-b22da000 rwxp b225c000 00:00 0 
+b22da000-b22dd000 --xp b22da000 00:00 0 
+b22dd000-b235b000 rwxp b22dd000 00:00 0 
+b235b000-b255b000 r-xp 00000000 03:03 4773667    /usr/lib/locale/locale-archive
+b255b000-b255e000 --xp b255b000 00:00 0 
+b255e000-b25dc000 rwxp b255e000 00:00 0 
+b25dc000-b25df000 --xp b25dc000 00:00 0 
+b25df000-b265d000 rwxp b25df000 00:00 0 
+b265d000-b265e000 --xp b265d000 00:00 0 
+b265e000-b26ea000 rwxp b265e000 00:00 0 
+b26ea000-b2706000 rwxp b26ea000 00:00 0 
+b2706000-b2708000 rwxp b2706000 00:00 0 
+b2708000-b2724000 rwxp b2708000 00:00 0 
+b2724000-b2725000 rwxp b2724000 00:00 0 
+b2725000-b2726000 rwxp b2725000 00:00 0 
+b2726000-b2728000 rwxp b2726000 00:00 0 
+b2728000-b2744000 rwxp b2728000 00:00 0 
+b2744000-b2748000 rwxp b2744000 00:00 0 
+b2748000-b2764000 rwxp b2748000 00:00 0 
+b2764000-b2773000 rwxp b2764000 00:00 0 
+b2773000-b27ef000 rwxp b2773000 00:00 0 
+b27ef000-b28d7000 rwxp b27ef000 00:00 0 
+b28d7000-b47ef000 rwxp b28d7000 00:00 0 
+b47ef000-b505e000 r-xs 00000000 03:03 6668968    /opt/jdk1.5.0_10/jre/lib/charsets.jar
+b505e000-b5073000 r-xs 00000000 03:03 6668987    /opt/jdk1.5.0_10/jre/lib/jce.jar
+b5073000-b50f8000 r-xs 00000000 03:03 6668837    /opt/jdk1.5.0_10/jre/lib/jsse.jar
+b50f8000-b5161000 rwxp b50f8000 00:00 0 
+b5161000-b776f000 r-xs 00000000 03:03 6668836    /opt/jdk1.5.0_10/jre/lib/rt.jar
+b776f000-b777e000 r-xp 00000000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b777e000-b7780000 rwxp 0000e000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b7780000-b77a1000 r-xp 00000000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b77a1000-b77a3000 rwxp 00020000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b77a3000-b77aa000 r-xp 00000000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77aa000-b77ab000 r-xp 00006000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77ab000-b77ac000 rwxp 00007000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77ac000-b77ad000 r-xs 00000000 03:04 11177901   /research/cc108/greenstone3Project/lib/jni/cp.jar
+b77ad000-b77b2000 rwxp b77ad000 00:00 0 
+b77b2000-b77bd000 r-xp 00000000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b77bd000-b77be000 rwxp 0000b000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b77be000-b7b2b000 r-xp 00000000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b2b000-b7b49000 rwxp 0036c000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b49000-b7f62000 rwxp b7b49000 00:00 0 
+b7f62000-b7f63000 r-xp 02aea000 03:03 4773667    /usr/lib/locale/locale-archive
+b7f63000-b7f6b000 rwxs 00000000 03:03 4151845    /tmp/hsperfdata_cc108/9180
+b7f6b000-b7f71000 r-xp 00000000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f71000-b7f72000 rwxp 00006000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f72000-b7f73000 rwxp b7f72000 00:00 0 
+b7f73000-b7f74000 r-xp b7f73000 00:00 0 
+b7f74000-b7f75000 r-xp b7f74000 00:00 0          [vdso]
+bf971000-bf974000 --xp bf971000 00:00 0 
+bf974000-bfb71000 rwxp bf974000 00:00 0          [stack]
+
+VM Arguments:
+jvm_args: -Djava.library.path=/research/cc108/greenstone3Project/lib/jni -Djava.net.preferIPv4Stack=true
+java_command: org.greenstone3.ms.collectionChooser
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=/opt/jdk1.5.0_10
+JRE_HOME=/opt/jdk1.5.0_10/jre
+PATH=/home/cc108/bin:/opt/jdk1.5.0_10:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
+USERNAME=cc108
+LD_LIBRARY_PATH=/opt/jdk1.5.0_10/jre/lib/i386/client:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386:/usr/lib/firefox-1.5.0.12
+SHELL=/bin/bash
+DISPLAY=:0.0
+
+Signal Handlers:
+SIGSEGV: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGBUS: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGFPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGPIPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGILL: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
+SIGUSR2: [libjvm.so+0x28ce60], sa_mask[0]=0x00000000, sa_flags=0x10000004
+SIGHUP: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGINT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGQUIT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGTERM: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Fedora Core release 6 (Zod)
+
+uname:Linux 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 12:34:26 EDT 2007 i686
+libc:glibc 2.5 NPTL 2.5 
+rlimit: STACK 10240k, CORE 0k, NPROC 16383, NOFILE 1024, AS infinity
+load average:0.50 0.62 0.44
+
+CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
+
+Memory: 4k page, physical 1034780k(39728k free), swap 2000084k(1999372k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0_10-b03) for linux-x86, built on Nov  9 2006 14:22:56 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid9763.log
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid9763.log	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid9763.log	(revision 17156)
@@ -0,0 +1,342 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  SIGSEGV (0xb) at pc=0x53e58955, pid=9763, tid=3086079680
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
+# Problematic frame:
+# C  0x53e58955
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x085f1bb8):  JavaThread "main" [_thread_in_native, id=9763]
+
+siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x53e58955
+
+Registers:
+EAX=0x00db01b0, EBX=0xb162b1d0, ECX=0xb233bfd8, EDX=0x0023d380
+ESP=0xbfd9009c, EBP=0xbfd900c8, ESI=0x08a22018, EDI=0x08a22018
+EIP=0x53e58955, CR2=0x53e58955, EFLAGS=0x00210206
+
+Top of Stack: (sp=0xbfd9009c)
+0xbfd9009c:   b1610a92 08a22018 00000018 b162318f
+0xbfd900ac:   08a22018 00000001 08a22034 b161099b
+0xbfd900bc:   b162b1d0 b162318f b1610540 bfd900f8
+0xbfd900cc:   b1610bd1 b1623174 b1622bc2 b1610540
+0xbfd900dc:   085f1c78 bfd90128 b1622bc2 b1610b7b
+0xbfd900ec:   b162b1d0 08a21e50 085f1c78 bfd90128
+0xbfd900fc:   b160c5cc 085f1c78 bfd90164 00000042
+0xbfd9010c:   08a21e50 bfd90184 8cccf020 b160c54b 
+
+Instructions: (pc=0x53e58955)
+0x53e58945:   
+[error occurred during error reporting, step 100, id 0xb]
+
+Stack: [0xbfb94000,0xbfd94000),  sp=0xbfd9009c,  free space=2032k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  0x53e58955
+C  [libmgsearchjni.so+0xabd1]  InitEnv+0x61
+C  [libmgsearchjni.so+0x65cc]  Java_org_greenstone_mg_MGSearchWrapper_initCSide+0x8c
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x2b5acc]
+V  [libjvm.so+0x2b8a50]
+V  [libjvm.so+0x1ef248]
+C  [libjava.so+0x137ad]  Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0+0x2d
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+234
+j  org.greenstone3.ms.collectionChooser.<init>()V+22
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x1a55f2]
+V  [libjvm.so+0x196802]
+C  [java+0x1873]
+C  [libc.so.6+0x15dec]  __libc_start_main+0xdc
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+234
+j  org.greenstone3.ms.collectionChooser.<init>()V+22
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x089d6aa0 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=9776]
+  0x089c7dc8 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=9775]
+  0x08639f38 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=9773]
+  0x08638a28 JavaThread "CompilerThread0" daemon [_thread_blocked, id=9772]
+  0x08637a28 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=9771]
+  0x08631e48 JavaThread "Finalizer" daemon [_thread_blocked, id=9770]
+  0x0862ffc0 JavaThread "Reference Handler" daemon [_thread_blocked, id=9769]
+=>0x085f1bb8 JavaThread "main" [_thread_in_native, id=9763]
+
+Other Threads:
+  0x0862d420 VMThread [id=9768]
+  0x0863b500 WatcherThread [id=9774]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 576K, used 40K [0x88b40000, 0x88be0000, 0x89020000)
+  eden space 512K,   7% used [0x88b40000, 0x88b4a108, 0x88bc0000)
+  from space 64K,   0% used [0x88bc0000, 0x88bc0000, 0x88bd0000)
+  to   space 64K,   0% used [0x88bd0000, 0x88bd0000, 0x88be0000)
+ tenured generation   total 2292K, used 1374K [0x89020000, 0x8925d000, 0x8cb40000)
+   the space 2292K,  59% used [0x89020000, 0x89177960, 0x89177a00, 0x8925d000)
+ compacting perm gen  total 8192K, used 1602K [0x8cb40000, 0x8d340000, 0x90b40000)
+   the space 8192K,  19% used [0x8cb40000, 0x8ccd0958, 0x8ccd0a00, 0x8d340000)
+    ro space 8192K,  68% used [0x90b40000, 0x910bf220, 0x910bf400, 0x91340000)
+    rw space 12288K,  48% used [0x91340000, 0x9190a968, 0x9190aa00, 0x91f40000)
+
+Dynamic libraries:
+00101000-0023b000 r-xp 00000000 03:03 5133208    /lib/libc-2.5.so
+0023b000-0023d000 r-xp 0013a000 03:03 5133208    /lib/libc-2.5.so
+0023d000-0023e000 rwxp 0013c000 03:03 5133208    /lib/libc-2.5.so
+0023e000-00241000 rwxp 0023e000 00:00 0 
+00243000-00341000 r-xp 00000000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00341000-00345000 rwxp 000fe000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00397000-003b0000 r-xp 00000000 03:03 5133207    /lib/ld-2.5.so
+003b0000-003b1000 r-xp 00019000 03:03 5133207    /lib/ld-2.5.so
+003b1000-003b2000 rwxp 0001a000 03:03 5133207    /lib/ld-2.5.so
+003b4000-003bd000 r-xp 00000000 03:03 5133232    /lib/libnss_files-2.5.so
+003bd000-003be000 r-xp 00008000 03:03 5133232    /lib/libnss_files-2.5.so
+003be000-003bf000 rwxp 00009000 03:03 5133232    /lib/libnss_files-2.5.so
+003c1000-003c9000 r-xp 00000000 03:03 5133235    /lib/libnss_nis-2.5.so
+003c9000-003ca000 r-xp 00007000 03:03 5133235    /lib/libnss_nis-2.5.so
+003ca000-003cb000 rwxp 00008000 03:03 5133235    /lib/libnss_nis-2.5.so
+0042e000-00441000 r-xp 00000000 03:03 5133221    /lib/libnsl-2.5.so
+00441000-00442000 r-xp 00012000 03:03 5133221    /lib/libnsl-2.5.so
+00442000-00443000 rwxp 00013000 03:03 5133221    /lib/libnsl-2.5.so
+00443000-00445000 rwxp 00443000 00:00 0 
+00d66000-00d8b000 r-xp 00000000 03:03 5133213    /lib/libm-2.5.so
+00d8b000-00d8c000 r-xp 00024000 03:03 5133213    /lib/libm-2.5.so
+00d8c000-00d8d000 rwxp 00025000 03:03 5133213    /lib/libm-2.5.so
+00d8f000-00d91000 r-xp 00000000 03:03 5133209    /lib/libdl-2.5.so
+00d91000-00d92000 r-xp 00001000 03:03 5133209    /lib/libdl-2.5.so
+00d92000-00d93000 rwxp 00002000 03:03 5133209    /lib/libdl-2.5.so
+00daa000-00dac000 r-xp 00000000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00dac000-00dad000 rwxp 00001000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00daf000-00db4000 r-xp 00000000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db4000-00db5000 rwxp 00004000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db7000-00dca000 r-xp 00000000 03:03 5133215    /lib/libpthread-2.5.so
+00dca000-00dcb000 r-xp 00012000 03:03 5133215    /lib/libpthread-2.5.so
+00dcb000-00dcc000 rwxp 00013000 03:03 5133215    /lib/libpthread-2.5.so
+00dcc000-00dce000 rwxp 00dcc000 00:00 0 
+00dd0000-00ddf000 r-xp 00000000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00ddf000-00de0000 rwxp 0000e000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00de2000-00dea000 r-xp 00000000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00dea000-00deb000 rwxp 00007000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00ded000-00df1000 r-xp 00000000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+00df1000-00df2000 rwxp 00003000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+06321000-0632a000 r-xp 00000000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0632a000-0632b000 rwxp 00008000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0640e000-06419000 r-xp 00000000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06419000-0641a000 rwxp 0000a000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06443000-06523000 r-xp 00000000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06523000-06527000 r-xp 000df000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06527000-06528000 rwxp 000e3000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06528000-0652e000 rwxp 06528000 00:00 0 
+070b3000-070b8000 r-xp 00000000 03:03 5129595    /lib/libcrypt-2.5.so
+070b8000-070b9000 r-xp 00004000 03:03 5129595    /lib/libcrypt-2.5.so
+070b9000-070ba000 rwxp 00005000 03:03 5129595    /lib/libcrypt-2.5.so
+070ba000-070e1000 rwxp 070ba000 00:00 0 
+08048000-08057000 r-xp 00000000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08057000-08059000 rwxp 0000e000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+085ec000-08a53000 rwxp 085ec000 00:00 0 
+88b40000-88be0000 rwxp 88b40000 00:00 0 
+88be0000-89020000 rwxp 88be0000 00:00 0 
+89020000-8925d000 rwxp 89020000 00:00 0 
+8925d000-8cb40000 rwxp 8925d000 00:00 0 
+8cb40000-8d340000 rwxp 8cb40000 00:00 0 
+8d340000-90b40000 rwxp 8d340000 00:00 0 
+90b40000-910c0000 r-xs 00001000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+910c0000-91340000 rwxp 910c0000 00:00 0 
+91340000-9190b000 rwxp 00581000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+9190b000-91f40000 rwxp 9190b000 00:00 0 
+91f40000-92010000 rwxp 00b4c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92010000-92340000 rwxp 92010000 00:00 0 
+92340000-92344000 r-xs 00c1c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92344000-92740000 rwxp 92344000 00:00 0 
+b1606000-b162b000 r-xp 00000000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b162b000-b162d000 rwxp 00025000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b162d000-b162e000 rwxp b162d000 00:00 0 
+b162e000-b1644000 r-xp 00000000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b1644000-b1645000 rwxp 00016000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b1645000-b1679000 r-xp 00000000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b1679000-b1682000 rwxp 00033000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b1682000-b1688000 r-xp 00000000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b1688000-b1689000 rwxp 00005000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b169b000-b169d000 r-xp 00000000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b169d000-b169e000 rwxp 00002000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b169e000-b16a1000 --xp b169e000 00:00 0 
+b16a1000-b171f000 rwxp b16a1000 00:00 0 
+b171f000-b1722000 --xp b171f000 00:00 0 
+b1722000-b17a0000 rwxp b1722000 00:00 0 
+b17a0000-b180a000 r-xp 00000000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b180a000-b1814000 rwxp 00069000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b1814000-b1818000 rwxp b1814000 00:00 0 
+b1818000-b181b000 r-xs 00000000 03:04 11177891   /research/cc108/greenstone3Project/lib/jni/mgpp.jar
+b181b000-b181e000 r-xs 00000000 03:04 11177890   /research/cc108/greenstone3Project/lib/jni/mg.jar
+b181e000-b1824000 r-xs 00000000 03:04 11177881   /research/cc108/greenstone3Project/lib/jni/javagdbm.jar
+b1824000-b194a000 r-xs 00000000 03:04 824762     /research/cc108/greenstone3Project/web/WEB-INF/lib/xercesImpl.jar
+b194a000-b198f000 r-xs 00000000 03:04 824767     /research/cc108/greenstone3Project/web/WEB-INF/lib/mail.jar
+b198f000-b19bf000 r-xs 00000000 03:04 922338     /research/cc108/greenstone3Project/web/applet/xml-apis.jar
+b19bf000-b1a6a000 r-xs 00000000 03:04 823556     /research/cc108/greenstone3Project/web/WEB-INF/lib/LuceneWrapper.jar
+b1a6a000-b1ab9000 r-xs 00000000 03:04 824760     /research/cc108/greenstone3Project/web/WEB-INF/lib/lucene-1.4.1.jar
+b1ab9000-b1b10000 r-xs 00000000 03:04 822971     /research/cc108/greenstone3Project/web/WEB-INF/lib/log4j-1.2.8.jar
+b1b10000-b1c39000 r-xs 00000000 00:12 10701459   /home/cc108/jFreeChart/lib/jfreechart-1.0.6.jar
+b1c39000-b1c86000 r-xs 00000000 00:12 10701456   /home/cc108/jFreeChart/lib/jcommon-1.0.10.jar
+b1c86000-b1c8e000 r-xs 00000000 03:04 823023     /research/cc108/greenstone3Project/web/WEB-INF/lib/jaxrpc.jar
+b1c8e000-b1e16000 r-xs 00000000 03:04 823122     /research/cc108/greenstone3Project/web/WEB-INF/lib/axis.jar
+b1e16000-b1e78000 r-xs 00000000 03:04 823577     /research/cc108/greenstone3Project/web/WEB-INF/lib/gsdl3.jar
+b1e78000-b1ea6000 r-xp 00000000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1ea6000-b1ea9000 rwxp 0002e000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1ea9000-b1eaa000 rwxp b1ea9000 00:00 0 
+b1eaa000-b1f70000 r-xp 00000000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1f70000-b1f71000 rwxp 000c5000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1f71000-b1fd1000 r-xp 00000000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b1fd1000-b1fd7000 rwxp 0005f000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b1fd7000-b1ffb000 rwxp b1fd7000 00:00 0 
+b1ffb000-b20c0000 r-xs 00000000 03:03 6669015    /opt/jdk1.5.0_10/jre/lib/ext/localedata.jar
+b20c0000-b20c2000 r-xs 00000000 03:03 6669016    /opt/jdk1.5.0_10/jre/lib/ext/dnsns.jar
+b20c2000-b20ed000 r-xs 00000000 03:03 6669017    /opt/jdk1.5.0_10/jre/lib/ext/sunpkcs11.jar
+b20ed000-b2114000 r-xs 00000000 03:03 6669014    /opt/jdk1.5.0_10/jre/lib/ext/sunjce_provider.jar
+b2114000-b2115000 --xp b2114000 00:00 0 
+b2115000-b2195000 rwxp b2115000 00:00 0 
+b2195000-b2198000 --xp b2195000 00:00 0 
+b2198000-b2216000 rwxp b2198000 00:00 0 
+b2216000-b2219000 --xp b2216000 00:00 0 
+b2219000-b2297000 rwxp b2219000 00:00 0 
+b2297000-b229a000 --xp b2297000 00:00 0 
+b229a000-b2318000 rwxp b229a000 00:00 0 
+b2318000-b2518000 r-xp 00000000 03:03 4773667    /usr/lib/locale/locale-archive
+b2518000-b251b000 --xp b2518000 00:00 0 
+b251b000-b2599000 rwxp b251b000 00:00 0 
+b2599000-b259c000 --xp b2599000 00:00 0 
+b259c000-b261a000 rwxp b259c000 00:00 0 
+b261a000-b261b000 --xp b261a000 00:00 0 
+b261b000-b26a7000 rwxp b261b000 00:00 0 
+b26a7000-b26c3000 rwxp b26a7000 00:00 0 
+b26c3000-b26c5000 rwxp b26c3000 00:00 0 
+b26c5000-b26e1000 rwxp b26c5000 00:00 0 
+b26e1000-b26e2000 rwxp b26e1000 00:00 0 
+b26e2000-b26e3000 rwxp b26e2000 00:00 0 
+b26e3000-b26e5000 rwxp b26e3000 00:00 0 
+b26e5000-b2701000 rwxp b26e5000 00:00 0 
+b2701000-b2705000 rwxp b2701000 00:00 0 
+b2705000-b2721000 rwxp b2705000 00:00 0 
+b2721000-b2730000 rwxp b2721000 00:00 0 
+b2730000-b27ac000 rwxp b2730000 00:00 0 
+b27ac000-b2894000 rwxp b27ac000 00:00 0 
+b2894000-b47ac000 rwxp b2894000 00:00 0 
+b47ac000-b501b000 r-xs 00000000 03:03 6668968    /opt/jdk1.5.0_10/jre/lib/charsets.jar
+b501b000-b5030000 r-xs 00000000 03:03 6668987    /opt/jdk1.5.0_10/jre/lib/jce.jar
+b5030000-b50b5000 r-xs 00000000 03:03 6668837    /opt/jdk1.5.0_10/jre/lib/jsse.jar
+b50b5000-b511e000 rwxp b50b5000 00:00 0 
+b511e000-b772c000 r-xs 00000000 03:03 6668836    /opt/jdk1.5.0_10/jre/lib/rt.jar
+b772c000-b773b000 r-xp 00000000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b773b000-b773d000 rwxp 0000e000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b773d000-b775e000 r-xp 00000000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b775e000-b7760000 rwxp 00020000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b7760000-b7767000 r-xp 00000000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7767000-b7768000 r-xp 00006000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7768000-b7769000 rwxp 00007000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7769000-b776a000 r-xs 00000000 03:04 11177901   /research/cc108/greenstone3Project/lib/jni/cp.jar
+b776a000-b776f000 rwxp b776a000 00:00 0 
+b776f000-b777a000 r-xp 00000000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b777a000-b777b000 rwxp 0000b000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b777b000-b7ae8000 r-xp 00000000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7ae8000-b7b06000 rwxp 0036c000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b06000-b7f1f000 rwxp b7b06000 00:00 0 
+b7f1f000-b7f20000 r-xp 02aea000 03:03 4773667    /usr/lib/locale/locale-archive
+b7f20000-b7f28000 rwxs 00000000 03:03 4151850    /tmp/hsperfdata_cc108/9763
+b7f28000-b7f2e000 r-xp 00000000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f2e000-b7f2f000 rwxp 00006000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f2f000-b7f30000 rwxp b7f2f000 00:00 0 
+b7f30000-b7f31000 r-xp b7f30000 00:00 0 
+b7f31000-b7f32000 r-xp b7f31000 00:00 0          [vdso]
+bfb94000-bfb97000 --xp bfb94000 00:00 0 
+bfb97000-bfd94000 rwxp bfb97000 00:00 0          [stack]
+
+VM Arguments:
+jvm_args: -Djava.library.path=/research/cc108/greenstone3Project/lib/jni -Djava.net.preferIPv4Stack=true
+java_command: org.greenstone3.ms.collectionChooser
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=/opt/jdk1.5.0_10
+JRE_HOME=/opt/jdk1.5.0_10/jre
+PATH=/home/cc108/bin:/opt/jdk1.5.0_10:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
+USERNAME=cc108
+LD_LIBRARY_PATH=/opt/jdk1.5.0_10/jre/lib/i386/client:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386:/usr/lib/firefox-1.5.0.12
+SHELL=/bin/bash
+DISPLAY=:0.0
+
+Signal Handlers:
+SIGSEGV: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGBUS: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGFPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGPIPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGILL: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
+SIGUSR2: [libjvm.so+0x28ce60], sa_mask[0]=0x00000000, sa_flags=0x10000004
+SIGHUP: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGINT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGQUIT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGTERM: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Fedora Core release 6 (Zod)
+
+uname:Linux 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 12:34:26 EDT 2007 i686
+libc:glibc 2.5 NPTL 2.5 
+rlimit: STACK 10240k, CORE 0k, NPROC 16383, NOFILE 1024, AS infinity
+load average:0.34 0.26 0.31
+
+CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
+
+Memory: 4k page, physical 1034780k(42172k free), swap 2000084k(1998756k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0_10-b03) for linux-x86, built on Nov  9 2006 14:22:56 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid9804.log
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid9804.log	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid9804.log	(revision 17156)
@@ -0,0 +1,342 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  SIGSEGV (0xb) at pc=0x53e58955, pid=9804, tid=3086788288
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
+# Problematic frame:
+# C  0x53e58955
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x08580bb8):  JavaThread "main" [_thread_in_native, id=9804]
+
+siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x53e58955
+
+Registers:
+EAX=0x00db01b0, EBX=0xb16d81d0, ECX=0xb23e8fd8, EDX=0x0023d380
+ESP=0xbf82a82c, EBP=0xbf82a858, ESI=0x089b7c48, EDI=0x089b7c48
+EIP=0x53e58955, CR2=0x53e58955, EFLAGS=0x00210206
+
+Top of Stack: (sp=0xbf82a82c)
+0xbf82a82c:   b16bda92 089b7c48 00000018 b16d018f
+0xbf82a83c:   089b7c48 00000001 089b77bc b16bd99b
+0xbf82a84c:   b16d81d0 b16d018f b16bd540 bf82a888
+0xbf82a85c:   b16bdbd1 b16d0174 b16cfbc2 b16bd540
+0xbf82a86c:   08580c78 bf82a8b8 b16cfbc2 b16bdb7b
+0xbf82a87c:   b16d81d0 089b7cd0 08580c78 bf82a8b8
+0xbf82a88c:   b16b95cc 08580c78 bf82a8f4 00000042
+0xbf82a89c:   089b7cd0 bf82a914 8cccf030 b16b954b 
+
+Instructions: (pc=0x53e58955)
+0x53e58945:   
+[error occurred during error reporting, step 100, id 0xb]
+
+Stack: [0xbf631000,0xbf831000),  sp=0xbf82a82c,  free space=2022k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  0x53e58955
+C  [libmgsearchjni.so+0xabd1]  InitEnv+0x61
+C  [libmgsearchjni.so+0x65cc]  Java_org_greenstone_mg_MGSearchWrapper_initCSide+0x8c
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x2b5acc]
+V  [libjvm.so+0x2b8a50]
+V  [libjvm.so+0x1ef248]
+C  [libjava.so+0x137ad]  Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0+0x2d
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+242
+j  org.greenstone3.ms.collectionChooser.<init>()V+22
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x1a55f2]
+V  [libjvm.so+0x196802]
+C  [java+0x1873]
+C  [libc.so.6+0x15dec]  __libc_start_main+0xdc
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+242
+j  org.greenstone3.ms.collectionChooser.<init>()V+22
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x08965ad8 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=9817]
+  0x08956e00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=9816]
+  0x085c8f70 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=9814]
+  0x085c7a60 JavaThread "CompilerThread0" daemon [_thread_blocked, id=9813]
+  0x085c6a60 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=9812]
+  0x085c0e80 JavaThread "Finalizer" daemon [_thread_blocked, id=9811]
+  0x085beff8 JavaThread "Reference Handler" daemon [_thread_blocked, id=9810]
+=>0x08580bb8 JavaThread "main" [_thread_in_native, id=9804]
+
+Other Threads:
+  0x085bc420 VMThread [id=9809]
+  0x085ca538 WatcherThread [id=9815]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 576K, used 27K [0x88b40000, 0x88be0000, 0x89020000)
+  eden space 512K,   5% used [0x88b40000, 0x88b46e68, 0x88bc0000)
+  from space 64K,   0% used [0x88bc0000, 0x88bc0000, 0x88bd0000)
+  to   space 64K,   0% used [0x88bd0000, 0x88bd0000, 0x88be0000)
+ tenured generation   total 2300K, used 1378K [0x89020000, 0x8925f000, 0x8cb40000)
+   the space 2300K,  59% used [0x89020000, 0x891789c8, 0x89178a00, 0x8925f000)
+ compacting perm gen  total 8192K, used 1602K [0x8cb40000, 0x8d340000, 0x90b40000)
+   the space 8192K,  19% used [0x8cb40000, 0x8ccd0968, 0x8ccd0a00, 0x8d340000)
+    ro space 8192K,  68% used [0x90b40000, 0x910bf220, 0x910bf400, 0x91340000)
+    rw space 12288K,  48% used [0x91340000, 0x9190a968, 0x9190aa00, 0x91f40000)
+
+Dynamic libraries:
+00101000-0023b000 r-xp 00000000 03:03 5133208    /lib/libc-2.5.so
+0023b000-0023d000 r-xp 0013a000 03:03 5133208    /lib/libc-2.5.so
+0023d000-0023e000 rwxp 0013c000 03:03 5133208    /lib/libc-2.5.so
+0023e000-00241000 rwxp 0023e000 00:00 0 
+00243000-00341000 r-xp 00000000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00341000-00345000 rwxp 000fe000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00397000-003b0000 r-xp 00000000 03:03 5133207    /lib/ld-2.5.so
+003b0000-003b1000 r-xp 00019000 03:03 5133207    /lib/ld-2.5.so
+003b1000-003b2000 rwxp 0001a000 03:03 5133207    /lib/ld-2.5.so
+003b4000-003bd000 r-xp 00000000 03:03 5133232    /lib/libnss_files-2.5.so
+003bd000-003be000 r-xp 00008000 03:03 5133232    /lib/libnss_files-2.5.so
+003be000-003bf000 rwxp 00009000 03:03 5133232    /lib/libnss_files-2.5.so
+003c1000-003c9000 r-xp 00000000 03:03 5133235    /lib/libnss_nis-2.5.so
+003c9000-003ca000 r-xp 00007000 03:03 5133235    /lib/libnss_nis-2.5.so
+003ca000-003cb000 rwxp 00008000 03:03 5133235    /lib/libnss_nis-2.5.so
+0042e000-00441000 r-xp 00000000 03:03 5133221    /lib/libnsl-2.5.so
+00441000-00442000 r-xp 00012000 03:03 5133221    /lib/libnsl-2.5.so
+00442000-00443000 rwxp 00013000 03:03 5133221    /lib/libnsl-2.5.so
+00443000-00445000 rwxp 00443000 00:00 0 
+00d66000-00d8b000 r-xp 00000000 03:03 5133213    /lib/libm-2.5.so
+00d8b000-00d8c000 r-xp 00024000 03:03 5133213    /lib/libm-2.5.so
+00d8c000-00d8d000 rwxp 00025000 03:03 5133213    /lib/libm-2.5.so
+00d8f000-00d91000 r-xp 00000000 03:03 5133209    /lib/libdl-2.5.so
+00d91000-00d92000 r-xp 00001000 03:03 5133209    /lib/libdl-2.5.so
+00d92000-00d93000 rwxp 00002000 03:03 5133209    /lib/libdl-2.5.so
+00daa000-00dac000 r-xp 00000000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00dac000-00dad000 rwxp 00001000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00daf000-00db4000 r-xp 00000000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db4000-00db5000 rwxp 00004000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db7000-00dca000 r-xp 00000000 03:03 5133215    /lib/libpthread-2.5.so
+00dca000-00dcb000 r-xp 00012000 03:03 5133215    /lib/libpthread-2.5.so
+00dcb000-00dcc000 rwxp 00013000 03:03 5133215    /lib/libpthread-2.5.so
+00dcc000-00dce000 rwxp 00dcc000 00:00 0 
+00dd0000-00ddf000 r-xp 00000000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00ddf000-00de0000 rwxp 0000e000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00de2000-00dea000 r-xp 00000000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00dea000-00deb000 rwxp 00007000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00ded000-00df1000 r-xp 00000000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+00df1000-00df2000 rwxp 00003000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+06321000-0632a000 r-xp 00000000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0632a000-0632b000 rwxp 00008000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0640e000-06419000 r-xp 00000000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06419000-0641a000 rwxp 0000a000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06443000-06523000 r-xp 00000000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06523000-06527000 r-xp 000df000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06527000-06528000 rwxp 000e3000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06528000-0652e000 rwxp 06528000 00:00 0 
+070b3000-070b8000 r-xp 00000000 03:03 5129595    /lib/libcrypt-2.5.so
+070b8000-070b9000 r-xp 00004000 03:03 5129595    /lib/libcrypt-2.5.so
+070b9000-070ba000 rwxp 00005000 03:03 5129595    /lib/libcrypt-2.5.so
+070ba000-070e1000 rwxp 070ba000 00:00 0 
+08048000-08057000 r-xp 00000000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08057000-08059000 rwxp 0000e000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+0857b000-089e1000 rwxp 0857b000 00:00 0 
+88b40000-88be0000 rwxp 88b40000 00:00 0 
+88be0000-89020000 rwxp 88be0000 00:00 0 
+89020000-8925f000 rwxp 89020000 00:00 0 
+8925f000-8cb40000 rwxp 8925f000 00:00 0 
+8cb40000-8d340000 rwxp 8cb40000 00:00 0 
+8d340000-90b40000 rwxp 8d340000 00:00 0 
+90b40000-910c0000 r-xs 00001000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+910c0000-91340000 rwxp 910c0000 00:00 0 
+91340000-9190b000 rwxp 00581000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+9190b000-91f40000 rwxp 9190b000 00:00 0 
+91f40000-92010000 rwxp 00b4c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92010000-92340000 rwxp 92010000 00:00 0 
+92340000-92344000 r-xs 00c1c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92344000-92740000 rwxp 92344000 00:00 0 
+b16b3000-b16d8000 r-xp 00000000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b16d8000-b16da000 rwxp 00025000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b16da000-b16db000 rwxp b16da000 00:00 0 
+b16db000-b16f1000 r-xp 00000000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b16f1000-b16f2000 rwxp 00016000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b16f2000-b1726000 r-xp 00000000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b1726000-b172f000 rwxp 00033000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b172f000-b1735000 r-xp 00000000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b1735000-b1736000 rwxp 00005000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b1748000-b174a000 r-xp 00000000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b174a000-b174b000 rwxp 00002000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b174b000-b174e000 --xp b174b000 00:00 0 
+b174e000-b17cc000 rwxp b174e000 00:00 0 
+b17cc000-b17cf000 --xp b17cc000 00:00 0 
+b17cf000-b184d000 rwxp b17cf000 00:00 0 
+b184d000-b18b7000 r-xp 00000000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b18b7000-b18c1000 rwxp 00069000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b18c1000-b18c5000 rwxp b18c1000 00:00 0 
+b18c5000-b18c8000 r-xs 00000000 03:04 11177891   /research/cc108/greenstone3Project/lib/jni/mgpp.jar
+b18c8000-b18cb000 r-xs 00000000 03:04 11177890   /research/cc108/greenstone3Project/lib/jni/mg.jar
+b18cb000-b18d1000 r-xs 00000000 03:04 11177881   /research/cc108/greenstone3Project/lib/jni/javagdbm.jar
+b18d1000-b19f7000 r-xs 00000000 03:04 824762     /research/cc108/greenstone3Project/web/WEB-INF/lib/xercesImpl.jar
+b19f7000-b1a3c000 r-xs 00000000 03:04 824767     /research/cc108/greenstone3Project/web/WEB-INF/lib/mail.jar
+b1a3c000-b1a6c000 r-xs 00000000 03:04 922338     /research/cc108/greenstone3Project/web/applet/xml-apis.jar
+b1a6c000-b1b17000 r-xs 00000000 03:04 823556     /research/cc108/greenstone3Project/web/WEB-INF/lib/LuceneWrapper.jar
+b1b17000-b1b66000 r-xs 00000000 03:04 824760     /research/cc108/greenstone3Project/web/WEB-INF/lib/lucene-1.4.1.jar
+b1b66000-b1bbd000 r-xs 00000000 03:04 822971     /research/cc108/greenstone3Project/web/WEB-INF/lib/log4j-1.2.8.jar
+b1bbd000-b1ce6000 r-xs 00000000 00:12 10701459   /home/cc108/jFreeChart/lib/jfreechart-1.0.6.jar
+b1ce6000-b1d33000 r-xs 00000000 00:12 10701456   /home/cc108/jFreeChart/lib/jcommon-1.0.10.jar
+b1d33000-b1d3b000 r-xs 00000000 03:04 823023     /research/cc108/greenstone3Project/web/WEB-INF/lib/jaxrpc.jar
+b1d3b000-b1ec3000 r-xs 00000000 03:04 823122     /research/cc108/greenstone3Project/web/WEB-INF/lib/axis.jar
+b1ec3000-b1f25000 r-xs 00000000 03:04 823577     /research/cc108/greenstone3Project/web/WEB-INF/lib/gsdl3.jar
+b1f25000-b1f53000 r-xp 00000000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1f53000-b1f56000 rwxp 0002e000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1f56000-b1f57000 rwxp b1f56000 00:00 0 
+b1f57000-b201d000 r-xp 00000000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b201d000-b201e000 rwxp 000c5000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b201e000-b207e000 r-xp 00000000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b207e000-b2084000 rwxp 0005f000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b2084000-b20a8000 rwxp b2084000 00:00 0 
+b20a8000-b216d000 r-xs 00000000 03:03 6669015    /opt/jdk1.5.0_10/jre/lib/ext/localedata.jar
+b216d000-b216f000 r-xs 00000000 03:03 6669016    /opt/jdk1.5.0_10/jre/lib/ext/dnsns.jar
+b216f000-b219a000 r-xs 00000000 03:03 6669017    /opt/jdk1.5.0_10/jre/lib/ext/sunpkcs11.jar
+b219a000-b21c1000 r-xs 00000000 03:03 6669014    /opt/jdk1.5.0_10/jre/lib/ext/sunjce_provider.jar
+b21c1000-b21c2000 --xp b21c1000 00:00 0 
+b21c2000-b2242000 rwxp b21c2000 00:00 0 
+b2242000-b2245000 --xp b2242000 00:00 0 
+b2245000-b22c3000 rwxp b2245000 00:00 0 
+b22c3000-b22c6000 --xp b22c3000 00:00 0 
+b22c6000-b2344000 rwxp b22c6000 00:00 0 
+b2344000-b2347000 --xp b2344000 00:00 0 
+b2347000-b23c5000 rwxp b2347000 00:00 0 
+b23c5000-b25c5000 r-xp 00000000 03:03 4773667    /usr/lib/locale/locale-archive
+b25c5000-b25c8000 --xp b25c5000 00:00 0 
+b25c8000-b2646000 rwxp b25c8000 00:00 0 
+b2646000-b2649000 --xp b2646000 00:00 0 
+b2649000-b26c7000 rwxp b2649000 00:00 0 
+b26c7000-b26c8000 --xp b26c7000 00:00 0 
+b26c8000-b2754000 rwxp b26c8000 00:00 0 
+b2754000-b2770000 rwxp b2754000 00:00 0 
+b2770000-b2772000 rwxp b2770000 00:00 0 
+b2772000-b278e000 rwxp b2772000 00:00 0 
+b278e000-b278f000 rwxp b278e000 00:00 0 
+b278f000-b2790000 rwxp b278f000 00:00 0 
+b2790000-b2792000 rwxp b2790000 00:00 0 
+b2792000-b27ae000 rwxp b2792000 00:00 0 
+b27ae000-b27b2000 rwxp b27ae000 00:00 0 
+b27b2000-b27ce000 rwxp b27b2000 00:00 0 
+b27ce000-b27dd000 rwxp b27ce000 00:00 0 
+b27dd000-b2859000 rwxp b27dd000 00:00 0 
+b2859000-b2941000 rwxp b2859000 00:00 0 
+b2941000-b4859000 rwxp b2941000 00:00 0 
+b4859000-b50c8000 r-xs 00000000 03:03 6668968    /opt/jdk1.5.0_10/jre/lib/charsets.jar
+b50c8000-b50dd000 r-xs 00000000 03:03 6668987    /opt/jdk1.5.0_10/jre/lib/jce.jar
+b50dd000-b5162000 r-xs 00000000 03:03 6668837    /opt/jdk1.5.0_10/jre/lib/jsse.jar
+b5162000-b51cb000 rwxp b5162000 00:00 0 
+b51cb000-b77d9000 r-xs 00000000 03:03 6668836    /opt/jdk1.5.0_10/jre/lib/rt.jar
+b77d9000-b77e8000 r-xp 00000000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b77e8000-b77ea000 rwxp 0000e000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b77ea000-b780b000 r-xp 00000000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b780b000-b780d000 rwxp 00020000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b780d000-b7814000 r-xp 00000000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7814000-b7815000 r-xp 00006000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7815000-b7816000 rwxp 00007000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7816000-b7817000 r-xs 00000000 03:04 11177901   /research/cc108/greenstone3Project/lib/jni/cp.jar
+b7817000-b781c000 rwxp b7817000 00:00 0 
+b781c000-b7827000 r-xp 00000000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b7827000-b7828000 rwxp 0000b000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b7828000-b7b95000 r-xp 00000000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b95000-b7bb3000 rwxp 0036c000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7bb3000-b7fcc000 rwxp b7bb3000 00:00 0 
+b7fcc000-b7fcd000 r-xp 02aea000 03:03 4773667    /usr/lib/locale/locale-archive
+b7fcd000-b7fd5000 rwxs 00000000 03:03 4151850    /tmp/hsperfdata_cc108/9804
+b7fd5000-b7fdb000 r-xp 00000000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7fdb000-b7fdc000 rwxp 00006000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7fdc000-b7fdd000 rwxp b7fdc000 00:00 0 
+b7fdd000-b7fde000 r-xp b7fdd000 00:00 0 
+b7fde000-b7fdf000 r-xp b7fde000 00:00 0          [vdso]
+bf631000-bf634000 --xp bf631000 00:00 0 
+bf634000-bf831000 rwxp bf634000 00:00 0          [stack]
+
+VM Arguments:
+jvm_args: -Djava.library.path=/research/cc108/greenstone3Project/lib/jni -Djava.net.preferIPv4Stack=true
+java_command: org.greenstone3.ms.collectionChooser
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=/opt/jdk1.5.0_10
+JRE_HOME=/opt/jdk1.5.0_10/jre
+PATH=/home/cc108/bin:/opt/jdk1.5.0_10:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
+USERNAME=cc108
+LD_LIBRARY_PATH=/opt/jdk1.5.0_10/jre/lib/i386/client:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386:/usr/lib/firefox-1.5.0.12
+SHELL=/bin/bash
+DISPLAY=:0.0
+
+Signal Handlers:
+SIGSEGV: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGBUS: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGFPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGPIPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGILL: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
+SIGUSR2: [libjvm.so+0x28ce60], sa_mask[0]=0x00000000, sa_flags=0x10000004
+SIGHUP: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGINT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGQUIT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGTERM: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Fedora Core release 6 (Zod)
+
+uname:Linux 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 12:34:26 EDT 2007 i686
+libc:glibc 2.5 NPTL 2.5 
+rlimit: STACK 10240k, CORE 0k, NPROC 16383, NOFILE 1024, AS infinity
+load average:0.41 0.28 0.31
+
+CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
+
+Memory: 4k page, physical 1034780k(41844k free), swap 2000084k(1998756k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0_10-b03) for linux-x86, built on Nov  9 2006 14:22:56 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid9826.log
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid9826.log	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid9826.log	(revision 17156)
@@ -0,0 +1,342 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  SIGSEGV (0xb) at pc=0x53e58955, pid=9826, tid=3086149312
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
+# Problematic frame:
+# C  0x53e58955
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x0971cbb8):  JavaThread "main" [_thread_in_native, id=9826]
+
+siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x53e58955
+
+Registers:
+EAX=0x00db01b0, EBX=0xb163c1d0, ECX=0xb234cfd8, EDX=0x0023d380
+ESP=0xbfa1b21c, EBP=0xbfa1b248, ESI=0x09b540b0, EDI=0x09b540b0
+EIP=0x53e58955, CR2=0x53e58955, EFLAGS=0x00210202
+
+Top of Stack: (sp=0xbfa1b21c)
+0xbfa1b21c:   b1621a92 09b540b0 00000018 b163418f
+0xbfa1b22c:   09b540b0 00000001 09b540cc b162199b
+0xbfa1b23c:   b163c1d0 b163418f b1621540 bfa1b278
+0xbfa1b24c:   b1621bd1 b1634174 b1633bc2 b1621540
+0xbfa1b25c:   0971cc78 bfa1b2a8 b1633bc2 b1621b7b
+0xbfa1b26c:   b163c1d0 09b54090 0971cc78 bfa1b2a8
+0xbfa1b27c:   b161d5cc 0971cc78 bfa1b2e4 00000042
+0xbfa1b28c:   09b54090 bfa1b304 8cccf098 b161d54b 
+
+Instructions: (pc=0x53e58955)
+0x53e58945:   
+[error occurred during error reporting, step 100, id 0xb]
+
+Stack: [0xbf821000,0xbfa21000),  sp=0xbfa1b21c,  free space=2024k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  0x53e58955
+C  [libmgsearchjni.so+0xabd1]  InitEnv+0x61
+C  [libmgsearchjni.so+0x65cc]  Java_org_greenstone_mg_MGSearchWrapper_initCSide+0x8c
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x2b5acc]
+V  [libjvm.so+0x2b8a50]
+V  [libjvm.so+0x1ef248]
+C  [libjava.so+0x137ad]  Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0+0x2d
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+258
+j  org.greenstone3.ms.collectionChooser.<init>()V+22
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x1a55f2]
+V  [libjvm.so+0x196802]
+C  [java+0x1873]
+C  [libc.so.6+0x15dec]  __libc_start_main+0xdc
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+258
+j  org.greenstone3.ms.collectionChooser.<init>()V+22
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x09b01a80 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=9839]
+  0x09af2da8 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=9838]
+  0x09764f38 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=9836]
+  0x09763a28 JavaThread "CompilerThread0" daemon [_thread_blocked, id=9835]
+  0x09762a28 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=9834]
+  0x0975ce48 JavaThread "Finalizer" daemon [_thread_blocked, id=9833]
+  0x0975afc0 JavaThread "Reference Handler" daemon [_thread_blocked, id=9832]
+=>0x0971cbb8 JavaThread "main" [_thread_in_native, id=9826]
+
+Other Threads:
+  0x09758420 VMThread [id=9831]
+  0x09766500 WatcherThread [id=9837]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 576K, used 20K [0x88b40000, 0x88be0000, 0x89020000)
+  eden space 512K,   4% used [0x88b40000, 0x88b45240, 0x88bc0000)
+  from space 64K,   0% used [0x88bc0000, 0x88bc0000, 0x88bd0000)
+  to   space 64K,   0% used [0x88bd0000, 0x88bd0000, 0x88be0000)
+ tenured generation   total 2296K, used 1376K [0x89020000, 0x8925e000, 0x8cb40000)
+   the space 2296K,  59% used [0x89020000, 0x89178050, 0x89178200, 0x8925e000)
+ compacting perm gen  total 8192K, used 1602K [0x8cb40000, 0x8d340000, 0x90b40000)
+   the space 8192K,  19% used [0x8cb40000, 0x8ccd09d0, 0x8ccd0a00, 0x8d340000)
+    ro space 8192K,  68% used [0x90b40000, 0x910bf220, 0x910bf400, 0x91340000)
+    rw space 12288K,  48% used [0x91340000, 0x9190a968, 0x9190aa00, 0x91f40000)
+
+Dynamic libraries:
+00101000-0023b000 r-xp 00000000 03:03 5133208    /lib/libc-2.5.so
+0023b000-0023d000 r-xp 0013a000 03:03 5133208    /lib/libc-2.5.so
+0023d000-0023e000 rwxp 0013c000 03:03 5133208    /lib/libc-2.5.so
+0023e000-00241000 rwxp 0023e000 00:00 0 
+00243000-00341000 r-xp 00000000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00341000-00345000 rwxp 000fe000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00397000-003b0000 r-xp 00000000 03:03 5133207    /lib/ld-2.5.so
+003b0000-003b1000 r-xp 00019000 03:03 5133207    /lib/ld-2.5.so
+003b1000-003b2000 rwxp 0001a000 03:03 5133207    /lib/ld-2.5.so
+003b4000-003bd000 r-xp 00000000 03:03 5133232    /lib/libnss_files-2.5.so
+003bd000-003be000 r-xp 00008000 03:03 5133232    /lib/libnss_files-2.5.so
+003be000-003bf000 rwxp 00009000 03:03 5133232    /lib/libnss_files-2.5.so
+003c1000-003c9000 r-xp 00000000 03:03 5133235    /lib/libnss_nis-2.5.so
+003c9000-003ca000 r-xp 00007000 03:03 5133235    /lib/libnss_nis-2.5.so
+003ca000-003cb000 rwxp 00008000 03:03 5133235    /lib/libnss_nis-2.5.so
+0042e000-00441000 r-xp 00000000 03:03 5133221    /lib/libnsl-2.5.so
+00441000-00442000 r-xp 00012000 03:03 5133221    /lib/libnsl-2.5.so
+00442000-00443000 rwxp 00013000 03:03 5133221    /lib/libnsl-2.5.so
+00443000-00445000 rwxp 00443000 00:00 0 
+00d66000-00d8b000 r-xp 00000000 03:03 5133213    /lib/libm-2.5.so
+00d8b000-00d8c000 r-xp 00024000 03:03 5133213    /lib/libm-2.5.so
+00d8c000-00d8d000 rwxp 00025000 03:03 5133213    /lib/libm-2.5.so
+00d8f000-00d91000 r-xp 00000000 03:03 5133209    /lib/libdl-2.5.so
+00d91000-00d92000 r-xp 00001000 03:03 5133209    /lib/libdl-2.5.so
+00d92000-00d93000 rwxp 00002000 03:03 5133209    /lib/libdl-2.5.so
+00daa000-00dac000 r-xp 00000000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00dac000-00dad000 rwxp 00001000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00daf000-00db4000 r-xp 00000000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db4000-00db5000 rwxp 00004000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db7000-00dca000 r-xp 00000000 03:03 5133215    /lib/libpthread-2.5.so
+00dca000-00dcb000 r-xp 00012000 03:03 5133215    /lib/libpthread-2.5.so
+00dcb000-00dcc000 rwxp 00013000 03:03 5133215    /lib/libpthread-2.5.so
+00dcc000-00dce000 rwxp 00dcc000 00:00 0 
+00dd0000-00ddf000 r-xp 00000000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00ddf000-00de0000 rwxp 0000e000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00de2000-00dea000 r-xp 00000000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00dea000-00deb000 rwxp 00007000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00ded000-00df1000 r-xp 00000000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+00df1000-00df2000 rwxp 00003000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+06321000-0632a000 r-xp 00000000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0632a000-0632b000 rwxp 00008000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0640e000-06419000 r-xp 00000000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06419000-0641a000 rwxp 0000a000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06443000-06523000 r-xp 00000000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06523000-06527000 r-xp 000df000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06527000-06528000 rwxp 000e3000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06528000-0652e000 rwxp 06528000 00:00 0 
+070b3000-070b8000 r-xp 00000000 03:03 5129595    /lib/libcrypt-2.5.so
+070b8000-070b9000 r-xp 00004000 03:03 5129595    /lib/libcrypt-2.5.so
+070b9000-070ba000 rwxp 00005000 03:03 5129595    /lib/libcrypt-2.5.so
+070ba000-070e1000 rwxp 070ba000 00:00 0 
+08048000-08057000 r-xp 00000000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08057000-08059000 rwxp 0000e000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+09717000-09b7e000 rwxp 09717000 00:00 0 
+88b40000-88be0000 rwxp 88b40000 00:00 0 
+88be0000-89020000 rwxp 88be0000 00:00 0 
+89020000-8925e000 rwxp 89020000 00:00 0 
+8925e000-8cb40000 rwxp 8925e000 00:00 0 
+8cb40000-8d340000 rwxp 8cb40000 00:00 0 
+8d340000-90b40000 rwxp 8d340000 00:00 0 
+90b40000-910c0000 r-xs 00001000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+910c0000-91340000 rwxp 910c0000 00:00 0 
+91340000-9190b000 rwxp 00581000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+9190b000-91f40000 rwxp 9190b000 00:00 0 
+91f40000-92010000 rwxp 00b4c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92010000-92340000 rwxp 92010000 00:00 0 
+92340000-92344000 r-xs 00c1c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92344000-92740000 rwxp 92344000 00:00 0 
+b1617000-b163c000 r-xp 00000000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b163c000-b163e000 rwxp 00025000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b163e000-b163f000 rwxp b163e000 00:00 0 
+b163f000-b1655000 r-xp 00000000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b1655000-b1656000 rwxp 00016000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b1656000-b168a000 r-xp 00000000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b168a000-b1693000 rwxp 00033000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b1693000-b1699000 r-xp 00000000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b1699000-b169a000 rwxp 00005000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b16ac000-b16ae000 r-xp 00000000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b16ae000-b16af000 rwxp 00002000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b16af000-b16b2000 --xp b16af000 00:00 0 
+b16b2000-b1730000 rwxp b16b2000 00:00 0 
+b1730000-b1733000 --xp b1730000 00:00 0 
+b1733000-b17b1000 rwxp b1733000 00:00 0 
+b17b1000-b181b000 r-xp 00000000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b181b000-b1825000 rwxp 00069000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b1825000-b1829000 rwxp b1825000 00:00 0 
+b1829000-b182c000 r-xs 00000000 03:04 11177891   /research/cc108/greenstone3Project/lib/jni/mgpp.jar
+b182c000-b182f000 r-xs 00000000 03:04 11177890   /research/cc108/greenstone3Project/lib/jni/mg.jar
+b182f000-b1835000 r-xs 00000000 03:04 11177881   /research/cc108/greenstone3Project/lib/jni/javagdbm.jar
+b1835000-b195b000 r-xs 00000000 03:04 824762     /research/cc108/greenstone3Project/web/WEB-INF/lib/xercesImpl.jar
+b195b000-b19a0000 r-xs 00000000 03:04 824767     /research/cc108/greenstone3Project/web/WEB-INF/lib/mail.jar
+b19a0000-b19d0000 r-xs 00000000 03:04 922338     /research/cc108/greenstone3Project/web/applet/xml-apis.jar
+b19d0000-b1a7b000 r-xs 00000000 03:04 823556     /research/cc108/greenstone3Project/web/WEB-INF/lib/LuceneWrapper.jar
+b1a7b000-b1aca000 r-xs 00000000 03:04 824760     /research/cc108/greenstone3Project/web/WEB-INF/lib/lucene-1.4.1.jar
+b1aca000-b1b21000 r-xs 00000000 03:04 822971     /research/cc108/greenstone3Project/web/WEB-INF/lib/log4j-1.2.8.jar
+b1b21000-b1c4a000 r-xs 00000000 00:12 10701459   /home/cc108/jFreeChart/lib/jfreechart-1.0.6.jar
+b1c4a000-b1c97000 r-xs 00000000 00:12 10701456   /home/cc108/jFreeChart/lib/jcommon-1.0.10.jar
+b1c97000-b1c9f000 r-xs 00000000 03:04 823023     /research/cc108/greenstone3Project/web/WEB-INF/lib/jaxrpc.jar
+b1c9f000-b1e27000 r-xs 00000000 03:04 823122     /research/cc108/greenstone3Project/web/WEB-INF/lib/axis.jar
+b1e27000-b1e89000 r-xs 00000000 03:04 823577     /research/cc108/greenstone3Project/web/WEB-INF/lib/gsdl3.jar
+b1e89000-b1eb7000 r-xp 00000000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1eb7000-b1eba000 rwxp 0002e000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1eba000-b1ebb000 rwxp b1eba000 00:00 0 
+b1ebb000-b1f81000 r-xp 00000000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1f81000-b1f82000 rwxp 000c5000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1f82000-b1fe2000 r-xp 00000000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b1fe2000-b1fe8000 rwxp 0005f000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b1fe8000-b200c000 rwxp b1fe8000 00:00 0 
+b200c000-b20d1000 r-xs 00000000 03:03 6669015    /opt/jdk1.5.0_10/jre/lib/ext/localedata.jar
+b20d1000-b20d3000 r-xs 00000000 03:03 6669016    /opt/jdk1.5.0_10/jre/lib/ext/dnsns.jar
+b20d3000-b20fe000 r-xs 00000000 03:03 6669017    /opt/jdk1.5.0_10/jre/lib/ext/sunpkcs11.jar
+b20fe000-b2125000 r-xs 00000000 03:03 6669014    /opt/jdk1.5.0_10/jre/lib/ext/sunjce_provider.jar
+b2125000-b2126000 --xp b2125000 00:00 0 
+b2126000-b21a6000 rwxp b2126000 00:00 0 
+b21a6000-b21a9000 --xp b21a6000 00:00 0 
+b21a9000-b2227000 rwxp b21a9000 00:00 0 
+b2227000-b222a000 --xp b2227000 00:00 0 
+b222a000-b22a8000 rwxp b222a000 00:00 0 
+b22a8000-b22ab000 --xp b22a8000 00:00 0 
+b22ab000-b2329000 rwxp b22ab000 00:00 0 
+b2329000-b2529000 r-xp 00000000 03:03 4773667    /usr/lib/locale/locale-archive
+b2529000-b252c000 --xp b2529000 00:00 0 
+b252c000-b25aa000 rwxp b252c000 00:00 0 
+b25aa000-b25ad000 --xp b25aa000 00:00 0 
+b25ad000-b262b000 rwxp b25ad000 00:00 0 
+b262b000-b262c000 --xp b262b000 00:00 0 
+b262c000-b26b8000 rwxp b262c000 00:00 0 
+b26b8000-b26d4000 rwxp b26b8000 00:00 0 
+b26d4000-b26d6000 rwxp b26d4000 00:00 0 
+b26d6000-b26f2000 rwxp b26d6000 00:00 0 
+b26f2000-b26f3000 rwxp b26f2000 00:00 0 
+b26f3000-b26f4000 rwxp b26f3000 00:00 0 
+b26f4000-b26f6000 rwxp b26f4000 00:00 0 
+b26f6000-b2712000 rwxp b26f6000 00:00 0 
+b2712000-b2716000 rwxp b2712000 00:00 0 
+b2716000-b2732000 rwxp b2716000 00:00 0 
+b2732000-b2741000 rwxp b2732000 00:00 0 
+b2741000-b27bd000 rwxp b2741000 00:00 0 
+b27bd000-b28a5000 rwxp b27bd000 00:00 0 
+b28a5000-b47bd000 rwxp b28a5000 00:00 0 
+b47bd000-b502c000 r-xs 00000000 03:03 6668968    /opt/jdk1.5.0_10/jre/lib/charsets.jar
+b502c000-b5041000 r-xs 00000000 03:03 6668987    /opt/jdk1.5.0_10/jre/lib/jce.jar
+b5041000-b50c6000 r-xs 00000000 03:03 6668837    /opt/jdk1.5.0_10/jre/lib/jsse.jar
+b50c6000-b512f000 rwxp b50c6000 00:00 0 
+b512f000-b773d000 r-xs 00000000 03:03 6668836    /opt/jdk1.5.0_10/jre/lib/rt.jar
+b773d000-b774c000 r-xp 00000000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b774c000-b774e000 rwxp 0000e000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b774e000-b776f000 r-xp 00000000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b776f000-b7771000 rwxp 00020000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b7771000-b7778000 r-xp 00000000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7778000-b7779000 r-xp 00006000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7779000-b777a000 rwxp 00007000 03:03 5129541    /lib/libnss_compat-2.5.so
+b777a000-b777b000 r-xs 00000000 03:04 11177901   /research/cc108/greenstone3Project/lib/jni/cp.jar
+b777b000-b7780000 rwxp b777b000 00:00 0 
+b7780000-b778b000 r-xp 00000000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b778b000-b778c000 rwxp 0000b000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b778c000-b7af9000 r-xp 00000000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7af9000-b7b17000 rwxp 0036c000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b17000-b7f30000 rwxp b7b17000 00:00 0 
+b7f30000-b7f31000 r-xp 02aea000 03:03 4773667    /usr/lib/locale/locale-archive
+b7f31000-b7f39000 rwxs 00000000 03:03 4151850    /tmp/hsperfdata_cc108/9826
+b7f39000-b7f3f000 r-xp 00000000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f3f000-b7f40000 rwxp 00006000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f40000-b7f41000 rwxp b7f40000 00:00 0 
+b7f41000-b7f42000 r-xp b7f41000 00:00 0 
+b7f42000-b7f43000 r-xp b7f42000 00:00 0          [vdso]
+bf821000-bf824000 --xp bf821000 00:00 0 
+bf824000-bfa21000 rwxp bf824000 00:00 0          [stack]
+
+VM Arguments:
+jvm_args: -Djava.library.path=/research/cc108/greenstone3Project/lib/jni -Djava.net.preferIPv4Stack=true
+java_command: org.greenstone3.ms.collectionChooser
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=/opt/jdk1.5.0_10
+JRE_HOME=/opt/jdk1.5.0_10/jre
+PATH=/home/cc108/bin:/opt/jdk1.5.0_10:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
+USERNAME=cc108
+LD_LIBRARY_PATH=/opt/jdk1.5.0_10/jre/lib/i386/client:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386:/usr/lib/firefox-1.5.0.12
+SHELL=/bin/bash
+DISPLAY=:0.0
+
+Signal Handlers:
+SIGSEGV: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGBUS: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGFPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGPIPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGILL: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
+SIGUSR2: [libjvm.so+0x28ce60], sa_mask[0]=0x00000000, sa_flags=0x10000004
+SIGHUP: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGINT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGQUIT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGTERM: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Fedora Core release 6 (Zod)
+
+uname:Linux 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 12:34:26 EDT 2007 i686
+libc:glibc 2.5 NPTL 2.5 
+rlimit: STACK 10240k, CORE 0k, NPROC 16383, NOFILE 1024, AS infinity
+load average:0.47 0.30 0.32
+
+CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
+
+Memory: 4k page, physical 1034780k(41884k free), swap 2000084k(1998756k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0_10-b03) for linux-x86, built on Nov  9 2006 14:22:56 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid9849.log
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid9849.log	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid9849.log	(revision 17156)
@@ -0,0 +1,342 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  SIGSEGV (0xb) at pc=0x53e58955, pid=9849, tid=3086776000
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
+# Problematic frame:
+# C  0x53e58955
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x08283bb8):  JavaThread "main" [_thread_in_native, id=9849]
+
+siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x53e58955
+
+Registers:
+EAX=0x00db01b0, EBX=0xb16d51d0, ECX=0xb23e5fd8, EDX=0x0023d380
+ESP=0xbfded5ec, EBP=0xbfded618, ESI=0x086bb5d0, EDI=0x086bb5d0
+EIP=0x53e58955, CR2=0x53e58955, EFLAGS=0x00210202
+
+Top of Stack: (sp=0xbfded5ec)
+0xbfded5ec:   b16baa92 086bb5d0 00000018 b16cd18f
+0xbfded5fc:   086bb5d0 00000001 086bb5ec b16ba99b
+0xbfded60c:   b16d51d0 b16cd18f b16ba540 bfded648
+0xbfded61c:   b16babd1 b16cd174 b16ccbc2 b16ba540
+0xbfded62c:   08283c78 bfded678 b16ccbc2 b16bab7b
+0xbfded63c:   b16d51d0 086aeb68 08283c78 bfded678
+0xbfded64c:   b16b65cc 08283c78 bfded6b4 00000042
+0xbfded65c:   086aeb68 bfded6d4 8cccf0a8 b16b654b 
+
+Instructions: (pc=0x53e58955)
+0x53e58945:   
+[error occurred during error reporting, step 100, id 0xb]
+
+Stack: [0xbfbf1000,0xbfdf1000),  sp=0xbfded5ec,  free space=2033k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  0x53e58955
+C  [libmgsearchjni.so+0xabd1]  InitEnv+0x61
+C  [libmgsearchjni.so+0x65cc]  Java_org_greenstone_mg_MGSearchWrapper_initCSide+0x8c
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x2b5acc]
+V  [libjvm.so+0x2b8a50]
+V  [libjvm.so+0x1ef248]
+C  [libjava.so+0x137ad]  Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0+0x2d
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+258
+j  org.greenstone3.ms.collectionChooser.<init>()V+22
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x1a55f2]
+V  [libjvm.so+0x196802]
+C  [java+0x1873]
+C  [libc.so.6+0x15dec]  __libc_start_main+0xdc
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+258
+j  org.greenstone3.ms.collectionChooser.<init>()V+22
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x08668ad8 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=9862]
+  0x08659e00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=9861]
+  0x082cbf70 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=9859]
+  0x082caa60 JavaThread "CompilerThread0" daemon [_thread_blocked, id=9858]
+  0x082c9a60 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=9857]
+  0x082c3e80 JavaThread "Finalizer" daemon [_thread_blocked, id=9856]
+  0x082c1ff8 JavaThread "Reference Handler" daemon [_thread_blocked, id=9855]
+=>0x08283bb8 JavaThread "main" [_thread_in_native, id=9849]
+
+Other Threads:
+  0x082bf420 VMThread [id=9854]
+  0x082cd538 WatcherThread [id=9860]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 576K, used 27K [0x88b40000, 0x88be0000, 0x89020000)
+  eden space 512K,   5% used [0x88b40000, 0x88b46e00, 0x88bc0000)
+  from space 64K,   0% used [0x88bc0000, 0x88bc0000, 0x88bd0000)
+  to   space 64K,   0% used [0x88bd0000, 0x88bd0000, 0x88be0000)
+ tenured generation   total 2344K, used 1406K [0x89020000, 0x8926a000, 0x8cb40000)
+   the space 2344K,  59% used [0x89020000, 0x8917f928, 0x8917fa00, 0x8926a000)
+ compacting perm gen  total 8192K, used 1602K [0x8cb40000, 0x8d340000, 0x90b40000)
+   the space 8192K,  19% used [0x8cb40000, 0x8ccd09e0, 0x8ccd0a00, 0x8d340000)
+    ro space 8192K,  68% used [0x90b40000, 0x910bf220, 0x910bf400, 0x91340000)
+    rw space 12288K,  48% used [0x91340000, 0x9190a968, 0x9190aa00, 0x91f40000)
+
+Dynamic libraries:
+00101000-0023b000 r-xp 00000000 03:03 5133208    /lib/libc-2.5.so
+0023b000-0023d000 r-xp 0013a000 03:03 5133208    /lib/libc-2.5.so
+0023d000-0023e000 rwxp 0013c000 03:03 5133208    /lib/libc-2.5.so
+0023e000-00241000 rwxp 0023e000 00:00 0 
+00243000-00341000 r-xp 00000000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00341000-00345000 rwxp 000fe000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00397000-003b0000 r-xp 00000000 03:03 5133207    /lib/ld-2.5.so
+003b0000-003b1000 r-xp 00019000 03:03 5133207    /lib/ld-2.5.so
+003b1000-003b2000 rwxp 0001a000 03:03 5133207    /lib/ld-2.5.so
+003b4000-003bd000 r-xp 00000000 03:03 5133232    /lib/libnss_files-2.5.so
+003bd000-003be000 r-xp 00008000 03:03 5133232    /lib/libnss_files-2.5.so
+003be000-003bf000 rwxp 00009000 03:03 5133232    /lib/libnss_files-2.5.so
+003c1000-003c9000 r-xp 00000000 03:03 5133235    /lib/libnss_nis-2.5.so
+003c9000-003ca000 r-xp 00007000 03:03 5133235    /lib/libnss_nis-2.5.so
+003ca000-003cb000 rwxp 00008000 03:03 5133235    /lib/libnss_nis-2.5.so
+0042e000-00441000 r-xp 00000000 03:03 5133221    /lib/libnsl-2.5.so
+00441000-00442000 r-xp 00012000 03:03 5133221    /lib/libnsl-2.5.so
+00442000-00443000 rwxp 00013000 03:03 5133221    /lib/libnsl-2.5.so
+00443000-00445000 rwxp 00443000 00:00 0 
+00d66000-00d8b000 r-xp 00000000 03:03 5133213    /lib/libm-2.5.so
+00d8b000-00d8c000 r-xp 00024000 03:03 5133213    /lib/libm-2.5.so
+00d8c000-00d8d000 rwxp 00025000 03:03 5133213    /lib/libm-2.5.so
+00d8f000-00d91000 r-xp 00000000 03:03 5133209    /lib/libdl-2.5.so
+00d91000-00d92000 r-xp 00001000 03:03 5133209    /lib/libdl-2.5.so
+00d92000-00d93000 rwxp 00002000 03:03 5133209    /lib/libdl-2.5.so
+00daa000-00dac000 r-xp 00000000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00dac000-00dad000 rwxp 00001000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00daf000-00db4000 r-xp 00000000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db4000-00db5000 rwxp 00004000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db7000-00dca000 r-xp 00000000 03:03 5133215    /lib/libpthread-2.5.so
+00dca000-00dcb000 r-xp 00012000 03:03 5133215    /lib/libpthread-2.5.so
+00dcb000-00dcc000 rwxp 00013000 03:03 5133215    /lib/libpthread-2.5.so
+00dcc000-00dce000 rwxp 00dcc000 00:00 0 
+00dd0000-00ddf000 r-xp 00000000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00ddf000-00de0000 rwxp 0000e000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00de2000-00dea000 r-xp 00000000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00dea000-00deb000 rwxp 00007000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00ded000-00df1000 r-xp 00000000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+00df1000-00df2000 rwxp 00003000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+06321000-0632a000 r-xp 00000000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0632a000-0632b000 rwxp 00008000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0640e000-06419000 r-xp 00000000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06419000-0641a000 rwxp 0000a000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06443000-06523000 r-xp 00000000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06523000-06527000 r-xp 000df000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06527000-06528000 rwxp 000e3000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06528000-0652e000 rwxp 06528000 00:00 0 
+070b3000-070b8000 r-xp 00000000 03:03 5129595    /lib/libcrypt-2.5.so
+070b8000-070b9000 r-xp 00004000 03:03 5129595    /lib/libcrypt-2.5.so
+070b9000-070ba000 rwxp 00005000 03:03 5129595    /lib/libcrypt-2.5.so
+070ba000-070e1000 rwxp 070ba000 00:00 0 
+08048000-08057000 r-xp 00000000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08057000-08059000 rwxp 0000e000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+0827e000-086e2000 rwxp 0827e000 00:00 0 
+88b40000-88be0000 rwxp 88b40000 00:00 0 
+88be0000-89020000 rwxp 88be0000 00:00 0 
+89020000-8926a000 rwxp 89020000 00:00 0 
+8926a000-8cb40000 rwxp 8926a000 00:00 0 
+8cb40000-8d340000 rwxp 8cb40000 00:00 0 
+8d340000-90b40000 rwxp 8d340000 00:00 0 
+90b40000-910c0000 r-xs 00001000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+910c0000-91340000 rwxp 910c0000 00:00 0 
+91340000-9190b000 rwxp 00581000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+9190b000-91f40000 rwxp 9190b000 00:00 0 
+91f40000-92010000 rwxp 00b4c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92010000-92340000 rwxp 92010000 00:00 0 
+92340000-92344000 r-xs 00c1c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92344000-92740000 rwxp 92344000 00:00 0 
+b16b0000-b16d5000 r-xp 00000000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b16d5000-b16d7000 rwxp 00025000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b16d7000-b16d8000 rwxp b16d7000 00:00 0 
+b16d8000-b16ee000 r-xp 00000000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b16ee000-b16ef000 rwxp 00016000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b16ef000-b1723000 r-xp 00000000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b1723000-b172c000 rwxp 00033000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b172c000-b1732000 r-xp 00000000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b1732000-b1733000 rwxp 00005000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b1745000-b1747000 r-xp 00000000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b1747000-b1748000 rwxp 00002000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b1748000-b174b000 --xp b1748000 00:00 0 
+b174b000-b17c9000 rwxp b174b000 00:00 0 
+b17c9000-b17cc000 --xp b17c9000 00:00 0 
+b17cc000-b184a000 rwxp b17cc000 00:00 0 
+b184a000-b18b4000 r-xp 00000000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b18b4000-b18be000 rwxp 00069000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b18be000-b18c2000 rwxp b18be000 00:00 0 
+b18c2000-b18c5000 r-xs 00000000 03:04 11177891   /research/cc108/greenstone3Project/lib/jni/mgpp.jar
+b18c5000-b18c8000 r-xs 00000000 03:04 11177890   /research/cc108/greenstone3Project/lib/jni/mg.jar
+b18c8000-b18ce000 r-xs 00000000 03:04 11177881   /research/cc108/greenstone3Project/lib/jni/javagdbm.jar
+b18ce000-b19f4000 r-xs 00000000 03:04 824762     /research/cc108/greenstone3Project/web/WEB-INF/lib/xercesImpl.jar
+b19f4000-b1a39000 r-xs 00000000 03:04 824767     /research/cc108/greenstone3Project/web/WEB-INF/lib/mail.jar
+b1a39000-b1a69000 r-xs 00000000 03:04 922338     /research/cc108/greenstone3Project/web/applet/xml-apis.jar
+b1a69000-b1b14000 r-xs 00000000 03:04 823556     /research/cc108/greenstone3Project/web/WEB-INF/lib/LuceneWrapper.jar
+b1b14000-b1b63000 r-xs 00000000 03:04 824760     /research/cc108/greenstone3Project/web/WEB-INF/lib/lucene-1.4.1.jar
+b1b63000-b1bba000 r-xs 00000000 03:04 822971     /research/cc108/greenstone3Project/web/WEB-INF/lib/log4j-1.2.8.jar
+b1bba000-b1ce3000 r-xs 00000000 00:12 10701459   /home/cc108/jFreeChart/lib/jfreechart-1.0.6.jar
+b1ce3000-b1d30000 r-xs 00000000 00:12 10701456   /home/cc108/jFreeChart/lib/jcommon-1.0.10.jar
+b1d30000-b1d38000 r-xs 00000000 03:04 823023     /research/cc108/greenstone3Project/web/WEB-INF/lib/jaxrpc.jar
+b1d38000-b1ec0000 r-xs 00000000 03:04 823122     /research/cc108/greenstone3Project/web/WEB-INF/lib/axis.jar
+b1ec0000-b1f22000 r-xs 00000000 03:04 823577     /research/cc108/greenstone3Project/web/WEB-INF/lib/gsdl3.jar
+b1f22000-b1f50000 r-xp 00000000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1f50000-b1f53000 rwxp 0002e000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1f53000-b1f54000 rwxp b1f53000 00:00 0 
+b1f54000-b201a000 r-xp 00000000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b201a000-b201b000 rwxp 000c5000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b201b000-b207b000 r-xp 00000000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b207b000-b2081000 rwxp 0005f000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b2081000-b20a5000 rwxp b2081000 00:00 0 
+b20a5000-b216a000 r-xs 00000000 03:03 6669015    /opt/jdk1.5.0_10/jre/lib/ext/localedata.jar
+b216a000-b216c000 r-xs 00000000 03:03 6669016    /opt/jdk1.5.0_10/jre/lib/ext/dnsns.jar
+b216c000-b2197000 r-xs 00000000 03:03 6669017    /opt/jdk1.5.0_10/jre/lib/ext/sunpkcs11.jar
+b2197000-b21be000 r-xs 00000000 03:03 6669014    /opt/jdk1.5.0_10/jre/lib/ext/sunjce_provider.jar
+b21be000-b21bf000 --xp b21be000 00:00 0 
+b21bf000-b223f000 rwxp b21bf000 00:00 0 
+b223f000-b2242000 --xp b223f000 00:00 0 
+b2242000-b22c0000 rwxp b2242000 00:00 0 
+b22c0000-b22c3000 --xp b22c0000 00:00 0 
+b22c3000-b2341000 rwxp b22c3000 00:00 0 
+b2341000-b2344000 --xp b2341000 00:00 0 
+b2344000-b23c2000 rwxp b2344000 00:00 0 
+b23c2000-b25c2000 r-xp 00000000 03:03 4773667    /usr/lib/locale/locale-archive
+b25c2000-b25c5000 --xp b25c2000 00:00 0 
+b25c5000-b2643000 rwxp b25c5000 00:00 0 
+b2643000-b2646000 --xp b2643000 00:00 0 
+b2646000-b26c4000 rwxp b2646000 00:00 0 
+b26c4000-b26c5000 --xp b26c4000 00:00 0 
+b26c5000-b2751000 rwxp b26c5000 00:00 0 
+b2751000-b276d000 rwxp b2751000 00:00 0 
+b276d000-b276f000 rwxp b276d000 00:00 0 
+b276f000-b278b000 rwxp b276f000 00:00 0 
+b278b000-b278c000 rwxp b278b000 00:00 0 
+b278c000-b278d000 rwxp b278c000 00:00 0 
+b278d000-b278f000 rwxp b278d000 00:00 0 
+b278f000-b27ab000 rwxp b278f000 00:00 0 
+b27ab000-b27af000 rwxp b27ab000 00:00 0 
+b27af000-b27cb000 rwxp b27af000 00:00 0 
+b27cb000-b27da000 rwxp b27cb000 00:00 0 
+b27da000-b2856000 rwxp b27da000 00:00 0 
+b2856000-b293e000 rwxp b2856000 00:00 0 
+b293e000-b4856000 rwxp b293e000 00:00 0 
+b4856000-b50c5000 r-xs 00000000 03:03 6668968    /opt/jdk1.5.0_10/jre/lib/charsets.jar
+b50c5000-b50da000 r-xs 00000000 03:03 6668987    /opt/jdk1.5.0_10/jre/lib/jce.jar
+b50da000-b515f000 r-xs 00000000 03:03 6668837    /opt/jdk1.5.0_10/jre/lib/jsse.jar
+b515f000-b51c8000 rwxp b515f000 00:00 0 
+b51c8000-b77d6000 r-xs 00000000 03:03 6668836    /opt/jdk1.5.0_10/jre/lib/rt.jar
+b77d6000-b77e5000 r-xp 00000000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b77e5000-b77e7000 rwxp 0000e000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b77e7000-b7808000 r-xp 00000000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b7808000-b780a000 rwxp 00020000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b780a000-b7811000 r-xp 00000000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7811000-b7812000 r-xp 00006000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7812000-b7813000 rwxp 00007000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7813000-b7814000 r-xs 00000000 03:04 11177901   /research/cc108/greenstone3Project/lib/jni/cp.jar
+b7814000-b7819000 rwxp b7814000 00:00 0 
+b7819000-b7824000 r-xp 00000000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b7824000-b7825000 rwxp 0000b000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b7825000-b7b92000 r-xp 00000000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b92000-b7bb0000 rwxp 0036c000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7bb0000-b7fc9000 rwxp b7bb0000 00:00 0 
+b7fc9000-b7fca000 r-xp 02aea000 03:03 4773667    /usr/lib/locale/locale-archive
+b7fca000-b7fd2000 rwxs 00000000 03:03 4151850    /tmp/hsperfdata_cc108/9849
+b7fd2000-b7fd8000 r-xp 00000000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7fd8000-b7fd9000 rwxp 00006000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7fd9000-b7fda000 rwxp b7fd9000 00:00 0 
+b7fda000-b7fdb000 r-xp b7fda000 00:00 0 
+b7fdb000-b7fdc000 r-xp b7fdb000 00:00 0          [vdso]
+bfbf1000-bfbf4000 --xp bfbf1000 00:00 0 
+bfbf4000-bfdf1000 rwxp bfbf4000 00:00 0          [stack]
+
+VM Arguments:
+jvm_args: -Djava.library.path=/research/cc108/greenstone3Project/lib/jni -Djava.net.preferIPv4Stack=true
+java_command: org.greenstone3.ms.collectionChooser
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=/opt/jdk1.5.0_10
+JRE_HOME=/opt/jdk1.5.0_10/jre
+PATH=/home/cc108/bin:/opt/jdk1.5.0_10:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
+USERNAME=cc108
+LD_LIBRARY_PATH=/opt/jdk1.5.0_10/jre/lib/i386/client:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386:/usr/lib/firefox-1.5.0.12
+SHELL=/bin/bash
+DISPLAY=:0.0
+
+Signal Handlers:
+SIGSEGV: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGBUS: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGFPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGPIPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGILL: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
+SIGUSR2: [libjvm.so+0x28ce60], sa_mask[0]=0x00000000, sa_flags=0x10000004
+SIGHUP: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGINT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGQUIT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGTERM: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Fedora Core release 6 (Zod)
+
+uname:Linux 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 12:34:26 EDT 2007 i686
+libc:glibc 2.5 NPTL 2.5 
+rlimit: STACK 10240k, CORE 0k, NPROC 16383, NOFILE 1024, AS infinity
+load average:0.39 0.29 0.31
+
+CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
+
+Memory: 4k page, physical 1034780k(41796k free), swap 2000084k(1998756k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0_10-b03) for linux-x86, built on Nov  9 2006 14:22:56 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid9871.log
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid9871.log	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid9871.log	(revision 17156)
@@ -0,0 +1,342 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  SIGSEGV (0xb) at pc=0x53e58955, pid=9871, tid=3086866112
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
+# Problematic frame:
+# C  0x53e58955
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x08c6dbb8):  JavaThread "main" [_thread_in_native, id=9871]
+
+siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x53e58955
+
+Registers:
+EAX=0x00db01b0, EBX=0xb16eb1d0, ECX=0xb23fbfd8, EDX=0x0023d380
+ESP=0xbfb6eb6c, EBP=0xbfb6eb98, ESI=0x090a3b80, EDI=0x090a3b80
+EIP=0x53e58955, CR2=0x53e58955, EFLAGS=0x00210202
+
+Top of Stack: (sp=0xbfb6eb6c)
+0xbfb6eb6c:   b16d0a92 090a3b80 00000018 b16e318f
+0xbfb6eb7c:   090a3b80 00000001 090a3b9c b16d099b
+0xbfb6eb8c:   b16eb1d0 b16e318f b16d0540 bfb6ebc8
+0xbfb6eb9c:   b16d0bd1 b16e3174 b16e2bc2 b16d0540
+0xbfb6ebac:   08c6dc78 bfb6ebf8 b16e2bc2 b16d0b7b
+0xbfb6ebbc:   b16eb1d0 0909c110 08c6dc78 bfb6ebf8
+0xbfb6ebcc:   b16cc5cc 08c6dc78 bfb6ec34 00000042
+0xbfb6ebdc:   0909c110 bfb6ec54 8cccf118 b16cc54b 
+
+Instructions: (pc=0x53e58955)
+0x53e58945:   
+[error occurred during error reporting, step 100, id 0xb]
+
+Stack: [0xbf973000,0xbfb73000),  sp=0xbfb6eb6c,  free space=2030k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  0x53e58955
+C  [libmgsearchjni.so+0xabd1]  InitEnv+0x61
+C  [libmgsearchjni.so+0x65cc]  Java_org_greenstone_mg_MGSearchWrapper_initCSide+0x8c
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x2b5acc]
+V  [libjvm.so+0x2b8a50]
+V  [libjvm.so+0x1ef248]
+C  [libjava.so+0x137ad]  Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0+0x2d
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+274
+j  org.greenstone3.ms.collectionChooser.<init>()V+22
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x1a55f2]
+V  [libjvm.so+0x196802]
+C  [java+0x1873]
+C  [libc.so.6+0x15dec]  __libc_start_main+0xdc
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+274
+j  org.greenstone3.ms.collectionChooser.<init>()V+22
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x09052a80 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=9884]
+  0x09043da8 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=9883]
+  0x08cb5f38 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=9881]
+  0x08cb4a28 JavaThread "CompilerThread0" daemon [_thread_blocked, id=9880]
+  0x08cb3a28 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=9879]
+  0x08cade48 JavaThread "Finalizer" daemon [_thread_blocked, id=9878]
+  0x08cabfc0 JavaThread "Reference Handler" daemon [_thread_blocked, id=9877]
+=>0x08c6dbb8 JavaThread "main" [_thread_in_native, id=9871]
+
+Other Threads:
+  0x08ca9420 VMThread [id=9876]
+  0x08cb7500 WatcherThread [id=9882]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 576K, used 24K [0x88b40000, 0x88be0000, 0x89020000)
+  eden space 512K,   4% used [0x88b40000, 0x88b46070, 0x88bc0000)
+  from space 64K,   0% used [0x88bc0000, 0x88bc0000, 0x88bd0000)
+  to   space 64K,   0% used [0x88bd0000, 0x88bd0000, 0x88be0000)
+ tenured generation   total 2352K, used 1408K [0x89020000, 0x8926c000, 0x8cb40000)
+   the space 2352K,  59% used [0x89020000, 0x891803e8, 0x89180400, 0x8926c000)
+ compacting perm gen  total 8192K, used 1602K [0x8cb40000, 0x8d340000, 0x90b40000)
+   the space 8192K,  19% used [0x8cb40000, 0x8ccd0a50, 0x8ccd0c00, 0x8d340000)
+    ro space 8192K,  68% used [0x90b40000, 0x910bf220, 0x910bf400, 0x91340000)
+    rw space 12288K,  48% used [0x91340000, 0x9190a968, 0x9190aa00, 0x91f40000)
+
+Dynamic libraries:
+00101000-0023b000 r-xp 00000000 03:03 5133208    /lib/libc-2.5.so
+0023b000-0023d000 r-xp 0013a000 03:03 5133208    /lib/libc-2.5.so
+0023d000-0023e000 rwxp 0013c000 03:03 5133208    /lib/libc-2.5.so
+0023e000-00241000 rwxp 0023e000 00:00 0 
+00243000-00341000 r-xp 00000000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00341000-00345000 rwxp 000fe000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00397000-003b0000 r-xp 00000000 03:03 5133207    /lib/ld-2.5.so
+003b0000-003b1000 r-xp 00019000 03:03 5133207    /lib/ld-2.5.so
+003b1000-003b2000 rwxp 0001a000 03:03 5133207    /lib/ld-2.5.so
+003b4000-003bd000 r-xp 00000000 03:03 5133232    /lib/libnss_files-2.5.so
+003bd000-003be000 r-xp 00008000 03:03 5133232    /lib/libnss_files-2.5.so
+003be000-003bf000 rwxp 00009000 03:03 5133232    /lib/libnss_files-2.5.so
+003c1000-003c9000 r-xp 00000000 03:03 5133235    /lib/libnss_nis-2.5.so
+003c9000-003ca000 r-xp 00007000 03:03 5133235    /lib/libnss_nis-2.5.so
+003ca000-003cb000 rwxp 00008000 03:03 5133235    /lib/libnss_nis-2.5.so
+0042e000-00441000 r-xp 00000000 03:03 5133221    /lib/libnsl-2.5.so
+00441000-00442000 r-xp 00012000 03:03 5133221    /lib/libnsl-2.5.so
+00442000-00443000 rwxp 00013000 03:03 5133221    /lib/libnsl-2.5.so
+00443000-00445000 rwxp 00443000 00:00 0 
+00d66000-00d8b000 r-xp 00000000 03:03 5133213    /lib/libm-2.5.so
+00d8b000-00d8c000 r-xp 00024000 03:03 5133213    /lib/libm-2.5.so
+00d8c000-00d8d000 rwxp 00025000 03:03 5133213    /lib/libm-2.5.so
+00d8f000-00d91000 r-xp 00000000 03:03 5133209    /lib/libdl-2.5.so
+00d91000-00d92000 r-xp 00001000 03:03 5133209    /lib/libdl-2.5.so
+00d92000-00d93000 rwxp 00002000 03:03 5133209    /lib/libdl-2.5.so
+00daa000-00dac000 r-xp 00000000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00dac000-00dad000 rwxp 00001000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00daf000-00db4000 r-xp 00000000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db4000-00db5000 rwxp 00004000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db7000-00dca000 r-xp 00000000 03:03 5133215    /lib/libpthread-2.5.so
+00dca000-00dcb000 r-xp 00012000 03:03 5133215    /lib/libpthread-2.5.so
+00dcb000-00dcc000 rwxp 00013000 03:03 5133215    /lib/libpthread-2.5.so
+00dcc000-00dce000 rwxp 00dcc000 00:00 0 
+00dd0000-00ddf000 r-xp 00000000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00ddf000-00de0000 rwxp 0000e000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00de2000-00dea000 r-xp 00000000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00dea000-00deb000 rwxp 00007000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00ded000-00df1000 r-xp 00000000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+00df1000-00df2000 rwxp 00003000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+06321000-0632a000 r-xp 00000000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0632a000-0632b000 rwxp 00008000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0640e000-06419000 r-xp 00000000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06419000-0641a000 rwxp 0000a000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06443000-06523000 r-xp 00000000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06523000-06527000 r-xp 000df000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06527000-06528000 rwxp 000e3000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06528000-0652e000 rwxp 06528000 00:00 0 
+070b3000-070b8000 r-xp 00000000 03:03 5129595    /lib/libcrypt-2.5.so
+070b8000-070b9000 r-xp 00004000 03:03 5129595    /lib/libcrypt-2.5.so
+070b9000-070ba000 rwxp 00005000 03:03 5129595    /lib/libcrypt-2.5.so
+070ba000-070e1000 rwxp 070ba000 00:00 0 
+08048000-08057000 r-xp 00000000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08057000-08059000 rwxp 0000e000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08c68000-090ce000 rwxp 08c68000 00:00 0 
+88b40000-88be0000 rwxp 88b40000 00:00 0 
+88be0000-89020000 rwxp 88be0000 00:00 0 
+89020000-8926c000 rwxp 89020000 00:00 0 
+8926c000-8cb40000 rwxp 8926c000 00:00 0 
+8cb40000-8d340000 rwxp 8cb40000 00:00 0 
+8d340000-90b40000 rwxp 8d340000 00:00 0 
+90b40000-910c0000 r-xs 00001000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+910c0000-91340000 rwxp 910c0000 00:00 0 
+91340000-9190b000 rwxp 00581000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+9190b000-91f40000 rwxp 9190b000 00:00 0 
+91f40000-92010000 rwxp 00b4c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92010000-92340000 rwxp 92010000 00:00 0 
+92340000-92344000 r-xs 00c1c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92344000-92740000 rwxp 92344000 00:00 0 
+b16c6000-b16eb000 r-xp 00000000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b16eb000-b16ed000 rwxp 00025000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b16ed000-b16ee000 rwxp b16ed000 00:00 0 
+b16ee000-b1704000 r-xp 00000000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b1704000-b1705000 rwxp 00016000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b1705000-b1739000 r-xp 00000000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b1739000-b1742000 rwxp 00033000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b1742000-b1748000 r-xp 00000000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b1748000-b1749000 rwxp 00005000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b175b000-b175d000 r-xp 00000000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b175d000-b175e000 rwxp 00002000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b175e000-b1761000 --xp b175e000 00:00 0 
+b1761000-b17df000 rwxp b1761000 00:00 0 
+b17df000-b17e2000 --xp b17df000 00:00 0 
+b17e2000-b1860000 rwxp b17e2000 00:00 0 
+b1860000-b18ca000 r-xp 00000000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b18ca000-b18d4000 rwxp 00069000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b18d4000-b18d8000 rwxp b18d4000 00:00 0 
+b18d8000-b18db000 r-xs 00000000 03:04 11177891   /research/cc108/greenstone3Project/lib/jni/mgpp.jar
+b18db000-b18de000 r-xs 00000000 03:04 11177890   /research/cc108/greenstone3Project/lib/jni/mg.jar
+b18de000-b18e4000 r-xs 00000000 03:04 11177881   /research/cc108/greenstone3Project/lib/jni/javagdbm.jar
+b18e4000-b1a0a000 r-xs 00000000 03:04 824762     /research/cc108/greenstone3Project/web/WEB-INF/lib/xercesImpl.jar
+b1a0a000-b1a4f000 r-xs 00000000 03:04 824767     /research/cc108/greenstone3Project/web/WEB-INF/lib/mail.jar
+b1a4f000-b1a7f000 r-xs 00000000 03:04 922338     /research/cc108/greenstone3Project/web/applet/xml-apis.jar
+b1a7f000-b1b2a000 r-xs 00000000 03:04 823556     /research/cc108/greenstone3Project/web/WEB-INF/lib/LuceneWrapper.jar
+b1b2a000-b1b79000 r-xs 00000000 03:04 824760     /research/cc108/greenstone3Project/web/WEB-INF/lib/lucene-1.4.1.jar
+b1b79000-b1bd0000 r-xs 00000000 03:04 822971     /research/cc108/greenstone3Project/web/WEB-INF/lib/log4j-1.2.8.jar
+b1bd0000-b1cf9000 r-xs 00000000 00:12 10701459   /home/cc108/jFreeChart/lib/jfreechart-1.0.6.jar
+b1cf9000-b1d46000 r-xs 00000000 00:12 10701456   /home/cc108/jFreeChart/lib/jcommon-1.0.10.jar
+b1d46000-b1d4e000 r-xs 00000000 03:04 823023     /research/cc108/greenstone3Project/web/WEB-INF/lib/jaxrpc.jar
+b1d4e000-b1ed6000 r-xs 00000000 03:04 823122     /research/cc108/greenstone3Project/web/WEB-INF/lib/axis.jar
+b1ed6000-b1f38000 r-xs 00000000 03:04 823577     /research/cc108/greenstone3Project/web/WEB-INF/lib/gsdl3.jar
+b1f38000-b1f66000 r-xp 00000000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1f66000-b1f69000 rwxp 0002e000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1f69000-b1f6a000 rwxp b1f69000 00:00 0 
+b1f6a000-b2030000 r-xp 00000000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b2030000-b2031000 rwxp 000c5000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b2031000-b2091000 r-xp 00000000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b2091000-b2097000 rwxp 0005f000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b2097000-b20bb000 rwxp b2097000 00:00 0 
+b20bb000-b2180000 r-xs 00000000 03:03 6669015    /opt/jdk1.5.0_10/jre/lib/ext/localedata.jar
+b2180000-b2182000 r-xs 00000000 03:03 6669016    /opt/jdk1.5.0_10/jre/lib/ext/dnsns.jar
+b2182000-b21ad000 r-xs 00000000 03:03 6669017    /opt/jdk1.5.0_10/jre/lib/ext/sunpkcs11.jar
+b21ad000-b21d4000 r-xs 00000000 03:03 6669014    /opt/jdk1.5.0_10/jre/lib/ext/sunjce_provider.jar
+b21d4000-b21d5000 --xp b21d4000 00:00 0 
+b21d5000-b2255000 rwxp b21d5000 00:00 0 
+b2255000-b2258000 --xp b2255000 00:00 0 
+b2258000-b22d6000 rwxp b2258000 00:00 0 
+b22d6000-b22d9000 --xp b22d6000 00:00 0 
+b22d9000-b2357000 rwxp b22d9000 00:00 0 
+b2357000-b235a000 --xp b2357000 00:00 0 
+b235a000-b23d8000 rwxp b235a000 00:00 0 
+b23d8000-b25d8000 r-xp 00000000 03:03 4773667    /usr/lib/locale/locale-archive
+b25d8000-b25db000 --xp b25d8000 00:00 0 
+b25db000-b2659000 rwxp b25db000 00:00 0 
+b2659000-b265c000 --xp b2659000 00:00 0 
+b265c000-b26da000 rwxp b265c000 00:00 0 
+b26da000-b26db000 --xp b26da000 00:00 0 
+b26db000-b2767000 rwxp b26db000 00:00 0 
+b2767000-b2783000 rwxp b2767000 00:00 0 
+b2783000-b2785000 rwxp b2783000 00:00 0 
+b2785000-b27a1000 rwxp b2785000 00:00 0 
+b27a1000-b27a2000 rwxp b27a1000 00:00 0 
+b27a2000-b27a3000 rwxp b27a2000 00:00 0 
+b27a3000-b27a5000 rwxp b27a3000 00:00 0 
+b27a5000-b27c1000 rwxp b27a5000 00:00 0 
+b27c1000-b27c5000 rwxp b27c1000 00:00 0 
+b27c5000-b27e1000 rwxp b27c5000 00:00 0 
+b27e1000-b27f0000 rwxp b27e1000 00:00 0 
+b27f0000-b286c000 rwxp b27f0000 00:00 0 
+b286c000-b2954000 rwxp b286c000 00:00 0 
+b2954000-b486c000 rwxp b2954000 00:00 0 
+b486c000-b50db000 r-xs 00000000 03:03 6668968    /opt/jdk1.5.0_10/jre/lib/charsets.jar
+b50db000-b50f0000 r-xs 00000000 03:03 6668987    /opt/jdk1.5.0_10/jre/lib/jce.jar
+b50f0000-b5175000 r-xs 00000000 03:03 6668837    /opt/jdk1.5.0_10/jre/lib/jsse.jar
+b5175000-b51de000 rwxp b5175000 00:00 0 
+b51de000-b77ec000 r-xs 00000000 03:03 6668836    /opt/jdk1.5.0_10/jre/lib/rt.jar
+b77ec000-b77fb000 r-xp 00000000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b77fb000-b77fd000 rwxp 0000e000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b77fd000-b781e000 r-xp 00000000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b781e000-b7820000 rwxp 00020000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b7820000-b7827000 r-xp 00000000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7827000-b7828000 r-xp 00006000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7828000-b7829000 rwxp 00007000 03:03 5129541    /lib/libnss_compat-2.5.so
+b7829000-b782a000 r-xs 00000000 03:04 11177901   /research/cc108/greenstone3Project/lib/jni/cp.jar
+b782a000-b782f000 rwxp b782a000 00:00 0 
+b782f000-b783a000 r-xp 00000000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b783a000-b783b000 rwxp 0000b000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b783b000-b7ba8000 r-xp 00000000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7ba8000-b7bc6000 rwxp 0036c000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7bc6000-b7fdf000 rwxp b7bc6000 00:00 0 
+b7fdf000-b7fe0000 r-xp 02aea000 03:03 4773667    /usr/lib/locale/locale-archive
+b7fe0000-b7fe8000 rwxs 00000000 03:03 4151847    /tmp/hsperfdata_cc108/9871
+b7fe8000-b7fee000 r-xp 00000000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7fee000-b7fef000 rwxp 00006000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7fef000-b7ff0000 rwxp b7fef000 00:00 0 
+b7ff0000-b7ff1000 r-xp b7ff0000 00:00 0 
+b7ff1000-b7ff2000 r-xp b7ff1000 00:00 0          [vdso]
+bf973000-bf976000 --xp bf973000 00:00 0 
+bf976000-bfb73000 rwxp bf976000 00:00 0          [stack]
+
+VM Arguments:
+jvm_args: -Djava.library.path=/research/cc108/greenstone3Project/lib/jni -Djava.net.preferIPv4Stack=true
+java_command: org.greenstone3.ms.collectionChooser
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=/opt/jdk1.5.0_10
+JRE_HOME=/opt/jdk1.5.0_10/jre
+PATH=/home/cc108/bin:/opt/jdk1.5.0_10:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
+USERNAME=cc108
+LD_LIBRARY_PATH=/opt/jdk1.5.0_10/jre/lib/i386/client:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386:/usr/lib/firefox-1.5.0.12
+SHELL=/bin/bash
+DISPLAY=:0.0
+
+Signal Handlers:
+SIGSEGV: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGBUS: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGFPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGPIPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGILL: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
+SIGUSR2: [libjvm.so+0x28ce60], sa_mask[0]=0x00000000, sa_flags=0x10000004
+SIGHUP: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGINT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGQUIT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGTERM: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Fedora Core release 6 (Zod)
+
+uname:Linux 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 12:34:26 EDT 2007 i686
+libc:glibc 2.5 NPTL 2.5 
+rlimit: STACK 10240k, CORE 0k, NPROC 16383, NOFILE 1024, AS infinity
+load average:0.31 0.27 0.31
+
+CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
+
+Memory: 4k page, physical 1034780k(41680k free), swap 2000084k(1998756k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0_10-b03) for linux-x86, built on Nov  9 2006 14:22:56 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid9894.log
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid9894.log	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/hs_err_pid9894.log	(revision 17156)
@@ -0,0 +1,342 @@
+#
+# An unexpected error has been detected by HotSpot Virtual Machine:
+#
+#  SIGSEGV (0xb) at pc=0x53e58955, pid=9894, tid=3086542528
+#
+# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
+# Problematic frame:
+# C  0x53e58955
+#
+
+---------------  T H R E A D  ---------------
+
+Current thread (0x082bcbb8):  JavaThread "main" [_thread_in_native, id=9894]
+
+siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x53e58955
+
+Registers:
+EAX=0x00db01b0, EBX=0xb169c1d0, ECX=0xb23acfd8, EDX=0x0023d380
+ESP=0xbfc47c4c, EBP=0xbfc47c78, ESI=0x086f1e10, EDI=0x086f1e10
+EIP=0x53e58955, CR2=0x53e58955, EFLAGS=0x00210202
+
+Top of Stack: (sp=0xbfc47c4c)
+0xbfc47c4c:   b1681a92 086f1e10 00000018 b169418f
+0xbfc47c5c:   086f1e10 00000001 086f1e2c b168199b
+0xbfc47c6c:   b169c1d0 b169418f b1681540 bfc47ca8
+0xbfc47c7c:   b1681bd1 b1694174 b1693bc2 b1681540
+0xbfc47c8c:   082bcc78 bfc47cd8 b1693bc2 b1681b7b
+0xbfc47c9c:   b169c1d0 086f1df0 082bcc78 bfc47cd8
+0xbfc47cac:   b167d5cc 082bcc78 bfc47d14 00000042
+0xbfc47cbc:   086f1df0 bfc47d34 8cccf160 b167d54b 
+
+Instructions: (pc=0x53e58955)
+0x53e58945:   
+[error occurred during error reporting, step 100, id 0xb]
+
+Stack: [0xbfa4e000,0xbfc4e000),  sp=0xbfc47c4c,  free space=2023k
+Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C  0x53e58955
+C  [libmgsearchjni.so+0xabd1]  InitEnv+0x61
+C  [libmgsearchjni.so+0x65cc]  Java_org_greenstone_mg_MGSearchWrapper_initCSide+0x8c
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x2b5acc]
+V  [libjvm.so+0x2b8a50]
+V  [libjvm.so+0x1ef248]
+C  [libjava.so+0x137ad]  Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0+0x2d
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+274
+j  org.greenstone3.ms.collectionChooser.<init>()V+22
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+V  [libjvm.so+0x17af0c]
+V  [libjvm.so+0x28b9d8]
+V  [libjvm.so+0x17ad3f]
+V  [libjvm.so+0x1a55f2]
+V  [libjvm.so+0x196802]
+C  [java+0x1873]
+C  [libc.so.6+0x15dec]  __libc_start_main+0xdc
+
+Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
+j  org.greenstone.mg.MGSearchWrapper.initCSide()Z+0
+j  org.greenstone.mg.MGSearchWrapper.<init>()V+34
+j  org.greenstone.gsdl3.service.GS2MGSearch.<init>()V+18
+v  ~StubRoutines::call_stub
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
+j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
+j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
+j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
+j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
+j  java.lang.Class.newInstance()Ljava/lang/Object;+15
+j  org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(Lorg/w3c/dom/Element;Lorg/w3c/dom/Element;)Z+179
+j  org.greenstone.gsdl3.collection.Collection.configure()Z+92
+j  org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(Ljava/lang/String;)Z+210
+j  org.greenstone.gsdl3.core.MessageRouter.configureCollections()Z+108
+j  org.greenstone.gsdl3.core.MessageRouter.configureLocalSite()Z+230
+j  org.greenstone.gsdl3.core.MessageRouter.configure()Z+219
+j  org.greenstone3.ms.DescribeMessager.<init>()V+274
+j  org.greenstone3.ms.collectionChooser.<init>()V+22
+j  org.greenstone3.ms.collectionChooser.main([Ljava/lang/String;)V+4
+v  ~StubRoutines::call_stub
+
+---------------  P R O C E S S  ---------------
+
+Java Threads: ( => current thread )
+  0x086a1ac0 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=9907]
+  0x08692de8 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=9906]
+  0x08304f80 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=9904]
+  0x08303a70 JavaThread "CompilerThread0" daemon [_thread_blocked, id=9903]
+  0x08302958 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=9902]
+  0x082fbd00 JavaThread "Finalizer" daemon [_thread_blocked, id=9901]
+  0x082faff8 JavaThread "Reference Handler" daemon [_thread_blocked, id=9900]
+=>0x082bcbb8 JavaThread "main" [_thread_in_native, id=9894]
+
+Other Threads:
+  0x082f8420 VMThread [id=9899]
+  0x08306548 WatcherThread [id=9905]
+
+VM state:not at safepoint (normal execution)
+
+VM Mutex/Monitor currently owned by a thread: None
+
+Heap
+ def new generation   total 576K, used 24K [0x88b40000, 0x88be0000, 0x89020000)
+  eden space 512K,   4% used [0x88b40000, 0x88b46070, 0x88bc0000)
+  from space 64K,   0% used [0x88bc0000, 0x88bc0000, 0x88bd0000)
+  to   space 64K,   0% used [0x88bd0000, 0x88bd0000, 0x88be0000)
+ tenured generation   total 2352K, used 1408K [0x89020000, 0x8926c000, 0x8cb40000)
+   the space 2352K,  59% used [0x89020000, 0x891803c0, 0x89180400, 0x8926c000)
+ compacting perm gen  total 8192K, used 1602K [0x8cb40000, 0x8d340000, 0x90b40000)
+   the space 8192K,  19% used [0x8cb40000, 0x8ccd0a98, 0x8ccd0c00, 0x8d340000)
+    ro space 8192K,  68% used [0x90b40000, 0x910bf220, 0x910bf400, 0x91340000)
+    rw space 12288K,  48% used [0x91340000, 0x9190a968, 0x9190aa00, 0x91f40000)
+
+Dynamic libraries:
+00101000-0023b000 r-xp 00000000 03:03 5133208    /lib/libc-2.5.so
+0023b000-0023d000 r-xp 0013a000 03:03 5133208    /lib/libc-2.5.so
+0023d000-0023e000 rwxp 0013c000 03:03 5133208    /lib/libc-2.5.so
+0023e000-00241000 rwxp 0023e000 00:00 0 
+00243000-00341000 r-xp 00000000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00341000-00345000 rwxp 000fe000 03:03 4796629    /usr/lib/libX11.so.6.2.0
+00397000-003b0000 r-xp 00000000 03:03 5133207    /lib/ld-2.5.so
+003b0000-003b1000 r-xp 00019000 03:03 5133207    /lib/ld-2.5.so
+003b1000-003b2000 rwxp 0001a000 03:03 5133207    /lib/ld-2.5.so
+003b4000-003bd000 r-xp 00000000 03:03 5133232    /lib/libnss_files-2.5.so
+003bd000-003be000 r-xp 00008000 03:03 5133232    /lib/libnss_files-2.5.so
+003be000-003bf000 rwxp 00009000 03:03 5133232    /lib/libnss_files-2.5.so
+003c1000-003c9000 r-xp 00000000 03:03 5133235    /lib/libnss_nis-2.5.so
+003c9000-003ca000 r-xp 00007000 03:03 5133235    /lib/libnss_nis-2.5.so
+003ca000-003cb000 rwxp 00008000 03:03 5133235    /lib/libnss_nis-2.5.so
+0042e000-00441000 r-xp 00000000 03:03 5133221    /lib/libnsl-2.5.so
+00441000-00442000 r-xp 00012000 03:03 5133221    /lib/libnsl-2.5.so
+00442000-00443000 rwxp 00013000 03:03 5133221    /lib/libnsl-2.5.so
+00443000-00445000 rwxp 00443000 00:00 0 
+00d66000-00d8b000 r-xp 00000000 03:03 5133213    /lib/libm-2.5.so
+00d8b000-00d8c000 r-xp 00024000 03:03 5133213    /lib/libm-2.5.so
+00d8c000-00d8d000 rwxp 00025000 03:03 5133213    /lib/libm-2.5.so
+00d8f000-00d91000 r-xp 00000000 03:03 5133209    /lib/libdl-2.5.so
+00d91000-00d92000 r-xp 00001000 03:03 5133209    /lib/libdl-2.5.so
+00d92000-00d93000 rwxp 00002000 03:03 5133209    /lib/libdl-2.5.so
+00daa000-00dac000 r-xp 00000000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00dac000-00dad000 rwxp 00001000 03:03 4796627    /usr/lib/libXau.so.6.0.0
+00daf000-00db4000 r-xp 00000000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db4000-00db5000 rwxp 00004000 03:03 4796628    /usr/lib/libXdmcp.so.6.0.0
+00db7000-00dca000 r-xp 00000000 03:03 5133215    /lib/libpthread-2.5.so
+00dca000-00dcb000 r-xp 00012000 03:03 5133215    /lib/libpthread-2.5.so
+00dcb000-00dcc000 rwxp 00013000 03:03 5133215    /lib/libpthread-2.5.so
+00dcc000-00dce000 rwxp 00dcc000 00:00 0 
+00dd0000-00ddf000 r-xp 00000000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00ddf000-00de0000 rwxp 0000e000 03:03 4796634    /usr/lib/libXext.so.6.4.0
+00de2000-00dea000 r-xp 00000000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00dea000-00deb000 rwxp 00007000 03:03 4796630    /usr/lib/libXrender.so.1.3.0
+00ded000-00df1000 r-xp 00000000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+00df1000-00df2000 rwxp 00003000 03:03 4796638    /usr/lib/libXfixes.so.3.1.0
+06321000-0632a000 r-xp 00000000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0632a000-0632b000 rwxp 00008000 03:03 4796639    /usr/lib/libXcursor.so.1.0.2
+0640e000-06419000 r-xp 00000000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06419000-0641a000 rwxp 0000a000 03:03 5133216    /lib/libgcc_s-4.1.2-20070626.so.1
+06443000-06523000 r-xp 00000000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06523000-06527000 r-xp 000df000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06527000-06528000 rwxp 000e3000 03:03 4781508    /usr/lib/libstdc++.so.6.0.8
+06528000-0652e000 rwxp 06528000 00:00 0 
+070b3000-070b8000 r-xp 00000000 03:03 5129595    /lib/libcrypt-2.5.so
+070b8000-070b9000 r-xp 00004000 03:03 5129595    /lib/libcrypt-2.5.so
+070b9000-070ba000 rwxp 00005000 03:03 5129595    /lib/libcrypt-2.5.so
+070ba000-070e1000 rwxp 070ba000 00:00 0 
+08048000-08057000 r-xp 00000000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+08057000-08059000 rwxp 0000e000 03:03 6669152    /opt/jdk1.5.0_10/bin/java
+082b7000-0871c000 rwxp 082b7000 00:00 0 
+88b40000-88be0000 rwxp 88b40000 00:00 0 
+88be0000-89020000 rwxp 88be0000 00:00 0 
+89020000-8926c000 rwxp 89020000 00:00 0 
+8926c000-8cb40000 rwxp 8926c000 00:00 0 
+8cb40000-8d340000 rwxp 8cb40000 00:00 0 
+8d340000-90b40000 rwxp 8d340000 00:00 0 
+90b40000-910c0000 r-xs 00001000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+910c0000-91340000 rwxp 910c0000 00:00 0 
+91340000-9190b000 rwxp 00581000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+9190b000-91f40000 rwxp 9190b000 00:00 0 
+91f40000-92010000 rwxp 00b4c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92010000-92340000 rwxp 92010000 00:00 0 
+92340000-92344000 r-xs 00c1c000 03:03 6668947    /opt/jdk1.5.0_10/jre/lib/i386/client/classes.jsa
+92344000-92740000 rwxp 92344000 00:00 0 
+b1677000-b169c000 r-xp 00000000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b169c000-b169e000 rwxp 00025000 03:04 11177893   /research/cc108/greenstone3Project/lib/jni/libmgsearchjni.so
+b169e000-b169f000 rwxp b169e000 00:00 0 
+b169f000-b16b5000 r-xp 00000000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b16b5000-b16b6000 rwxp 00016000 03:04 11177895   /research/cc108/greenstone3Project/lib/jni/libmgppretrievejni.so
+b16b6000-b16ea000 r-xp 00000000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b16ea000-b16f3000 rwxp 00033000 03:04 11177896   /research/cc108/greenstone3Project/lib/jni/libmgppsearchjni.so
+b16f3000-b16f9000 r-xp 00000000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b16f9000-b16fa000 rwxp 00005000 03:03 4792544    /usr/lib/libgdbm.so.2.0.0
+b170c000-b170e000 r-xp 00000000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b170e000-b170f000 rwxp 00002000 03:04 11177868   /research/cc108/greenstone3Project/lib/jni/libgdbmjava.so
+b170f000-b1712000 --xp b170f000 00:00 0 
+b1712000-b1790000 rwxp b1712000 00:00 0 
+b1790000-b1793000 --xp b1790000 00:00 0 
+b1793000-b1811000 rwxp b1793000 00:00 0 
+b1811000-b187b000 r-xp 00000000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b187b000-b1885000 rwxp 00069000 03:03 6668924    /opt/jdk1.5.0_10/jre/lib/i386/libfontmanager.so
+b1885000-b1889000 rwxp b1885000 00:00 0 
+b1889000-b188c000 r-xs 00000000 03:04 11177891   /research/cc108/greenstone3Project/lib/jni/mgpp.jar
+b188c000-b188f000 r-xs 00000000 03:04 11177890   /research/cc108/greenstone3Project/lib/jni/mg.jar
+b188f000-b1895000 r-xs 00000000 03:04 11177881   /research/cc108/greenstone3Project/lib/jni/javagdbm.jar
+b1895000-b19bb000 r-xs 00000000 03:04 824762     /research/cc108/greenstone3Project/web/WEB-INF/lib/xercesImpl.jar
+b19bb000-b1a00000 r-xs 00000000 03:04 824767     /research/cc108/greenstone3Project/web/WEB-INF/lib/mail.jar
+b1a00000-b1a30000 r-xs 00000000 03:04 922338     /research/cc108/greenstone3Project/web/applet/xml-apis.jar
+b1a30000-b1adb000 r-xs 00000000 03:04 823556     /research/cc108/greenstone3Project/web/WEB-INF/lib/LuceneWrapper.jar
+b1adb000-b1b2a000 r-xs 00000000 03:04 824760     /research/cc108/greenstone3Project/web/WEB-INF/lib/lucene-1.4.1.jar
+b1b2a000-b1b81000 r-xs 00000000 03:04 822971     /research/cc108/greenstone3Project/web/WEB-INF/lib/log4j-1.2.8.jar
+b1b81000-b1caa000 r-xs 00000000 00:12 10701459   /home/cc108/jFreeChart/lib/jfreechart-1.0.6.jar
+b1caa000-b1cf7000 r-xs 00000000 00:12 10701456   /home/cc108/jFreeChart/lib/jcommon-1.0.10.jar
+b1cf7000-b1cff000 r-xs 00000000 03:04 823023     /research/cc108/greenstone3Project/web/WEB-INF/lib/jaxrpc.jar
+b1cff000-b1e87000 r-xs 00000000 03:04 823122     /research/cc108/greenstone3Project/web/WEB-INF/lib/axis.jar
+b1e87000-b1ee9000 r-xs 00000000 03:04 823577     /research/cc108/greenstone3Project/web/WEB-INF/lib/gsdl3.jar
+b1ee9000-b1f17000 r-xp 00000000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1f17000-b1f1a000 rwxp 0002e000 03:03 6668930    /opt/jdk1.5.0_10/jre/lib/i386/xawt/libmawt.so
+b1f1a000-b1f1b000 rwxp b1f1a000 00:00 0 
+b1f1b000-b1fe1000 r-xp 00000000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1fe1000-b1fe2000 rwxp 000c5000 03:03 6668941    /opt/jdk1.5.0_10/jre/lib/i386/libmlib_image.so
+b1fe2000-b2042000 r-xp 00000000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b2042000-b2048000 rwxp 0005f000 03:03 6668940    /opt/jdk1.5.0_10/jre/lib/i386/libawt.so
+b2048000-b206c000 rwxp b2048000 00:00 0 
+b206c000-b2131000 r-xs 00000000 03:03 6669015    /opt/jdk1.5.0_10/jre/lib/ext/localedata.jar
+b2131000-b2133000 r-xs 00000000 03:03 6669016    /opt/jdk1.5.0_10/jre/lib/ext/dnsns.jar
+b2133000-b215e000 r-xs 00000000 03:03 6669017    /opt/jdk1.5.0_10/jre/lib/ext/sunpkcs11.jar
+b215e000-b2185000 r-xs 00000000 03:03 6669014    /opt/jdk1.5.0_10/jre/lib/ext/sunjce_provider.jar
+b2185000-b2186000 --xp b2185000 00:00 0 
+b2186000-b2206000 rwxp b2186000 00:00 0 
+b2206000-b2209000 --xp b2206000 00:00 0 
+b2209000-b2287000 rwxp b2209000 00:00 0 
+b2287000-b228a000 --xp b2287000 00:00 0 
+b228a000-b2308000 rwxp b228a000 00:00 0 
+b2308000-b230b000 --xp b2308000 00:00 0 
+b230b000-b2389000 rwxp b230b000 00:00 0 
+b2389000-b2589000 r-xp 00000000 03:03 4773667    /usr/lib/locale/locale-archive
+b2589000-b258c000 --xp b2589000 00:00 0 
+b258c000-b260a000 rwxp b258c000 00:00 0 
+b260a000-b260d000 --xp b260a000 00:00 0 
+b260d000-b268b000 rwxp b260d000 00:00 0 
+b268b000-b268c000 --xp b268b000 00:00 0 
+b268c000-b2718000 rwxp b268c000 00:00 0 
+b2718000-b2734000 rwxp b2718000 00:00 0 
+b2734000-b2736000 rwxp b2734000 00:00 0 
+b2736000-b2752000 rwxp b2736000 00:00 0 
+b2752000-b2753000 rwxp b2752000 00:00 0 
+b2753000-b2754000 rwxp b2753000 00:00 0 
+b2754000-b2756000 rwxp b2754000 00:00 0 
+b2756000-b2772000 rwxp b2756000 00:00 0 
+b2772000-b2776000 rwxp b2772000 00:00 0 
+b2776000-b2792000 rwxp b2776000 00:00 0 
+b2792000-b27a1000 rwxp b2792000 00:00 0 
+b27a1000-b281d000 rwxp b27a1000 00:00 0 
+b281d000-b2905000 rwxp b281d000 00:00 0 
+b2905000-b481d000 rwxp b2905000 00:00 0 
+b481d000-b508c000 r-xs 00000000 03:03 6668968    /opt/jdk1.5.0_10/jre/lib/charsets.jar
+b508c000-b50a1000 r-xs 00000000 03:03 6668987    /opt/jdk1.5.0_10/jre/lib/jce.jar
+b50a1000-b5126000 r-xs 00000000 03:03 6668837    /opt/jdk1.5.0_10/jre/lib/jsse.jar
+b5126000-b518f000 rwxp b5126000 00:00 0 
+b518f000-b779d000 r-xs 00000000 03:03 6668836    /opt/jdk1.5.0_10/jre/lib/rt.jar
+b779d000-b77ac000 r-xp 00000000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b77ac000-b77ae000 rwxp 0000e000 03:03 6668961    /opt/jdk1.5.0_10/jre/lib/i386/libzip.so
+b77ae000-b77cf000 r-xp 00000000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b77cf000-b77d1000 rwxp 00020000 03:03 6668950    /opt/jdk1.5.0_10/jre/lib/i386/libjava.so
+b77d1000-b77d8000 r-xp 00000000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77d8000-b77d9000 r-xp 00006000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77d9000-b77da000 rwxp 00007000 03:03 5129541    /lib/libnss_compat-2.5.so
+b77da000-b77db000 r-xs 00000000 03:04 11177901   /research/cc108/greenstone3Project/lib/jni/cp.jar
+b77db000-b77e0000 rwxp b77db000 00:00 0 
+b77e0000-b77eb000 r-xp 00000000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b77eb000-b77ec000 rwxp 0000b000 03:03 6668939    /opt/jdk1.5.0_10/jre/lib/i386/libverify.so
+b77ec000-b7b59000 r-xp 00000000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b59000-b7b77000 rwxp 0036c000 03:03 6668944    /opt/jdk1.5.0_10/jre/lib/i386/client/libjvm.so
+b7b77000-b7f90000 rwxp b7b77000 00:00 0 
+b7f90000-b7f91000 r-xp 02aea000 03:03 4773667    /usr/lib/locale/locale-archive
+b7f91000-b7f99000 rwxs 00000000 03:03 4151847    /tmp/hsperfdata_cc108/9894
+b7f99000-b7f9f000 r-xp 00000000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7f9f000-b7fa0000 rwxp 00006000 03:03 6668952    /opt/jdk1.5.0_10/jre/lib/i386/native_threads/libhpi.so
+b7fa0000-b7fa1000 rwxp b7fa0000 00:00 0 
+b7fa1000-b7fa2000 r-xp b7fa1000 00:00 0 
+b7fa2000-b7fa3000 r-xp b7fa2000 00:00 0          [vdso]
+bfa4e000-bfa51000 --xp bfa4e000 00:00 0 
+bfa51000-bfc4e000 rwxp bfa51000 00:00 0          [stack]
+
+VM Arguments:
+jvm_args: -Djava.library.path=/research/cc108/greenstone3Project/lib/jni -Djava.net.preferIPv4Stack=true
+java_command: org.greenstone3.ms.collectionChooser
+Launcher Type: SUN_STANDARD
+
+Environment Variables:
+JAVA_HOME=/opt/jdk1.5.0_10
+JRE_HOME=/opt/jdk1.5.0_10/jre
+PATH=/home/cc108/bin:/opt/jdk1.5.0_10:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
+USERNAME=cc108
+LD_LIBRARY_PATH=/opt/jdk1.5.0_10/jre/lib/i386/client:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386:/usr/lib/firefox-1.5.0.12
+SHELL=/bin/bash
+DISPLAY=:0.0
+
+Signal Handlers:
+SIGSEGV: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGBUS: [libjvm.so+0x326820], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGFPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGPIPE: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGILL: [libjvm.so+0x28aa10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
+SIGUSR2: [libjvm.so+0x28ce60], sa_mask[0]=0x00000000, sa_flags=0x10000004
+SIGHUP: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGINT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGQUIT: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+SIGTERM: [libjvm.so+0x28c890], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
+
+
+---------------  S Y S T E M  ---------------
+
+OS:Fedora Core release 6 (Zod)
+
+uname:Linux 2.6.22.2-42.fc6 #1 SMP Wed Aug 15 12:34:26 EDT 2007 i686
+libc:glibc 2.5 NPTL 2.5 
+rlimit: STACK 10240k, CORE 0k, NPROC 16383, NOFILE 1024, AS infinity
+load average:0.47 0.31 0.32
+
+CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnowext, 3dnow
+
+Memory: 4k page, physical 1034780k(41584k free), swap 2000084k(1998756k free)
+
+vm_info: Java HotSpot(TM) Client VM (1.5.0_10-b03) for linux-x86, built on Nov  9 2006 14:22:56 by java_re with gcc 3.2.1-7a (J2SE release)
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/archivedir.xml
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/archivedir.xml	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/archivedir.xml	(revision 17156)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<root>
+<Document id="HASH01ae7dc8bab81ce23c6199f1">
+<Frequency>1</Frequency>
+<ActualValue>HASH01ae.dir</ActualValue>
+</Document>
+<Document id="HASH011f167a38cf2b151f0dd553">
+<Frequency>1</Frequency>
+<ActualValue>HASH011f.dir</ActualValue>
+</Document>
+<Document id="HASH01dd2a8549d72304c92c7c6d">
+<Frequency>1</Frequency>
+<ActualValue>HASH01dd.dir</ActualValue>
+</Document>
+<Document id="HASHd4b66aec78ae266c7c86a1">
+<Frequency>1</Frequency>
+<ActualValue>HASHd4b6.dir</ActualValue>
+</Document>
+</root>
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Contributor.xml
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Contributor.xml	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Contributor.xml	(revision 17156)
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<root/>
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Coverage.xml
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Coverage.xml	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Coverage.xml	(revision 17156)
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<root/>
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Creator.xml
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Creator.xml	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Creator.xml	(revision 17156)
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<root/>
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Date.xml
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Date.xml	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Date.xml	(revision 17156)
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<root/>
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Description.xml
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Description.xml	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Description.xml	(revision 17156)
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<root/>
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Format.xml
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Format.xml	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Format.xml	(revision 17156)
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<root/>
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Identifier.xml
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Identifier.xml	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Identifier.xml	(revision 17156)
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<root/>
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Language.xml
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Language.xml	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Language.xml	(revision 17156)
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<root/>
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Publisher.xml
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Publisher.xml	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Publisher.xml	(revision 17156)
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<root/>
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Relation.xml
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Relation.xml	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Relation.xml	(revision 17156)
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<root/>
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Rights.xml
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Rights.xml	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Rights.xml	(revision 17156)
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<root/>
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Source.xml
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Source.xml	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Source.xml	(revision 17156)
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<root/>
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Subject.xml
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Subject.xml	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Subject.xml	(revision 17156)
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<root/>
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Title.xml
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Title.xml	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Title.xml	(revision 17156)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<root>
+<Document id="HASH01ae7dc8bab81ce23c6199f1">
+<Frequency>1</Frequency>
+<ActualValue>eric chan</ActualValue>
+</Document>
+<Document id="HASH011f167a38cf2b151f0dd553">
+<Frequency>1</Frequency>
+<ActualValue>eric</ActualValue>
+</Document>
+<Document id="HASH01dd2a8549d72304c92c7c6d">
+<Frequency>1</Frequency>
+<ActualValue>uow</ActualValue>
+</Document>
+<Document id="HASHd4b66aec78ae266c7c86a1">
+<Frequency>1</Frequency>
+<ActualValue>daven</ActualValue>
+</Document>
+</root>
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Type.xml
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Type.xml	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/sampleco/metadataStats/dc.Type.xml	(revision 17156)
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<root/>
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/Mat/DescribeMessager.java
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/Mat/DescribeMessager.java	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/Mat/DescribeMessager.java	(revision 17156)
@@ -0,0 +1,344 @@
+package Mat;
+
+import java.io.File;
+import java.util.ArrayList;
+import java.util.StringTokenizer;
+
+import org.w3c.dom.Node;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+
+import org.greenstone.gsdl3.core.MessageRouter;
+import org.greenstone.gsdl3.util.DBInfo;
+import org.greenstone.gsdl3.util.GDBMWrapper;
+import org.greenstone.gsdl3.util.GlobalProperties;
+import org.greenstone.gsdl3.util.GSFile;
+import org.greenstone.gsdl3.util.GSXML;
+import org.greenstone.gsdl3.util.XMLConverter;
+
+
+
+public class DescribeMessager {
+	protected String site_name = "localsite";
+	private GDBMWrapper gdbm_src = new GDBMWrapper();
+	/** message router object to pass requests messages to and which 
+	 * will process them.*/
+	protected MessageRouter mr = null;
+	
+	/** container Document to create XML Nodes */
+	protected Document doc=null;
+	/** a converter class to parse XML and create Docs */
+	protected XMLConverter converter=null;
+	
+	protected final static String mrSubsetOptions = //messageRouter 
+		"collectionList serviceClusterList serviceList siteList"; 
+	protected final static String csSubsetOptions = //collections and serviceClusters 
+		"metadataList serviceList displayItemList";
+	protected final static String serviceSubsetOptions = //services
+		"paramList displayItemList";
+	final int MESSAGEROUTER = 1, COLLECTION = 2, 
+		SERVICECLUSTER = 3, SERVICE = 4;
+	
+	
+	public DescribeMessager() {
+	    String gsdl3_home = GlobalProperties.getGSDL3Home();
+		if (gsdl3_home == null || gsdl3_home.equals("")) {
+		    System.err.println("Couldn't access GSDL3Home from GlobalProperties.getGSDL3HOME, can't initialize the SOAP Server.");
+		    return;
+		}
+		
+		String site_home = GSFile.siteHome(gsdl3_home, this.site_name);
+		
+		File site_file = new File(site_home);
+		if (!site_file.isDirectory()) {
+		    System.err.println("The site directory "+site_file.getPath()+" doesn't exist. Can't initialize the SOAP Server.");
+		    return;
+		} 
+		this.converter = new XMLConverter();
+		this.doc = this.converter.newDOM();
+		
+		mr = new MessageRouter();
+		mr.setSiteName(this.site_name);
+		mr.configure();
+    }
+	
+	//Describe messages sent to MESSAGEROUTER
+	//By default: sends a describe request message to the MessageRouter, with
+	//lang=en (and all MessageRouter subsetOptions set).
+	public String describe() 
+	{
+		//describe(to=MR, lang=en, no subsetOptions, from valid mrSubsetOptions)
+		return describe("", "", "", mrSubsetOptions);
+	}
+	
+	public String describe(String subsetOption) 
+	{
+		return describe("", "", subsetOption, mrSubsetOptions);
+	}
+	
+	public String describe(String lang, String subsetOption) 
+	{
+		return describe("", lang, subsetOption, mrSubsetOptions);
+	}
+	
+	
+	//Describe messages sent to COLLECTIONS and SERVICERACKS
+	public String describeServiceRack(String toSC, String lang, 
+			String subsetOption)
+	{
+		return describe(toSC, lang, subsetOption, csSubsetOptions);
+	}
+	
+	
+	public String describeCollection(String toColl, String lang, 
+			String subsetOption)
+	{
+		return describe(toColl, lang, subsetOption, csSubsetOptions);
+	}
+	
+	//Describe Messages sent to Services (or Collection/Services) 
+	public String describeCollService(String toColl, String toService, 
+			String lang, String subsetOption) {
+		/*String message =  
+			"<message><request lang=\"en\" to=\"gs2mgppdemo/FieldQuery\" type=\"describe\" /></message>";
+				
+			String response = mr.process(message);
+			System.out.println("Response to: " + message + ":\n");
+			System.out.println(response);
+		*/	
+		return describe(toColl + "/" + toService, 
+				lang, subsetOption, serviceSubsetOptions);
+	}
+	
+	public String describeService(
+			String toService, String lang, String subsetOption) 
+	{
+		return describe(toService, lang, subsetOption, serviceSubsetOptions);
+	}
+	
+	//GET POSSIBLE SUBSET OPTIONS FOR THE VARIOUS RECEIVERS (MessageRouter,
+	//Services, ServiceRack/Collections
+	
+	//Subset options that can be specified when asking the messageRouter to
+	//describe itself
+	public String getMessageRouterSubsetOptions() {
+		return mrSubsetOptions;
+	}
+	
+	//Possible subset options for ServiceClusters and Collections
+	public String getCSSubsetOptions() {
+		return csSubsetOptions;
+	}
+	
+	//Possible subset options for services
+	public String getServiceSubsetOptions() {
+		return serviceSubsetOptions;
+	}
+	
+	//If public, this method would give full access: a describe message that 
+	//lets the user specify all the details of who the receiver is, and what 
+	//details are requested.
+	
+	/*
+	protected String describe(String to, String lang, 
+			String subsetOption, String validSubsetOptions)
+	{
+		//Create message element: <message></message>
+		Element message = this.doc.createElement(GSXML.MESSAGE_ELEM);
+		//<message><request lang="en" to="" type="describe" uid="" /></message>
+		Element request = GSXML.createBasicRequest(
+				this.doc, GSXML.REQUEST_TYPE_DESCRIBE, to, lang, "");
+		
+		//Check if only a subset of this Module Interface's data is asked
+		//to be described
+		if(subsetOption != "") {
+			//Now deal with the value for subset param:
+			//only deal with valid params for subset of to-ModuleInterface
+			if(validSubsetOptions.indexOf(subsetOption) == -1)
+				return "Invalid List to be described. Choose one of:\n"
+					+ validSubsetOptions;
+			
+			//else, append <paramList />
+			Element param_list = this.doc.createElement(
+					GSXML.PARAM_ELEM+GSXML.LIST_MODIFIER);
+			//append <param name="subset" value=paramValue />
+			//createParam(Document, name, value); 
+			//Name needs to be "subset", but this can be either GSXML.SUBSET_PARAM
+			//or GSXML.SYSTEM_SUBSET_ATT. It's the first one probably.
+			param_list.appendChild(GSXML.createParameter(
+							this.doc, GSXML.SUBSET_PARAM, subsetOption));
+			request.appendChild(param_list);
+		}
+		message.appendChild(request);
+		
+		//System.out.println(this.converter.getPrettyString(message));
+		
+		//Let the messagerouter process the request message and get the response
+		Element response = mr.process(message.getFirstChild());
+		//String response = mr.process(this.converter.getPrettyString(message));
+		//this.converter.getPrettyString(arg0);
+		//mr.p
+		//Return it as a String formatted for display
+		System.out.println(this.converter.getPrettyString(response));
+		
+		return null;
+		//return this.converter.getPrettyString(response);
+		//return this.converter.getString(response);
+		//return mr.process(this.converter.getString(message));
+	}
+	*/
+	
+	
+	
+	protected String describe(String to, String lang, 
+			String subsetOption, String validSubsetOptions)
+	{
+		//Create message element: <message></message>
+		Node message = this.doc.createElement(GSXML.MESSAGE_ELEM);
+		//<message><request lang="en" to="" type="describe" uid="" /></message>
+		Node request = GSXML.createBasicRequest(
+				this.doc, GSXML.REQUEST_TYPE_DESCRIBE, to, lang, "");
+		
+		//Check if only a subset of this Module Interface's data is asked
+		//to be described
+		if(subsetOption != "") {
+			//Now deal with the value for subset param:
+			//only deal with valid params for subset of to-ModuleInterface
+			if(validSubsetOptions.indexOf(subsetOption) == -1)
+				return "Invalid List to be described. Choose one of:\n"
+					+ validSubsetOptions;
+			
+			//else, append <paramList />
+			Node param_list = this.doc.createElement(GSXML.PARAM_ELEM+GSXML.LIST_MODIFIER);
+			//append <param name="subset" value=paramValue />
+			//createParam(Document, name, value); 
+			//Name needs to be "subset", but this can be either GSXML.SUBSET_PARAM
+			//or GSXML.SYSTEM_SUBSET_ATT. It's the first one probably.
+			param_list.appendChild(GSXML.createParameter(this.doc, GSXML.SUBSET_PARAM, subsetOption));
+			request.appendChild(param_list);
+		}
+		message.appendChild(request);
+		
+		//System.out.println(this.converter.getPrettyString(message));
+		
+		//Let the messagerouter process the request message and get the response
+		Node response = mr.process(message);
+		//String response = mr.process(this.converter.getPrettyString(message));
+		//this.converter.getPrettyString(arg0);
+		//mr.p
+		//Return it as a String formatted for display
+		Element res = (Element) response;
+		System.out.println(this.converter.getPrettyString(res));
+		System.out.println("break1");
+		
+    	String gsdl3_home = GlobalProperties.getGSDL3Home();
+    	if (gsdl3_home == null || gsdl3_home.equals("")) {
+    	    System.err.println("Couldn't access GSDL3Home from GlobalProperties.getGSDL3HOME, can't initialize the SOAP Server.");
+    	}
+    	
+    	String site_home = GSFile.siteHome(gsdl3_home, this.site_name);
+		String gdbm = GSFile.collectionDatabaseFile(site_home,"sampleco","sampleco","gdbm");
+
+		/*
+		try{
+		System.out.println("break2.1");
+		//System.out.println(this.gdbm_src.openDatabase("gs2mgppdemo",GDBMWrapper.READ));
+		}catch (Exception ex) {ex.printStackTrace();}
+		*/
+		//System.out.println(gdbm);
+		System.out.println("break2.2");
+		if (!this.gdbm_src.openDatabase(gdbm,GDBMWrapper.READ)) {
+		//if(false){
+			System.out.println("break31");
+		    System.out.println("Could not open GDBM database!");
+		    
+		}
+		
+		else{
+			System.out.println("break32");
+
+			
+		    String info = this.gdbm_src.getValue("browselist");
+		
+		    if (info == null) {
+		    	System.out.println("cannot locate the list");
+		    }
+		    else{
+			
+			if (info == null) {
+				System.out.println("the db does not contain any info");
+			}
+		    
+			
+			ArrayList children = new ArrayList();
+			StringTokenizer st = new StringTokenizer(info, ";");
+			//StringTokenizer st = new StringTokenizer(st2, ";");
+			//System.out.println(info);
+
+			while (st.hasMoreTokens()) {
+				String part = st.nextToken(";");
+				//System.out.println("..."+part+".....1");
+				
+				
+				if(part.contains("<contains>")){
+					part = part.replace("<contains>", "");
+				}
+				else if(part.contains("<thistype>")){
+					//System.out.println("here");
+					int location = part.indexOf("<thistype>");
+					part = part.substring(0,location-1);
+				}
+				System.out.println("..."+part+".....2");
+			    //String child_id = st.nextToken().replaceAll("\"", node_id);
+			    //children.add(child_id);
+			}
+			
+			gdbm_src.closeDatabase();
+			System.out.println("start..................");
+			//System.out.println(info);
+			System.out.println("end..................");
+			//parseMetadata(children,"all");
+			//TotalDoc = children.size();
+			//System.out.println("Total Doc:"+TotalDoc);
+			//status = true;
+			//Display();
+		    //}
+		    }
+		}
+		
+		return "";
+		//return this.converter.getPrettyString(response);
+		//return this.converter.getString(response);
+		//return mr.process(this.converter.getString(message));
+	}
+	//UNUSED:
+	public static String describeExampleResponse() {
+		XMLConverter converter = new XMLConverter();
+		Document doc = converter.getDOM("SampleServiceResponse.xml");
+		return converter.getPrettyString(doc);
+	}
+
+	
+	
+	public static void main(String[] args) {
+		DescribeMessager dm = new DescribeMessager();
+		String response[] = new String[3];
+		
+		response[0] = dm.describe();
+		//response[1] = dm.describeMessageRouter("", "serviceList"); //""->lang=en
+		response[1] = dm.describeService("TextQuery", "en", "");
+		response[2] = dm.describeCollection("gs2mgdemo", "en", "metadataList");
+		//response[3] = dm.describeCollection("gberg", "en", "serviceList");
+		//response[4] = dm.describeService("DocumentMetadataRetrieve", "", "");
+		//response[3] = dm.describeService("DocumentContentRetrieve", "en", "");
+
+		//French doesn't seem to have any effect
+		//response[3] = dm.sendDescribe("", "fr"); 
+		/*
+		for(int i = 0; i < response.length; i++)
+			System.out.println(
+					(response[i]==null) ? "no response" : response[i]);
+		System.exit(0);
+		*/
+	}
+}
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/AbsoluteConstraints.java
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/AbsoluteConstraints.java	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/AbsoluteConstraints.java	(revision 17156)
@@ -0,0 +1,116 @@
+/*
+ *                 Sun Public License Notice
+ *
+ * The contents of this file are subject to the Sun Public License
+ * Version 1.0 (the "License"). You may not use this file except in
+ * compliance with the License. A copy of the License is available at
+ * http://www.sun.com/
+ *
+ * The Original Code is NetBeans. The Initial Developer of the Original
+ * Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun
+ * Microsystems, Inc. All Rights Reserved.
+ */
+
+//package org.netbeans.lib.awtextra;
+
+package org.greenstone3.ms;
+
+import java.awt.Dimension;
+import java.awt.Point;
+
+/** An object that encapsulates position and (optionally) size for
+ * Absolute positioning of components.
+ *
+ * @see AbsoluteLayout
+ * @version 1.01, Aug 19, 1998
+ */
+public class AbsoluteConstraints implements java.io.Serializable {
+    /** generated Serialized Version UID */
+    static final long serialVersionUID = 5261460716622152494L;
+
+    /** The X position of the component */
+    public int x;
+    /** The Y position of the component */
+    public int y;
+    /** The width of the component or -1 if the component's preferred width should be used */
+    public int width = -1;
+    /** The height of the component or -1 if the component's preferred height should be used */
+    public int height = -1;
+
+    /** Creates a new AbsoluteConstraints for specified position.
+     * @param pos The position to be represented by this AbsoluteConstraints
+     */
+    public AbsoluteConstraints(Point pos) {
+        this(pos.x, pos.y);
+    }
+
+    /** Creates a new AbsoluteConstraints for specified position.
+     * @param x The X position to be represented by this AbsoluteConstraints
+     * @param y The Y position to be represented by this AbsoluteConstraints
+     */
+    public AbsoluteConstraints(int x, int y) {
+        this.x = x;
+        this.y = y;
+    }
+
+    /** Creates a new AbsoluteConstraints for specified position and size.
+     * @param pos  The position to be represented by this AbsoluteConstraints
+     * @param size The size to be represented by this AbsoluteConstraints or null
+     *             if the component's preferred size should be used
+     */
+    public AbsoluteConstraints(Point pos, Dimension size) {
+        this.x = pos.x;
+        this.y = pos.y;
+        if (size != null) {
+            this.width = size.width;
+            this.height = size.height;
+        }
+    }
+
+    /** Creates a new AbsoluteConstraints for specified position and size.
+     * @param x      The X position to be represented by this AbsoluteConstraints
+     * @param y      The Y position to be represented by this AbsoluteConstraints
+     * @param width  The width to be represented by this AbsoluteConstraints or -1 if the
+     *               component's preferred width should be used
+     * @param height The height to be represented by this AbsoluteConstraints or -1 if the
+     *               component's preferred height should be used
+     */
+    public AbsoluteConstraints(int x, int y, int width, int height) {
+        this.x = x;
+        this.y = y;
+        this.width = width;
+        this.height = height;
+    }
+
+    /** @return The X position represented by this AbsoluteConstraints */
+    public int getX() {
+        return x;
+    }
+
+    /** @return The Y position represented by this AbsoluteConstraints */
+    public int getY() {
+        return y;
+    }
+
+    /** @return The width represented by this AbsoluteConstraints or -1 if the
+     * component's preferred width should be used
+     */
+    public int getWidth() {
+        return width;
+    }
+
+    /** @return The height represented by this AbsoluteConstraints or -1 if the
+     * component's preferred height should be used
+     */
+    public int getHeight() {
+        return height;
+    }
+
+    public String toString() {
+        return super.toString() + " [x=" + x + ", y=" + y + ", width=" + width + ", height=" + height + "]";
+    }
+
+}
+
+
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/AbsoluteLayout.java
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/AbsoluteLayout.java	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/AbsoluteLayout.java	(revision 17156)
@@ -0,0 +1,166 @@
+/*
+ *                 Sun Public License Notice
+ *
+ * The contents of this file are subject to the Sun Public License
+ * Version 1.0 (the "License"). You may not use this file except in
+ * compliance with the License. A copy of the License is available at
+ * http://www.sun.com/
+ *
+ * The Original Code is NetBeans. The Initial Developer of the Original
+ * Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun
+ * Microsystems, Inc. All Rights Reserved.
+ */
+
+//package org.netbeans.lib.awtextra;
+package org.greenstone3.ms;
+
+import java.awt.*;
+
+/** AbsoluteLayout is a LayoutManager that works as a replacement for "null" layout to
+ * allow placement of components in absolute positions.
+ *
+ * @see AbsoluteConstraints
+ * @version 1.01, Aug 19, 1998
+ */
+public class AbsoluteLayout implements LayoutManager2, java.io.Serializable {
+    /** generated Serialized Version UID */
+    static final long serialVersionUID = -1919857869177070440L;
+
+    /** Adds the specified component with the specified name to
+     * the layout.
+     * @param name the component name
+     * @param comp the component to be added
+     */
+    public void addLayoutComponent(String name, Component comp) {
+        throw new IllegalArgumentException();
+    }
+
+    /** Removes the specified component from the layout.
+     * @param comp the component to be removed
+     */
+    public void removeLayoutComponent(Component comp) {
+        constraints.remove(comp);
+    }
+
+    /** Calculates the preferred dimension for the specified
+     * panel given the components in the specified parent container.
+     * @param parent the component to be laid out
+     *
+     * @see #minimumLayoutSize
+     */
+    public Dimension preferredLayoutSize(Container parent) {
+        int maxWidth = 0;
+        int maxHeight = 0;
+        for (java.util.Enumeration e = constraints.keys(); e.hasMoreElements();) {
+            Component comp = (Component) e.nextElement();
+            AbsoluteConstraints ac = (AbsoluteConstraints) constraints.get(comp);
+            Dimension size = comp.getPreferredSize();
+
+            int width = ac.getWidth();
+            if (width == -1) width = size.width;
+            int height = ac.getHeight();
+            if (height == -1) height = size.height;
+
+            if (ac.x + width > maxWidth)
+                maxWidth = ac.x + width;
+            if (ac.y + height > maxHeight)
+                maxHeight = ac.y + height;
+        }
+        return new Dimension(maxWidth, maxHeight);
+    }
+
+    /** Calculates the minimum dimension for the specified
+     * panel given the components in the specified parent container.
+     * @param parent the component to be laid out
+     * @see #preferredLayoutSize
+     */
+    public Dimension minimumLayoutSize(Container parent) {
+        int maxWidth = 0;
+        int maxHeight = 0;
+        for (java.util.Enumeration e = constraints.keys(); e.hasMoreElements();) {
+            Component comp = (Component) e.nextElement();
+            AbsoluteConstraints ac = (AbsoluteConstraints) constraints.get(comp);
+
+            Dimension size = comp.getMinimumSize();
+
+            int width = ac.getWidth();
+            if (width == -1) width = size.width;
+            int height = ac.getHeight();
+            if (height == -1) height = size.height;
+
+            if (ac.x + width > maxWidth)
+                maxWidth = ac.x + width;
+            if (ac.y + height > maxHeight)
+                maxHeight = ac.y + height;
+        }
+        return new Dimension(maxWidth, maxHeight);
+    }
+
+    /** Lays out the container in the specified panel.
+     * @param parent the component which needs to be laid out
+     */
+    public void layoutContainer(Container parent) {
+        for (java.util.Enumeration e = constraints.keys(); e.hasMoreElements();) {
+            Component comp = (Component) e.nextElement();
+            AbsoluteConstraints ac = (AbsoluteConstraints) constraints.get(comp);
+            Dimension size = comp.getPreferredSize();
+            int width = ac.getWidth();
+            if (width == -1) width = size.width;
+            int height = ac.getHeight();
+            if (height == -1) height = size.height;
+
+            comp.setBounds(ac.x, ac.y, width, height);
+        }
+    }
+
+    /** Adds the specified component to the layout, using the specified
+     * constraint object.
+     * @param comp the component to be added
+     * @param constr  where/how the component is added to the layout.
+     */
+    public void addLayoutComponent(Component comp, Object constr) {
+        if (!(constr instanceof AbsoluteConstraints))
+            throw new IllegalArgumentException();
+        constraints.put(comp, constr);
+    }
+
+    /** Returns the maximum size of this component.
+     * @see java.awt.Component#getMinimumSize()
+     * @see java.awt.Component#getPreferredSize()
+     * @see LayoutManager
+     */
+    public Dimension maximumLayoutSize(Container target) {
+        return new Dimension(Integer.MAX_VALUE, Integer.MAX_VALUE);
+    }
+
+    /** Returns the alignment along the x axis.  This specifies how
+     * the component would like to be aligned relative to other
+     * components.  The value should be a number between 0 and 1
+     * where 0 represents alignment along the origin, 1 is aligned
+     * the furthest away from the origin, 0.5 is centered, etc.
+     */
+    public float getLayoutAlignmentX(Container target) {
+        return 0;
+    }
+
+    /** Returns the alignment along the y axis.  This specifies how
+     * the component would like to be aligned relative to other
+     * components.  The value should be a number between 0 and 1
+     * where 0 represents alignment along the origin, 1 is aligned
+     * the furthest away from the origin, 0.5 is centered, etc.
+     */
+    public float getLayoutAlignmentY(Container target) {
+        return 0;
+    }
+
+    /** Invalidates the layout, indicating that if the layout manager
+     * has cached information it should be discarded.
+     */
+    public void invalidateLayout(Container target) {
+    }
+
+
+    /** A mapping <Component, AbsoluteConstraints> */
+    protected java.util.Hashtable constraints = new java.util.Hashtable();
+}
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/CursorController.java
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/CursorController.java	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/CursorController.java	(revision 17156)
@@ -0,0 +1,28 @@
+package org.greenstone3.ms;
+
+import java.awt.Component;
+import java.awt.Cursor;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+
+public final class CursorController {
+    
+    public final static Cursor busyCursor = Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR);
+    public final static Cursor defaultCursor = Cursor.getDefaultCursor();
+    
+    private CursorController() {}
+    
+    public static ActionListener createListener(final Component component, final ActionListener mainActionListener) {
+	ActionListener actionListener = new ActionListener() {
+		public void actionPerformed(ActionEvent ae) {
+		    try {
+			component.setCursor(busyCursor);
+			mainActionListener.actionPerformed(ae);
+		    } finally {
+			component.setCursor(defaultCursor);
+		    }
+		}
+	    };
+	return actionListener;
+    }
+}
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/DataMaker.java
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/DataMaker.java	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/DataMaker.java	(revision 17156)
@@ -0,0 +1,834 @@
+package org.greenstone3.ms;
+
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.Collection;
+import java.util.Comparator;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Map;
+import java.util.Set;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import java.io.File;
+import java.math.BigDecimal;
+
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.NamedNodeMap;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+import org.greenstone.gsdl3.core.MessageRouter;
+import org.greenstone.gsdl3.util.XMLConverter;
+
+public class DataMaker {
+    
+    MetadataStats  ms;
+    ArrayList nameList;
+    private int Mode;
+    private int TotalDoc; 
+    private String path;
+    
+    protected Document doc=null;
+    protected MessageRouter mr = null;
+    protected XMLConverter converter=null;
+    private ArrayList removedID = new ArrayList();
+    private HashMap elementMap = new HashMap();
+    private static final int DEF_DIV_SCALE = 10;
+    
+    public DataMaker(MetadataStats arg1){
+	ms = arg1;
+	nameList = arg1.metadataNameList;
+	path = arg1.myNewDir;
+	setTotalDocNumber();
+    }
+    
+    
+    private Element getRootNode(String core_element){
+	
+    	if(elementMap.containsKey(core_element)){
+    		return (Element)elementMap.get(core_element);
+    	}
+	try{
+	    DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
+	    DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
+	    Document doc = docBuilder.newDocument();
+	    doc = docBuilder.parse (new File(path+"/"+core_element+".xml"));
+	    Element rootNode = doc.getDocumentElement();
+	    //elementMap.put(core_element, rootNode);
+	    return rootNode;   
+    	}catch (Exception e) {
+    	    e.printStackTrace();
+    	    return null;
+    	}
+    }
+    
+    
+    public void setTotalDocNumber(){
+    	Element ex = getRootNode("archivedir");
+    	NodeList listOfFrequency = ex.getElementsByTagName("Document");
+    	TotalDoc = listOfFrequency.getLength();
+    }
+    
+    public int getTotalElementUsed(){
+	
+	int totalNumber = 0;
+	
+	for(int i = 0 ; i<nameList.size(); i++){
+	    
+	    Element ex = getRootNode((String)nameList.get(i));
+	    NodeList listOfFrequency = ex.getElementsByTagName("Frequency");
+	
+	    for(int s=0; s<listOfFrequency.getLength() ; s++){
+	    	Node FrequencyNode = listOfFrequency.item(s);
+	    	NodeList textFNList = FrequencyNode.getChildNodes();
+	    	String TextNode = textFNList.item(0).getNodeValue();
+	    	totalNumber = totalNumber + Integer.parseInt(TextNode);
+	    }
+	}
+	return totalNumber;
+    }
+      
+    public int getFrequency(String name){
+	
+        int totalNumber = 0;
+      	
+        Element ex = getRootNode(name);
+      	NodeList listOfFrequency = ex.getElementsByTagName("Frequency");
+      	if(listOfFrequency.getLength()==0){return 0;}
+      	
+	for(int s=0; s<listOfFrequency.getLength() ; s++){
+	    Node FrequencyNode = listOfFrequency.item(s);
+	    NodeList textFNList = FrequencyNode.getChildNodes();
+	    String TextNode = textFNList.item(0).getNodeValue();
+	    int x = Integer.parseInt(TextNode);
+	    totalNumber = totalNumber + x;
+        }
+	return totalNumber;
+    }
+    
+    public int getDistinctNumber(String name){
+	
+        ArrayList alist = new ArrayList();
+      	Element ex = getRootNode(name);
+      	NodeList listOfFrequency = ex.getElementsByTagName("ActualValue");
+      	
+	if(listOfFrequency.getLength()==0){
+	    return 0;
+	}
+        
+	for(int s=0; s<listOfFrequency.getLength() ; s++){
+	    Node ActualValueNode = listOfFrequency.item(s);
+	    NodeList textFNList = ActualValueNode.getChildNodes();
+	    String TextNode = textFNList.item(0).getNodeValue();
+	    
+	    if(!alist.contains(TextNode) && !TextNode.equals(" ")){
+		alist.add(TextNode);
+	    }
+        }
+	return alist.size();
+    }
+    
+    public int getDocumentUsedElement(String core_element){
+    
+        int totalNumber = 0;
+      	Element ex = getRootNode(core_element);
+      	NodeList listOfFrequency = ex.getElementsByTagName("Frequency");
+    	for(int s=0; s<listOfFrequency.getLength() ; s++){
+      		totalNumber++;
+        }
+	return totalNumber;
+    }
+       
+    // for all elements
+    public double Mean(String core_element){
+    	
+	int due = getDocumentUsedElement(core_element);
+	
+    	if(due==0 || TotalDoc==0){return 0;}
+    	Double d1 = new Double(due);
+    	Double d2 = new Double(TotalDoc);
+    	Double result = div(d1,d2);
+    	result = mul(result, new Double(100));
+    	return round(result.doubleValue(),1);
+    }
+    
+    public int getMinRange(String core_element){
+	
+      	Element ex = getRootNode(core_element);
+      	NodeList listOfFrequency = ex.getElementsByTagName("Frequency");
+      	
+        if(listOfFrequency.getLength()==0){return 0;}
+        
+    	Node FrequencyNode = listOfFrequency.item(0);
+    	NodeList textFNList = FrequencyNode.getChildNodes();
+    	String TextNode = textFNList.item(0).getNodeValue();
+        int minNumber = 0;
+        
+        if(listOfFrequency.getLength()==TotalDoc){
+	    minNumber = Integer.parseInt(TextNode);
+        }
+        
+        else {
+	    minNumber = 0;
+        }
+        
+        for(int s=0; s<listOfFrequency.getLength() ; s++){
+	    FrequencyNode = listOfFrequency.item(s);
+	    textFNList = FrequencyNode.getChildNodes();
+	    TextNode = textFNList.item(0).getNodeValue();
+	    int x = Integer.parseInt(TextNode);
+	    if(x<minNumber){minNumber=x;}
+        }
+	return minNumber;
+    }
+    
+    public int getMaxRange(String core_element){
+	
+      	Element ex = getRootNode(core_element);
+      	NodeList listOfFrequency = ex.getElementsByTagName("Frequency");
+        if(listOfFrequency.getLength()==0){return 0;}
+    	Node FrequencyNode = listOfFrequency.item(0);
+    	NodeList textFNList = FrequencyNode.getChildNodes();
+    	String TextNode = textFNList.item(0).getNodeValue();
+        int maxNumber = 0;
+        
+        for(int s=0; s<listOfFrequency.getLength() ; s++){
+	    FrequencyNode = listOfFrequency.item(s);
+	    textFNList = FrequencyNode.getChildNodes();
+	    TextNode = textFNList.item(0).getNodeValue();
+	    int x = Integer.parseInt(TextNode);
+	    if(x>maxNumber){maxNumber=x;}
+        }
+	return maxNumber;
+    }
+    
+    public int getMode(String core_element){
+	
+    	Element ex = getRootNode(core_element);
+    	NodeList listOfFrequency = ex.getElementsByTagName("Document");
+    	if(listOfFrequency.getLength()==0){Mode = 0; return 0;}
+    	ArrayList alist = new ArrayList();
+    	String[] idsx = getDocumentIDs(core_element);
+    	
+	for(int i = 0; i<idsx.length; i++){
+	    alist.add(idsx[i]);
+    	}
+    	int[] list = new int[TotalDoc];
+    	
+	for(int i = 0; i<list.length; i++){
+	    list[i] = 0;
+    	}
+	
+    	for(int s=0; s< listOfFrequency.getLength() ; s++){
+	    Node docNode = listOfFrequency.item(s);
+	    NamedNodeMap NodeIDMap = docNode.getAttributes();
+	    Node DocNodeID = NodeIDMap.item(0);
+	    String DocID = DocNodeID.getNodeValue();
+	    Element xNode = (Element)docNode;
+	    int location = alist.indexOf(DocID);
+	    NodeList xList = xNode.getElementsByTagName("Frequency");
+	    int fre = Integer.parseInt(xList.item(0).getChildNodes().item(0).getNodeValue());
+	    list[location] = fre;
+    	}
+    	
+        Arrays.sort(list);
+	
+	int max_idx = 0; // Index of the maximum count
+	int max_cnt = 0;
+	int count = 0;
+	
+	for ( int i = 0; i <list.length; i++) {
+	    count = 0;
+	    for ( int j = 0; j < list.length; j++) {
+		if (list[i] == list[j]) {
+		    count++;
+		}
+	    }
+	    if (count > max_cnt) {
+		max_cnt = count;
+		max_idx = i;
+	    }	
+	}
+	Mode = list [max_idx];
+	return list [max_idx];
+
+    }
+    
+    public double ModeFrequency(String core_element){
+	
+    	Element ex = getRootNode(core_element);
+    	NodeList listOfFrequency = ex.getElementsByTagName("Document");
+    	if(listOfFrequency.getLength()==0){ return 100;}
+    	ArrayList alist = new ArrayList();
+    	String[] idsx = getDocumentIDs(core_element);
+    	
+	for(int i = 0; i<idsx.length; i++){
+	    alist.add(idsx[i]);
+    	}
+	
+    	int[] list = new int[TotalDoc];
+    	
+	for(int i = 0; i<list.length; i++){
+	    list[i] = 0;
+    	}
+    	
+    	int length = alist.size();
+    	int counter = 0;
+    	
+    	for(int s=0; s< listOfFrequency.getLength() ; s++){
+	    Node docNode = listOfFrequency.item(s);
+	    NamedNodeMap NodeIDMap = docNode.getAttributes();
+	    Node DocNodeID = NodeIDMap.item(0);
+	    String DocID = DocNodeID.getNodeValue();
+	    Element xNode = (Element)docNode;
+	    int location = alist.indexOf(DocID);
+	    NodeList xList = xNode.getElementsByTagName("Frequency");
+	    int fre = Integer.parseInt(xList.item(0).getChildNodes().item(0).getNodeValue());
+	    list[location] = fre;
+    	}
+	
+    	for(int i =0; i<list.length; i++){
+	    if(list[i]==Mode){counter++;}
+    	}
+
+        Double result = div(new Double(counter), new Double(length));
+        result = mul(result ,new Double (100));
+        return round(result.doubleValue(),1);
+    }
+    
+    public double Median(String core_element){
+	   	
+    	Element ex = getRootNode(core_element);
+    	NodeList listOfFrequency = ex.getElementsByTagName("Document");
+  
+    	ArrayList alist = new ArrayList();
+    	String[] idsx = getDocumentIDs(core_element);
+
+    	for(int i = 0; i<idsx.length; i++){
+	    alist.add(idsx[i]);
+    	}
+
+    	int[] list = new int[TotalDoc];
+
+    	for(int i = 0; i<list.length; i++){
+	    list[i] = 0;
+    	}
+    	
+    	for(int s=0; s< listOfFrequency.getLength() ; s++){
+	    Node docNode = listOfFrequency.item(s);
+	    NamedNodeMap NodeIDMap = docNode.getAttributes();
+	    Node DocNodeID = NodeIDMap.item(0);
+	    String DocID = DocNodeID.getNodeValue();
+	    Element xNode = (Element)docNode;
+	    int location = alist.indexOf(DocID);
+	    NodeList xList = xNode.getElementsByTagName("Frequency");
+	    int fre = Integer.parseInt(xList.item(0).getChildNodes().item(0).getNodeValue());
+	    list[location] = fre;
+    	}
+    	      	
+        int length = alist.size();
+      	int middle = length/2 -1;
+      	
+        Arrays.sort(list);
+	
+	if(length % 2 == 1){
+	    middle = middle + 1;
+	    return list[middle];
+	}
+	
+	else{
+	    return  round((double)(list[middle]+list[middle+1])/2,1);
+	}
+    }
+        
+    // for all elements
+    public double Average(String core_element){
+    	
+    	int t1 = getFrequency(core_element);
+    	int t2 = getDocumentUsedElement(core_element);
+    	if(t1==0 || t2==0){return 0;}
+    	Double result = div(new Double(t1),new Double(t2));
+    	return	round(result.doubleValue(),1);
+    }
+    
+    public Object[][] AllInformation(){
+    	
+	int rows = nameList.size();
+    	int cols = 11;
+    	int y = 0;
+
+    	Object[][] info = new Object[rows][cols];
+    	String[] list = new String[rows];
+    	
+	for(int i = 0 ; i < list.length; i++){
+	    list[i] = nameList.get(i).toString();
+    	}
+	
+    	Arrays.sort(list);
+    	
+    	for(int iu = 0; iu<list.length; iu++){ 
+    	    String xi = list[iu];
+	    info[y][0] = xi ;
+	    info[y][1] = new Integer(getFrequency(xi));
+	    info[y][2] = new Integer(getDocumentUsedElement(xi));
+	    info[y][3] = new Double(Mean(xi));
+	    info[y][4] = new Double(Median(xi));
+	    info[y][5] = new Integer(getDistinctNumber(xi));
+	    info[y][6] = new Integer(getMinRange(xi));
+	    info[y][7] = new Integer(getMaxRange(xi));
+	    info[y][8] = new Double(Average(xi));
+	    info[y][9] = new Integer(getMode(xi));
+	    info[y][10] = ModeFrequency(xi)+"%";
+	    y++;
+	}
+    	return info;
+    }
+    
+    public String[] getSortList(String core_element,String sort){
+	
+    	if(sort.equals("ASCII")){
+    		HashMap hp = getDistinctValueMap (core_element);
+    		String[] temp = new String[hp.size()];
+    		int counter = 0;
+    		Set s = hp.keySet();
+    		Iterator i = s.iterator();
+
+    		while(i.hasNext()){
+    			temp[counter] = (String)i.next();
+    			counter++;
+    		}
+	    
+    		Arrays.sort(temp);
+    		return temp;
+    	}
+	
+    	else{
+    		Map m = getDistinctValueMap (core_element);
+    		ArrayList outputList = sortMap(m);
+    		String[] temp = new String[outputList.size()];
+	    
+    		for(int i = 0; i< outputList.size(); i++){
+    			Map.Entry entry = (Map.Entry) outputList.get(i);
+    			temp[i] = (String) entry.getKey();
+    		}
+    		
+	    return temp;
+    	}
+	
+    }
+
+    
+    /*
+     * Actually, we can directly access to "ActualValue" node instead of document node
+     */
+    
+    public HashMap getDistinctValueMap(String core_element){
+    	
+	Element ex = getRootNode(core_element);
+    	HashMap hp = new HashMap();
+    	NodeList listOfFrequency = ex.getElementsByTagName("Document");
+    	
+	for(int s=0; s<listOfFrequency.getLength() ; s++){
+	    Node docNode = listOfFrequency.item(s);
+	    Element docElement = (Element)docNode;
+	    NodeList valueList = docElement.getElementsByTagName("ActualValue");
+	    
+	    for(int y = 0; y<valueList.getLength(); y++){
+		Element valueElement = (Element)valueList.item(y);
+		NodeList textFNList = valueElement.getChildNodes();
+		String text = ((Node)textFNList.item(0)).getNodeValue();
+		
+		if(!text.equals(" ")){
+		    if(hp.containsKey(text)){
+			Integer i = (Integer)hp.get(text);
+			int number = i.intValue();
+			number++;
+			hp.put(text,new Integer(number));
+		    }
+		    else{
+			Integer i = new Integer(1);
+			hp.put(text, i);
+		    }
+		}
+	    }
+    	}               
+    	return hp;
+    }
+    
+    public HashMap getDocFrequencyMap(String core_element){
+    	
+	Element ex = getRootNode(core_element);
+    	HashMap hp = new HashMap();
+    	NodeList listOfFrequency = ex.getElementsByTagName("Document");
+    	
+	for(int s=0; s<listOfFrequency.getLength() ; s++){
+	    
+	    Node docNode = listOfFrequency.item(s);  
+	    NamedNodeMap NodeMap = docNode.getAttributes();
+	    Node AttributeNode = NodeMap.item(0);
+	    String att_name = AttributeNode.getNodeValue();
+	    
+	    Element docElement = (Element)docNode;
+	    NodeList valueList = docElement.getElementsByTagName("Frequency");
+	    Element frequencyElement = (Element)valueList.item(0);
+	    NodeList textFNList = frequencyElement.getChildNodes();
+	    String text = ((Node)textFNList.item(0)).getNodeValue();
+	    Integer i = new Integer(Integer.parseInt(text));
+	    hp.put(att_name, i);
+    	}               
+    	return hp;
+    }
+    
+
+    public String[] getDocumentIDs(String core_element){
+	
+    	Element ex = getRootNode("archivedir");
+    	NodeList listOfFrequency = ex.getElementsByTagName("Document");
+    	String[] ids = new String[listOfFrequency.getLength()];
+    	
+	for(int s=0; s<listOfFrequency.getLength() ; s++){
+	    Node docNode = listOfFrequency.item(s);
+	    NamedNodeMap NodeMap = docNode.getAttributes();
+	    Node AttributeNode = NodeMap.item(0);
+	    String att_name = AttributeNode.getNodeValue();
+	    ids[s] = att_name;
+    	}
+    	return (String[])ids.clone();
+    }
+    
+    public int[] getMetadataRows(String core_element){
+    	Element ex = getRootNode(core_element);
+    	//ArrayList alist = ms.getIDArray();
+    	ArrayList alist = new ArrayList();
+    	String[] idsx = getDocumentIDs(core_element);
+	
+    	for(int i = 0; i<idsx.length; i++){
+    		alist.add(idsx[i]);
+    	}
+
+    	NodeList listOfFrequency = ex.getElementsByTagName("Document");
+    	int[] row = new int[TotalDoc];
+	
+    	for(int i = 0; i<row.length; i++){
+    		row [i] = 0;
+    	}
+    	
+    	for(int s=0; s<listOfFrequency.getLength() ; s++){   
+    		Node docNode = listOfFrequency.item(s);
+    		int location = alist.indexOf(docNode.getAttributes().item(0).getNodeValue());
+    		row[location] =1;
+    
+   	}
+    	return row;
+    }
+        
+    /**
+     * This method will use Arrays.sort for sorting Map
+     * @param map
+     * @return outputList of Map.Entries
+     */
+
+    public ArrayList sortMap(Map map) {
+	ArrayList outputList = null;
+	int count = 0;
+	Set set = null;
+	Map.Entry[] entries = null;
+	//     Logic:
+	//     get a set from Map
+	//     Build a Map.Entry[] from set
+	//     Sort the list using Arrays.sort
+	//     Add the sorted Map.Entries into arrayList and return
+	
+	set = (Set) map.entrySet();
+	Iterator iterator = set.iterator();
+	entries = new Map.Entry[set.size()];
+	while(iterator.hasNext()) {
+	    entries[count++] = (Map.Entry) iterator.next();
+	}
+	
+	//     Sort the entries with your own comparator for the values:
+	Arrays.sort(entries, new Comparator() {
+		public int compareTo(Object lhs, Object rhs) {
+		    Map.Entry le = (Map.Entry)lhs;
+		    Map.Entry re = (Map.Entry)rhs;
+		    return ((Comparable)le.getValue()).compareTo((Comparable)re.getValue());
+		}
+		
+		public int compare(Object lhs, Object rhs) {
+		    Map.Entry le = (Map.Entry)lhs;
+		    Map.Entry re = (Map.Entry)rhs;
+		    return ((Comparable)le.getValue()).compareTo((Comparable)re.getValue());
+		}
+	    });
+
+	outputList = new ArrayList();
+	for(int i = 0; i < entries.length; i++) {
+	    outputList.add(entries[i]);
+	}
+	return outputList;
+    }//End of sortMap
+    
+    private Double div(Double d1, Double d2){
+    	BigDecimal b1 = new BigDecimal(d1.toString());
+        BigDecimal b2 = new BigDecimal(d2.toString());
+        return new Double(b1.divide(b2,DEF_DIV_SCALE,BigDecimal.ROUND_HALF_UP).doubleValue());
+    }
+    
+    private Double mul(Double d1,Double d2){
+        BigDecimal b1 = new BigDecimal(d1.toString());
+        BigDecimal b2 = new BigDecimal(d2.toString());
+        return new Double(b1.multiply(b2).doubleValue());
+    }
+    
+    public double round(double v,int scale){
+        if(scale<0){
+            throw new IllegalArgumentException(
+					       "The scale must be a positive integer or zero");
+        }
+        BigDecimal b = new BigDecimal(Double.toString(v));
+        BigDecimal one = new BigDecimal("1");
+        return b.divide(one,scale,BigDecimal.ROUND_HALF_UP).doubleValue();
+    }
+    
+    public double getSingleMetadataSetCompleteness(ArrayList mds_list){
+   
+    	int totalElement = 0;
+    	int totalElementUsed = 0;
+    
+	for(int a = 0; a<mds_list.size(); a++){
+	    MetadataSet mds = (MetadataSet)mds_list.get(a);
+	
+	    ArrayList alist = mds.getIndexsList();
+
+	    int length = alist.size();
+
+	    totalElement = totalElement + length * TotalDoc;
+	    for(int i = 0; i<alist.size(); i++){
+	    	String name = (String)alist.get(i);
+	    	
+	    	totalElementUsed = totalElementUsed + getDocumentUsedElement(name);
+	  
+	    }
+	}
+    	double x = (double)totalElementUsed/totalElement;
+    	Double d1 = new Double(x);
+    	Double d2 = new Double(100);
+    	Double result = mul(d1,d2);
+    
+    	return round(result.doubleValue(),1);
+    }
+    
+    public Object[][] getMetadataInfo(MetadataSet mds){
+    	
+    	ArrayList alist = mds.getIndexsList();
+    	int rows = alist.size();
+    	int cols = 11;
+    	int y = 0;
+    	Object[][] dataset = new Object[rows][cols];
+    	
+       	String[] list = new String[rows];
+    	
+	for(int i = 0 ; i < list.length; i++){
+	    list[i] = alist.get(i).toString();
+	 
+    	}
+	
+    	Arrays.sort(list);
+    	
+    	for(int iu = 0; iu<list.length; iu++){
+    	    String xi = list[iu];
+    	    dataset[y][0] = xi ;
+    	    dataset[y][1] = new Integer(getFrequency(xi));
+    	    dataset[y][2] = new Integer(getDocumentUsedElement(xi));
+    	    dataset[y][3] = new Double (Mean(xi));
+    	    dataset[y][4] = new Double (Median(xi));
+    	    dataset[y][5] = new Integer(getDistinctNumber(xi));
+    	    dataset[y][6] = new Integer(getMinRange(xi));
+    	    dataset[y][7] = new Integer(getMaxRange(xi));
+    	    dataset[y][8] = new Double (Average(xi));
+    	    dataset[y][9] = new Integer(getMode(xi));
+    	    dataset[y][10] = ModeFrequency(xi)+"%";
+	    y++;
+	    
+    	}
+    	return dataset;
+    }
+    
+    public boolean IsElementEmpty(String core_element){
+    	
+    	int[] list = getMetadataRows(core_element);
+    	boolean status = true;
+    	
+	for(int i = 0; i< list.length; i++){
+    		if(list[i]==1){status = false;}
+    	}
+    	return status;
+    }
+    
+    public boolean IsElementFull(String core_element){
+    	
+    	int[] list = getMetadataRows(core_element);
+    	boolean status = true;
+    	
+	for(int i = 0; i< list.length; i++){
+    		if(list[i]==0){status = false;}
+    	}
+    	return status;
+    }
+    
+    public ArrayList removeDocument(ArrayList dataset, String[] ids, int number){
+    	removedID = new ArrayList();
+    	
+    	int[] metadataLevel =(int[])dataset.get(0);
+    	int docIDslength = metadataLevel.length;
+    	int[][] valueMap = new int[dataset.size()][docIDslength];
+    	
+    	for(int i = 0; i< docIDslength; i++){
+    		
+    		boolean status = true;
+    		
+    		for(int j = 0; j<dataset.size(); j++){
+    		 int[] metadataLevelArray = (int[])dataset.get(j);
+    		 valueMap[j][i] =  metadataLevelArray[i];
+    		 if(metadataLevelArray[i]!=number){status = false;}
+    	
+    		}
+    		if(status == true){
+		
+		    for(int j = 0; j<dataset.size(); j++){
+
+			valueMap[j][i]=-1;
+
+		    }
+		    removedID.add(ids[i]);
+    		}
+    	}
+    	ArrayList wholeList = new ArrayList();
+
+    	for(int i = 0; i<valueMap.length; i++){
+	    ArrayList numberList = new ArrayList();
+	    
+	    for(int j = 0; j<valueMap[i].length; j++){
+		numberList.add(new Integer(valueMap[i][j]));
+	    }
+	    wholeList.add(numberList);
+    	}
+    	
+    	for(int i =0; i< wholeList.size(); i++){
+	    ArrayList numberList = (ArrayList)wholeList.get(i);
+	    Integer value = new Integer(-1);
+	    while(numberList.contains(value)){
+		numberList.remove(value);
+	    }
+	    int[] valueList = new int [numberList.size()];
+	    
+	    for(int j = 0; j< valueList.length; j++){
+		valueList[j] = ((Integer)numberList.get(j)).intValue();
+	    }
+	    wholeList.remove(i);
+	    wholeList.add(i,valueList);
+    	}
+   
+    	return wholeList;
+    }
+    
+    public ArrayList getRemovedID(){
+    	return removedID;
+    }
+    
+    public int getDocNum(){
+    	return TotalDoc;
+    }
+       
+    public HashMap getInternalIdentifier(String core_element){
+    	
+    	Element ex = getRootNode(core_element);
+        HashMap hp = new HashMap();
+        NodeList listOfFrequency = ex.getElementsByTagName("Document");
+        	
+    	for(int s=0; s<listOfFrequency.getLength() ; s++){
+    	    Node docNode = listOfFrequency.item(s);
+    	    String HashID = docNode.getAttributes().item(0).getNodeValue();
+    	    //System.out.println(HashID);
+    	    Element docElement = (Element)docNode;
+    	    NodeList valueList = docElement.getElementsByTagName("ActualValue");
+    	    
+    	    for(int y = 0; y<valueList.getLength(); y++){
+    		Element valueElement = (Element)valueList.item(y);
+    		NodeList textFNList = valueElement.getChildNodes();
+    		String text = ((Node)textFNList.item(0)).getNodeValue();
+    		
+    		if(!text.equals(" ")){
+    		    if(hp.containsKey(text)){
+    			InternalLink il = (InternalLink)hp.get(text);
+    			il.increaseElement(HashID);
+    			hp.put(text,il);
+    		    }
+    		    else{
+    		    InternalLink il = new InternalLink();
+    			il.setValue(text);
+    			il.increaseElement(HashID);
+    			hp.put(text, il);
+    		    }
+    		}
+    	    }
+        	}               
+        	return hp;
+        }
+        
+
+    public HashMap getIdentifierLink(String core_element){
+    	
+    	Element ex = getRootNode(core_element);
+        HashMap hp = new HashMap();
+        NodeList listOfFrequency = ex.getElementsByTagName("Document");
+        	
+    	for(int s=0; s<listOfFrequency.getLength() ; s++){
+    	    Node docNode = listOfFrequency.item(s);
+    	    String HashID = docNode.getAttributes().item(0).getNodeValue();
+    	    Element docElement = (Element)docNode;
+    	    NodeList valueList = docElement.getElementsByTagName("ActualValue");
+    	    
+    	    for(int y = 0; y<valueList.getLength(); y++){
+    		Element valueElement = (Element)valueList.item(y);
+    		NodeList textFNList = valueElement.getChildNodes();
+    		String text = ((Node)textFNList.item(0)).getNodeValue();
+    		
+    		if(!text.equals(" ") && text.startsWith("http:")){
+    		    if(hp.containsKey(HashID)){
+    			InternalLink il = (InternalLink)hp.get(HashID);
+    			il.increaseElement(text);
+    			hp.put(HashID,il);
+    		    }
+    		    else{
+    		    InternalLink il = new InternalLink();
+    			il.setValue(HashID);
+    			il.increaseElement(text);
+    			hp.put(HashID, il);
+    		    }
+    		}
+    	    }
+        	}               
+        	return hp;
+        }
+
+    
+    public String[] getDocumentIDList(String core_element){
+    	
+    	Element ex = getRootNode(core_element);
+    	NodeList listOfFrequency = ex.getElementsByTagName("Document");
+    	String[] ids = new String[listOfFrequency.getLength()];
+    	
+	for(int s=0; s<listOfFrequency.getLength() ; s++){
+	    Node docNode = listOfFrequency.item(s);
+	    NamedNodeMap NodeMap = docNode.getAttributes();
+	    Node AttributeNode = NodeMap.item(0);
+	    String att_name = AttributeNode.getNodeValue();
+	    ids[s] = att_name;
+    	}
+    	return (String[])ids.clone();
+    }
+
+}
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/DescribeMessager.java
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/DescribeMessager.java	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/DescribeMessager.java	(revision 17156)
@@ -0,0 +1,344 @@
+package org.greenstone3.ms;
+
+import java.io.File;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Iterator;
+
+
+import java.io.*;
+
+import org.w3c.dom.Node;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+
+import org.greenstone.gsdl3.core.MessageRouter;
+import org.greenstone.gsdl3.util.GlobalProperties;
+import org.greenstone.gsdl3.util.GSFile;
+import org.greenstone.gsdl3.util.GSXML;
+import org.greenstone.gsdl3.util.XMLConverter;
+import org.greenstone.gsdl3.util.GDBMWrapper;
+
+public class DescribeMessager {
+    
+    protected String site_name = "localsite";
+    
+    
+    /** message router object to pass requests messages to and which 
+     * will process them.*/
+    protected MessageRouter mr = null;
+    private Node CollectionList = null;
+    /** container Document to create XML Nodes */
+    protected Document doc=null;
+    /** a converter class to parse XML and create Docs */
+    protected XMLConverter converter=null;
+    
+    protected final static String mrSubsetOptions = //messageRouter 
+	"collectionList serviceClusterList serviceList siteList"; 
+    protected final static String csSubsetOptions = //collections and serviceClusters 
+	"metadataList serviceList displayItemList";
+    protected final static String serviceSubsetOptions = //services
+	"paramList displayItemList";
+    final int MESSAGEROUTER = 1, COLLECTION = 2, 
+	SERVICECLUSTER = 3, SERVICE = 4;
+    
+    private String collection_Name = null;
+    private String OAI_URL = null;
+    protected GDBMWrapper gdbm_src = null;
+    protected String site_name1 = "";
+    protected String coll_name1 = "";
+    protected Element coll_config_xml = null;
+    protected HashMap element_map = new HashMap();
+    protected MetadataStats ms;
+    String site_home = null;
+    
+    public DescribeMessager() {
+
+	String gsdl3_home = GlobalProperties.getGSDL3Home();
+	if (gsdl3_home == null || gsdl3_home.equals("")) {
+	    System.err.println("Couldn't access GSDL3Home from GlobalProperties.getGSDL3HOME, can't initialize the SOAP Server.");
+	    return;
+	}
+
+	
+	site_home = GSFile.siteHome(gsdl3_home, this.site_name);
+	
+	File site_file = new File(site_home);
+	if (!site_file.isDirectory()) {
+	    System.err.println("The site directory "+site_file.getPath()+" doesn't exist. Can't initialize the SOAP Server.");
+	    return;
+	} 
+	this.converter = new XMLConverter();
+	this.doc = this.converter.newDOM();
+	System.err.println("3");
+	mr = new MessageRouter();
+
+	mr.setSiteName(this.site_name);
+	mr.setLibraryName(this.site_name);
+
+	mr.configure();
+	/*
+	try{
+	
+	mr.
+	}catch(Exception ex){ex.printStackTrace();}
+	*/
+	System.err.println("6");
+
+	this.gdbm_src = new GDBMWrapper();
+	System.err.println("7");
+
+	
+    }
+    
+    public DescribeMessager(String collectionName, String URL) {
+    	
+    	collection_Name = collectionName;
+    	OAI_URL = URL;
+    	
+    	String gsdl3_home = GlobalProperties.getGSDL3Home();
+    	if (gsdl3_home == null || gsdl3_home.equals("")) {
+    	    System.err.println("Couldn't access GSDL3Home from GlobalProperties.getGSDL3HOME, can't initialize the SOAP Server.");
+    	    return;
+    	}
+    	
+    	site_home = GSFile.siteHome(gsdl3_home, this.site_name);
+    	
+    	File site_file = new File(site_home);
+    	if (!site_file.isDirectory()) {
+    	    System.err.println("The site directory "+site_file.getPath()+" doesn't exist. Can't initialize the SOAP Server.");
+    	    return;
+    	} 
+    	this.converter = new XMLConverter();
+    	this.doc = this.converter.newDOM();
+    	
+    	mr = new MessageRouter();
+    	mr.setSiteName(this.site_name);
+    	//mr.configure();
+    	this.gdbm_src = new GDBMWrapper();
+    	//describe();
+    }
+    /*
+    public void setURL(String arg){
+    	OAI_URL = arg;
+    }
+    */
+    
+    public void setCollectionName(String arg){
+    	collection_Name = arg;
+    }
+    
+    public String describe() 
+    {
+	return describe("", "", "", mrSubsetOptions);
+    }
+    
+    /*
+    public String getURL(){
+    	return OAI_URL;
+    }
+    */
+    
+    public String getCollectionName(){
+    	return collection_Name;
+    }
+    
+    /*
+    //Describe Messages sent to Services (or Collection/Services) 
+    public String describeCollService(String toColl, String toService, 
+				      String lang, String subsetOption) {
+
+	return describe(toColl + "/" + toService, 
+			lang, subsetOption, serviceSubsetOptions);
+    }
+    */
+    //If public, this method would give full access: a describe message that 
+    //lets the user specify all the details of who the receiver is, and what 
+    //details are requested.
+    protected String describe(String to, String lang, 
+			      String subsetOption, String validSubsetOptions)
+    {
+    	
+	//Create message element: <message></message>
+	try{
+	    //DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
+	    //Get the DocumentBuilder
+	    //DocumentBuilder parser = factory.newDocumentBuilder();
+	    //Create blank DOM Document
+	    //Document doct = parser.newDocument();
+	
+	    Node message = doc.createElement(GSXML.MESSAGE_ELEM);
+	    
+	    //<message><request lang="en" to="" type="describe" uid="" /></message>
+	    
+	    Node request = GSXML.createBasicRequest(
+						       this.doc, GSXML.REQUEST_TYPE_DESCRIBE, to, lang, "");
+	    
+	    //Check if only a subset of this Module Interface's data is asked
+	    //to be described
+	    
+	    if(subsetOption != "") {
+		//Now deal with the value for subset param:
+		//only deal with valid params for subset of to-ModuleInterface
+		if(validSubsetOptions.indexOf(subsetOption) == -1)
+		    return "Invalid List to be described. Choose one of:\n"
+			+ validSubsetOptions;
+		
+		//else, append <paramList />
+		Node param_list = this.doc.createElement(
+							    GSXML.PARAM_ELEM+GSXML.LIST_MODIFIER);
+		param_list.appendChild(GSXML.createParameter(
+							     this.doc, GSXML.SUBSET_PARAM, subsetOption));
+		request.appendChild(param_list);
+		
+	    }
+	    message.appendChild(request);
+	    //System.out.println(this.converter.getPrettyString(message));
+	    /*
+	    Element request = GSXML.createBasicRequest(
+			       this.doc, GSXML.REQUEST_TYPE_PROCESS,"nwgfril"+"/DocumentMetadataRetrieve","en", "");
+
+Element param_list = this.doc.createElement(
+				GSXML.PARAM_ELEM+GSXML.LIST_MODIFIER);
+
+param_list.appendChild(GSXML.createParameter(
+				 this.doc, "metadata", "all"));
+
+Element documentNode_list = this.doc.createElement(
+	       GSXML.DOC_NODE_ELEM+GSXML.LIST_MODIFIER);
+
+Element documentNode = this.doc.createElement(GSXML.DOC_NODE_ELEM);
+documentNode.setAttribute("nodeID","HASH01981d6a4a1502253e1a2283");
+documentNode_list.appendChild(documentNode);
+
+request.appendChild(param_list);
+request.appendChild(documentNode_list);
+message.appendChild(request);
+System.out.println(this.converter.getPrettyString(message));
+*/
+	   // message.appendChild(request);
+	    //System.out.println("\nRequest message");
+	    //System.out.println(this.converter.getPrettyString(message));
+	    //System.out.println(this.converter.getPrettyString(message));
+	    //////////////////////////////////////////////////////////////////////////////////////////////
+	    ////////////////////////////////////////////////////////////////////////////////////////////////
+	    CollectionList = mr.process(message);
+	    //System.out.println(this.converter.getPrettyString(CollectionList));
+	    //Element response = mr.process(message);
+	    //System.out.println(this.converter.getPrettyString(response));
+	    //System.out.println("list"+CollectionList);
+	    return ">>"+GSXML.MESSAGE_ELEM+"<<";
+	    //return request.;
+	}catch(Exception ex){return "failure";}
+	//return this.converter.getPrettyString(message.toString());
+	//return this.converter.getPrettyString(CollectionList);
+
+    }
+    
+    public Node getCollectionList(){
+    	return CollectionList;
+    }
+
+
+    public void describeMatadata(String collectionName,String OAIURL){
+
+	ms = new MetadataStats(this.site_home,collectionName,OAIURL,"test");
+	
+	if(ms.getStatus()){
+		//return;
+		printWebPage(ms);
+	}
+	// Servlet-------------------------------------------------
+	else{
+		System.out.print("<p> The metadataStats fails</p>");
+	}
+	//System.out.println("\nTotal Number of Documents: "+ms.getDocNum());
+	//System.out.println("\n system ends");
+	//System.out.println(ms.metadataNameList.size());
+
+    }
+
+    public void printWebPage(MetadataStats ms){
+    	//long startTime=System.currentTimeMillis();	
+    	DataMaker dm = new DataMaker(ms);
+    	String[] elements =  new String [ms.metadataNameList.size()];
+        
+    	for(int i = 0; i<elements.length; i++){
+    		elements[i] = (String)ms.metadataNameList.get(i);
+        }
+	
+        Arrays.sort(elements);
+    	String[] metaDataElementName = (String[])elements.clone();	
+    	String[] ids = dm.getDocumentIDs("archivedir");
+        
+    	ArrayList alist = new ArrayList();
+    	for(int a = 0; a<elements.length; a++){
+    		alist.add(dm.getMetadataRows(elements[a]));
+    	}
+    	//System.out.println(alist.size()+ " " +ids.length+" "+metaDataElementName.length);   	
+    	PrintHTML phtml = new PrintHTML(ms);
+
+    	//?????????????????????????????????????????????????????????????????????????/
+    	HashMap hp = ms.getMetadataSetMap();
+    	Collection c = hp.values();
+    	Iterator i = c.iterator();
+    	
+    	while(i.hasNext()){
+    		MetadataSet mds  = (MetadataSet)i.next();
+    		//if(!mds.getName().equals("extracted")){
+    		ArrayList elementList = mds.getIndexsList();
+    		String[] mdsElement = new String[elementList.size()];
+    		for(int x = 0; x<mdsElement.length; x++){
+    			mdsElement[x]=(String)elementList.get(x);
+    		}
+    		Arrays.sort(mdsElement);
+    		
+        	String[] metaDataElement = (String[])mdsElement.clone();	
+        	String[] idList = dm.getDocumentIDs("archivedir");
+            
+        	ArrayList datalist = new ArrayList();
+        	for(int a = 0; a<mdsElement.length; a++){
+        		datalist.add(dm.getMetadataRows(mdsElement[a]));
+        	}
+        	phtml.generateAllPossibleGraph(datalist,idList,metaDataElement,mds.getName());
+    		//}
+    	}
+    	
+    	//??????????????????????????????????????????????????????????????????????????
+    	//long startTime=System.currentTimeMillis();
+    	//phtml.generateAllPossibleGraph(alist,ids,metaDataElementName,"both");
+    	//////////////////////////////////
+    	//Now generate chart  for individaul mds
+    	//????????????????????????????????????????????????????????//
+    	
+    	//long endTime=System.currentTimeMillis();
+    	//System.out.println("Total time taken for generating overall Statistics Page "+(endTime-startTime)+ " millisec");
+
+    	phtml.generateOverallStatisticsPage(hp);
+
+    	Collection cx = ms.getMetadataSetMap().values();
+    	Iterator ix = cx.iterator();
+
+    	while(ix.hasNext()){
+    		MetadataSet temp = (MetadataSet)ix.next();
+    		phtml.WriteMetadataSetDetailHTML(temp);
+    		phtml.generateMetadataElementDetailPage(temp);
+    	}
+    }
+ 
+    
+    public MetadataStats getElementClass()
+    {
+	return ms;
+    }
+    
+    public static void main(String[] args) {
+    	//DescribeMessager dm = new DescribeMessager();
+    	//System.out.println("test");
+    	//dm.describe("","","","");
+    	//dm.describeMatadata("sampleco","http://researchcommons.waikato.ac.nz/cgi/oai2.cgi");
+    }
+}
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/DocumentInfo.java
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/DocumentInfo.java	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/DocumentInfo.java	(revision 17156)
@@ -0,0 +1,41 @@
+package org.greenstone3.ms;
+
+import java.util.ArrayList;
+
+public class DocumentInfo {
+    
+    private String DocumentID;
+    private ArrayList ActualValue;
+    private int Frequence;
+    
+    public DocumentInfo(){
+    	DocumentID = null;
+    	ActualValue = new ArrayList();
+    	Frequence = 0;
+    }
+    
+    public void IncreaseFrequence(){
+    	Frequence++;
+    }
+     
+    public void addActualValue(String v){
+    	ActualValue.add(v);
+    }
+    
+    public void setDocumentID(String ID){
+    	DocumentID = ID;
+    }
+    
+    public ArrayList getActualValue(){
+    	return ActualValue;
+    }
+
+    public int getFrequence(){
+    	return Frequence;
+    }
+    
+    public String getDocumentID(){
+    	return DocumentID;
+    }
+
+}
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/DrawSymbolAxis.java
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/DrawSymbolAxis.java	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/DrawSymbolAxis.java	(revision 17156)
@@ -0,0 +1,99 @@
+package org.greenstone3.ms;
+
+import java.awt.Color;
+import java.awt.Font;
+import java.util.ArrayList;
+import javax.swing.JPanel;
+import org.jfree.chart.ChartPanel;
+import org.jfree.chart.JFreeChart;
+import org.jfree.chart.axis.NumberAxis;
+import org.jfree.chart.axis.NumberTickUnit;
+import org.jfree.chart.axis.SymbolAxis;
+import org.jfree.chart.plot.XYPlot;
+import org.jfree.chart.renderer.xy.XYLineAndShapeRenderer;
+import org.jfree.data.xy.XYDataset;
+import org.jfree.data.xy.XYSeries;
+import org.jfree.data.xy.XYSeriesCollection;
+import org.jfree.ui.ApplicationFrame;
+import org.jfree.ui.RefineryUtilities;
+
+public class DrawSymbolAxis extends ApplicationFrame
+{
+	//private String Title;
+	private static String[] metadataName;
+
+	private static String[] documentIDs;
+
+	private static ArrayList dataset;
+	
+    public DrawSymbolAxis(String string, String[] metadata, String[] ids, ArrayList set) {
+        super(string);
+        //Title = string;
+        metadataName = metadata;
+        documentIDs = ids;
+        dataset = set;
+
+        JPanel jpanel = createDemoPanel();
+
+        setContentPane(jpanel);
+        
+        pack();
+        RefineryUtilities.centerFrameOnScreen(this);
+        setVisible(true);
+    }
+
+    private static JFreeChart createChart(XYDataset xydataset) {
+        SymbolAxis symbolaxis
+        = new SymbolAxis("Document ID", documentIDs);
+        SymbolAxis symbolaxis_0_
+        = new SymbolAxis("Indexes",  metadataName);
+
+        XYLineAndShapeRenderer xylineandshaperenderer
+        = new XYLineAndShapeRenderer(false, true);
+
+        XYPlot xyplot = new XYPlot(xydataset,symbolaxis_0_,symbolaxis,
+                                   xylineandshaperenderer);
+        xyplot.setDomainGridlinePaint(Color.black);
+        xyplot.setRangeGridlinePaint(Color.black);
+
+        NumberAxis domainAxis = (NumberAxis)xyplot.getDomainAxis(); 
+        domainAxis.setAutoTickUnitSelection(true);
+        double   rangetick = 1;
+        domainAxis.setTickUnit(new NumberTickUnit(rangetick));
+
+        xyplot.getRenderer().setSeriesPaint(0,Color.blue);
+        xyplot.getRenderer().setSeriesShape(0, xyplot.DEFAULT_LEGEND_ITEM_BOX);
+        JFreeChart jfreechart = new JFreeChart("",new Font("", Font.PLAIN, 12),xyplot,false);        
+        return jfreechart;
+    }
+
+    private static XYDataset createDataset() {
+
+    	XYSeries xyseries = new XYSeries("Series");
+
+        for(int a= 0; a<dataset.size(); a++){
+        	
+        	int[] row = (int[])dataset.get(a);
+        	//System.out.print
+        	for(int b = 0; b<row.length; b++){
+        		if(row[b]==1){xyseries.add(a,b);}
+        	}
+        	     
+        }
+
+        XYSeriesCollection xyseriescollection = new XYSeriesCollection();
+        xyseriescollection.addSeries(xyseries);
+        return xyseriescollection;
+    }
+
+    public static JPanel createDemoPanel() {
+        return new ChartPanel(createChart(createDataset()));
+    }
+    public static void main(String[] strings) {
+    	DrawSymbolAxis symbolaxisdemo1 = new DrawSymbolAxis("Symbolic Axis Demo", null, null, null);
+
+    }
+    public void windowClosing(java.awt.event.WindowEvent event){
+    	this.dispose();
+    }
+}
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/DrawXYChart.java
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/DrawXYChart.java	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/DrawXYChart.java	(revision 17156)
@@ -0,0 +1,120 @@
+package org.greenstone3.ms;
+import java.awt.Dimension;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Set;
+
+import javax.swing.JPanel;
+
+import org.jfree.chart.ChartFactory;
+import org.jfree.chart.ChartPanel;
+import org.jfree.chart.JFreeChart;
+import org.jfree.chart.axis.CategoryAxis;
+import org.jfree.chart.axis.CategoryLabelPositions;
+import org.jfree.chart.plot.CategoryPlot;
+import org.jfree.chart.plot.PlotOrientation;
+import org.jfree.chart.renderer.category.BarRenderer;
+import org.jfree.chart.renderer.category.CategoryItemRenderer;
+import org.jfree.data.category.CategoryDataset;
+import org.jfree.data.category.DefaultCategoryDataset;
+import org.jfree.ui.ApplicationFrame;
+import org.jfree.ui.RefineryUtilities;
+
+public class DrawXYChart extends ApplicationFrame
+{
+    //private static String Title = null;
+    private static String Item = null;
+    private static HashMap map = new HashMap();
+    
+    public DrawXYChart(String str1, String str2, HashMap hp, int operation) {
+        super("Frequency V.S "+str2);
+        //Title = str1;
+        Item = str2;
+        map = hp;
+        
+        JPanel jpanel = createDemoPanel(operation);
+        jpanel.setPreferredSize(new Dimension(500, 270));
+        setContentPane(jpanel);
+        
+        pack();
+        RefineryUtilities.centerFrameOnScreen(this);
+        setVisible(true);
+    }
+
+    private static CategoryDataset createDataset() {
+        DefaultCategoryDataset defaultcategorydataset = new DefaultCategoryDataset();
+        //MetadataElement me = (MetadataElement) map.get(Item);
+        //Set tempMap = map.keySet();
+        Set s = map.keySet();
+        Iterator i = s.iterator();
+        //int counter = 1;
+        
+	while(i.hasNext()){
+	    String metaName = (String)i.next();
+	    Integer in = (Integer)map.get(metaName);
+	    int number = in.intValue();
+	    defaultcategorydataset.addValue(number,metaName,metaName);
+	    //counter++;
+        }
+	
+        return defaultcategorydataset;
+    }
+    
+    private static CategoryDataset createDataset2() {
+        DefaultCategoryDataset defaultcategorydataset = new DefaultCategoryDataset();
+
+        Set s = map.keySet();
+        Iterator i = s.iterator();
+        int counter = 0;
+        
+	while(i.hasNext()){
+	    String metaName = (String)i.next();
+	    Integer in = (Integer)map.get(metaName);
+	    int number = in.intValue();
+	    defaultcategorydataset.addValue(number , metaName, counter+"");
+	    counter++;
+        }
+	
+        return defaultcategorydataset;
+    }
+    
+    private static JFreeChart createChart(CategoryDataset categorydataset) {
+        JFreeChart jfreechart
+	    = ChartFactory.createBarChart3D("",Item,
+					    "Frequency", categorydataset,
+					    PlotOrientation.VERTICAL, false,
+					    true, false);
+	
+        CategoryPlot categoryplot = (CategoryPlot) jfreechart.getPlot();
+        CategoryAxis categoryaxis = categoryplot.getDomainAxis();
+        categoryaxis.setCategoryLabelPositions
+	    (CategoryLabelPositions
+	     .createUpRotationLabelPositions(0.39269908169872414));
+        CategoryItemRenderer categoryitemrenderer = categoryplot.getRenderer();
+        categoryitemrenderer.setBaseItemLabelsVisible(true);
+        BarRenderer barrenderer = (BarRenderer) categoryitemrenderer;
+        barrenderer.setItemMargin(0.2);
+        return jfreechart;
+    }
+
+    public static JPanel createDemoPanel(int operation) {
+        JFreeChart jfreechart = createChart(createDataset());
+        if(operation == 2){
+        	jfreechart = createChart(createDataset2());
+        }
+        return new ChartPanel(jfreechart);
+    }
+    
+    public static void main(String[] strings) {
+        DrawXYChart DrawXYChart
+	    = new DrawXYChart("3D Bar Chart Demo 3", "title2",null,2);
+        DrawXYChart.pack();
+        RefineryUtilities.centerFrameOnScreen(DrawXYChart);
+        DrawXYChart.setVisible(true);
+    }
+    
+    public void windowClosing(java.awt.event.WindowEvent event){
+    	this.dispose();
+    }
+}
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/Frame1.java
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/Frame1.java	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/Frame1.java	(revision 17156)
@@ -0,0 +1,56 @@
+package org.greenstone3.ms;
+
+import java.awt.BorderLayout;
+import java.awt.Dimension;
+import java.util.ArrayList;
+
+
+import javax.swing.JFrame;
+import javax.swing.JPanel;
+
+/**
+ * <p>Title: </p>
+ *
+ * <p>Description: </p>
+ *
+ * <p>Copyright: Copyright (c) 2007</p>
+ *
+ * <p>Company: </p>
+ *
+ * @author not attributable
+ * @version 1.0
+ */
+
+public class Frame1 extends JFrame {
+    JPanel contentPane;
+    BorderLayout borderLayout1 = new BorderLayout();
+    ArrayList metaList;
+    MetadataStats mdst;
+    //JPanel jPanel1 = new JPanel();
+    
+    public Frame1(MetadataStats ms) {
+    	 mdst = ms;
+    	 metaList = ms.metadataNameList;
+        try {
+            setDefaultCloseOperation(EXIT_ON_CLOSE);
+            jbInit();
+        } catch (Exception exception) {
+            exception.printStackTrace();
+        }
+    }
+    
+    /**
+     * Component initialization.
+     *
+     * @throws java.lang.Exception
+     */
+    private void jbInit() throws Exception {
+        contentPane = (JPanel) getContentPane();
+        contentPane.setLayout(borderLayout1);
+        setSize(new Dimension(570, 800));
+	
+        setTitle("Metadata Statistics");
+        contentPane.add(BorderLayout.CENTER, new SummaryPanel(mdst));
+    }
+}
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/InternalLink.java
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/InternalLink.java	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/InternalLink.java	(revision 17156)
@@ -0,0 +1,28 @@
+package org.greenstone3.ms;
+
+import java.util.ArrayList;
+
+public class InternalLink {
+	private ArrayList alist = new ArrayList();
+	private ArrayList nodeList = new ArrayList();
+	private String value = "";
+	
+	public void setValue(String arg){
+		value = arg;
+	}
+	public void increaseElement(String arg){
+		alist.add(arg);
+	}
+	public String getValue(){
+		return value;
+	}
+	public ArrayList retrieveList(){
+		return (ArrayList)alist.clone();
+	}
+	public ArrayList retrieveNodeList(){
+		return (ArrayList)nodeList.clone();
+	}
+	public void increaseNode(InternalLink il){
+		nodeList.add(il);
+	}
+}
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/MainApplication.java
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/MainApplication.java	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/MainApplication.java	(revision 17156)
@@ -0,0 +1,74 @@
+package org.greenstone3.ms;
+
+import java.awt.Toolkit;
+import javax.swing.SwingUtilities;
+import javax.swing.UIManager;
+import java.awt.Dimension;
+
+/**
+ * <p>Title: </p>
+ *
+ * <p>Description: </p>
+ *
+ * <p>Copyright: Copyright (c) 2007</p>
+ *
+ * <p>Company: </p>
+ *
+ * @author not attributable
+ * @version 1.0
+ */
+
+public class MainApplication {
+    boolean packFrame = false;
+
+    /**
+     * Construct and show the application.
+     */
+    public MainApplication(String collectionName) {
+    	DescribeMessager dm = new DescribeMessager(collectionName,"http://repositoryaut.lconz.ac.nz/cgi/oai2.cgi");
+    	dm.describeMatadata(collectionName,"http://researchcommons.waikato.ac.nz/cgi/oai2.cgi");
+    	//System.out.println("step1");
+    	//HashMap
+        Frame1 frame = new Frame1(dm.getElementClass());
+        // Validate frames that have preset sizes
+        // Pack frames that have useful preferred size info, e.g. from their layout
+        if (packFrame) {
+            frame.pack();
+        } else {
+            frame.validate();
+        }
+
+        // Center the window
+        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
+        Dimension frameSize = frame.getSize();
+        if (frameSize.height > screenSize.height) {
+            frameSize.height = screenSize.height;
+        }
+        if (frameSize.width > screenSize.width) {
+            frameSize.width = screenSize.width;
+        }
+        frame.setLocation((screenSize.width - frameSize.width) / 2,
+                          (screenSize.height - frameSize.height) / 2);
+        frame.setVisible(true);
+    }
+
+    /**
+     * Application entry point.
+     *
+     * @param args String[]
+     */
+    public static void main(String[] args) {
+        SwingUtilities.invokeLater(new Runnable() {
+            public void run() {
+                try {
+                    UIManager.setLookAndFeel(UIManager.
+                                             getSystemLookAndFeelClassName());
+                } catch (Exception exception) {
+                    exception.printStackTrace();
+                }
+
+                new MainApplication("");
+            }
+        });
+    }
+}
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/MetadataElement.java
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/MetadataElement.java	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/MetadataElement.java	(revision 17156)
@@ -0,0 +1,86 @@
+package org.greenstone3.ms;
+
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Iterator;
+
+
+public class MetadataElement {
+    
+    protected String metadataName = null;;
+    protected int frequency = 0;
+    protected ArrayList length = new ArrayList();
+    protected HashMap metadataList= new HashMap();
+    protected boolean used = false;
+    protected HashMap valueList = new HashMap();
+    
+    public String getMetadataName(){
+	return this.metadataName;
+    }
+    
+    public HashMap getValueList(){
+	return valueList;
+    }
+    
+    public int getFrequency(){
+	return frequency;
+    }
+    
+    public ArrayList getLength(){
+	return length;
+    }
+    
+    public HashMap getMetadataList(){
+	return metadataList;
+    }
+        
+    public void setMetadataName(String Meta_Name){
+	metadataName =  Meta_Name;
+    }
+    
+    public void IncreaseFrequency(){
+	frequency++;
+    }
+    
+    public void DecreaseFrequency(){
+	frequency--;
+    }
+    
+    public void SetLengthList(int len){
+	Integer in = new Integer (len);
+	length.add(in);
+    }
+    
+    public void SetmetadataList(String ID, DocumentInfo doc){
+	//Integer in = new Integer (num);
+	//metadataList.add(in);
+	//metadataList = alist;
+	metadataList.put(ID, doc);
+    }
+    
+    public void SetStatus(boolean status){
+	used = status;
+    }
+    
+    public int[] sortArrayList(){
+	
+	int[] sortList = new int [metadataList.size()];
+	Collection c = metadataList.values();
+	Iterator i = c.iterator();
+	int x = 0;
+	
+	while(i.hasNext()){
+	    sortList[x] = ((DocumentInfo) i.next()).getFrequence();
+	    x++;
+	}
+	/*
+	  for(int i = 0; i < metadataList.size(); i++){
+	  sortList[i] = ((Integer)metadataList.get(i)).intValue();
+	  }
+	*/
+	Arrays.sort(sortList);
+	return sortList;
+    }
+}
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/MetadataSet.java
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/MetadataSet.java	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/MetadataSet.java	(revision 17156)
@@ -0,0 +1,44 @@
+package org.greenstone3.ms;
+
+import java.util.ArrayList;
+
+public class MetadataSet {
+
+	private String Name;
+	private ArrayList indexs = new ArrayList();
+	private String abb;
+	
+	public void setName(String str){
+		Name = str;
+	}
+	
+	public void addIndex(String str){
+		if(!indexs.contains(str)){
+			indexs.add(str);
+		}
+	}
+	
+	public void setAbb(String str){
+		abb = str;
+	}
+	
+	public String getName(){
+		return Name;
+	}
+	
+	public ArrayList getIndexsList(){
+		return (ArrayList)indexs.clone();
+	}
+	
+	public String getAbb(){
+		return abb;
+	}
+	
+	public boolean IsContain(String str){
+		return indexs.contains(str);
+	}
+	
+	public void setIndexList(ArrayList alist){
+		indexs = (ArrayList)alist.clone();
+	}
+}
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/MetadataStats.java
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/MetadataStats.java	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/MetadataStats.java	(revision 17156)
@@ -0,0 +1,668 @@
+package org.greenstone3.ms;
+
+
+import org.w3c.dom.*;
+import javax.xml.parsers.*;
+import javax.xml.transform.*;
+import javax.xml.transform.dom.*;
+import javax.xml.transform.stream.*;
+
+
+import java.io.BufferedWriter;
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.OutputStreamWriter;
+import java.io.PrintWriter;
+import java.io.Writer;
+
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Set;
+import java.util.StringTokenizer;
+
+import org.greenstone.gsdl3.core.MessageRouter;
+import org.greenstone.gsdl3.util.DBInfo;
+import org.greenstone.gsdl3.util.GDBMWrapper;
+import org.greenstone.gsdl3.util.GSFile;
+import org.greenstone.gsdl3.util.GSXML;
+import org.greenstone.gsdl3.util.XMLConverter;
+
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.NamedNodeMap;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+
+public class MetadataStats {
+    
+    private Document doc=null;
+    private MessageRouter mr = null;
+    private XMLConverter converter=null;
+    private GDBMWrapper gdbm_src = null;
+    private String site_name = "localsite";
+    private String node_id = "browselist";
+    private String DLS_SET = "dls";
+    private String DC_SET = "dublin";
+    private String OAI_URL = "";
+    private boolean status = false;
+    private String oai_Prefix ="";
+    //private PrintWriter pw;
+    // servlet
+    final String destination = "/home/cc108/MRWks1/Greenstone3Project/";
+    private int TotalDoc = 0;
+    //private int TotalElement = 0;
+
+    private HashMap MDS_list = new HashMap();
+    
+    private String collection = null;
+    public ArrayList metadataNameList = new ArrayList();
+    public String myNewDir;
+    private String collection_Name = null;
+
+    
+    MetadataElement me;
+    /*
+      The constructor connects to the database and retrieve 
+      information for the collection
+    */
+    
+    private static boolean deleteDir(File dir) {
+        if (dir.isDirectory()) {
+            String[] children = dir.list();
+            for (int i=0; i<children.length; i++) {
+                boolean success = deleteDir(new File(dir, children[i]));
+                if (!success) {
+                    return false;
+                }
+            }
+        }
+    
+        return dir.delete();
+    } 
+
+    public MetadataStats(String site_home, String collection,String url,String oaiPrefix){
+    	OAI_URL = url;
+    	collection_Name = collection; 
+    	oai_Prefix = oaiPrefix;
+    	//pw = out;
+    	
+	//myNewDir = collection+"/metadataStats";
+    	myNewDir =destination+collection+"/metadataStats";
+    	
+    	if(new File(myNewDir).exists()){deleteDir(new File(myNewDir));}
+    	new File(myNewDir).mkdirs();
+	    
+
+    	String gdbm = GSFile.collectionDatabaseFile(site_home,collection,collection,"gdbm");
+
+	mr = new MessageRouter();
+	mr.setSiteName(this.site_name);
+	mr.configure();
+	
+	this.collection = collection;
+	this.gdbm_src = new GDBMWrapper();
+	this.converter = new XMLConverter();
+	this.doc = this.converter.newDOM();
+	Setup(gdbm);
+    }
+    
+    public void getAvailableMetadataSets(String SetName,HashMap UsedMap, String SetAbbr){
+	
+	File metadata_directory = new File("/research/cc108/greenstone3/gli/metadata");
+	//File metadata_directory = new File("/greenstone3/gli/metadata");
+	//File metadata_directory = new File("C://Program Files//Greenstone3//gli//metadata");
+	
+	if (metadata_directory.exists()) {
+	    // Load just those .mds files in this directory, and return them
+	    File[] directory_files = metadata_directory.listFiles();
+
+	    for (int i = 0; i < directory_files.length; i++) {
+		File child_file = directory_files[i];
+		
+		if (!child_file.isDirectory() && child_file.getName().endsWith("mds")) {
+                    String fileName = child_file.getName();
+		    
+		    /////////////////////////
+		    //LOADING DLS CORE
+		    //---if(fileName.equals(SetName)&& fileName.equals("dls.mds") && DLS_STATUS){
+		    if(!MDS_list.containsKey(SetName)&& fileName.equals(SetName+".mds")){
+            		    
+			MetadataSet ms = new MetadataSet();
+			ms.setName(SetName);
+			ms.setAbb(SetAbbr);
+			
+			converter.newDOM();
+			Document d = converter.getDOM(child_file);
+			     
+			NodeList e = d.getElementsByTagName("Element");
+			     
+			int length = e.getLength();
+			
+			for(int y = 0; y<length; y++){
+			    Node temp = e.item(y);
+			    NamedNodeMap mmp = temp.getAttributes();
+			    
+			    if(!mmp.item(0).getNodeValue().equals("dc.Description")){
+			    	MetadataElement me = new MetadataElement();
+			    	//me.setMetadataName((SetAbbr+"."+mmp.item(0).getNodeValue().toLowerCase()));
+			    	me.setMetadataName((SetAbbr+"."+mmp.item(0).getNodeValue()));
+			    	//System.out.println(me.getMetadataName());
+			    	//.child_file............child_file
+			    	if(!metadataNameList.contains(me.getMetadataName())){
+			    		metadataNameList.add(me.getMetadataName());
+			    		ms.addIndex(me.getMetadataName());
+			    	}
+			    UsedMap.put(me.getMetadataName(),me);
+			    }
+			}
+
+			MDS_list.put(ms.getName(), ms);
+
+		    }// DLS FINISH
+		}
+    	    }
+	}   	
+    }
+    
+    // doc_list is the list of document ids
+    //MetadataElement represents which metadata element we want to explore
+    private void parseMetadata(ArrayList doc_list, String MetadataElement){
+    	//MetadataElement = "dc.contributor";
+	//System.out.println("parse metadata starts");
+	int counter = 0;
+	//int x = 0;
+	int docSize = doc_list.size();
+    	
+	System.out.print("<!-- prepare request -->");
+	while(true){
+    		
+	    Node message = this.doc.createElement(GSXML.MESSAGE_ELEM);
+	
+	    Node request = GSXML.createBasicRequest(
+						       this.doc, GSXML.REQUEST_TYPE_PROCESS,collection+"/DocumentMetadataRetrieve","en", "");
+	    
+	    Node param_list = this.doc.createElement(
+							GSXML.PARAM_ELEM+GSXML.LIST_MODIFIER);
+	    
+	    param_list.appendChild(GSXML.createParameter(
+							 this.doc, "metadata", "all"));
+	//metadatalist-dc
+	    Node documentNode_list = this.doc.createElement(
+							       GSXML.DOC_NODE_ELEM+GSXML.LIST_MODIFIER);
+	
+	    if(docSize>=300){
+		docSize = docSize - 300;
+		for(int i = 0; i<300; i++){
+		    Element documentNode = this.doc.createElement(GSXML.DOC_NODE_ELEM);
+		    documentNode.setAttribute("nodeID",(String)doc_list.get(counter));
+		    documentNode_list.appendChild(documentNode);
+		    counter++;
+		}
+		request.appendChild(param_list);
+		request.appendChild(documentNode_list);
+		message.appendChild(request);
+		Node response = mr.process(message);
+		getAttributes(response);
+		
+		response  = null;
+		request = null;
+		param_list = null;
+		documentNode_list = null;
+		//System.gc();	
+		}
+	
+	    else if(docSize<300){
+		for(int i = 0; i<docSize; i++){
+		    Element documentNode = this.doc.createElement(GSXML.DOC_NODE_ELEM);
+		    documentNode.setAttribute("nodeID",(String)doc_list.get(counter));
+		    documentNode_list.appendChild(documentNode);
+		    counter++;
+		}
+		request.appendChild(param_list);
+		request.appendChild(documentNode_list);
+		message.appendChild(request);
+
+		Node response = mr.process(message);
+		getAttributes(response);
+		response  = null;
+		request = null;
+		param_list = null;
+		documentNode_list = null;
+
+		break;
+	    }
+	}
+    }
+    
+    public boolean getStatus(){
+    	return this.status;
+    }
+    
+
+    private void Setup(String gdbm){
+
+	
+	if (!this.gdbm_src.openDatabase(gdbm,GDBMWrapper.READ)) {
+	    System.out.println("Could not open GDBM database!");
+	    
+	}
+	
+	else{
+		
+		  String info = this.gdbm_src.getValue("browselist");
+			
+		    if (info == null) {
+		    	System.out.println("cannot locate the list");
+		    }
+		    else{
+			
+			if (info == null) {
+				System.out.println("the db does not contain any info");
+			}
+			
+			ArrayList children = new ArrayList();
+			StringTokenizer st = new StringTokenizer(info, ";");
+			
+			while (st.hasMoreTokens()) {
+				String part = st.nextToken(";");
+		
+				
+				
+				if(part.contains("<contains>")){
+					part = part.replace("<contains>", "");
+				}
+				else if(part.contains("<thistype>")){
+
+					int location = part.indexOf("<thistype>");
+					part = part.substring(0,location-1);
+				}
+				children.add(part);
+				System.out.println("..."+part+".....2");
+
+			}
+			
+			gdbm_src.closeDatabase();
+			parseMetadata(children,"all");
+			TotalDoc = children.size();
+			System.out.println("Total Doc22222:"+TotalDoc);
+			status = true;
+	}
+	}
+    }
+
+    
+    public void getAttributes(Node f){
+	
+	HashMap UsedMap = new HashMap();
+    Element e = (Element) f;
+	NodeList metadataNode =  e.getElementsByTagName("metadata");
+	int length = metadataNode.getLength();
+	
+	for (int j = 0; j < length; j++){
+	    Node aNode = metadataNode.item(j);
+	    NamedNodeMap NodeMap = aNode.getAttributes();
+	    Node AttributeNode = NodeMap.item(0);
+	    String att_name = AttributeNode.getNodeValue();
+	    
+	    if(att_name.indexOf("dls.")!=-1){getAvailableMetadataSets(DLS_SET,UsedMap,"dls");}
+	    else if(att_name.indexOf("dc.")!=-1){getAvailableMetadataSets(DC_SET,UsedMap,"dc");}
+	    
+	}
+
+	adjust(UsedMap,e);
+	UsedMap = null;
+	e = null;
+	System.gc();
+    }
+    
+
+    /* 
+     * MATCH UP THE ELEMENTS FROM BOTH DOCUMENTS AND PRE-DEFINED METADATA SET
+     * MOVE THE ELEMENT FROM NOUSEDMAP TO USEDMAP IF THE ELEMENT HAS NOT BEEN DISCOVERED BEFORE
+     * INCREASE THE COUNTER ONCE THE ELEMENT IS RECONGNIZED
+     * CALCULATE THE TIMES OF ELEMENTS USED AND STORE IT INTO THE LIST
+     */
+    
+    private void adjust(HashMap UsedMap, Element response){
+
+
+	String DocID;;
+	NodeList nList = response.getElementsByTagName("documentNode");
+	int length = nList.getLength();
+	for (int j = 0; j <length;  j++){
+	    
+	    Node aNode = nList.item(j);
+	    NamedNodeMap NodeMap = aNode.getAttributes();
+	    Node AttributeNode = NodeMap.item(0);
+	    String att_name = AttributeNode.getNodeValue();
+	    DocID = att_name;
+
+	    NodeList childList = aNode.getChildNodes();
+	    Node nNode = childList.item(0);
+	    NodeList grandChildList = nNode.getChildNodes();
+	    
+	    int length1 = grandChildList.getLength();
+	    
+	    for(int e = 0; e<length1 ; e++){
+
+		Node xNode = grandChildList.item(e);
+		NamedNodeMap xNodeMap = xNode.getAttributes();
+		Node xAttributeNode = xNodeMap.item(0);
+		String xatt_name = xAttributeNode.getNodeValue();
+
+		NodeList cList = xNode.getChildNodes();
+		
+		String ActValue = cList.item(0).getNodeValue();
+
+
+		char firstchart = xatt_name.charAt(0);
+
+		
+		if(xatt_name.indexOf('^')!=-1){
+			xatt_name = xatt_name.replace('^', '.');
+		}
+		
+		if(UsedMap.containsKey(xatt_name)){
+
+		    MetadataElement met = (MetadataElement) UsedMap.get(xatt_name);
+		    met.IncreaseFrequency();
+		    HashMap metadataMap = met.getMetadataList();
+		    
+		    if(metadataMap.containsKey(DocID)){
+		
+			DocumentInfo dc = (DocumentInfo)metadataMap.get(DocID);
+			dc.IncreaseFrequence();
+			dc.addActualValue(ActValue);
+			metadataMap.put(DocID, dc);
+		    }
+		    else{
+	
+			DocumentInfo dc = new DocumentInfo();
+			dc.IncreaseFrequence();
+			dc.setDocumentID(DocID);
+			dc.addActualValue(ActValue);
+			metadataMap.put(DocID, dc);
+		    }
+		    
+		    HashMap valueMap = met.getValueList();
+		    if(valueMap.containsKey(ActValue)){
+			Integer f = (Integer)valueMap.get(ActValue);
+			int fx = f.intValue();
+			fx++;
+			valueMap.put(ActValue,new Integer(fx));
+		    }
+		    else{
+			valueMap.put(ActValue, new Integer(1));
+		    }
+		    
+		}
+		//else if ((!UsedMap.containsKey(xatt_name)) && (xatt_name.indexOf(".")==-1) && (!xatt_name.equals("prettymd")) && (!xatt_name.equals("Description")) && (Character.isLetter(firstchart)) && (xatt_name.indexOf("-")==-1)){
+		else if( (!UsedMap.containsKey(xatt_name)) && xatt_name.equals("archivedir")){   
+		    //pw.write("NEW EX element");
+		    String SetAbbr = "ex";
+		    String SetName = "extracted";
+		    
+		    MetadataSet ms = new MetadataSet();
+		    ms.setName(SetName);
+		    ms.setAbb(SetAbbr);
+		    
+		    MetadataElement me = new MetadataElement();
+		    me.setMetadataName(xatt_name);
+		    me.IncreaseFrequency();
+		    HashMap metadataMap = me.getMetadataList();
+	    	
+		    if(metadataMap.containsKey(DocID)){
+			DocumentInfo dc = (DocumentInfo)metadataMap.get(DocID);
+			dc.IncreaseFrequence();
+			dc.addActualValue(ActValue);
+			metadataMap.put(DocID, dc);
+		    }
+		    else{
+			DocumentInfo dc = new DocumentInfo();
+			dc.IncreaseFrequence();
+			dc.setDocumentID(DocID);
+			dc.addActualValue(ActValue);
+			metadataMap.put(DocID, dc);
+		    }
+
+		    HashMap valueMap = me.getValueList();
+		    if(valueMap.containsKey(ActValue)){
+			Integer f = (Integer)valueMap.get(ActValue);
+			int fx = f.intValue();
+			fx++;
+			valueMap.put(ActValue,new Integer(fx));
+		    }
+		    else{
+
+			valueMap.put(ActValue, new Integer(1));
+		    }
+		    if(!metadataNameList.contains(me.getMetadataName())){
+		    	metadataNameList.add(me.getMetadataName());
+		    	ms.addIndex(me.getMetadataName());
+		    }
+
+		    UsedMap.put(me.getMetadataName(), me);
+		    if(!MDS_list.containsKey(ms.getName())){MDS_list.put(ms.getName(), ms);}
+		    else{
+			MetadataSet msx = (MetadataSet)MDS_list.get(ms.getName());
+			msx.addIndex(me.getMetadataName());
+			MDS_list.put(ms.getName(), msx);
+		    }
+		}
+		
+		
+		else if((!UsedMap.containsKey(xatt_name)) && xatt_name.indexOf(".")!=-1 && xatt_name.indexOf("dc.")==-1){   
+		    //pw.write("NEW EX element");
+			int dotLocation = xatt_name.indexOf(".");
+		    String SetAbbr = xatt_name.substring(0,dotLocation);
+		    String SetName = SetAbbr;
+		    
+		    MetadataSet ms = new MetadataSet();
+		    ms.setName(SetName);
+		    ms.setAbb(SetAbbr);
+		    
+		    MetadataElement me = new MetadataElement();
+		    me.setMetadataName(xatt_name);
+		    me.IncreaseFrequency();
+		    HashMap metadataMap = me.getMetadataList();
+	    	
+		    if(metadataMap.containsKey(DocID)){
+			DocumentInfo dc = (DocumentInfo)metadataMap.get(DocID);
+			dc.IncreaseFrequence();
+			dc.addActualValue(ActValue);
+			metadataMap.put(DocID, dc);
+		    }
+		    else{
+			DocumentInfo dc = new DocumentInfo();
+			dc.IncreaseFrequence();
+			dc.setDocumentID(DocID);
+			dc.addActualValue(ActValue);
+			metadataMap.put(DocID, dc);
+		    }
+
+		    HashMap valueMap = me.getValueList();
+		    if(valueMap.containsKey(ActValue)){
+			Integer f = (Integer)valueMap.get(ActValue);
+			int fx = f.intValue();
+			fx++;
+			valueMap.put(ActValue,new Integer(fx));
+		    }
+		    else{
+
+			valueMap.put(ActValue, new Integer(1));
+		    }
+		    if(!metadataNameList.contains(me.getMetadataName())){
+		    	metadataNameList.add(me.getMetadataName());
+		    	ms.addIndex(me.getMetadataName());
+		    }
+		    //pw.write("adding element");
+		    UsedMap.put(me.getMetadataName(), me);
+		    if(!MDS_list.containsKey(ms.getName())){MDS_list.put(ms.getName(), ms);}
+		    else{
+			MetadataSet msx = (MetadataSet)MDS_list.get(ms.getName());
+			msx.addIndex(me.getMetadataName());
+			MDS_list.put(ms.getName(), msx);
+		    }
+		}
+		
+		////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+		else if ((!UsedMap.containsKey(xatt_name)) && (xatt_name.indexOf("dc.")==0) && xatt_name.indexOf("dc.Description")!=0){
+		    
+		    //pw.write("QUALIFIED DC element");
+			
+		    String SetName = "dublin";
+		    xatt_name = xatt_name.replace('^', '.');
+		    
+		    MetadataElement me = new MetadataElement();
+		    me.setMetadataName(xatt_name);
+		    me.IncreaseFrequency();
+		    HashMap metadataMap = me.getMetadataList();
+		    
+		    DocumentInfo dc = new DocumentInfo();
+		    dc.IncreaseFrequence();
+		    dc.setDocumentID(DocID);
+		    dc.addActualValue(ActValue);
+		    metadataMap.put(DocID, dc);
+		    
+		    HashMap valueMap = me.getValueList();
+		    valueMap.put(ActValue, new Integer(1));
+			
+		    if(!metadataNameList.contains(me.getMetadataName())){
+		    	metadataNameList.add(me.getMetadataName());
+		    }
+		    
+		    //pw.write("adding element");
+		    UsedMap.put(me.getMetadataName(), me);
+		    
+		    MetadataSet msx = (MetadataSet)MDS_list.get(SetName);
+		    msx.addIndex(me.getMetadataName());
+		    MDS_list.put(SetName, msx);
+		}
+		/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+	    }// element
+	    
+	}//doc id
+	////////////////////
+	//write file
+	int counter = 0;
+
+	
+	Set s = UsedMap.keySet();
+	Iterator is = s.iterator();
+
+	while(is.hasNext()){
+
+	    String fileName = (String)is.next();
+	    MetadataElement me = (MetadataElement)UsedMap.get(fileName);
+	    HashMap hp = me.getMetadataList();
+	    Collection ks = hp.values();
+	    Iterator iks = ks.iterator();
+		
+	    try{
+		
+		DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
+		DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
+		Document doc = docBuilder.newDocument();
+		Element root = doc.createElement("root");
+		boolean fileExist = (new File(myNewDir+"/"+fileName+".xml")).exists();
+		
+		if(!fileExist){
+		    root = doc.createElement("root");
+		}
+		else{
+		    doc = docBuilder.parse (new File(myNewDir+"/"+fileName+".xml"));
+		    root = doc.getDocumentElement();
+		}
+		
+		while(iks.hasNext()){
+		    
+		    DocumentInfo dc = (DocumentInfo)iks.next();
+		    Element docID = doc.createElement("Document");
+		    docID.setAttribute("id", dc.getDocumentID());
+		    //pw.write("doc id"+dc.getDocumentID());
+            	
+		    Element freq = doc.createElement("Frequency");
+		    Text text = doc.createTextNode(dc.getFrequence()+"");
+		    freq.appendChild(text);
+		    docID.appendChild(freq);
+            	
+		    Element actValue = doc.createElement("ActualValue");
+		    ArrayList alist = dc.getActualValue();
+		    if(alist.size()==0){
+            		text = doc.createTextNode(" ");
+            		actValue = doc.createElement("ActualValue");
+            		actValue.appendChild(text);
+            		docID.appendChild(actValue);
+            		}
+            
+		    for(int i = 0; i<alist.size(); i++){
+            		actValue = doc.createElement("ActualValue");
+            		String utf8String = new String(((String)alist.get(i)).getBytes(),"UTF-8");
+            		Text text1 = doc.createTextNode(utf8String);
+            		actValue.appendChild(text1);
+            		docID.appendChild(actValue);
+		    }	
+            	
+		    root.appendChild(docID);
+		    docID = null;
+		    counter++;
+            }
+ 
+		TransformerFactory   tf=TransformerFactory.newInstance();     
+		Transformer   transformer=tf.newTransformer();     
+		DOMSource   source=new   DOMSource(root);     
+		transformer.setOutputProperty(OutputKeys.INDENT,"yes");     
+		
+		Writer pwx= new  BufferedWriter(new OutputStreamWriter(new FileOutputStream(myNewDir+"/"+fileName+".xml"),"UTF-8"));     
+		StreamResult   result= new   StreamResult(pwx);     
+		transformer.transform(source,result);  
+		pwx.close();
+  			
+		root = null;
+		docBuilderFactory = null;
+		docBuilder = null;
+		doc = null;
+		
+	    }catch (Exception e) {
+		System.out.println(e);
+		//e.printStackTrace(pw);
+	    }
+	}
+    }
+    
+    public int getDocNum(){
+	return TotalDoc;
+    }
+        
+    public HashMap getMetadataSetMap(){
+    	MDS_list.remove("extracted");
+    	return (HashMap)MDS_list.clone();
+    }
+    
+    public String getCollectionName(){
+    	return collection_Name;
+    }
+    
+    public void setOAIURL(String url){
+    	OAI_URL = url;
+    }
+    
+    public String getOAIURL(){
+    	return OAI_URL;
+    }
+    
+    public String getOaiPrefix(){
+    	return oai_Prefix;
+    }
+    
+    public ArrayList getMetadataNameList(){
+    	return (ArrayList)metadataNameList.clone();
+    }
+    private String constructUpdateMessgae (){
+    	String message = "<message><request type='system' to=''><system type='configure' subset=''/></request></message>";
+    	return message;
+    }
+}
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/MetadataTableFrame.java
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/MetadataTableFrame.java	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/MetadataTableFrame.java	(revision 17156)
@@ -0,0 +1,98 @@
+package org.greenstone3.ms;
+import java.awt.BorderLayout;
+import java.awt.Dimension;
+
+import javax.swing.JFrame;
+import javax.swing.JPanel;
+import javax.swing.JScrollPane;
+import javax.swing.JTable;
+import javax.swing.table.DefaultTableModel;
+import javax.swing.table.TableColumn;
+import javax.swing.table.TableModel;
+//import javax.swing.table.TableRowSorter;
+
+/**
+ * <p>Title: </p>
+ *
+ * <p>Description: </p>
+ *
+ * <p>Copyright: Copyright (c) 2007</p>
+ *
+ * <p>Company: </p>
+ *
+ * @author not attributable
+ * @version 1.0
+ */
+public class MetadataTableFrame extends JFrame {
+    JPanel contentPane;
+    BorderLayout borderLayout1 = new BorderLayout();
+    JPanel jPanel1 = new JPanel();
+    JScrollPane jScrollPane1 = new JScrollPane();
+    JTable jTable1;
+
+    String[] columnNames;
+
+
+      Object[][] data;
+ 
+ 
+    public MetadataTableFrame(String[] dataNames, Object[][] dataset) {
+        try {
+            columnNames = dataNames;
+            data = dataset;
+            setDefaultCloseOperation(DISPOSE_ON_CLOSE);
+            jbInit();
+        } catch (Exception exception) {
+            exception.printStackTrace();
+        }
+    }
+
+    /**
+     * Component initialization.
+     *
+     * @throws java.lang.Exception
+     */
+    private void jbInit() throws Exception {   
+        contentPane = (JPanel) getContentPane();
+        contentPane.setLayout(borderLayout1);
+        //setSize(new Dimension(700,720));
+        setTitle("Statistics table");
+        
+        TableModel model = new DefaultTableModel(data,columnNames) {
+            public Class getColumnClass(int column) {
+              return getValueAt(0, column).getClass();
+            }
+          };
+        jTable1 = new JTable(model);
+        TableColumn column = null;
+        //TableRow 
+        
+        for (int i = 0; i < jTable1.getColumnCount(); i++) {
+            column = jTable1.getColumnModel().getColumn(i);
+            
+            if(i == 1 || i ==2 || i==10){
+                column.setPreferredWidth(100);
+            }
+            else{
+            	  column.setPreferredWidth(25);
+            }
+            //column.set
+        }
+     
+        jTable1.setEnabled(false);
+        jTable1.setSize(new Dimension(1200,700));
+        jScrollPane1 = new JScrollPane(jTable1);
+      
+        jScrollPane1.setPreferredSize(new Dimension(1200,700));
+
+        jPanel1.add(jScrollPane1);
+        jPanel1.setPreferredSize(jTable1.getSize());
+        contentPane.setPreferredSize(new Dimension(680,700));
+        contentPane.add(jPanel1, java.awt.BorderLayout.CENTER);
+        setSize(new Dimension(1250,700));
+    }
+    
+    public void windowClosing(java.awt.event.WindowEvent event){
+    	this.dispose();
+    }
+}
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/PrintHTML.java
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/PrintHTML.java	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/PrintHTML.java	(revision 17156)
@@ -0,0 +1,3030 @@
+package org.greenstone3.ms;
+
+//import InternalLink;
+
+import java.io.*;
+import java.text.SimpleDateFormat;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.Calendar;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.w3c.dom.*;
+
+public class PrintHTML {
+    
+	final String NORMAL = "normal";
+	final String WORST = "worst";
+	final String BEST = "best";
+	final String title1 ="Hide Empty Metadata ,";
+	final String title2 ="Hide Completed Metadata ,";
+	final String title3 ="Hide Documents with Empty Metadata ,";
+	final String title4 ="Hide Documents with Completed Metadata  ,";
+	final String title5 ="No Available Graph";
+	final String metadataSet1 = "Dublin Core";
+	final String metadataSet2 = "Extracted";
+	final String incompletedList="IncompletedList";
+	final String spaceLeft = "<I>&laquo;";
+	final String spaceRight = "&raquo;</I>";
+	final String space ="space";
+	final String oddChar ="odd Character";
+	HashMap url;
+	//servlet
+	//final String destination = "/research/cc108/greenstone3/web/mat/";
+    MetadataStats mds;
+    DataMaker dm;
+    Calendar cl;
+    SimpleDateFormat sdf;
+    public PrintHTML(MetadataStats ms){
+	mds = ms;
+	
+	dm = new DataMaker(mds);
+	cl=Calendar.getInstance(); 
+	
+	sdf = new SimpleDateFormat(" dd MMM yyyy 'at' HH:mm:ss z 'GMT'Z");
+	setupMetadataLink("metadataElementURL");
+    }
+	
+    private ArrayList getHideEmptyMetadataDetail(ArrayList dataset, String[] id, String[] metadataName){
+    	
+    if(id.length==0 || metadataName.length==0){return new ArrayList();}	
+	ArrayList detailList = new ArrayList();
+	ArrayList alist = new ArrayList();
+	ArrayList nameList = new ArrayList();
+	
+	for(int i = 0; i< metadataName.length; i++){
+	    if(!dm.IsElementEmpty(metadataName[i])){
+		alist.add(dm.getMetadataRows(metadataName[i]));
+		nameList.add(metadataName[i]);
+	    }
+	}
+	
+	String[] metaDataElementName = new String[nameList.size()];
+	
+	for(int i = 0; i< nameList.size(); i++){
+	    metaDataElementName[i] = nameList.get(i).toString();
+	}
+	
+	if(id.length==0 || metaDataElementName.length==0){return new ArrayList();}
+	
+	detailList.add(alist);
+	detailList.add(id);
+	detailList.add(metaDataElementName);
+
+	return detailList;
+    }
+	
+    private ArrayList getHideFullMetadataDetail(ArrayList dataset, String[] id, String[] metadataName){
+    	
+    if(id.length==0 || metadataName.length==0){return new ArrayList();}	
+	ArrayList detailList = new ArrayList();
+	ArrayList alist = new ArrayList();
+	ArrayList nameList = new ArrayList();
+	
+	for(int i = 0; i< metadataName.length; i++){
+	    if(!dm.IsElementFull(metadataName[i])){
+		alist.add(dm.getMetadataRows(metadataName[i]));
+		nameList.add(metadataName[i]);
+	    }
+	}
+	
+	String[] metaDataElementName = new String[nameList.size()];
+	
+	for(int i = 0; i< nameList.size(); i++){
+	    metaDataElementName[i] = nameList.get(i).toString();
+	}
+	
+	if(id.length==0 || metaDataElementName.length==0){return new ArrayList();}
+	
+	detailList.add(alist);
+	detailList.add(id);
+	detailList.add(metaDataElementName);
+	
+	return detailList;
+    }
+	
+    private ArrayList getHideEmptyDocumentDetail(ArrayList dataset, String[] id, String[] metadataName){
+    
+    if(id.length==0 || metadataName.length==0){return new ArrayList();}
+	ArrayList detailList = new ArrayList();
+	ArrayList alist = dm.removeDocument(dataset, id, 0);
+	ArrayList idList = dm.getRemovedID();
+	ArrayList newIDList = new ArrayList();
+	
+	for(int i = 0; i< id.length; i++){
+	    if(!idList.contains(id[i])){
+		newIDList.add(id[i]);
+	    }
+	}
+	id = new String[newIDList.size()];
+	for(int i = 0; i<newIDList.size(); i++){
+	    id[i] = newIDList.get(i).toString();
+	}
+	
+	if(id.length==0 || metadataName.length==0){return new ArrayList();}
+	
+	detailList.add(alist);
+	detailList.add(id);
+	detailList.add(metadataName);
+	
+	return detailList;
+    }
+    
+    private ArrayList getHideFullDocumentDetail(ArrayList dataset, String[] id, String[] metadataName){
+    
+    if(id.length==0 || metadataName.length==0){return new ArrayList();}
+	ArrayList detailList = new ArrayList();
+	ArrayList alist = dm.removeDocument(dataset, id ,1);
+	ArrayList idList = dm.getRemovedID();
+	ArrayList newIDList = new ArrayList();
+	
+	for(int i = 0; i< id.length; i++){
+	    if(!idList.contains(id[i])){
+		newIDList.add(id[i]);
+	    }
+	}
+	id = new String[newIDList.size()];
+	for(int i = 0; i<newIDList.size(); i++){
+	    id[i] = newIDList.get(i).toString();
+	}
+	
+	if(id.length==0 || metadataName.length==0){return new ArrayList();}
+	
+	detailList.add(alist);
+	detailList.add(id);
+	detailList.add(metadataName);
+	
+	return detailList;
+    }
+    
+    /*
+     * 	private ArrayList getEmptyMetadataDetail(ArrayList dataset, String[] id, String[] metadataName){
+     ArrayList detailList = new ArrayList();
+     return detailList;
+     }
+    */
+
+    public void generateAllPossibleGraph(ArrayList Namelist,String[]ids,String[] names,String condition){
+	//System.out.println("I AM HERE");
+    ArrayList dataList= Namelist;
+    String[] id = ids;
+    String[] metadataName = names;
+    
+	ArrayList alist = new ArrayList();
+	ArrayList detailList = new ArrayList();
+	ArrayList new_dataList = new ArrayList();
+	String[] idList;
+	String[] metadataNameList;
+	
+	//System.out.println("condition"+ condition);
+	//---------------------------------------------------------------------------------------------------------SS
+	//-----------------------------------------------------------------------SSSS
+	if(id.length==0 || metadataName.length==0){
+		generateEmptyGraph("SSSS","WORST",condition);
+		generateEmptyGraph("SSSS","BEST",condition);
+	}
+	
+	else{
+		new_dataList = transformDataList(dataList,id);
+		//WriteHTML("SSSS",new_dataList,id,metadataName,NORMAL);
+		WriteHTML("SSSS",new_dataList,id,metadataName,WORST,"Show completed graph",condition);
+		WriteHTML("SSSS",new_dataList,id,metadataName,BEST,"Show completed graph",condition);
+	}
+	//-----------------------------------------------------------------------SSSH
+	//System.out.println("SSSH 1");
+	detailList = getHideFullDocumentDetail(dataList,id,metadataName);
+	//System.out.println("SSSH 2");
+	if(detailList.size()==0){
+		generateEmptyGraph("SSSH","WORST",condition);
+		generateEmptyGraph("SSSH","BEST",condition);
+	}
+	else{
+		alist = (ArrayList)detailList.get(0);
+		idList = (String[])detailList.get(1);
+		metadataNameList = (String[])detailList.get(2);
+		new_dataList = transformDataList(alist,idList);
+		//WriteHTML("SSSH",new_dataList,idList,metadataNameList,NORMAL);
+		WriteHTML("SSSH",new_dataList,idList,metadataNameList,WORST,title4,condition);
+		WriteHTML("SSSH",new_dataList,idList,metadataNameList,BEST,title4,condition);
+	}
+	//-----------------------------------------------------------------------SSHS
+	//System.out.println("SSSS");
+	detailList = getHideEmptyDocumentDetail(dataList,id,metadataName);
+	//System.out.println("SSSS");
+	if(detailList.size()==0){
+		generateEmptyGraph("SSHS","WORST",condition);
+		generateEmptyGraph("SSHS","BEST",condition);
+		generateEmptyGraph("SSHH","WORST",condition);
+		generateEmptyGraph("SSHH","BEST",condition);
+	}
+	else{
+		alist = (ArrayList)detailList.get(0);
+		idList = (String[])detailList.get(1);
+		metadataNameList = (String[])detailList.get(2);
+		new_dataList = transformDataList(alist,idList);
+		//WriteHTML("SSHS",new_dataList,idList,metadataNameList,NORMAL);
+		WriteHTML("SSHS",new_dataList,idList,metadataNameList,WORST,title3,condition);
+		WriteHTML("SSHS",new_dataList,idList,metadataNameList,BEST,title3,condition);
+		//-----------------------------------------------------------------------SSHH
+		detailList = getHideFullDocumentDetail(alist,idList,metadataNameList);
+		if(detailList.size()==0){
+			generateEmptyGraph("SSHH","WORST",condition);
+			generateEmptyGraph("SSHH","BEST",condition);
+		}
+		else{
+			alist = (ArrayList)detailList.get(0);
+			idList = (String[])detailList.get(1);
+			metadataNameList = (String[])detailList.get(2);
+			new_dataList = transformDataList(alist,idList);
+			//WriteHTML("SSHH",new_dataList,idList,metadataNameList,NORMAL);
+			WriteHTML("SSHH",new_dataList,idList,metadataNameList,WORST,title3+title4,condition);
+			WriteHTML("SSHH",new_dataList,idList,metadataNameList,BEST,title3+title4,condition);
+		}
+	}
+	
+	
+	//---------------------------------------------------------------------------------------------------------SH
+	ArrayList xList = new ArrayList(); 
+	String[] idListCopy;
+	String[] metadataNameListCopy;
+	
+	//-----------------------------------------------------------------------SHSS
+	detailList = getHideFullMetadataDetail(dataList,id,metadataName);
+	
+	if(detailList.size()==0){
+		generateEmptyGraph("SHSS","WORST",condition);
+		generateEmptyGraph("SHSS","BEST",condition);
+		
+		generateEmptyGraph("SHSH","WORST",condition);
+		generateEmptyGraph("SHSH","BEST",condition);
+		
+		generateEmptyGraph("SHHS","WORST",condition);
+		generateEmptyGraph("SHHS","BEST",condition);
+		
+		generateEmptyGraph("SHHH","WORST",condition);
+		generateEmptyGraph("SHHH","BEST",condition);
+	}
+	else{
+		alist = (ArrayList)detailList.get(0);
+		idList = (String[])detailList.get(1);
+		metadataNameList = (String[])detailList.get(2);
+	
+		xList = (ArrayList)alist.clone();
+		idListCopy = (String[]) idList.clone();
+		metadataNameListCopy = (String[])metadataNameList.clone();
+	
+		new_dataList = transformDataList(alist,idList);
+		//WriteHTML("SHSS",new_dataList,idList,metadataNameList,NORMAL);
+		WriteHTML("SHSS",new_dataList,idList,metadataNameList,WORST,title2,condition);
+		WriteHTML("SHSS",new_dataList,idList,metadataNameList,BEST,title2,condition);
+	
+	//-----------------------------------------------------------------------SHHS
+	detailList = getHideEmptyDocumentDetail((ArrayList)xList.clone(),(String[])idListCopy.clone(),(String[])metadataNameListCopy.clone());
+	//System.out.println("SHHS"+detailList.size());
+	if(detailList.size()==0){		
+		generateEmptyGraph("SHHS","WORST",condition);
+		generateEmptyGraph("SHHS","BEST",condition);
+		
+		generateEmptyGraph("SHHH","WORST",condition);
+		generateEmptyGraph("SHHH","BEST",condition);
+	}
+	else{
+		alist = (ArrayList)detailList.get(0);
+		idList = (String[])detailList.get(1);
+		metadataNameList = (String[])detailList.get(2);
+		//if(idList.length==0 || metadataName.length==0){}
+		new_dataList = transformDataList(alist,idList);
+		//WriteHTML("SHHS",new_dataList,idList,metadataNameList,NORMAL);
+		WriteHTML("SHHS",new_dataList,idList,metadataNameList,WORST,title2+title3,condition);
+		WriteHTML("SHHS",new_dataList,idList,metadataNameList,BEST,title2+title3,condition);
+		//step
+		//-----------------------------------------------------------------------SHHH
+		detailList = getHideFullDocumentDetail(alist,idList,metadataNameList);
+		if(detailList.size()==0){		
+			generateEmptyGraph("SHHH","WORST",condition);
+			generateEmptyGraph("SHHH","BEST",condition);
+		}
+		else{
+			alist = (ArrayList)detailList.get(0);
+			idList = (String[])detailList.get(1);
+			metadataNameList = (String[])detailList.get(2);
+	
+			new_dataList = transformDataList(alist,idList);
+			//WriteHTML("SHHH",new_dataList,idList,metadataNameList,NORMAL);
+			WriteHTML("SHHH",new_dataList,idList,metadataNameList,WORST,title2+title3+title4,condition);
+			WriteHTML("SHHH",new_dataList,idList,metadataNameList,BEST,title2+title3+title4,condition);
+		}
+	}
+	
+	//-----------------------------------------------------------------------SHSH	
+	detailList = getHideFullDocumentDetail((ArrayList)xList.clone(),(String[])idListCopy.clone(),(String[])metadataNameListCopy.clone());
+		if(detailList.size()==0){		
+			generateEmptyGraph("SHSH","WORST",condition);
+			generateEmptyGraph("SHSH","BEST",condition);
+		}
+		else{
+			alist = (ArrayList)detailList.get(0);
+			idList = (String[])detailList.get(1);
+			metadataNameList = (String[])detailList.get(2);
+	
+			new_dataList = transformDataList(alist,idList);
+			//WriteHTML("SHSH",new_dataList,idList,metadataNameList,NORMAL);
+			WriteHTML("SHSH",new_dataList,idList,metadataNameList,WORST,title2+title4,condition);
+			WriteHTML("SHSH",new_dataList,idList,metadataNameList,BEST,title2+title4,condition);
+		}
+	}
+	
+	//---------------------------------------------------------------------------------------------------------HS
+	ArrayList xList1 = new ArrayList(); 
+	String[] idListCopy1;
+	String[] metadataNameListCopy1;
+	
+	//-----------------------------------------------------------------------HSSS
+	detailList = getHideEmptyMetadataDetail(dataList,id,metadataName);
+	
+	if(detailList.size()==0){
+		generateEmptyGraph("HSSS","WORST",condition);
+		generateEmptyGraph("HSSS","BEST",condition);
+		
+		generateEmptyGraph("HSHS","WORST",condition);
+		generateEmptyGraph("HSHS","BEST",condition);
+		
+		generateEmptyGraph("HSHH","WORST",condition);
+		generateEmptyGraph("HSHH","BEST",condition);
+		
+		generateEmptyGraph("HSSH","WORST",condition);
+		generateEmptyGraph("HSSH","BEST",condition);
+	}
+	else{
+		alist = (ArrayList)detailList.get(0);
+		idList = (String[])detailList.get(1);
+		metadataNameList = (String[])detailList.get(2);
+	
+		xList1 = (ArrayList)alist.clone();
+		idListCopy1 = (String[]) idList.clone();
+		metadataNameListCopy1 = (String[])metadataNameList.clone();
+	
+		new_dataList = transformDataList(alist,idList);
+		//WriteHTML("HSSS",new_dataList,idList,metadataNameList,NORMAL);
+		WriteHTML("HSSS",new_dataList,idList,metadataNameList,WORST,title1,condition);
+		WriteHTML("HSSS",new_dataList,idList,metadataNameList,BEST,title1,condition);
+	
+		//-----------------------------------------------------------------------HSHS
+		detailList = getHideEmptyDocumentDetail((ArrayList)xList1.clone(),(String[])idListCopy1.clone(),(String[])metadataNameListCopy1.clone());
+		if(detailList.size()==0){
+			generateEmptyGraph("HSHS","WORST",condition);
+			generateEmptyGraph("HSHS","BEST",condition);
+			
+			generateEmptyGraph("HSHH","WORST",condition);
+			generateEmptyGraph("HSHH","BEST",condition);
+		}
+		else{
+			alist = (ArrayList)detailList.get(0);
+			idList = (String[])detailList.get(1);
+			metadataNameList = (String[])detailList.get(2);
+			
+			new_dataList = transformDataList(alist,idList);
+			//WriteHTML("HSHS",new_dataList,idList,metadataNameList,NORMAL);
+			WriteHTML("HSHS",new_dataList,idList,metadataNameList,WORST,title1+title3,condition);
+			WriteHTML("HSHS",new_dataList,idList,metadataNameList,BEST,title1+title3,condition);
+	
+			//-----------------------------------------------------------------------HSHH
+			detailList = getHideFullDocumentDetail(alist,idList,metadataNameList);
+			if(detailList.size()==0){		
+				generateEmptyGraph("HSHH","WORST",condition);
+				generateEmptyGraph("HSHH","BEST",condition);
+			}
+			else{
+				alist = (ArrayList)detailList.get(0);
+				idList = (String[])detailList.get(1);
+				metadataNameList = (String[])detailList.get(2);
+	
+				new_dataList = transformDataList(alist,idList);
+				//WriteHTML("HSHH",new_dataList,idList,metadataNameList,NORMAL); 
+				WriteHTML("HSHH",new_dataList,idList,metadataNameList,WORST,title1+title3+title4,condition); 
+				WriteHTML("HSHH",new_dataList,idList,metadataNameList,BEST,title1+title3+title4,condition); 
+			}
+		}
+	
+	//-----------------------------------------------------------------------HSSH
+		detailList = getHideFullDocumentDetail((ArrayList)xList1.clone(),(String[])idListCopy1.clone(),(String[])metadataNameListCopy1.clone());
+		if(detailList.size()==0){
+			generateEmptyGraph("HSSH","WORST",condition);
+			generateEmptyGraph("HSHS","BEST",condition);
+		}
+		else{
+		alist = (ArrayList)detailList.get(0);
+		idList = (String[])detailList.get(1);
+		metadataNameList = (String[])detailList.get(2);
+	
+		new_dataList = transformDataList(alist,idList);
+		//WriteHTML("HSSH",new_dataList,idList,metadataNameList,NORMAL);
+		WriteHTML("HSSH",new_dataList,idList,metadataNameList,WORST,title1+title4,condition);
+		WriteHTML("HSSH",new_dataList,idList,metadataNameList,BEST,title1+title4,condition);
+		}
+	}
+	
+	//---------------------------------------------------------------------------------------------------------HH
+	ArrayList xList2 = new ArrayList(); 
+	String[] idListCopy2;
+	String[] metadataNameListCopy2;
+	
+	//-----------------------------------------------------------------------HHSS
+	detailList = getHideEmptyMetadataDetail(dataList,id,metadataName);
+	if(detailList.size()==0){
+		generateEmptyGraph("HHSS","WORST",condition);
+		generateEmptyGraph("HHSS","BEST",condition);
+		
+		generateEmptyGraph("HHHS","WORST",condition);
+		generateEmptyGraph("HHHS","BEST",condition);
+		
+		generateEmptyGraph("HHHH","WORST",condition);
+		generateEmptyGraph("HHHH","BEST",condition);
+		
+		generateEmptyGraph("HHSH","WORST",condition);
+		generateEmptyGraph("HHSH","BEST",condition);
+	}
+	else{
+		alist = (ArrayList)detailList.get(0);
+		idList = (String[])detailList.get(1);
+		metadataNameList = (String[])detailList.get(2);
+	
+		detailList = getHideFullMetadataDetail(alist,idList,metadataNameList);
+		//System.out.println(detailList.size());
+		if(detailList.size()==0){
+			generateEmptyGraph("HHSS","WORST",condition);
+			generateEmptyGraph("HHSS","BEST",condition);
+			
+			generateEmptyGraph("HHHS","WORST",condition);
+			generateEmptyGraph("HHHS","BEST",condition);
+			
+			generateEmptyGraph("HHHH","WORST",condition);
+			generateEmptyGraph("HHHH","BEST",condition);
+			
+			generateEmptyGraph("HHSH","WORST",condition);
+			generateEmptyGraph("HHSH","BEST",condition);
+		}
+		else{
+			//System.out.println("bad"+detailList.size());
+			alist = (ArrayList)detailList.get(0);
+			//System.out.println("bad");
+			idList = (String[])detailList.get(1);
+			//System.out.println("bad");
+			metadataNameList = (String[])detailList.get(2);
+			//System.out.println("bad");
+		
+			xList2 = (ArrayList)alist.clone();
+			idListCopy2 = (String[]) idList.clone();
+			metadataNameListCopy2 = (String[])metadataNameList.clone();
+	
+			new_dataList = transformDataList(alist,idList);
+			//WriteHTML("HHSS",new_dataList,idList,metadataNameList,NORMAL);
+			WriteHTML("HHSS",new_dataList,idList,metadataNameList,WORST,title1+title2,condition);
+			WriteHTML("HHSS",new_dataList,idList,metadataNameList,BEST,title1+title2,condition);
+		
+	
+		//---------------------------------------------------------------------- HHSH	
+		detailList = getHideFullDocumentDetail((ArrayList)xList2.clone(),(String[])idListCopy2.clone(),(String[])metadataNameListCopy2.clone());
+		if(detailList.size()==0){
+			generateEmptyGraph("HHSH","WORST",condition);
+			generateEmptyGraph("HHSH","BEST",condition);
+		}
+		else{
+			alist = (ArrayList)detailList.get(0);
+			idList = (String[])detailList.get(1);
+			metadataNameList = (String[])detailList.get(2);
+	
+			new_dataList = transformDataList(alist,idList);
+			//WriteHTML("HHSH",new_dataList,idList,metadataNameList,NORMAL);
+			WriteHTML("HHSH",new_dataList,idList,metadataNameList,WORST,title1+title2+title4,condition);
+			WriteHTML("HHSH",new_dataList,idList,metadataNameList,BEST,title1+title2+title4,condition);
+		}
+		//----------------------------------------------------------------------HHHS	
+		detailList = getHideEmptyDocumentDetail((ArrayList)xList2.clone(),(String[])idListCopy2.clone(),(String[])metadataNameListCopy2.clone());
+		if(detailList.size()==0){
+			generateEmptyGraph("HHHS","WORST",condition);
+			generateEmptyGraph("HHHS","BEST",condition);
+			
+			generateEmptyGraph("HHHH","WORST",condition);
+			generateEmptyGraph("HHHH","BEST",condition);
+		}
+		else{
+			alist = (ArrayList)detailList.get(0);
+			idList = (String[])detailList.get(1);
+			metadataNameList = (String[])detailList.get(2);
+	
+			new_dataList = transformDataList(alist,idList);
+			//WriteHTML("HHHS",new_dataList,idList,metadataNameList,NORMAL);
+			WriteHTML("HHHS",new_dataList,idList,metadataNameList,WORST,title1+title2+title3,condition);
+			WriteHTML("HHHS",new_dataList,idList,metadataNameList,BEST,title1+title2+title3,condition);
+	
+			//----------------------------------------------------------------------HHHH
+			detailList = getHideFullDocumentDetail((ArrayList)alist.clone(),(String[])idList.clone(),(String[])metadataNameList.clone());
+			if(detailList.size()==0){
+				generateEmptyGraph("HHHH","WORST",condition);
+				generateEmptyGraph("HHHH","BEST",condition);
+			}
+			else{
+				alist = (ArrayList)detailList.get(0);
+				idList = (String[])detailList.get(1);
+				metadataNameList = (String[])detailList.get(2);
+	
+				new_dataList = transformDataList(alist,idList);
+				//WriteHTML("HHHH",new_dataList,idList,metadataNameList,NORMAL);
+				WriteHTML("HHHH",new_dataList,idList,metadataNameList,WORST,title1+title2+title3+title4,condition);
+				WriteHTML("HHHH",new_dataList,idList,metadataNameList,BEST,title1+title2+title3+title4,condition);
+			}
+		}
+	}
+	}
+    }
+    
+    private ArrayList transformDataList(ArrayList list, String[] ids){
+	
+	//System.out.println("warning2");
+	ArrayList wholeList = new ArrayList();
+	
+	for(int i = 0; i< ids.length; i++){
+	    ArrayList idList = new ArrayList();
+	    for(int j = 0; j<list.size();j++){
+		int[] datarows = (int[]) list.get(j);
+		idList.add(new Integer (datarows[i]));
+	    }
+	    wholeList.add(idList);
+	}
+	
+	for(int i = 0; i< wholeList.size(); i++){
+	    ArrayList alist = (ArrayList)wholeList.get(i);
+	    int[] rows = new int[alist.size()];
+	    for(int j = 0; j< alist.size(); j++){
+		rows[j] = ((Integer)alist.get(j)).intValue();
+	    }
+	    wholeList.remove(i);
+	    wholeList.add(i,rows);
+	}
+	//System.out.println("warning3");
+	return wholeList;
+	
+    }
+    
+    private void generateEmptyGraph(String fileName,String condition,String suffix){
+    	String cases = condition; 
+    	String collectionFolder = mds.getCollectionName();
+    	
+    	 String suf = suffix;
+         if(!suffix.equalsIgnoreCase("dublin")){
+         	suf = "other";
+         }
+         
+    	//System.out.println(fileName+cases+" err");
+    	try{
+    	//FileWriter fstream = new FileWriter(destination+collectionFolder+"/"+suffix+"_"+fileName+"_"+cases+".html");
+        FileWriter fstream = new FileWriter(collectionFolder+"/"+suf+"_"+fileName+"_"+cases+".html");
+	    BufferedWriter out = new BufferedWriter(fstream);
+	    out.write("<!-- This comment keeps IE6/7 in the reliable quirks mode -->\r\n");
+	    out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n");
+	    out.write("<html>\r\n");
+	    out.write("<head>\r\n<title> No Available Chart</title>\r\n");
+	    
+	    out.write("<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\r\n");
+	    //out.write("<link rel=\"stylesheet\" href=\"../script/doby2.css\" type=\"text/css\"/>\r\n");
+	   
+	    //out.write("<script type=\"text/javascript\" src=\"../script/getInfomation.js\"></script>\r\n");
+	    out.write("</head>\r\n");
+	    out.write("<p><a href=\" Overall.html \">Summary</a></p>");
+	    out.write("<body>\r\n");
+	    out.write("<p>No data available to render chart.</p>\r\n");
+	    out.write("<p>Reason: Document number is zero or Metadata element number is zero </p>\r\n");
+	    out.close();
+    	}catch(Exception e){}
+    	
+    }
+    private void WriteHTML(String fileName, ArrayList dataset, String[] ids, String[] metadataName, String condition, String title, String suffix){
+    	
+    	int blueDot = 0;
+    	String cases = condition; 
+    	
+        String suf = suffix;
+        if(!suffix.equalsIgnoreCase("dublin")){
+        	suf = "other";
+        }
+        
+	try{
+
+		String str = sdf.format(cl.getTime());
+		DataMaker dmx = new DataMaker(mds);
+		String collectionFolder = mds.getCollectionName();
+		int cols = (metadataName.length +2 )*100;
+	    FileWriter fstream = new FileWriter(collectionFolder+"/"+suf+"_"+fileName+"_"+cases+".html");
+		//FileWriter fstream = new FileWriter(destination+collectionFolder+"/"+suffix+"_"+fileName+"_"+cases+".html");
+
+	    BufferedWriter out = new BufferedWriter(fstream);
+	    out.write("<!-- This comment keeps IE6/7 in the reliable quirks mode -->\r\n");
+	    out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n");
+	    out.write("<html>\r\n");
+	    out.write("<head>\r\n<title>"+title+"</title>\r\n");
+	    
+	    out.write("<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\r\n");
+	    out.write("<link rel=\"stylesheet\" href=\"../script/doby2.css\" type=\"text/css\"/>\r\n");
+	   
+	    out.write("<script type=\"text/javascript\" src=\"../script/getInfomation.js\"></script>\r\n");
+	    out.write("<script type=\"text/javascript\" src=\"http://yui.yahooapis.com/2.4.1/build/yahoo/yahoo-min.js\"></script>\r\n");
+	    out.write("<script type=\"text/javascript\" src=\"http://yui.yahooapis.com/2.4.1/build/event/event-min.js\"></script>\r\n");
+	    out.write("<script type=\"text/javascript\" src=\"http://yui.yahooapis.com/2.4.1/build/connection/connection-min.js\"></script>\r\n");
+	    //out.write("<script type=\"text/javascript\" src=\"../script/getInfomation.js\"></script>\r\n");
+	    // <script src="http://yui.yahooapis.com/2.4.1/build/yahoo/yahoo-min.js"></script>
+	    //<script src="http://yui.yahooapis.com/2.4.1/build/event/event-min.js"></script> 
+	    // <script src="http://yui.yahooapis.com/2.4.1/build/connection/connection-min.js"></script>
+	    
+	    out.write("</head>\r\n");
+	    out.write ("<p><a href=\" Overall.html \">Summary</a></p>");
+	    out.write("<body id=\""+mds.getCollectionName()+"\" onLoad=\"reconfig()\">\r\n");
+	    
+	    out.write("<div id=\"container\">\r\n");
+	    out.write("<div class=\"tableContainer\">\r\n");
+	 
+	    out.write ("<table cellspacing=\"0\">\r\n");
+
+	    
+	    out.write ("<thead>\r\n");
+	    out.write ("<tr>\r\n");
+		out.write("<td class=\"qh\">Info\r\n");
+		out.write("<td class=\"qh\">URL\r\n");
+		//System.out.println("step1");
+	    for(int a = 0; a< metadataName.length; a++){
+	    	out.write("<td>"+ metadataName[a]+"\r\n");
+	    }
+	    //System.out.println("step2");
+	    out.write ("</thead>\r\n<tfoot>\r\n<tr>\r\n");
+	    
+	    out.write("<td class=\"qh\">&nbsp;\r\n");
+	    out.write("<td class=\"qh\">&nbsp;\r\n");
+	    for(int a = 0; a< metadataName.length; a++){
+	    	//System.out.println(a+metadataName[a]);
+	    	out.write("<td>"+ dm.Mean(metadataName[a])+"%\r\n");
+	    }
+	    //System.out.println("step3");
+	    out.write ("</tfoot>\r\n<tbody>\r\n");
+	    
+	    if(cases.equals("normal")){
+	    	for(int i = ids.length; i>0; i--){
+	    		out.write ("<tr>");
+	    		int[] datarows = (int[])dataset.get(i-1);
+
+	    		for(int j = 0; j<datarows.length; j++){
+		    
+	    			if(datarows[j]==1){
+	    				out.write ("<td class=\"b\">");
+	    				blueDot++;
+	    			}
+	    			else {
+	    			 	out.write ("<td>&nbsp;");
+	    			}
+	    		}
+	    	}
+	    }
+	    else{
+	    	ArrayList idList = new ArrayList();
+	    	for(int i = 0; i<ids.length;i++){
+	    		idList.add(ids[i]);
+	    	}
+	    	
+	    	
+	    	HashMap hp = new HashMap();
+	    	
+	    	for(int i = ids.length; i>0; i--){
+	    		String idValue = ids[i-1];
+	    		int dots = 0;
+	    		int[] datarows = (int[])dataset.get(i-1);
+	    		for(int j = 0; j<datarows.length; j++){
+	    			if(datarows[j]==1){
+	    				dots++;
+	    			}	
+	    		}
+	    		hp.put(idValue,new Integer(dots));
+
+	    	}
+	    	ArrayList alist = dmx.sortMap(hp);
+	    	String[] idIntValue = new String[alist.size()]; 
+			for(int i = 0; i< alist.size(); i++){
+	    		Map.Entry entry = (Map.Entry) alist.get(i);
+	    		String idElement = ((String) entry.getKey());
+	    		idIntValue[i] = idElement;
+			}
+			
+	    if(cases.equals("worst")){
+	    	//System.out.println("step4");
+			for(int i = 0; i<idIntValue.length; i++){
+	    		int value = idList.indexOf(idIntValue[i]);
+	    		int[] datarows = (int[])dataset.get(value);
+	    		//System.out.println("step5");
+	    		out.write ("<tr id=\""+idIntValue[i].substring(4)+"\">\r\n");
+	    		out.write("<td class=\"E\" onclick=\"GD(this)\">&nbsp;\r\n");
+	    		//out.write("<td  class=\"qh\" onclick=\"GX(this)\">URL\r\n");
+	    		out.write("<td  class=\"qh\" onclick=\"GX(this)\">open\r\n");
+	    		for(int j = 0; j<datarows.length; j++){
+	    			//System.out.println("step6");
+	    			if(datarows[j]==1){
+	    				out.write ("<td class=\"b\">\r\n");
+	    				blueDot++;
+	    			}
+	    			else {
+
+	    				 out.write ("<td class=\"w\">\r\n");
+	    			}
+	    		}
+	    		//System.out.println("step7");
+	    		//out.write ("</tr>\r\n");
+			}
+	    }
+	    
+	    if(cases.equals("best")){
+			for(int i = idIntValue.length; i>0; i--){
+	    		int value = idList.indexOf(idIntValue[i-1]);
+	    		int[] datarows = (int[])dataset.get(value);
+
+	    		out.write ("<tr id=\""+idIntValue[i-1].substring(4)+"\">\r\n");
+	    		out.write("<td class=\"E\" onclick=\"GD(this)\">&nbsp;\r\n");
+	    		//out.write("<td class=\"qh\" onclick=\"GX(this)\">URL\r\n");
+	    		out.write("<td class=\"qh\" onclick=\"GX(this)\">open\r\n");
+	    		for(int j = 0; j<datarows.length; j++){
+		    
+	    			if(datarows[j]==1){
+	    				out.write ("<td class=\"b\">\r\n");
+	    				blueDot++;
+	    			}
+	    			else {
+	    				out.write ("<td class=\"w\">\r\n");
+	    			}
+	    		}
+	    		//out.write("<td class=\"E\" onmousemove=\"GD(this)\">&nbsp;\r\n");
+			}
+	    }
+	}
+	    out.write ("</tbody>\r\n");
+
+	    out.write ("</table>\r\n</div></div>\r\n");
+
+	    int t1 = ids.length;
+	    HashMap hpd = mds.getMetadataSetMap();
+	    int t2 = hpd.size();
+	    int t3 = metadataName.length;
+
+	    int t4 = t1*t3;
+	    out.write("<table>\r\n<tbody class=\"table1\">");
+	    out.write("<tr>\r\n");
+	    out.write("<td class=\"bfont\">This subset shows "+t1+" out of "+dm.getDocNum()+" documents");
+	    out.write("<td class=\"bfont\">"+blueDot+" out of "+(dm.getDocNum()*t3)+" metadata items  are defined");
+	    out.write("<tr>\r\n");
+	    out.write("<td class=\"bfont\">This subset shows "+t3+" out of "+mds.metadataNameList.size()+" metadata elements");
+	    out.write("<td class=\"bfont\">Subset completeness: "+dm.round((double)(blueDot*100/t4),5)+"%");
+	    //out.write ("<p align=center> <a href=\" Overall.html \">Overall Statistics</a></p>");
+	    out.write("</table>\r\n");
+	    out.write ("<p> <a href=\"Overall.html \">Summary</a></p>");
+	    out.write ("</body></html>");
+	    //Close the output stream
+	    out.close();
+	}catch (Exception e){//Catch exception if any
+	
+	    System.err.println("Error: " + e.getMessage());
+	}
+    }
+
+    
+    public void generateOverallStatisticsPage(HashMap MetadataSetMap){
+    	//System.out.println("overall start");
+    	String fileName = "Overall";
+
+    	ArrayList wholeList = new ArrayList();
+    	HashMap hp = mds.getMetadataSetMap();
+    	Collection c = hp.values();
+    	Iterator i = c.iterator();
+    	int counter = 0;
+    	String[][] MetadataData = new String[c.size()][2];
+    	while(i.hasNext()){
+    		MetadataSet mds  = (MetadataSet)i.next();
+    		wholeList.add(mds);
+    		ArrayList newMDS  = new ArrayList();
+    		newMDS.add(mds);
+    		
+    		MetadataData[counter][0] = mds.getName();
+    		MetadataData[counter][1] = dm.getSingleMetadataSetCompleteness(newMDS)+"%";
+    		//System.out.println(MetadataData[counter][0]+MetadataData[counter][1]);
+    		counter++;
+    	}
+
+    	try{
+    	    //printWriter.write("<!-- generating all possible page-->");
+    	    //printWriter.flush();
+    	    
+    		String str = sdf.format(cl.getTime());
+    		String collectionFolder = mds.getCollectionName();
+
+    	    //FileWriter fstream = new FileWriter(collectionFolder+"/"+fileName+".html");
+    		FileWriter fstream = new FileWriter("/home/cc108/MRWks1/describeMessenger/"+collectionFolder+"/"+fileName+".html");
+    	    BufferedWriter out = new BufferedWriter(fstream);
+    	    
+    	    out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">");
+    	    out.write("<html>\r\n");
+    	    out.write("<head><title>Summary</title>\r\n");
+    	    out.write("<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\r\n");
+    	    //out.write("<link rel=\"stylesheet\" href=\"../script/doby2.css\" type=\"text/css\"/>\r\n");
+    	    out.write("<style type=\"text/css\">\r\n");
+    	    out.write(".tam{height:20; text-align:right}\r\n");
+    	    out.write("th{height:20; text-align:left}\r\n");
+    	    out.write("body{font-family: Arial;}\r\n");
+    	    out.write("</style>\r\n");    	    
+    	    out.write("<script type=\"text/javascript\" src=\"../script/status3.js\"></script>\r\n");
+    	    out.write("</head>\r\n");
+    	    
+    	    out.write("<body>\r\n");
+    	    out.write ("<td> <div style=\"float:left;\"> <a href=\"http://www.nzdl.org/greenstone3/mat\">Mat Home</a></div>");
+    	    out.write("<div style=\"float:right;\"><a href=\"http://chnm.gmu.edu/tools/surveys/4386/\">Please send feedback about the Mat tool</a></div></td><br>");
+    	    // out.write("<p align=\"right\"><a href=\"http://chnm.gmu.edu/tools/surveys/4386/\">Short feedback survey about the Mat tool</a></p>");
+    	    //out.write("<p> <a href=\"http://www.nzdl.org/greenstone3/mat\">Mat Home</a></p>");
+    	    out.write("<h3 align=\"center\">Summary</h3>\r\n");
+
+    	    out.write("<table border=1 align=\"center\">\r\n");
+    	    out.write("<colgroup width=\"300\" span=\"2\">\r\n");
+
+    	    /*
+    	    out.write("<tr>\r\n");
+    	    out.write("<th>Collection: </th>\r\n");
+    	    out.write("<td class=\"tam\">"+mds.getCollectionName()+"\r\n");
+    	    out.write("</tr>\r\n");
+    	    */
+    	    
+    	    out.write("<tr>\r\n");
+    	    out.write("<th>OAI URL: </th>\r\n");
+    	    if(mds.getOAIURL().length()>50){
+    	    	out.write("<td class=\"tam\"><font size=\"2px\"><a href=\""+mds.getOAIURL()+"\">"+mds.getOAIURL().substring(0,47)+"....</a></font>\r\n");
+    	    }
+    	    else{
+    	    	out.write("<td class=\"tam\"><font size=\"2px\"><a href=\""+mds.getOAIURL()+"\">"+mds.getOAIURL()+"</a></font>\r\n");
+    	    }
+    	    out.write("</tr>\r\n");
+    	    
+    	    /*
+    	    out.write("<tr>\r\n");
+    	    out.write("<th>Metadata Prefix:\r\n");
+    	    out.write("<td class=\"tam\">"+mds.getOaiPrefix()+"\r\n");
+    	    out.write("</tr>\r\n");
+    	    */
+    	    
+    	    out.write("<tr>\r\n");
+    	    out.write("<th>Number of Records:\r\n");
+    	    out.write("<td class=\"tam\">"+dm.getDocNum()+"\r\n");
+    	    out.write("</tr>\r\n");
+    	    /*
+    	    out.write("<tr>\r\n");
+    	    out.write("<th>Number of Metadata:\r\n");
+    	    out.write("<td class=\"tam\">"+mds.getMetadataSetMap().size()+"\r\n");
+    	    out.write("</tr>\r\n");
+    	    
+    	    out.write("<tr>\r\n");
+    	    out.write("<th>Overall Metadata Completeness:\r\n");
+    	    out.write("<td class=\"tam\">"+dm.getSingleMetadataSetCompleteness(wholeList)+"%\r\n");
+    	    out.write("</tr>\r\n</table>");
+    	    */
+    	    out.write("<table border=1 align=\"center\">\r\n");
+    	    out.write("<colgroup width=\"300\" span=\"2\">\r\n");
+    	    out.write("<tr>\r\n");
+    	    out.write("<th>Metadata:\r\n");
+    	    out.write("<td class=\"tam\"><b>Completeness</b>\r\n");
+    	    out.write("</tr><br>\r\n");
+
+    	    for(int a = 0; a<MetadataData.length; a++){
+    	    	out.write ("<tr>\r\n");
+    	    	if(MetadataData[a][0].equalsIgnoreCase("dublin")){
+    	    		out.write ("<th><a href =\""+MetadataData[a][0]+".html\">"+metadataSet1+"</a>");
+    	    	}
+    	    	else if (MetadataData[a][0].equalsIgnoreCase("extracted")){
+    	    		out.write ("<th><a href =\""+MetadataData[a][0]+".html\">"+metadataSet2+"</a>");
+    	    	}
+    	    	else{
+    	    		out.write ("<th><a href =\""+MetadataData[a][0]+".html\">"+MetadataData[a][0]+"</a>");
+    	    	}
+    	    	//out.write ("<th><a href =\""+MetadataData[a][0]+".html\">"+MetadataData[a][0] +"</a>");
+    	    	out.write ("<td class=\"tam\"> "+MetadataData[a][1]);
+    	    	out.write ("</tr>\r\n");
+    	    }
+    	    out.write ("</table>");
+    	    out.write("<br>\r\n");
+    	    out.write("<FORM  name=\"test\" onsubmit=\"checkStatus()\" action=\"\">");
+    	    out.write("<table border=1 align=\"center\">\r\n");
+    	    out.write ("<colgroup width=\"606\" span=\"1\">\r\n");
+    	    out.write("<tr>\r\n<th>Customize Visualization");
+    	    out.write("<tr>\r\n<td><LABEL FOR=\"H1\"><INPUT align=\"left\" TYPE=\"checkbox\" ID=\"H1\">Hide Empty Metadata Elements</LABEL>");
+    	    out.write("<tr>\r\n<td><LABEL FOR=\"H2\"><INPUT align=\"left\" TYPE=\"checkbox\" ID=\"H2\">Hide Completed Metadata Elements</LABEL>");
+    	    out.write("<tr>\r\n<td><LABEL FOR=\"H3\"><INPUT align=\"left\" TYPE=\"checkbox\" ID=\"H3\">Hide Documents with Empty Metadata Elements</LABEL>");
+    	    out.write("<tr>\r\n<td><LABEL FOR=\"H4\"><INPUT align=\"left\" TYPE=\"checkbox\" ID=\"H4\">Hide Documents with  Completed Metadata Elements</LABEL>");
+    	    out.write("<tr>\r\n<th>Metadata: ");
+    	    
+    	    ///////////////////////////////////////
+    	    
+    	    //out.write("<tr>\r\n<td><LABEL FOR=\"C1\"><INPUT align=\"left\" TYPE=\"radio\" name = \"col\" ID=\"C1\" checked>Dublin Core</LABEL>");
+    	    //out.write("<tr>\r\n<td><LABEL FOR=\"C2\"><INPUT align=\"left\" TYPE=\"radio\" name = \"col\" ID=\"C2\" checked>Extracted</LABEL>");
+    	    //out.write("<tr>\r\n<td><LABEL FOR=\"C3\"><INPUT align=\"left\" TYPE=\"radio\" name = \"col\" ID=\"C3\" checked >Both</LABEL>");
+    	    
+    	    if(MetadataData.length==1){
+    	        //out.write("<tr>\r\n<td><LABEL FOR=\"C1\"><INPUT align=\"left\" TYPE=\"radio\" name = \"col\" ID=\"C1\" checked>"+MetadataData[0][0]+"</LABEL>");
+    			if(MetadataData[0][0].equalsIgnoreCase("dublin")){
+    				out.write("<tr>\r\n<td><LABEL FOR=\"C1\"><INPUT align=\"left\" TYPE=\"radio\" name = \"col\" ID=\"C1\" checked> Dublin Core </LABEL>");
+    			}
+    			else {
+    				out.write("<tr>\r\n<td><LABEL FOR=\"C4\"><INPUT align=\"left\" TYPE=\"radio\" name = \"col\" ID=\"C4\" checked>"+MetadataData[0][0]+"</LABEL>");
+    			}
+    	    }
+    	    else{
+    	    	for(int a = 0; a<MetadataData.length; a++){
+    	    		if(a==0){
+    	    			if(MetadataData[a][0].equalsIgnoreCase("dublin")){
+    	    				out.write("<tr>\r\n<td><LABEL FOR=\"C1\"><INPUT align=\"left\" TYPE=\"radio\" name = \"col\" ID=\"C1\" checked>Dublin Core</LABEL>");
+    	    			}
+    	    			else {
+    	    				out.write("<tr>\r\n<td><LABEL FOR=\"C4\"><INPUT align=\"left\" TYPE=\"radio\" name = \"col\" ID=\"C4\" checked>"+MetadataData[a][0]+"</LABEL>");
+    	    			}
+    	    		}
+    	    		else{
+    	    			if(MetadataData[a][0].equalsIgnoreCase("dublin")){
+    	    				out.write("<tr>\r\n<td><LABEL FOR=\"C1\"><INPUT align=\"left\" TYPE=\"radio\" name = \"col\" ID=\"C1\">"+MetadataData[a][0]+"</LABEL>");
+    	    			}
+    	    			else{
+    	    				out.write("<tr>\r\n<td><LABEL FOR=\"C4\"><INPUT align=\"left\" TYPE=\"radio\" name = \"col\" ID=\"C4\">"+MetadataData[a][0]+"</LABEL>");
+    	    			}
+    	    			  
+    	    		}
+    	    	}
+    	    }
+    	    
+    	    ////////////////////////////////////////////////////////////////////////////////////////////////
+    	    out.write("<tr>\r\n<th>Order By Completeness : ");
+    	    out.write("<tr>\r\n<td><LABEL FOR=\"R1\"><INPUT align=\"left\" TYPE=\"radio\" name = \"order\" ID=\"R1\">Best Case to Worst Case</LABEL>");
+    	    out.write("<tr>\r\n<td><LABEL FOR=\"R2\"><INPUT align=\"left\" TYPE=\"radio\" name = \"order\" ID=\"R2\" checked >Worst Case to Best Case</LABEL>");
+    	    out.write("</table><p align=\"center\"><INPUT TYPE=\"button\" VALUE=\"Show Visualization\" onClick=\"checkStatus()\"> </FORM>");
+    	    //out.write("<p align=\"right\"><a href=\"http://chnm.gmu.edu/tools/surveys/4386/\">Short feedback survey about the Mat tool</a></p>");
+    	    out.write("<p align=\"center\">"+str+"</p>");
+    	    //out.write("<p align=\"left\">Comments to <a href=\"http://www.cs.waikato.ac.nz/~daven/\">Dave Nichols</a></p>");
+    	    out.write("</body></html>");
+    	    //Close the output stream
+    	    out.close();
+    	    fstream.close();
+    	}catch (Exception e){//Catch exception if any
+    		//System.out.println("overall");
+    	    System.err.println("Error: " + e.getMessage());
+    	}
+	    //printWriter.write("<!-- generating all possible page-->");
+	    //printWriter.flush();
+    	//System.out.println("overall ends");
+    	
+    }
+
+    public void generateMetadataSetDetailPage(HashMap MetadataSetMap){
+    	
+    Collection c = MetadataSetMap.values();
+    Iterator i = c.iterator();
+    while(i.hasNext()){
+    	MetadataSet mds = (MetadataSet)i.next();
+    	
+    }
+    }
+    
+    
+    public void WriteMetadataSetDetailHTML(MetadataSet mdset){
+    	String fileName = mdset.getName();
+    	DataMaker dmx = new DataMaker(mds);
+    	//DataMaker dmx = dm;
+    	//System.out.println("set start");
+    	try{
+
+    		String str = sdf.format(cl.getTime());
+    		String collectionFolder = mds.getCollectionName();
+    	    FileWriter fstream = new FileWriter(collectionFolder+"/"+fileName+".html");
+    		//FileWriter fstream = new FileWriter(destination+collectionFolder+"/"+fileName+".html");
+    	    BufferedWriter out = new BufferedWriter(fstream);
+    	    out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">");
+    	    out.write("<html>\r\n");
+    	    out.write("<head>\r\n<title>Metadata Detail</title>\r\n");
+    	    out.write("<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\r\n");
+    	    out.write("<style type=\"text/css\">\r\n");
+    	    out.write("td{height:20;text-align:right;}\r\n");
+    	    out.write("th{height:20;text-align:left;}\r\n");
+    	    out.write("body{font-family: Arial;}\r\n");
+    	    out.write("</style>\r\n");
+    	    out.write( "</head>\r\n");
+
+    	    out.write ("<body>\r\n");
+    	    out.write ("<p> <a href=\" Overall.html \">Summary</a></p>");
+    	  	if(fileName.equalsIgnoreCase("dublin")){
+	    		//out.write ("<th><a href =\""+MetadataData[a][0]+".html\">"+metadataSet1+"</a>");
+	    		out.write ("<h3 align=\"center\">Metadata Detail: "+metadataSet1+"</h3>\r\n");
+	    	}
+	    	else if (fileName.equalsIgnoreCase("extracted")){
+	    		//out.write ("<th><a href =\""+MetadataData[a][0]+".html\">"+metadataSet2+"</a>");
+	    		out.write ("<h3 align=\"center\">Metadata Detail: "+metadataSet2+"</h3>\r\n");
+	    	}
+	    	else{
+	    		out.write ("<h3 align=\"center\">Metadata Detail: "+fileName+"</h3>\r\n");
+	    	}
+    	    out.write ("<table border=\"1\" align=\"center\">\r\n");
+    	    out.write ("<colgroup width=\"200\" span=\"2\">\r\n");
+
+    	    out.write ("<tr>\r\n");
+    	    out.write ("<th>Elements:\r\n");
+    	    out.write ("<td><b>Completeness</b>\r\n");
+    		out.write ("</tr>\r\n");
+    		
+    		ArrayList elementList = mdset.getIndexsList();
+    		HashMap hp = new HashMap();
+    		int num = elementList.size();
+    		for(int i = 0; i<num; i++){
+    			String elementName = (String)elementList.get(i);
+    			Double elementValue = new Double(dmx.Mean(elementName));
+    			hp.put(elementName, elementValue);
+    		}
+    		
+    		elementList = new ArrayList();
+    		elementList = dmx.sortMap(hp);
+    		num = elementList.size();
+    		for(int i = 0; i<num; i++){
+        		Map.Entry entry = (Map.Entry) elementList.get(i);
+        		String elementName = (String) entry.getKey();
+        	    out.write ("<tr>\r\n");
+        	    out.write ("<th><a href=\""+ elementName +".html\">"+elementName+"</a>\r\n");
+        	    out.write ("<td>"+ dmx.Mean(elementName)+"%\r\n");
+        		out.write ("</tr>\r\n");
+    		}
+    	    
+    	    out.write("</table>\r\n");
+    	    
+    	    out.write ("<p align=\"center\"> <a href=\" Overall.html \">Summary</a></p>");
+    	    out.write("<p align=\"center\">"+str+"</p>");
+    	    
+    	    //out.write ("<td> <div style=\"float:left;\"> <a href=\" Overall.html \">Overall Statistics</a></div>");
+    	    //out.write("<div style=\"float:right;\">"+str+"</div></td>");
+    	    //<td><div   style="float:left;">test</div><div   style="float:right;">test</div></td>
+    	    out.write ("</body></html>\r\n");
+    	    //Close the output stream
+    	    out.close();
+    	}catch (Exception e){//Catch exception if any
+    		//System.out.println("set");
+    	    System.err.println("Error: " + e.getMessage());
+    	}
+    	//System.out.println("set ends");
+        }
+    
+    public void generateMetadataElementDetailPage(MetadataSet mds){
+    	
+    	ArrayList nameList = mds.getIndexsList();
+    	for(int i = 0; i<nameList.size();i++){
+    		WriteMetadataElementDetailHTML((String)nameList.get(i),mds.getName());
+    	}
+    }
+    
+    public void WriteMetadataElementDetailHTML(String name, String linkName){
+    	
+    	String fileName = name;
+    	DataMaker dmx = new DataMaker(this.mds);
+
+    	//System.out.println("detail start");
+    	
+    	try{
+    		//String str = sdf.format(cl.getTime());
+    		String collectionFolder = mds.getCollectionName();
+    	    FileWriter fstream = new FileWriter(collectionFolder+"/"+fileName+".html");
+    		//FileWriter fstream = new FileWriter(destination+collectionFolder+"/"+fileName+".html");
+    	    BufferedWriter out = new BufferedWriter(fstream);
+    	    //System.out.println("step0" + fileName);
+    	    out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">");
+    	    out.write ("<html>\r\n");
+    	    out.write("<head>\r\n<title>Metadata Element Detail</title>\r\n");
+    	    out.write("<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\r\n");
+    	    out.write("<style type=\"text/css\">\r\n");
+    	    out.write("td{height:20; text-align:left;}\r\n");
+    	    out.write(".tam{height:20; text-align:center}\r\n");
+    	    out.write("th{height:20; text-align:left;}\r\n");
+    	    out.write("body{font-family: Arial;}\r\n");
+    	    out.write("</style>\r\n");
+    	    out.write("<script type=\"text/javascript\" src=\"http://www.nzdl.org/greenstone3/mat/script/status3.js\"></script>");
+    	    out.write("</head>\r\n");
+        	out.write("<body>\r\n");
+    	    out.write("<p><a href=\" Overall.html \">Summary</a>");
+    	    out.write("&raquo;");
+    	    //out.write("<a href=\""+linkName+".html\">Metadata Set Detail("+linkName+")</a></p>");
+    	    
+    	    
+    	    ////////////////////////////////////////////////////////////////////////////////////
+    	  	if(linkName.equalsIgnoreCase("dublin")){
+    	  		out.write ("<a href=\""+linkName+".html\">Metadata Detail ("+metadataSet1+")</a></p>"); 
+	    		//out.write ("<h1 align=\"center\">Metadata Set Detail: "+metadataSet1+"</h1>\r\n");
+	    	}/*
+	    	else if (linkName.equalsIgnoreCase("extracted")){
+	    		out.write ("<a href=\""+linkName+".html\">Metadata Detail ("+metadataSet2+")</a></p>"); 
+	    		//out.write ("<h1 align=\"center\">Metadata Set Detail: "+metadataSet2+"</h1>\r\n");
+	    	}*/
+	    	else{
+	    		out.write ("<a href=\""+linkName+".html\">Metadata Detail ("+linkName+")</a></p>"); 	  
+	    	}
+    	  	///////////////////////////////////////////////////////////////////////////////////////////////
+    	  	if(name.startsWith("dc.")){
+    	  		int dot = name.lastIndexOf('.');
+    	  		dot++;
+    	  		String nameReplace = name.substring(dot);
+    	  		if(url.containsKey(nameReplace)){
+    	  		   out.write ("<h3 align=\"center\">Metadata Element Detail:<a href=\""+ url.get(nameReplace) +"\">"+ name +"</a></h3>\r\n");
+    	  		}
+    	  		else{
+    	  			out.write ("<h3 align=\"center\">Metadata Element Detail: "+ name +"</a></h3>\r\n");
+    	  		}
+    	  	}
+    	    
+    	  	else{
+   	  		 out.write ("<h3 align=\"center\">Metadata Element Detail: "+ name +"</h3>\r\n");
+    	  	}
+    	  	
+    	  	/*
+    	  	 * 1. retrieve all IDs from archivedir
+    	  	 * 2. retrieve all IDs from 
+    	  	 * 
+    	  	 */
+    	  	/////////////////////////////////////////////////////////////
+    	  	
+    	  	HashMap internalIDMap = dm.getInternalIdentifier(fileName);	
+    	  	///////////////////////////////////////////////////////////
+    	    out.write ("<table border=\"1\" align=\"center\" width=1000>\r\n");
+    	    out.write ("<colgroup width=\"500\" span=\"2\">\r\n");
+    	    
+    	    //System.out.println("step1");
+    	    out.write ("<tr>\r\n");
+    	    out.write ("<th>Total Number of Documents\r\n");
+    	    
+    	    out.write ("<td class=\"tam\">"+dm.getDocNum()+"\r\n");
+    		out.write ("</tr>\r\n");
+    		
+    		//System.out.println("step2");
+    	    out.write ("<tr>\r\n");
+    	    out.write ("<th>Unique Values\r\n");
+    	    //System.out.println(name);
+    	    out.write ("<td class=\"tam\">"+dmx.getDistinctNumber(name)+"\r\n");
+    	    //System.out.println(name);
+    		out.write ("</tr>\r\n");
+    		
+    		//System.out.println("step3");
+    	    out.write ("<tr>\r\n");
+    	    out.write ("<th>Total times element used\r\n");
+    	    out.write ("<td class=\"tam\">"+dmx.getFrequency(name) +"\r\n");
+    		out.write ("</tr>\r\n");
+    		
+    		//System.out.println("step4");
+    	    out.write ("<tr>\r\n");
+    	    out.write ("<th>No. of records containing element\r\n");
+    	    out.write ("<td class=\"tam\"> "+dmx.getDocumentUsedElement(name)+"\r\n");
+    		out.write ("</tr>\r\n");
+    		
+    		//System.out.println("step5");
+    	    out.write ("<tr>\r\n");
+    	    //out.write ("<th title = \"The completeness means the arithmetic average \">Completeness\r\n");
+    	    double percentage = dmx.Mean(name);
+    	    if(percentage<100){
+    	    	out.write ("<th title = \"The completeness means the arithmetic average \"> <div style=\"float:left;\"> Completeness</div>");
+    	    	out.write ("<div style=\"float:right;\"><a href =\""+fileName+"_IncompletedList.html\">List</a></div></td>");
+    	    	createIncompletedList(fileName,linkName);
+        	    
+    	    }
+    	    else{
+    	    	out.write ("<th title = \"The completeness means the arithmetic average \">Completeness\r\n");
+    	    }
+    	    out.write ("<td class=\"tam\"> "+dmx.Mean(name) +"%\r\n");
+    		out.write ("</tr>\r\n");
+    		
+  		
+        	
+    		//System.out.println("step6");
+    	    out.write ("<tr>\r\n");
+    	    //out.write ("<th title=\" Minimum number of occurrence of a value\">Smallest Number\r\n");
+    	    //out.write ("<th><div style=\"float:left;\">Smallest Number</div><div style=\"float:right;\" onClick=\"alert('Minimum "+name +" usage in any record')\">What it this?</div>\r\n");
+    	    out.write ("<td><b><div style=\"float:left;\">Minimum "+name +" usage in any record</div></b><div style=\"float:right;\"> <a href=\"#\" onClick=\"helpWindow('Minimum','"+name+"')\" style=\"font-size:small;\">What's this?</a></div>\r\n");
+    	    //out.write ("<td><b><div style=\"float:left;\">Minimun "+name +" usage in any record</div></b><div style=\"float:right;\"> onClick=\"helpWindow('Minimun','"+name+"')\">What's this?</div>\r\n");
+    	    out.write ("<td class=\"tam\"> "+dm.getMinRange(name) +"\r\n");
+    		out.write ("</tr>\r\n");
+    		
+    		//System.out.println("step7");
+    	    out.write ("<tr>\r\n");
+    	    //out.write ("<th title=\" Maximum number of occurrence of a value\">Largest Number\r\n");
+    	    //out.write ("<th><div style=\"float:left;\">Largest Number</div><div style=\"float:right;\" onClick=\"alert('Maximum "+name +" usage in any record')\">What's this?</div>\r\n");
+    	    out.write ("<td><b><div style=\"float:left;\">Maximum "+name +" usage in any record</div></b><div style=\"float:right;\"> <a href=\"#\" onClick=\"helpWindow('Maximum','"+name+"')\" style=\"font-size:small;\">What's this?</a></div>\r\n");
+    	    out.write ("<td class=\"tam\"> "+dm.getMaxRange(name) +"\r\n");
+    		out.write ("</tr>\r\n");
+    		
+    		//System.out.println("step8");
+    	    out.write ("<tr>\r\n");
+    	    //out.write ("<th title=\"(Total times element used / No. of records containing element)\">Average\r\n");
+    	    //out.write ("<th><div style=\"float:left;\">Average</div><div style=\"float:right;\" onClick=\"alert('Average "+name +" usage/record')\">What's this?</div>\r\n");
+    	    out.write ("<td><b><div style=\"float:left;\">Average "+name +" usage/record</div></b><div style=\"float:right;\"> <a href=\"#\" onClick=\"helpWindow('Average','"+name+"')\" style=\"font-size:small;\">What's this?</a></div>\r\n");
+    	    out.write ("<td class=\"tam\"> "+dm.Average(name) +"\r\n");
+    		out.write ("</tr>\r\n");
+    		
+    		//System.out.println("step9");
+    	    out.write ("<tr>\r\n");
+    	    //out.write ("<th title=\"The most frequent occurrence value in a group of values \"> Mode\r\n");
+    	    //out.write ("<th><div style=\"float:left;\">Mode</div><div style=\"float:right;\" onClick=\"alert('Mode of "+ name +" usage/record')\">What's this?</div>\r\n");
+    	    out.write ("<td><b><div style=\"float:left;\">Mode of "+name +" usage/record</div></b><div style=\"float:right;\"><a href=\"#\" onClick=\"helpWindow('Mode','"+name+"')\" style=\"font-size:small;\">What's this?</a></div>\r\n");
+    	    out.write ("<td class=\"tam\"> "+dm.getMode(name) +"\r\n");
+    		out.write ("</tr>\r\n");
+    		
+    		//System.out.println("step10");
+    	    out.write ("<tr>\r\n");
+    	    //out.write ("<th>Mode Frequency\r\n");
+    	    //out.write ("<th><div style=\"float:left;\">Mode Frequency</div><div style=\"float:right;\" onClick=\"alert('Coverage of the mode of "+ name +" usage/record')\">What's this?</div>\r\n");
+    	    out.write ("<td><b><div style=\"float:left;\">Coverage of the mode of "+name +" usage/record</div></b><div style=\"float:right;\"><a href=\"#\" onClick=\"helpWindow('Mode Frequency','"+name+"')\" style=\"font-size:small;\">What's this?</a></div>\r\n");
+    	    out.write ("<td class=\"tam\">"+dm.ModeFrequency(name) +"%\r\n");
+    		out.write ("</tr>\r\n");
+    		
+    		
+    		
+    		out.write ("<tr>\r\n");
+    		out.write ("<td class=\"tam\"><a href =\""+fileName+"_Frequency-based.html\">"+"View Full Frequency Sorted list</a>" +
+    				  " <td class=\"tam\"><a href =\""+fileName+"_ASCII.html\">"+"View Full ASCII Sorted list</a></div></td>");
+    		out.write ("</tr>\r\n");
+    		
+    		HashMap suggestionMap = generateMetadataElementSortList(fileName,"ASCII",linkName);
+    		
+    		if(suggestionMap.size()>0){
+    			compareElement(fileName,collectionFolder,suggestionMap,linkName);
+    			out.write("<tr><td class=\"tam\"><a href =\""+fileName+"_Suggestion.html\">View<a><td>&nbsp;");
+    		}
+    		
+    		generateMetadataElementSortList(fileName,"Frequency-based",linkName);
+    		
+    		out.write ("</table><br>\r\n");
+    		
+    		
+    	    out.write ("<table border=\"1\" align=\"center\" width=1000>\r\n");
+    	    out.write ("<colgroup width=\"500\" span=\"2\">\r\n");
+    	    out.write ("<tr>\r\n");
+    	    out.write ("<th>ASCII-Based\r\n");
+    	    out.write ("<th>First Five\r\n");
+    		out.write ("</tr>\r\n");
+    		
+    		
+    		
+        	String[] temp = dmx.getSortList(name,"ASCII");
+        	
+
+        	String[] temp2 = {"&nbsp;","&nbsp;","&nbsp;","&nbsp;","&nbsp;"};
+        	int length = 0;
+        	//int counter = 0;
+        	//counter = temp.length;
+        	if(temp.length>=5){length=5;}
+        	else if(temp.length<5){length = temp.length;}
+                
+        	for(int i =0; i<length; i++){
+        	    temp2[i] = temp[i];
+        	}
+        	
+
+        	
+        	int x = temp2.length;
+        	for(int a = 0; a<x; a++){
+        		out.write ("<tr>\r\n");
+        		if(!temp2[a].equals("&nbsp;")){
+        			out.write ("<th>"+(a+1)+"\r\n");
+        		}
+        		else{
+        			out.write ("<th>&nbsp;\r\n");
+        		}
+        		if(temp2[a].startsWith("http")){
+        			if(temp2[a].length()>60){
+        				out.write ("<td><a href = \""+temp2[a]+"\">"+temp2[a].substring(0, 60)+"</a>");
+        			}
+        			else {
+        				out.write ("<td><a href = \""+temp2[a]+"\">"+temp2[a]+"</a>");
+        			}
+        		}
+        		else{
+        			char singleChar = temp2[a].charAt(0);
+        			if(temp2[a].length()>60){
+       			
+         				if(temp2[a].startsWith(" ") && ((int)singleChar!=65279)){
+        					temp2[a] = temp2[a].substring(1);
+        					out.write ("<td>"+spaceLeft+space+spaceRight+temp2[a].substring(0, 60)+"<a href=\""+fileName+"_ASCII.html#topFive\"> ... </a>\r\n");
+        				}
+         				
+         				else if (((int)singleChar==65279)){
+        					temp2[a] = temp2[a].substring(1);
+        					out.write ("<td>"+spaceLeft+oddChar+spaceRight+temp2[a].substring(0, 60)+"<a href=\""+fileName+"_ASCII.html#topFive\"> ... </a>\r\n");
+        				}
+        				else{
+        					out.write ("<td>"+temp2[a].substring(0, 60)+"<a href=\""+fileName+"_ASCII.html#topFive\"> ... </a>\r\n");
+        				}
+        			}
+        			else {
+        				if(temp2[a].startsWith(" ") && ((int)singleChar!=65279)){
+        					temp2[a] = temp2[a].substring(1);
+        					out.write ("<td>"+spaceLeft+space+spaceRight+temp2[a]+"\r\n");
+        				}
+        				else if (((int)singleChar==65279)){
+        					temp2[a] = temp2[a].substring(1);
+        					out.write ("<td>"+spaceLeft+oddChar+spaceRight+temp2[a]+"\r\n");
+        				}
+        				else{
+        					out.write ("<td>"+temp2[a]+"\r\n");
+        				}
+        				//out.write ("<td>"+temp2[a]+"\r\n");
+        			}
+        		}
+        		out.write ("</tr>\r\n");
+        	}
+        	String[] temp3 ={"&nbsp;","&nbsp;","&nbsp;","&nbsp;","&nbsp;"};
+        	length = 0;
+        	int start = temp.length;
+        	if(temp.length>=5){length= 5;}
+        	else if(temp.length<5){length = temp.length;}
+                
+        	for(int i = length; i>0; i--){
+        	    temp3[i-1] = temp[start-1];
+        	    start--;
+        	}
+    		out.write ("<tr>\r\n");
+    		out.write ("<th>......\r\n");
+    		out.write ("<th>Last Five\r\n");
+    		out.write ("</tr>\r\n");
+    		
+    		//counter = temp.length;
+    		start = temp.length;
+    		x = temp3.length;
+        	for(int a = 0; a<x; a++){
+        		out.write ("<tr>\r\n");
+
+        		if(!temp3[a].equals("&nbsp;")){
+        			out.write ("<th>"+(start-length+1+a));
+        		}
+        		else{
+        			out.write ("<th>&nbsp;");
+        		}
+        		if(temp3[a].startsWith("http")){
+        			if(temp3[a].length()>60){
+        				out.write ("<td><a href = \""+temp3[a]+"\">"+temp3[a].substring(0, 60)+"</a>");
+        			}
+        			else {
+        				//out.write ("<td>"+temp2[a]+"\r\n");
+        				out.write ("<td><a href = \""+temp3[a]+"\">"+temp3[a]+"</a>");
+        			}
+        		}
+        		else{
+        			char singleChar = temp3[a].charAt(0);
+        			if(temp3[a].length()>60){
+        				//out.write ("<td>"+temp3[a].substring(0, 60)+" ... \r\n");
+        				//System.out.println("7");
+        				//out.write ("<td>"+temp3[a].substring(0, 60)+"<a href=\""+fileName+"_ASCII.html#lastFive\"> ... \r\n");
+        				//System.out.println("8");
+        				if(temp3[a].startsWith(" ") && (int)singleChar!=65279){
+        					temp3[a] = temp3[a].substring(1);
+        					out.write ("<td>"+spaceLeft+space+spaceRight+temp3[a].substring(0, 60)+"<a href=\""+fileName+"_ASCII.html#lastFive\"> ... </a>\r\n");
+        				}
+        				
+        				else if((int)singleChar==65279){
+        					temp3[a] = temp3[a].substring(1);
+        					out.write ("<td>"+spaceLeft+oddChar+spaceRight+temp3[a].substring(0, 60)+"<a href=\""+fileName+"_ASCII.html#lastFive\"> ... </a>\r\n");
+        				
+        				}
+        				else{
+        					out.write ("<td>"+temp3[a].substring(0, 60)+"<a href=\""+fileName+"_ASCII.html#lastFive\"> ... </a>\r\n");
+        				}
+        			}
+        			else{
+        				//out.write ("<td>"+temp3[a]+"\r\n");
+        				if(temp3[a].startsWith(" ") && (int)singleChar!=65279){
+        					temp3[a] = temp3[a].substring(1);
+        					out.write ("<td>"+spaceLeft+space+spaceRight+temp3[a]+"\r\n");
+        				}
+        				else if((int)singleChar==65279){
+        					out.write ("<td>"+spaceLeft+oddChar+spaceRight+temp3[a]+"\r\n");
+        				}
+        				else{
+        					out.write ("<td>"+temp3[a]+"\r\n");
+        				}
+        			}
+        			out.write ("</tr>\r\n");
+        		}
+        	}
+        	out.write ("</table><br>\r\n");
+        	//////////////////////////////////////////////////////////////////////////////////////////////////////
+        	//////////////////////////////////////////////////////////////////////////////////////////////////////
+    	    out.write ("<table border=\"1\" align=\"center\" width=1000>\r\n");
+    	    out.write ("<colgroup width=\"500\" span=\"2\">\r\n");
+    	    out.write ("<tr>\r\n");
+    	    out.write ("<th>Frequency-Based:\r\n");
+    	    out.write ("<th>First Five (Minimum ->Maximum)\r\n");
+    		out.write ("</tr>\r\n");
+    		
+    		HashMap xMap = dmx.getDistinctValueMap(name);
+        	temp = dmx.getSortList(name,"Frequency-based");
+        	temp2 = new String[] {"&nbsp;","&nbsp;","&nbsp;","&nbsp;","&nbsp;"};
+        	length = 0;
+        
+        	if(temp.length>=5){length=5;}
+        	else if(temp.length<5){length = temp.length;}
+                
+        	for(int i =0; i<length; i++){
+        	    temp2[i] = temp[i];
+        	}
+        	
+        	ArrayList tempList = new ArrayList();
+        	for(int i =0; i<length; i++){
+        		if(((Integer)xMap.get(temp2[i])).intValue()==1){
+        			tempList.add(temp2[i]);
+        		}
+        	}
+        	//HashMap tempMap = dmx.getLinks(tempList, name);
+        	x = temp2.length;
+        	for(int a = 0; a<x; a++){
+        		out.write ("<tr>\r\n");
+        		//System.out.println("link map length"+tempMap.size());
+        		if(!temp2[a].equals("&nbsp;")){
+        			char singleChar = temp2[a].charAt(0);
+        			out.write ("<th>"+(a+1)+". (No. of occurrences: "+((Integer)xMap.get(temp2[a])).toString()+")\r\n");
+            		if(temp2[a].startsWith("http") && (int)singleChar != 65279){
+            			if(temp2[a].length()>60){
+            				out.write ("<td><a href = \""+temp2[a]+"\">"+temp2[a].substring(0, 60)+"</a>");
+            			}
+            			else {
+            				out.write ("<td><a href = \""+temp2[a]+"\">"+temp2[a]+"</a>");
+            			}
+            		}
+            		else if((int)singleChar == 65279){
+            			if(temp2[a].length()>60){
+            				out.write ("<td>"+spaceLeft+oddChar+spaceRight+temp2[a].substring(1, 60)+"<a href=\""+fileName+"_Frequency-based.html#topFive\"> ... \r\n");
+             			}
+            			else{
+            				//out.write ("<td>"+temp2[a]+"\r\n");
+            				out.write ("<td>"+spaceLeft+oddChar+spaceRight+temp2[a]+"<a href=\""+fileName+"_Frequency-based.html#topFive\"> ... \r\n");
+                 			
+            			}
+            		}
+            		else{
+            			if(temp2[a].length()>60){
+            				out.write ("<td>"+temp2[a].substring(0, 60)+"<a href=\""+fileName+"_Frequency-based.html#topFive\"> ... \r\n");
+            			}
+            			else{
+            				out.write ("<td>"+temp2[a]+"\r\n");
+            			}
+            		}
+       		
+        		}
+        		else{
+        			//out.write ("<th>"+(a+1)+"\r\n");
+        			out.write ("<th>&nbsp;\r\n");
+        			out.write ("<td>\r\n");
+        		}
+        		
+
+        		out.write ("</tr>\r\n");
+        	}
+
+        	temp3 = new String[]{"&nbsp;","&nbsp;","&nbsp;","&nbsp;","&nbsp;"};
+        	length = 0;
+        	start = temp.length;
+        	if(temp.length>=5){length= 5;}
+        	else if(temp.length<5){length = temp.length;}
+                
+        	for(int i = length; i>0; i--){
+        	    temp3[i-1] = temp[start-1];
+        	    start--;
+        	}
+
+    		out.write ("<tr>\r\n");
+    		out.write ("<th>......\r\n");
+    		out.write ("<th>Last Five (Maximum -> Minimum)\r\n");
+    		out.write ("</tr>\r\n");
+    		
+    		x = temp3.length;
+    		start = temp.length;
+        	for(int a = 0; a<x; a++){
+        		out.write ("<tr>\r\n");
+        		if(!temp3[a].equals("&nbsp;")){
+        			out.write ("<th>"+(start-length+1+a)+". (No. of occurrences: "+((Integer)xMap.get(temp3[a])).toString()+")\r\n");
+        			char singleChar = temp3[a].charAt(0);
+            		if(temp3[a].startsWith("http") && (int)singleChar!=65279){
+            			if(temp3[a].length()>60){
+            				out.write ("<td><a href = \""+temp3[a]+"\">"+temp3[a].substring(0, 60)+"</a>");            			
+            			}
+            			else {
+            				//out.write ("<td>"+temp2[a]+"\r\n");
+            				out.write ("<td><a href = \""+temp3[a]+"\">"+temp3[a]+"</a>");
+            			}
+            		}
+            		else if((int)singleChar==65279){
+            			if(temp3[a].length()>60){
+            				//System.out.println("15");
+            				out.write ("<td>"+spaceLeft+oddChar+spaceRight+temp3[a].substring(1, 60)+"<a href=\""+fileName+"_Frequency-based.html#lastFive\"> ... \r\n");
+            				//System.out.println("16");
+            				
+            			}
+            			else{
+            				//out.write ("<td>"+temp3[a]+"\r\n");
+            				out.write ("<td>"+spaceLeft+oddChar+spaceRight+temp3[a]+"<a href=\""+fileName+"_Frequency-based.html#topFive\"> ... \r\n");
+            			}
+            		}
+            		else{
+            			if(temp3[a].length()>60){
+            				//out.write ("<td>"+temp3[a].substring(0, 60)+" ... \r\n");
+            				//System.out.println("15");
+            				out.write ("<td>"+temp3[a].substring(0, 60)+"<a href=\""+fileName+"_Frequency-based.html#lastFive\"> ... \r\n");
+            				//System.out.println("16");
+            				
+            			}
+            			else{
+            				out.write ("<td>"+temp3[a]+"\r\n");
+            			}
+            		}
+            		
+        		}
+        		else{
+        			//out.write ("<th>"+(a+1)+". (No. of occurrences: 0)\r\n");
+        			//out.write ("<th>\r\n");
+        			//out.write ("<th>"+(a+1)+"\r\n");
+        			out.write ("<th>&nbsp;\r\n");
+        			out.write ("<th>\r\n");
+        		}
+        		
+
+        		//out.write ("<td>"+temp3[a]+"\r\n");
+        		out.write ("</tr>\r\n");
+        	}
+    		
+    		
+    	    out.write ("</table>\r\n");
+    	    
+    		//generateMetadataElementSortList(fileName,"ASCII",linkName);
+    		/*
+    		if(suggestionMap.size()>0){
+    			compareElement(fileName,collectionFolder,suggestionMap);
+    			out.write("<p><a href =\""+fileName+"\"_Suggestion.html>Link<a>");
+    		}
+    		*/
+    		//generateMetadataElementSortList(fileName,"Frequency-based",linkName);
+    		 //out.write ("<p>");
+    	    ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+    	    out.write ("<p> <a href=\" Overall.html \">Summary</a>");
+    	    out.write ("&raquo;");
+    	    
+    	  	if(linkName.equalsIgnoreCase("dublin")){
+    	  		out.write ("<a href=\""+linkName+".html\">Metadata Detail ("+metadataSet1+")</a>"); 
+	    		//out.write ("<h1 align=\"center\">Metadata Set Detail: "+metadataSet1+"</h1>\r\n");
+	    	}
+	    	else if (linkName.equalsIgnoreCase("extracted")){
+	    		out.write ("<a href=\""+linkName+".html\">Metadata Detail ("+metadataSet2+")</a>"); 
+	    		//out.write ("<h1 align=\"center\">Metadata Set Detail: "+metadataSet2+"</h1>\r\n");
+	    	}
+	    	else{
+	    		out.write ("<a href=\""+linkName+".html\">Metadata Detail ("+linkName+")</a>"); 	  
+	    	}
+    	    //out.write(str+"</p>");
+    	    out.write ("</body></html>\r\n");
+
+    	    //Close the output stream
+    	    out.close();
+    	}catch (Exception e){//Catch exception if any
+    		//System.out.println("detail");
+    	    System.err.println("Error: " + e.getMessage());
+    	}
+    	//System.out.println("detail ends");
+    	
+    }
+    
+    /*
+    private void generateMetadataElementSortList(String title, String sort, String metadataSetName){
+		//String str = sdf.format(cl.getTime());
+		//String collectionFolder = mds.getCollectionName();
+    	String fileName = title+"_"+sort;
+    	String collectionFolder = mds.getCollectionName();
+    	DataMaker dmx = new DataMaker(this.mds);
+    	
+    	//if(title.equals("dc.Identifier")){
+    		//return;
+    	//}
+    	
+    	try{
+	    FileWriter fstream = new FileWriter(collectionFolder+"/"+fileName+".html");
+	    BufferedWriter out = new BufferedWriter(fstream);
+    	
+    	out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">");
+	    out.write ("<html>\r\n");
+	    out.write("<head>\r\n<title>Metadata Element Sort List</title>\r\n");
+	    out.write("<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\r\n");
+	    out.write("<style type=\"text/css\">\r\n");
+	    out.write("td{height:20; text-align:justify;}\r\n");
+	    out.write(".tam{height:20; text-align:center}\r\n");
+	    out.write("th{height:20; text-align:left;}\r\n");
+	    out.write("body{font-family: Arial;}\r\n");
+	    out.write("</style>\r\n");
+	    out.write("</head><body>\r\n");
+    	
+	    out.write("<p><a href=\" Overall.html \">Summary</a>");
+	    out.write("&raquo;");
+	    ////////////////////////////////////////////////////////////////////////////////////
+	  	if(metadataSetName.equalsIgnoreCase("dublin")){
+	  		out.write ("<a href=\""+metadataSetName+".html\">Metadata Detail ("+metadataSet1+")</a>"); 
+    	}
+    	else if (metadataSetName.equalsIgnoreCase("extracted")){
+    		out.write ("<a href=\""+metadataSetName+".html\">Metadata Detail ("+metadataSet2+")</a>"); 
+    	}
+    	else{
+    		out.write ("<a href=\""+metadataSetName+".html\">Metadata Detail ("+metadataSetName+")</a>"); 	  
+    	}
+	  	out.write("&raquo;");
+	  	out.write("<a href=\""+title+".html\">"+title+"</a></p>"); 
+	  	
+	  	SearchLink sl = new SearchLink();
+       	String[] list = dmx.getSortList(title, sort);
+       	System.out.println(list.length+" length" + title);
+    	if(list.length>=1){
+    		
+        	out.write("<table border=\"1\" align=\"center\" width=\"800\">\r\n");
+        	out.write("<colgroup width=\"400\" span=\"2\">\r\n");
+        	out.write ("<h2 align=\"center\">"+ title+"</h2>\r\n");      	
+        	out.write ("<th class=\"tam\">"+ sort+"\r\n");
+        	out.write ("<th class=\"tam\">Element Values\r\n");
+        	
+    		out.write ("<a name='topFive'>\r\n");
+    		
+    		if(sort.equals("ASCII")){
+    			
+    			//System.out.println("ASCII STARTS");
+    			int counter = 0;
+
+    			for(int i = 0; i<list.length; i++){
+    				//System.out.println(i);
+    				if(list.length<=5 && i==0){
+    					out.write ("<a name='lastFive'>\r\n");
+    				}
+    				else if((list.length>5) && (list.length-5==i)){
+    					out.write ("<a name='lastFive'>\r\n");
+    				}
+    				out.write("<tr>\r\n");
+    				
+    				if(list[i].length()>=200){
+    					//out.write("<td>"+(counter+1)+"<td>"+list[i].substring(0, 200)+"... \r\n");
+       					if(list[i].startsWith("http://")){
+    						//out.write("<td><a href=\""+list[i]+"\">"+list[i]+"</a>\r\n");
+    						out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i]+"</a>\r\n");
+    					}
+    					else{
+    						///////////////////////////////////// adding links
+    						//System.out.println("MDE: "+title+" Text: "+ list[i]+ " Collection: "+ collectionFolder);
+    						ArrayList alist= sl.CreateIndentifierLinkPage(title, list[i],"dc.Identifier", collectionFolder);
+    						//System.out.println(alist.get(0)+"?????????????????????????????????/");
+    						//////////////////////////////////////
+    						
+    						if(list[i].startsWith(" ")){
+    							list[i] = list[i].substring(1);
+    							////////////////////////////////////////////////////////////////////////////////////////////////////////
+    							if(alist.size()>=1){
+    								out.write("<td>"+(counter+1)+"<td>"+spaceLeft+space+spaceRight+list[i].substring(0, 200)+"..." +
+    										"<a href=\""+(String)alist.get(0)+"\"> Link</a>\r\n");
+    							}
+    							else{
+    								out.write("<td>"+(counter+1)+"<td>"+spaceLeft+space+spaceRight+list[i].substring(0, 200)+"... \r\n");
+    							}
+    							/////////////////////////////////////////////////////////////////////////////////////////////////////////
+    							
+    						}
+    						else{
+    							////////////////////////////////////////////////////////////////////////////////////////////////////////
+    							if(alist.size()>=1){
+    								out.write("<td>"+(counter+1)+"<td>"+list[i].substring(0, 200)+"..." +
+    										"<a href=\""+(String)alist.get(0)+"\"> Link</a>\r\n");
+    							}
+    							else{
+    								out.write("<td>"+(counter+1)+"<td>"+list[i].substring(0, 200)+"... \r\n");
+    							}
+    							/////////////////////////////////////////////////////////////////////////////////////////////////////////
+    							
+    						}
+    					}
+    				}
+    				else{
+    					//out.write("<td>"+(counter+1)+"<td>"+list[i]+"\r\n");
+    					if(list[i].startsWith("http://")){
+    						out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i]+"</a>\r\n");
+    					}
+    					else{
+    						
+    						///////////////////////////////////// adding links
+    						//System.out.println("MDE: "+title+" Text: "+ list[i]+ " Collection: "+ collectionFolder);
+    						ArrayList alist= sl.CreateIndentifierLinkPage(title, list[i],"dc.Identifier", collectionFolder);
+    						//System.out.println(alist.get(0)+"?????????????????????????????????/");
+    						//////////////////////////////////////
+    						
+    						if(list[i].startsWith(" ")){
+    							list[i] = list[i].substring(1);
+    							//out.write("<td>"+(counter+1)+"<td>"+spaceLeft+space+spaceRight+list[i]+"\r\n");
+    							
+    							////////////////////////////////////////////////////////////////////////////////////////////////////////
+    							if(alist.size()>=1){
+    								out.write("<td>"+(counter+1)+"<td>"+spaceLeft+space+spaceRight+list[i]+"..." +
+    										"<a href=\""+(String)alist.get(0)+"\"> Link </a>\r\n");
+    							}
+    							else{
+    								out.write("<td>"+(counter+1)+"<td>"+spaceLeft+space+spaceRight+list[i]+"... \r\n");
+    							}
+    							/////////////////////////////////////////////////////////////////////////////////////////////////////////
+    							
+    						}
+    						else{
+    							if(alist.size()>=1){
+    								out.write("<td>"+(counter+1)+"<td>"+list[i]+"<a href=\""+alist.get(0)+"\"> Link </a>\r\n");
+    							}
+    							else{
+    								out.write("<td>"+(counter+1)+"<td>"+list[i]+"\r\n");
+    							}
+    						}
+    					}
+    				}
+    				counter++;
+    			}
+    		}
+    		else{
+    			HashMap xMap = dmx.getDistinctValueMap(title);
+    			int counter = 0;
+    			//System.out.println("frequency STARTS");
+    			for(int i = 0; i<list.length; i++){
+    				if(list.length<=5 && i==0){
+    					out.write ("<a name='lastFive'>\r\n");
+    				}
+    				else if((list.length>5) && (list.length-5==i)){
+    					out.write ("<a name='lastFive'>\r\n");
+    				}
+    				out.write("<tr>\r\n");
+    				out.write("<th>"+(counter+1)+". (No. of occurrences: "+((Integer)xMap.get(list[i])).toString()+")\r\n");
+    				
+    				if(list[i].length()>=200){
+    					
+    					//System.out.println(i + " <- 1f -> " +list[i]);
+    					//out.write("<td>"+list[i].substring(0,200)+"\r\n");
+    					if(list[i].startsWith("http://")){
+    						out.write("<td><a href=\""+list[i]+"\">"+list[i]+"</a>\r\n");
+    					}
+    					else{
+    						if(list[i].startsWith(" ")){
+    							list[i]=list[i].substring(1);
+    							out.write("<td>"+spaceLeft+space+spaceRight+list[i].substring(0,200)+"\r\n");
+    						}
+    						else{
+    							out.write("<td>"+list[i].substring(0,200)+"\r\n");
+    						}
+    					}
+    				}
+    				else{
+    					//System.out.println(i + " <- 2f -> " +list[i]);
+    					//out.write("<td>"+list[i]+"\r\n");
+    					if(list[i].startsWith("http://")){
+    						out.write("<td><a href=\""+list[i]+"\">"+list[i]+"</a>\r\n");
+    					}
+    					else{
+    						if(list[i].startsWith(" ")){
+    							list[i]=list[i].substring(1);
+    							//out.write("<td>"+spaceLeft+space+spaceRight+list[i].substring(0,200)+"\r\n");
+    							out.write("<td>"+spaceLeft+space+spaceRight+list[i]+"\r\n");
+    						}
+    						else{
+    							out.write("<td>"+list[i]+"\r\n");
+    						}
+    					}
+    				}
+    				counter++;
+    			}   		  	
+    		}
+    		out.write("</table>\r\n");
+    	}
+    	else{
+    		out.write("<p>Sorry! The list is empty</p>");
+    	}
+    	out.write("<tr>\r\n");
+    	
+    	
+	    out.write("<p><a href=\" Overall.html \">Summary</a>");
+	    out.write("&raquo;");
+	    ////////////////////////////////////////////////////////////////////////////////////
+	  	if(metadataSetName.equalsIgnoreCase("dublin")){
+	  		out.write ("<a href=\""+metadataSetName+".html\">Metadata Detail ("+metadataSet1+")</a>"); 
+    	}
+    	else if (metadataSetName.equalsIgnoreCase("extracted")){
+    		out.write ("<a href=\""+metadataSetName+".html\">Metadata Detail ("+metadataSet2+")</a>"); 
+    	}
+    	else{
+    		out.write ("<a href=\""+metadataSetName+".html\">Metadata Detail ("+metadataSetName+")</a>"); 	  
+    	}
+	  	out.write("&raquo;");
+	  	out.write("<a href=\""+title+".html\">"+title+"</a></p>"); 
+    	out.write("</body></html>\r\n");
+    	out.close();
+      	}catch(Exception e){
+      		e.printStackTrace();
+    		//sSystem.err.println("Error: " + e.printStackTrace());
+    	}
+    }
+    
+   */
+    private void setupMetadataLink(String fileName){
+    	
+    	try{
+    		DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
+    		DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
+    		Document doc = docBuilder.newDocument();
+    		doc = docBuilder.parse (new File("/research/cc108/greenstone3/web/mat/script/"+fileName+".xml"));
+    		Element rootNode = doc.getDocumentElement();
+    		
+    		NodeList listOfName = rootNode.getElementsByTagName("metadataElement");
+    		 url = new HashMap();
+    		for(int i = 0; i<listOfName.getLength(); i++){
+    			  Node NameNode = listOfName.item(i);
+    			  Element docElement = (Element)NameNode;
+    			  NodeList valueList = docElement.getElementsByTagName("URL");
+    			  Node urlParentNode = valueList.item(0);
+    			  String urlText = urlParentNode.getChildNodes().item(0).getNodeValue();
+    			  
+    			  valueList = docElement.getElementsByTagName("name");
+    			  Node urlNameParentNode = valueList.item(0);
+    			  String urlNameText = urlNameParentNode.getChildNodes().item(0).getNodeValue();
+    			  
+    			  url.put(urlNameText, urlText);
+    			  //System.out.println(urlText+" "+urlNameText);
+    			  
+    		}
+    		
+    		
+    	}catch(Exception e){
+    		//e.printStackTrace(printWriter);
+    		System.out.print(e.toString());
+    	}
+    }
+    private HashMap generateMetadataElementSortList(String title, String sort, String metadataSetName){
+    
+        	String fileName = title+"_"+sort;
+        	String collectionFolder = mds.getCollectionName();
+        	String IDENTIFIER = "dc.Identifier";
+        	SearchLink sl = new SearchLink();
+        	HashMap suggestionMap = new HashMap();
+    		boolean status = false;
+        	try{
+        	HashMap valueMap = sl.createValueMap(title,collectionFolder);
+        	HashMap linkMap = sl.createLinkMap("dc.Identifier",collectionFolder);
+        	HashMap internalIDMap = dm.getInternalIdentifier(title);	
+    	    FileWriter fstream = new FileWriter(collectionFolder+"/"+fileName+".html");
+    	    BufferedWriter out = new BufferedWriter(fstream);
+
+    	    out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">");
+    	    out.write ("<html>\r\n");
+    	    out.write("<head>\r\n<title>Metadata Element Sort List</title>\r\n");
+    	    out.write("<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\r\n");
+    	    //out.write("<link rel=\"stylesheet\" href=\"../script/doby2.css\" type=\"text/css\"/>\r\n");
+    	    out.write("<script type=\"text/javascript\" src=\"../script/getInfomation.js\"></script>\r\n");   	    
+    	    out.write("<script type=\"text/javascript\" src=\"http://yui.yahooapis.com/2.4.1/build/yahoo/yahoo-min.js\"></script>\r\n");
+    	    out.write("<script type=\"text/javascript\" src=\"http://yui.yahooapis.com/2.4.1/build/event/event-min.js\"></script>\r\n");
+    	    out.write("<script type=\"text/javascript\" src=\"http://yui.yahooapis.com/2.4.1/build/connection/connection-min.js\"></script>\r\n");
+    	    out.write("<style type=\"text/css\">\r\n");
+    	    out.write("td{height:20; text-align:left;padding-left:5px;}\r\n");
+    	    out.write(".tam{height:20; text-align:center}\r\n");
+    	    out.write("th{height:20; text-align:center;}\r\n");
+    	    out.write("body{font-family: Arial;}\r\n");
+    	    out.write("</style>\r\n");
+    	    out.write("</head><body id=\""+collectionFolder+"\">\r\n");
+        	
+    	    out.write("<td><div style=\"float:left;\"><a href=\" Overall.html \">Summary</a>");
+    	    out.write("&raquo;");
+    	    ////////////////////////////////////////////////////////////////////////////////////
+    	    if(metadataSetName.equalsIgnoreCase("dublin")){
+    		out.write ("<a href=\""+metadataSetName+".html\">Metadata Detail ("+metadataSet1+")</a>"); 
+    	    }/*
+    	    else if (metadataSetName.equalsIgnoreCase("extracted")){
+        		out.write ("<a href=\""+metadataSetName+".html\">Metadata Detail ("+metadataSet2+")</a>"); 
+    	    }*/
+    	    else{
+        		out.write ("<a href=\""+metadataSetName+".html\">Metadata Detail ("+metadataSetName+")</a>"); 	  
+    	    }
+    	    out.write("&raquo;");
+    	    out.write("<a href=\""+title+".html\">"+title+"</a></div>"); 
+    	  	
+    	  	
+    	    // out.write ("<td> <div style=\"float:left;\"> <a href=\" Overall.html \">Summary</a></div>");
+    	    out.write("<div style=\"float:right;\"><a href=\"http://chnm.gmu.edu/tools/surveys/4386/\">Please send feedback about the Mat tool</a></div></td><br>");
+     	  
+    	  	//kljkl
+    	    String[] list = dm.getSortList(title, sort);
+    	    //String Link = "Link";
+    	    //int MaxLinks = 2;
+          
+           	
+    	    if(list.length>=1){
+        		
+        		
+        	if(sort.equals("ASCII")){
+        			
+        		out.write("<table border=\"1\" align=\"center\" width=\"800\">\r\n");
+                out.write("<h2 align=\"center\">"+ title+"</h2>\r\n");      	
+                out.write("<th class=\"tam\">ASCII Sort\r\n");
+                out.write("<th class=\"tam\">Element Values\r\n");
+                out.write("<th class=\"tam\">Source Documents\r\n"); 
+                out.write("<th class=\"tam\">InternalLink\r\n"); 
+                	
+                out.write ("<a name='topFive'>\r\n");
+            		
+                int counter = 0;
+
+                for(int i = 0; i<list.length; i++){
+                	if(list.length<=5 && i==0){
+                		out.write ("<a name='lastFive'>\r\n");
+                	}
+                	else if((list.length>5) && (list.length-5==i)){
+                		out.write ("<a name='lastFive'>\r\n");
+                	}
+                	
+                	
+                	InternalLink il= (InternalLink)internalIDMap.get(list[i]);
+                	ArrayList alist2 = il.retrieveList();
+                	String id = (String)alist2.get(0);
+                	id = id.substring(4);
+                	out.write("<tr id=\""+id+"\" >\r\n");
+    		  		
+    		  		//out.write("<tr>\r\n");
+
+        				
+                	if(list[i].length()>=201){
+                		if(list[i].startsWith("http://")){
+   
+                			if(title.equals("dc.Identifier")){
+                				if(list[i].length()>=100){
+                					out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i].substring(0,100)+"...</a>");
+                				}
+                				else{
+                					out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i]+"</a>");
+                				}
+                				out.write("<td><a href=\""+list[i]+"\">Source</a>\r\n");
+    						//out.write("<td id=\""+internalIDMap.get(list[i])+"\">");
+                			}
+    				else{
+    				
+    					ArrayList alist= sl.CreateIndentifierLinkPage(title, list[i],"dc.Identifier", collectionFolder,valueMap,linkMap);
+    					System.out.println("break");
+    					if(list[i].length()>=100){
+    						
+    						//out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i].substring(0,100)+"...</a>");
+    						String url = (String)alist.get(0);
+    						if(alist.size()==1){
+    							out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i].substring(0,100)+"...</a>");
+    							if(url.startsWith("http://")){
+    								out.write("<td><a href=\""+(String)alist.get(0)+"\">Source</a>\r\n");
+    							}else{
+    								out.write("<td>Source\r\n");
+    							}
+    							//suggestionMap.put(list[i], url);
+    						}
+    						else if(alist.size()>1){
+    							out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i].substring(0,100)+"...</a>");
+    							//out.write("<td><a href=\""+(String)alist.get(0)+"\">Source</a>...\r\n");	
+    							if(url.startsWith("http://")){
+    								out.write("<td><a href=\""+(String)alist.get(0)+"\">Source</a>...\r\n");
+    							}else{
+    								out.write("<td>Source\r\n");
+    							}
+    							//suggestionMap.put(list[i], url);
+    						}
+    						else{
+    							out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i].substring(0,100)+"</a>");
+    							out.write("<td>No Source Available\r\n");	
+    						}
+    						suggestionMap.put(list[i], url);
+    						//out.write("<td id=\""+internalIDMap.get(list[i])+"\">");
+    					}
+    					else{
+    						//out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i]+"</a>");
+    						String url = (String)alist.get(0);
+    						if(alist.size()==1){
+    							out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i]+"</a>");
+    							//out.write("<td><a href=\""+(String)alist.get(0)+"\">Source</a>\r\n");
+    							if(url.startsWith("http://")){
+    								out.write("<td><a href=\""+(String)alist.get(0)+"\">Source</a>\r\n");
+    							}else{
+    								out.write("<td>Source\r\n");
+    							}
+    						}
+    						else if(alist.size()>1){
+    							out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i]+"</a>");
+    							//out.write("<td><a href=\""+(String)alist.get(0)+"\">Source</a>...\r\n");	
+    							if(url.startsWith("http://")){
+    								out.write("<td><a href=\""+(String)alist.get(0)+"\">Source</a>...\r\n");
+    							}else{
+    								out.write("<td>Source\r\n");
+    							}
+    						}
+    						else{
+    							out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i]+"</a>");
+    							out.write("<td>No Source Available\r\n");	
+    						}
+    						suggestionMap.put(list[i], url);
+    					}
+    				}
+    			    //out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i].substring(0, 200)+"...</a>");
+    				
+    			   
+    			}
+    			else{
+    			    ///////////////////////////////////// adding links have not change the empty link form here
+    			    ArrayList alist= sl.CreateIndentifierLinkPage(title, list[i],"dc.Identifier", collectionFolder,valueMap,linkMap);
+    			    //////////////////////////////////////
+        						
+    			    if(list[i].startsWith(" ")){
+        			String elements = list[i];
+    				list[i] = list[i].substring(1);
+
+				    //out.write("<td>"+(counter+1)+"<td>"+spaceLeft+space+spaceRight+list[i].substring(0, 200)+"\r\n");
+
+    				
+    				if(alist.size()==1){
+    				    out.write("<td>"+(counter+1)+"<td>"+spaceLeft+space+spaceRight+list[i].substring(0, 200)+"...<td>"+
+    					      "<a href=\""+(String)alist.get(0)+"\">Source</a>\r\n");
+    	   						suggestionMap.put(elements, (String)alist.get(0));
+    				}
+    				else if(alist.size()>1){
+    				    out.write("<td>"+(counter+1)+"<td>"+spaceLeft+space+spaceRight+list[i].substring(0, 200)+"...<td>"+
+    						      "<a href=\""+(String)alist.get(0)+"\">Source</a>...\r\n");
+    	   						suggestionMap.put(elements, (String)alist.get(0));
+    				}
+    				else{
+    				    out.write("<td>"+(counter+1)+"<td>"+spaceLeft+space+spaceRight+list[i].substring(0, 200)+"...<td>No Source Available \r\n");
+    	   					suggestionMap.put(elements, "No Source Available");
+    				}
+ 
+    			    }
+    			    else{
+    			    	//out.write("<td>"+(counter+1)+"<td>"+list[i].substring(0, 200)+"...<td>\r\n");
+        				
+    				if(alist.size()==1){
+    				    out.write("<td>"+(counter+1)+"<td>"+list[i].substring(0, 200)+"...<td>" +
+    					      "<a href=\""+(String)alist.get(0)+"\">Source</a>\r\n");
+   						suggestionMap.put(list[i], (String)alist.get(0));
+    				}
+    				else if(alist.size()>1){
+    				    out.write("<td>"+(counter+1)+"<td>"+list[i].substring(0, 200)+"...<td>" +
+    						      "<a href=\""+(String)alist.get(0)+"\">Source</a>...\r\n");
+   						suggestionMap.put(list[i], (String)alist.get(0));
+    				}	
+    				else{
+    				    out.write("<td>"+(counter+1)+"<td>"+list[i].substring(0, 200)+"... <td>No Source Available\r\n");
+   						suggestionMap.put(list[i],"No Source Available");
+    				}
+    				
+    			    }
+    			}
+        			
+    		    }
+    		    else{
+        		/*	   					
+    			if(list[i].startsWith("http://")){
+    			    //out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i]+"</a>");
+    				   //out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">1</a>");
+    				   
+    					if(list[i].length()>=100){
+    						   out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i].substring(0,100)+"...</a>");
+    					}
+    					else{
+    						   out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i]+"</a>");
+    					}
+    					
+    			    out.write("<td><a href=\""+list[i]+"\">Source</a>\r\n");
+    			}*/
+    		    	
+    		    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+    				if(list[i].startsWith("http://")){
+    				    //out.write("<td><a href=\""+list[i]+"\">"+list[i]+"</a>\r\n");
+    					if(title.equals("dc.Identifier")){
+    						if(list[i].length()>=100){
+    							out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i].substring(0,100)+"...</a>");
+    							//out.write("<td><a href=\""+list[i]+"\">Source</a>\r\n");
+    						}
+    						else{
+    							out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i]+"</a>");
+    						}
+    							out.write("<td><a href=\""+list[i]+"\">Source</a>\r\n");
+    					}
+    					else{
+    						ArrayList alist= sl.CreateIndentifierLinkPage(title, list[i],"dc.Identifier", collectionFolder,valueMap,linkMap);
+    						if(list[i].length()>=100){
+    							//out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i].substring(0,100)+"...</a>\r\n");
+    							
+    							if(alist.size()==1){
+    								out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i].substring(0,100)+"...</a>");
+    								out.write("<td><a href=\""+(String)alist.get(0)+"\">Source</a>\r\n");
+    								suggestionMap.put(list[i], (String)alist.get(0));
+    							}
+    							else if(alist.size()>1){
+    								out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i].substring(0,100)+"...</a>");
+    								out.write("<td><a href=\""+(String)alist.get(0)+"\">Source</a>...\r\n");	
+    								suggestionMap.put(list[i], (String)alist.get(0));
+    							}
+    							else{
+    								out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i]+"</a>");
+    								out.write("<td>No Source Available\r\n");	
+    								suggestionMap.put(list[i],"No Source Available");
+    							}
+    						}
+    						else{
+    							//out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i]+"</a>\r\n");
+    							//out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i]+"</a>");
+    							
+    							if(alist.size()==1){
+    								out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i]+"</a>");
+    								out.write("<td><a href=\""+(String)alist.get(0)+"\">Source</a>\r\n");
+    								suggestionMap.put(list[i], (String)alist.get(0));
+    							}
+    							else if(alist.size()>1){
+    								out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i]+"</a>");
+    								out.write("<td><a href=\""+(String)alist.get(0)+"\">Source</a>...\r\n");
+    								suggestionMap.put(list[i], (String)alist.get(0));
+    							}
+    							else{
+    								out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i]+"</a>");
+    								out.write("<td>No Source Available\r\n");	
+    								suggestionMap.put(list[i],"No Source Available");
+    							}
+    							
+    						}
+    					}
+    				    //out.write("<td>"+(counter+1)+"<td><a href=\""+list[i]+"\">"+list[i].substring(0, 200)+"...</a>");
+    					
+    				   
+    				}
+    		    
+    				///////////////////////////////////////////////////////////////////////////////////////////////////////////////
+        					
+    			else{
+    			    ArrayList alist= sl.CreateIndentifierLinkPage(title, list[i],"dc.Identifier", collectionFolder,valueMap,linkMap);
+    			    
+    			    if(list[i].startsWith(" ")){
+    			    	String elements = list[i];
+    				list[i] = list[i].substring(1);
+    				 //out.write("<td>"+(counter+1)+"<td>"+spaceLeft+space+spaceRight+list[i]+"\r\n");
+        				
+    				if(alist.size()==1){
+    				    out.write("<td>"+(counter+1)+"<td>"+spaceLeft+space+spaceRight+list[i]+
+    					      "<td><a href=\""+(String)alist.get(0)+"\">Source</a>\r\n");
+    				    suggestionMap.put(elements,(String)alist.get(0));
+    				}
+    				else if(alist.size()>1){
+    				    out.write("<td>"+(counter+1)+"<td>"+spaceLeft+space+spaceRight+list[i]+
+    					      "<td><a href=\""+(String)alist.get(0)+"\">Source</a>...\r\n");
+    				    suggestionMap.put(elements,(String)alist.get(0));
+    				}  				
+    				else{
+    				    out.write("<td>"+(counter+1)+"<td>"+spaceLeft+space+spaceRight+list[i]+"<td>No Source Available\r\n");
+    				    suggestionMap.put(elements,"No Source Available");
+    				}
+    				
+    				//out.write("<td>"+(counter+1)+"<td>"+spaceLeft+space+spaceRight+list[i]+"\r\n");
+    			    }
+    			    else{
+    			        //out.write("<td>"+(counter+1)+"<td>"+list[i]+"\r\n");
+    			    	
+    				if(alist.size()==1){
+    				    out.write("<td>"+(counter+1)+"<td>"+list[i]+"<td><a href=\""+alist.get(0)+"\">Source</a>\r\n");
+    				    suggestionMap.put(list[i],(String)alist.get(0));
+    				}
+    				else if(alist.size()>1){
+    				    out.write("<td>"+(counter+1)+"<td>"+list[i]+"<td><a href=\""+alist.get(0)+"\">Source</a>...\r\n");
+    				    suggestionMap.put(list[i],(String)alist.get(0));
+    				}
+    				else{
+    				    out.write("<td>"+(counter+1)+"<td>"+list[i]+"<td>No Source Available\r\n");
+    				    suggestionMap.put(list[i],"No Source Available");
+    				}
+    				
+    				//out.write("<td>"+(counter+1)+"<td>"+list[i]+"\r\n");
+    			    }
+    			}
+    		    }
+    		    counter++;
+    		    out.write("<td onclick=\"GD(this)\">View");
+    		}
+                /////////////////////// insert 
+            	if(suggestionMap.size()>1 && !title.equals("dc.Identifier")){
+            		//return suggestionMap;
+            		//compareElement(title,collectionFolder,suggestionMap);
+            		status = true;
+            	}
+
+                ////////////////////////
+        		}
+        		else{
+        			
+        			
+                	out.write("<table border=\"1\" align=\"center\" width=\"800\">\r\n");
+                	out.write ("<h2 align=\"center\">"+ title+"</h2>\r\n");
+                	out.write ("<th class=\"tam\">&nbsp;\r\n");
+                	out.write ("<th class=\"tam\">Frequency\r\n");
+                	out.write ("<th class=\"tam\">Element Values\r\n");    
+                	out.write ("<th class=\"tam\">Source Documents\r\n");   
+                	out.write ("<th class=\"tam\">Internal Link\r\n"); 
+    		out.write ("<a name='topFive'>\r\n");
+            		
+    		HashMap xMap = dm.getDistinctValueMap(title);
+    		int counter = 0;
+    		for(int i = 0; i<list.length; i++){
+    		    if(list.length<=5 && i==0){
+    			out.write ("<a name='lastFive'>\r\n");
+    		    }
+    		    else if((list.length>5) && (list.length-5==i)){
+    			out.write ("<a name='lastFive'>\r\n");
+    		    }
+    		    
+    	    	InternalLink il= (InternalLink)internalIDMap.get(list[i]);
+            	ArrayList alist2 = il.retrieveList();
+            	String id = (String)alist2.get(0);
+            	id = id.substring(4);
+            	out.write("<tr id=\""+id+"\" >\r\n");
+            	
+    		    /*
+    		    InternalLink il= (InternalLink)internalIDMap.get(list[i]);
+    		    ArrayList alist2 = il.retrieveList();
+    		    String id = (String)alist2.get(0);
+    		    id = id.substring(4);
+    		    
+    		    out.write("<tr id=\""+id+"\" >\r\n");
+    		    */
+    		    out.write("<tr>\r\n");
+    		    out.write("<td>"+(counter+1)+"<th> "+((Integer)xMap.get(list[i])).toString()+"\r\n");
+        				
+    		    if(list[i].length()>=201){
+    		    	
+    			if(list[i].startsWith("http://")){
+    			    //out.write("<td><a href=\""+list[i]+"\">"+list[i].substring(0,200)+"...</a>");
+    				if(title.equals("dc.Identifier")){
+    					if(list[i].length()>=100){
+    						out.write("<td><a href=\""+list[i]+"\">"+list[i].substring(0,100)+"</a>");
+    					}
+    					else{
+    						out.write("<td><a href=\""+list[i]+"\">"+list[i]+"</a>");
+    					}
+    					
+    				    out.write("<td><a href=\""+list[i]+"\">Source</a>\r\n");
+    				}
+    				else{
+    					ArrayList alist= sl.CreateIndentifierLinkPage(title, list[i],IDENTIFIER, collectionFolder,valueMap,linkMap);
+    					if(list[i].length()>=100){
+    						if(alist.size()==1){
+    							out.write("<td><a href=\""+list[i]+"\">"+list[i].substring(0,100)+"</a>");
+    							out.write("<td><a href=\""+alist.get(0)+"\">Source</a>\r\n");
+    						}
+    						else if (alist.size()>1){
+    							out.write("<td><a href=\""+list[i]+"\">"+list[i].substring(0,100)+"</a>");
+    							out.write("<td><a href=\""+alist.get(0)+"\">Source</a>...\r\n");
+    						}
+    						else{
+    							out.write("<td><a href=\""+list[i]+"\">"+list[i].substring(0,100)+"</a>");
+    							//out.write("<td><a href=\""+alist.get(0)+"\">Source</a>...\r\n");
+    							out.write("<td>No Source Available\r\n");	
+    						}
+    					
+    					}
+    					else{
+    						out.write("<td><a href=\""+list[i]+"\">"+list[i]+"</a>");
+    					}
+    				
+    			    //out.write("<td><a href=\""+list[i]+"\">Source</a>\r\n");
+    				}
+    			}
+    			
+    			
+    			
+    			
+    			else{
+    			    ArrayList alist= sl.CreateIndentifierLinkPage(title, list[i],IDENTIFIER, collectionFolder,valueMap,linkMap);
+        						
+    			    if(list[i].startsWith(" ")){
+    				list[i]=list[i].substring(1);
+    					if(alist.size()==1){
+    						out.write("<td>"+spaceLeft+space+spaceRight+list[i].substring(0,200)+"...<td>"+
+    						"<a href=\""+(String)alist.get(0)+"\">Source</a>\r\n");
+    					}
+    					else if(alist.size()>1){
+    						out.write("<td>"+spaceLeft+space+spaceRight+list[i].substring(0,200)+"...<td>"+
+    					      "<a href=\""+(String)alist.get(0)+"\">Source</a>...\r\n");
+    					}
+    					else{
+    						out.write("<td>"+spaceLeft+space+spaceRight+list[i].substring(0,200)+"...<td>No Source Available\r\n");
+    					}
+    			    }
+    			    else{
+    			    	
+    			    	if(alist.size()==1){
+    			    		out.write("<td>"+list[i].substring(0,200)+"...<td>" +
+    					      "<a href=\""+(String)alist.get(0)+"\">Source</a>\r\n");
+    			    	}
+    			    	else if(alist.size()>1){
+    			    		out.write("<td>"+list[i].substring(0,200)+"...<td>"+
+    					      "<a href=\""+(String)alist.get(0)+"\">Source</a>...\r\n");
+    			    	}
+    			    	else{
+    			    		out.write("<td>"+list[i].substring(0,200)+"...<td>No Source Available\r\n");
+    			    	}
+    			    }
+    			}
+    		    }
+    		    else{
+    			if(list[i].startsWith("http://")){
+    			    //out.write("<td><a href=\""+list[i]+"\">"+list[i]+"</a>");
+    				//out.write("<td><a href=\""+list[i]+"\">1</a>");
+    				if(title.equals("dc.Identifier")){
+    					if(list[i].length()>=100){
+    						out.write("<td><a href=\""+list[i]+"\">"+list[i].substring(0,100)+"</a>");
+    					}
+    					else{
+    						out.write("<td><a href=\""+list[i]+"\">"+list[i]+"</a>");
+    					}
+    				    out.write("<td><a href=\""+list[i]+"\">Source</a>\r\n");
+    				}
+    				else{
+    					ArrayList alist= sl.CreateIndentifierLinkPage(title, list[i],"dc.Identifier", collectionFolder,valueMap,linkMap);
+    					if(list[i].length()>=100){
+    						if(alist.size()==1){
+    							out.write("<td><a href=\""+list[i]+"\">"+list[i].substring(0,100)+"</a>");
+    							out.write("<td><a href=\""+(String)alist.get(0)+"\">Source</a>\r\n");
+    						}
+    						else if(alist.size()>1){
+    							out.write("<td><a href=\""+list[i]+"\">"+list[i].substring(0,100)+"</a>");
+    							out.write("<td><a href=\""+(String)alist.get(0)+"\">Source</a>...\r\n");
+    						}
+    						else{
+    							out.write("<td><a href=\""+list[i]+"\">"+list[i].substring(0,100)+"</a>");
+    							out.write("<td>No Source Available\r\n");
+    						}
+    					}
+    					else{
+    						if(alist.size()==1){
+    							out.write("<td><a href=\""+list[i]+"\">"+list[i]+"</a>");
+    							out.write("<td><a href=\""+(String)alist.get(0)+"\">Source</a>\r\n");
+    						}
+    						else if(alist.size()>1){
+    							out.write("<td><a href=\""+list[i]+"\">"+list[i]+"</a>");
+    							out.write("<td><a href=\""+(String)alist.get(0)+"\">Source</a>...\r\n");
+    						}
+    						else{
+    							out.write("<td><a href=\""+list[i]+"\">"+list[i]+"</a>");
+    							out.write("<td>No Source Available\r\n");
+    						}
+    					}
+    					
+    				}
+    				
+    			}
+    			else{
+    			    
+    			    ArrayList alist= sl.CreateIndentifierLinkPage(title, list[i],IDENTIFIER, collectionFolder,valueMap,linkMap);
+        						
+    			    if(list[i].startsWith(" ")){
+    				list[i]=list[i].substring(1);
+    				//out.write("<td>"+spaceLeft+space+spaceRight+list[i].substring(0,200)+"\r\n");
+    				if(alist.size()==1){
+    				    out.write("<td>"+spaceLeft+space+spaceRight+list[i]+
+    					      "<td><a href=\""+(String)alist.get(0)+"\">Source</a>\r\n");
+    				}
+    				else if(alist.size()>1){
+    				    out.write("<td>"+spaceLeft+space+spaceRight+list[i]+
+    					      "<td><a href=\""+(String)alist.get(0)+"\">Source</a>...\r\n");
+    				}
+    				else{
+    				    out.write("<td>"+spaceLeft+space+spaceRight+list[i]+"<td>No Source Available\r\n");
+    				}
+    			    }
+    			    else{
+    				if(alist.size()==1){
+    				    out.write("<td>"+list[i]+"<td><a href=\""+(String)alist.get(0)+"\">Source</a>\r\n");
+    				}
+    				else if(alist.size()>1){
+    				    out.write("<td>"+list[i]+"<td><a href=\""+(String)alist.get(0)+"\">Source</a>...\r\n");
+    				}
+    				else{
+    				    out.write("<td>"+list[i]+"<td>No Source Available\r\n");
+    				}
+    			    }
+    			}
+    		    }
+    		    counter++;
+
+    		    out.write("<td onclick=\"GD(this)\">View");
+    		    //out.write("<td id=\""+internalIDMap.get(list[i])+"\">Click");
+    		}   		  	
+    		
+        		}
+        		out.write("</table>\r\n");
+    	    }
+    	    else{
+        		out.write("<p>Sorry! The list is empty</p>");
+        	}
+    	    out.write("<tr>\r\n");
+        	
+        	
+    	    out.write("<p><a href=\" Overall.html \">Summary</a>");
+    	    out.write("&raquo;");
+    	    ////////////////////////////////////////////////////////////////////////////////////
+    	    if(metadataSetName.equalsIgnoreCase("dublin")){
+    		out.write ("<a href=\""+metadataSetName+".html\">Metadata Detail ("+metadataSet1+")</a>"); 
+    	    }
+    	    else if (metadataSetName.equalsIgnoreCase("extracted")){
+        		out.write ("<a href=\""+metadataSetName+".html\">Metadata Detail ("+metadataSet2+")</a>"); 
+    	    }
+    	    else{
+        		out.write ("<a href=\""+metadataSetName+".html\">Metadata Detail ("+metadataSetName+")</a>"); 	  
+    	    }
+    	    out.write("&raquo;");
+    	    out.write("<a href=\""+title+".html\">"+title+"</a></p>"); 
+    	    out.write("</body></html>\r\n");
+    	    out.close();
+    	    fstream.close();
+          	}catch(Exception e){
+        		System.err.println("Error: " + e.getMessage());
+    	    //e.printStackTrace(outx);
+        	}
+        	
+    	//printWriter.write("<!-- generating all possible page-->");
+    	//printWriter.flush();
+          	//return new HashMap();
+          	if(status){
+          		return suggestionMap;
+          	}
+          	else{
+          		return new HashMap();
+          	}
+        }
+        
+    private void createIncompletedList(String fileName, String metadataSetName){
+    	//System.out.println("break1");
+    	HashMap hp = dm.getIdentifierLink("dc.Identifier");
+    	String[] ids = dm.getDocumentIDList(fileName);
+    	System.out.println("Length: "+ids.length+" "+fileName+ " "+hp.size());
+    	for(int i = 0; i<ids.length; i++){
+    		hp.remove(ids[i]);
+    	}
+      	String collectionFolder = mds.getCollectionName();
+    	System.out.println(hp.size());
+    	try{	
+	    FileWriter fstream = new FileWriter(collectionFolder+"/"+fileName+"_IncompletedList.html");
+	    BufferedWriter out = new BufferedWriter(fstream);
+	    
+	    out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">");
+	    out.write ("<html>\r\n");
+	    out.write("<head>\r\n<title>Incompleted Document List</title>\r\n");
+	    out.write("<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\r\n");
+	    out.write("<style type=\"text/css\">\r\n");
+	    out.write("td{height:20; text-align:left;padding-left:5px;}\r\n");
+	    out.write(".tam{height:20; text-align:center}\r\n");
+	    out.write("th{height:20; text-align:center;}\r\n");
+	    out.write("body{font-family: Arial;}\r\n");
+	    out.write("</style>\r\n");
+	    out.write("</head><body>\r\n");
+	    
+	    out.write("<p><a href=\" Overall.html \">Summary</a>");
+	    out.write("&raquo;");
+	    if(metadataSetName.equalsIgnoreCase("dublin")){
+    		out.write ("<a href=\""+metadataSetName+".html\">Metadata Detail ("+metadataSet1+")</a>"); 
+    	}
+    	else if (metadataSetName.equalsIgnoreCase("extracted")){
+        		out.write ("<a href=\""+metadataSetName+".html\">Metadata Detail ("+metadataSet2+")</a>"); 
+    	}
+    	else{
+        		out.write ("<a href=\""+metadataSetName+".html\">Metadata Detail ("+metadataSetName+")</a>"); 	  
+    	}
+    	out.write("&raquo;");
+	    out.write("<a href=\""+fileName+".html \">"+fileName+"</a>");
+	    
+	    //out.write("<h3 align=center>"+fileName+"</h3>");
+	    out.write("<h3 align=center>"+fileName+" does not appear in the following documents</h3>");
+	    int counter = 0;
+	    Set s = hp.keySet();
+	    Iterator i = s.iterator();
+	    out.write("<table border=1 align=center><tr><th>Document ID<th>Source Link\r\n");
+	    while(i.hasNext()){
+	    	counter++;
+	    	String keys = (String)i.next();
+	    	InternalLink il = (InternalLink) hp.get(keys);
+	    	ArrayList alist = il.retrieveList();
+	    	String url = (String)alist.get(0);
+	    	out.write("<tr><td>"+counter+"<td><a href=\""+url+"\">"+url+"</a>\r\n");
+	    }
+	    out.write("</table></body></html>\r\n");
+	    
+	    
+	    out.write("<p><a href=\" Overall.html \">Summary</a>");
+	    out.write("&raquo;");
+	    if(metadataSetName.equalsIgnoreCase("dublin")){
+    		out.write ("<a href=\""+metadataSetName+".html\">Metadata Detail ("+metadataSet1+")</a>"); 
+    	}
+    	else if (metadataSetName.equalsIgnoreCase("extracted")){
+        		out.write ("<a href=\""+metadataSetName+".html\">Metadata Detail ("+metadataSet2+")</a>"); 
+    	}
+    	else{
+        		out.write ("<a href=\""+metadataSetName+".html\">Metadata Detail ("+metadataSetName+")</a>"); 	  
+    	}
+    	out.write("&raquo;");
+	    out.write("<a href=\""+fileName+".html \">"+fileName+"</a>");
+	    
+	    out.close();
+	    fstream.close();
+    	}catch(IOException ex){ex.printStackTrace();}
+    	
+    	
+    }
+        
+    
+	private void generateHTML(HashMap distanceMap, String fileName,String metadataSetName){
+		
+		String collectionFolder = mds.getCollectionName();
+		
+		try{	
+		    FileWriter fstream = new FileWriter(collectionFolder+"/"+fileName+"_Suggestion.html");
+		    BufferedWriter out = new BufferedWriter(fstream);
+		    out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">");
+		    out.write ("<html>\r\n");
+		    out.write("<head>\r\n<title>Suggestion list</title>\r\n");
+		    out.write("<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\r\n");
+		    out.write("<style type=\"text/css\">\r\n");
+		    out.write("td{height:20; text-align:left;padding-left:5px;}\r\n");
+		    out.write(".tam{height:20; text-align:center}\r\n");
+		    out.write("th{height:20; text-align:left;}\r\n");
+		    out.write("body{font-family: Arial;}\r\n");
+		    out.write("</style>\r\n");
+		    out.write("</head><body>\r\n");
+		    out.write("<p><a href=\" Overall.html \">Summary</a>");
+		    out.write("&raquo;");
+		    if(metadataSetName.equalsIgnoreCase("dublin")){
+	    		out.write ("<a href=\""+metadataSetName+".html\">Metadata Detail ("+metadataSet1+")</a>"); 
+	    	}
+	    	else if (metadataSetName.equalsIgnoreCase("extracted")){
+	        		out.write ("<a href=\""+metadataSetName+".html\">Metadata Detail ("+metadataSet2+")</a>"); 
+	    	}
+	    	else{
+	        		out.write ("<a href=\""+metadataSetName+".html\">Metadata Detail ("+metadataSetName+")</a>"); 	  
+	    	}
+	    	out.write("&raquo;");
+		    out.write("<a href=\""+fileName+".html \">"+fileName+"</a>");
+		    
+		    out.write("<table border=1 align=center>\r\n");
+		    //out.write("<tr><td>&nbsp;<td>&nbsp;\r\n");
+			Set s = distanceMap.keySet();
+			Iterator i = s.iterator();
+			while(i.hasNext()){
+				String keyword = (String)i.next();
+				InternalLink il = (InternalLink)distanceMap.get(keyword);
+				//ArrayList alist = il.retrieveList();
+				ArrayList alist = il.retrieveNodeList();
+			    //out.write("<tr><td>&nbsp;<td>&nbsp;\r\n");
+				//System.out.println("here");
+		
+			    //out.write("<tr><th>"+keyword+"\r\n");
+				out.write("<tr><th>&nbsp;<th>\r\n");
+				for(int a = 0; a<alist.size(); a++){
+					InternalLink il2 = new InternalLink();
+					il2 = (InternalLink)alist.get(a);
+					String url = (String)il2.retrieveList().get(0);
+					out.write("<tr><td>"+il2.getValue()+"<td><a href=\""+url+"\">"+url+"</a>");
+					//out.write("<tr><td>"+(String)alist.get(a));
+				}
+			    out.write("</tr>");
+				//System.out.println("\n\n");
+			}
+		    out.write("</table></body></html>\r\n");
+		    out.close();
+		    fstream.close();
+		}catch(IOException ex){ex.printStackTrace();}
+
+		//distanceMap.clear();
+		//System.gc();
+	}
+	
+	
+	public void compareElement(String fileName,String collectionFolder,HashMap suggestionMap, String metadataSetName){
+
+		//EditDistance ed = new EditDistance();
+		//SearchLink sl = new SearchLink();
+
+		System.out.println("Starting test "+fileName);
+	    long time = System.currentTimeMillis();
+		//List list = Arrays.asList(args);
+	    Set kset = suggestionMap.keySet();
+		ArrayList arrayList = new ArrayList();
+		Iterator is = kset.iterator();
+		while(is.hasNext()){
+			arrayList.add((String)is.next());
+		}
+		HashMap distanceMap = new HashMap();
+	
+		int totalLength = 0;
+
+		int arrayListLength = arrayList.size();
+		
+		System.out.println("Length: "+arrayListLength);
+		double distance ;
+		try{
+		for(int i = 0; i<arrayListLength; i++){
+			String keyword = (String)arrayList.get(i);
+			//ArrayList alistkw1 = sl.CreateIndentifierLinkPage(fileName, keyword,"dc.Identifier", collectionFolder,valueMap,linkMap);
+			int spaceCounterFront1 = 0;
+			int spaceCounterEnd1 = 0;
+			String keywordClone = keyword;
+			String _keywordClone = keyword;
+			String bkKeyWord = keyword;
+			//System.out.println("before parsing kw1");
+			keywordClone = removeUnusedCharacter(keywordClone);
+			//System.out.println("after parsing kw1");
+			//System.out.println("before removing space from kw1");
+			while(true){
+				if(_keywordClone.length()>1){
+				if(_keywordClone.charAt(0)==' '){
+					_keywordClone = _keywordClone.substring(1);
+					spaceCounterFront1++;
+				}
+				else{
+					if(_keywordClone.charAt(_keywordClone.length()-1)==' '){
+						_keywordClone = _keywordClone.substring(0,_keywordClone.length()-1);
+						spaceCounterEnd1++;
+					}
+					else{
+						break;
+					}
+				}
+				}
+				else{
+					break;
+				}
+			}
+			//System.out.println("after removing space from kw1");
+			/*
+			for(int a = 0; a<spaceCounterFront; a++){
+				keywordClone = spaceLeft+space+spaceRight+keywordClone;
+			}
+			for(int a = 0; a<spaceCounterFront; a++){
+				keywordClone = keywordClone+spaceLeft+space+spaceRight;
+			}
+			*/
+			//System.out.println("after5");
+			int keywordLength = keywordClone.length();
+			totalLength = totalLength + keywordLength;
+			for(int j = i+1; j<arrayListLength; j++){
+				String keyword2 = (String)arrayList.get(j);
+				//ArrayList alistkw2 = sl.CreateIndentifierLinkPage(fileName, keyword2,"dc.Identifier", collectionFolder,valueMap,linkMap);
+				double pre_cost = 0;
+				String keywordClone2 = keyword2;
+				String _keywordClone2 = keyword2;
+				String bkKeyWord2 = keyword2;
+				//System.out.println("before parsing kw2");
+				costModel cm = new costModel();
+				cm = removeUnusedCharacter(keywordClone2,pre_cost);
+				//System.out.println("after parsing kw2");
+				keywordClone2 = cm.getString();
+				pre_cost = cm.getCost();
+				
+				int spaceCounterFront2 = 0;
+				int spaceCounterEnd2 = 0;
+				
+				//System.out.println("before removing space from kw2");
+				while(true){
+					if(_keywordClone2.length()>1){
+					if(_keywordClone2.charAt(0)==' '){
+						_keywordClone2 = _keywordClone2.substring(1);
+						spaceCounterFront2++;
+					}
+					else{
+						if(_keywordClone2.charAt(_keywordClone2.length()-1)==' '){
+							_keywordClone2 = _keywordClone2.substring(0,_keywordClone2.length()-1);
+							spaceCounterEnd2++;
+						}
+						else{
+							break;
+						}
+					}}
+				else{
+					break;
+				}
+				}
+				/*
+				while(true){
+					if(_keywordClone2.contains("  ")){
+						_keywordClone2.replaceFirst("  "," ");
+					}
+					else{
+						break;
+					}
+				}*/
+				//System.out.println("after removing space from kw2");
+				
+				//System.out.println("after4");
+				int keyword2Length = keywordClone2.length();
+
+				if(keywordLength>(keyword2Length+2) || (keywordLength+2)<keyword2Length ){}
+				else{
+					//System.out.println("start edit distance: "+keywordClone + " " + keywordClone2);
+					//distance = ed.getLevenshteinDistance(keyword, keyword2);
+					distance = calculateEditDistance(keywordClone.toLowerCase().toCharArray(),keywordClone2.toLowerCase().toCharArray());
+					distance = distance + pre_cost;
+					//System.out.println("finish calculating edit distance");
+					if(distance<=3){
+						if(distanceMap.containsKey(_keywordClone)){
+							InternalLink il = (InternalLink)distanceMap.get(_keywordClone);
+							
+							String keywordHolder = _keywordClone2;
+							
+							while(true){
+								if(keywordHolder.contains("  ")){
+									keywordHolder = keywordHolder.replaceFirst("  ",spaceLeft+space+spaceRight+" ");
+								}
+								else{
+									break;
+								}
+							}
+							
+							for(int a = 0; a<spaceCounterFront2; a++){
+								keywordHolder = spaceLeft+space+spaceRight+keywordHolder;
+							}
+							for(int a = 0; a<spaceCounterEnd2; a++){
+								keywordHolder = keywordHolder+spaceLeft+space+spaceRight;
+							}
+							
+							InternalLink il2 = new InternalLink();
+							il2.setValue(keywordHolder);
+							if(suggestionMap.containsKey(bkKeyWord2)){
+								il2.increaseElement((String)suggestionMap.get(bkKeyWord2));
+								//System.out.println("input this url(3):"+(String)alistkw2.get(0));
+							}
+							else{
+								il2.increaseElement("&nbsp;");
+							}
+							
+							il.increaseNode(il2);
+							//il.increaseElement(keywordHolder);
+							distanceMap.put(_keywordClone, il);
+							
+							//il.increaseElement(keywordClone2);
+							//distanceMap.put(keyword, il);
+						}
+						else{
+							InternalLink il = new InternalLink();
+							String keywordHolder = _keywordClone;
+							
+							while(true){
+								if(keywordHolder.contains("  ")){
+									keywordHolder = keywordHolder.replaceFirst("  ",spaceLeft+space+spaceRight+" ");
+								}
+								else{
+									break;
+								}
+							}
+							
+							for(int a = 0; a<spaceCounterFront1; a++){
+								keywordHolder = spaceLeft+space+spaceRight+keywordHolder;
+							}
+							for(int a = 0; a<spaceCounterEnd1; a++){
+								keywordHolder = keywordHolder+spaceLeft+space+spaceRight;
+							}
+							
+							InternalLink il2 = new InternalLink();
+							il2.setValue(keywordHolder);
+							if(suggestionMap.containsKey(bkKeyWord)){
+								il2.increaseElement((String)suggestionMap.get(bkKeyWord));
+								//System.out.println("input this url(1):"+(String)alistkw1.get(0));
+							}
+							else{
+								il2.increaseElement("&nbsp;");
+							}
+							
+							il.increaseNode(il2);
+							//il.increaseElement(keywordHolder);
+							
+							keywordHolder = _keywordClone2;
+							
+							while(true){
+								if(keywordHolder.contains("  ")){
+									keywordHolder = keywordHolder.replaceFirst("  ",spaceLeft+space+spaceRight+" ");
+								}
+								else{
+									break;
+								}
+							}
+							for(int a = 0; a<spaceCounterFront2; a++){
+								keywordHolder = spaceLeft+space+spaceRight+keywordHolder;
+							}
+							for(int a = 0; a<spaceCounterEnd2; a++){
+								keywordHolder = keywordHolder+spaceLeft+space+spaceRight;
+							}
+							
+							InternalLink il3 = new InternalLink();
+							il3.setValue(keywordHolder);
+							if(suggestionMap.containsKey(bkKeyWord2)){
+								il3.increaseElement((String)suggestionMap.get(bkKeyWord2));
+								//System.out.println("input this url(2):"+(String)alistkw2.get(0));
+							}
+							else{
+								il3.increaseElement("&nbsp;");
+							}
+							
+							il.increaseNode(il3);
+							//il.increaseElement(keywordHolder);
+							distanceMap.put(_keywordClone, il);
+						}
+					}
+				}
+				//alistkw2.clear();
+			}
+			//alistkw1.clear();
+			//System.gc();
+		}
+		//System.out.println("after3");
+		time = System.currentTimeMillis() - time;
+		
+		System.out.println("The test took " + time + " milliseconds");
+		System.out.println("TotalLength: "+totalLength+"Avg. Length:"+totalLength/arrayListLength);
+		//arrayList.clear();
+		//System.gc();
+		//if(fileName.endsWith("dc.Title")){
+			//System.out.println(fileName +"Map Size"+ distanceMap.size(
+		//System.out.println("after2");
+		if(distanceMap.size()!=0){
+			generateHTML(distanceMap,fileName,metadataSetName);
+		}
+		}catch(Exception ex){ex.printStackTrace();}
+		//System.out.println("after1");
+	}
+	
+	
+	public int calculateEditDistance(char[] args1, char[] args2){
+        int n = args1.length; 
+        int m = args2.length; 
+        if (n == 0) {
+            return m;
+        }
+        else if (m == 0) {
+            return n;
+        }
+        
+        int[] p = new int[n + 1];
+    	int[] d = new int[n + 1]; 
+        int[] _d; 
+        
+
+        int i; 
+        int j; 
+
+        int cost; // cost
+
+        for (i = 0; i <= n; i++) {
+            p[i] = i;
+        }
+        for (j = 1; j <= m; j++) {
+
+            d[0] = j;
+            for (i = 1; i <= n; i++) {
+                cost = (args1[i-1] == args2[j-1]) ? 0 : 1;
+                d[i] = Math.min(Math.min(d[i - 1] + 1, p[i] + 1),
+                        p[i - 1] + cost);
+            }
+
+            // copy current distance counts to 'previous row' distance counts
+            _d = p;
+            p = d;
+            d = _d;
+        }
+        // our last action in the above loop was to switch d and p, so p now
+        // actually has the most recent cost counts
+        return p[n];
+	}
+
+    private String removeUnusedCharacter(String target){
+
+    	// remove \n 
+    	while(true){
+    	    if(target.contains("\\n")){
+    	    	target = target.replaceFirst("\\\\n","");
+    	    }
+    	    else{
+    	    	break;
+    	    }
+    	}
+    	
+    	//remove spaces at the end of string
+    	if(target.length()>1){
+    	while(true){
+    	   	if(target.length()>1){
+    	    if(target.charAt(target.length()-1)==' '){
+    	    	target = target.substring(0,target.length()-1);
+    	    }
+    	    else{
+    	    	break;
+    	    }
+    	   	}
+    	   	else{
+    	   		break;
+    	   	}
+        }
+    	}
+    	//remove leading spaces
+    	if(target.length()>1){
+        while(true){
+        	if(target.length()>1){
+    	   if(target.charAt(0)==' '){
+    		   target = target.substring(1,target.length());
+    	    }
+    	    else{
+    	    	break;
+    	    }}
+        	else{
+        		break;
+        	}
+        }
+    	}	 
+        //remove multiple spaces between words
+        while(true){
+    	   if(target.contains("  ")){
+    		   target = target.replaceFirst("  "," ");
+    	   }
+    	   else{
+    		   break;
+    	   }
+        }
+    	 return target;
+   }
+    	
+    	
+   private costModel removeUnusedCharacter(String target, double cost){
+    		
+    	costModel cm = new costModel();
+    	 
+    	// remove \n plus cost 
+    	while(true){
+    	    if(target.contains("\\n")){
+    	    	target = target.replaceFirst("\\\\n","");
+    	    	cost = cost + 0.2;
+    	    }
+    	    else{
+    	    	break;
+    	    }
+    	}
+    	
+    	//remove spaces at the end of string
+    	if(target.length()>1){
+    	while(true){
+    		if(target.length()>1){
+    	    if(target.charAt(target.length()-1)==' '){
+    	    	target = target.substring(0,target.length()-1);
+    	    	cost = cost + 0.2;
+    	    }
+    	    else{
+    	    	break;
+    	    }}
+    		else{
+    			break;
+    		}
+    	}
+    	}
+    	//remove leading spaces  
+    	if(target.length()>1){
+    	while(true){
+    		if(target.length()>1){
+    	    if(target.charAt(0)==' '){
+    	    	target = target.substring(1,target.length());
+    	    	cost = cost + 0.2;
+    	    }
+    	    else{
+    	    	break;
+    	    }}
+    		else{
+    			break;
+    		}
+    	}
+    	}
+        //remove multiple spaces between words
+    	while(true){
+    	    if(target.contains("  ")){
+    	    	target = target.replaceFirst("  "," ");
+    	    	cost = cost + 0.2;
+    	    }
+    	    else{
+    	    	break;
+    	    }
+    	}
+
+    		cm.setCost(cost);
+    		cm.setString(target);
+    	
+    	return cm;
+        }
+}
+
+
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/SearchLink.java
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/SearchLink.java	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/SearchLink.java	(revision 17156)
@@ -0,0 +1,338 @@
+package org.greenstone3.ms;
+
+import java.io.BufferedWriter;
+import java.io.File;
+import java.io.FileWriter;
+import java.io.PrintWriter;
+import java.util.ArrayList;
+import java.util.HashMap;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.NamedNodeMap;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+public class SearchLink {
+
+	//final String path = "/research/cc108/greenstone3/web/mat/";
+	final String path = "/home/cc108/MRWks1/describeMessenger/";
+	
+	String collection ="";
+	String metadataElement ="";
+	//String core_element="";
+	PrintWriter out;
+	boolean status = true;
+	
+	public SearchLink(PrintWriter arg){
+		out = arg;
+	}
+	
+	public SearchLink(){
+		
+	}
+	
+	public boolean getStatus(){
+		return status;
+	}
+	public static void main(String[] args){
+		SearchLink sl = new SearchLink();	
+		//sl.CreateIndentifierLinkPage("dc.Creator", "Lowe, David J.", "dc.Identifier","poilkjm");
+		//sl.CreateIndentifierLinkPage("dc.Publisher2", "ResearchSpace@Auckland", "dc.Identifier1","vmeqlek");
+	}
+	
+	public ArrayList CreateIndentifierLinkPage(String metadataElement, String text, String identifier, String col, HashMap valueMap, HashMap linkMap){
+		collection = col;
+		//System.out.println("valueMap: "+valueMap.size()+ " linkMap: "+ linkMap.size());
+		this.metadataElement = metadataElement;
+		//Element ex = openfile(metadataElement,col);
+		try{
+		if(valueMap.size()==0){
+			status = false;
+			return new ArrayList();
+		}
+		else{
+			ArrayList alist = retrieveHASHID(valueMap,text);
+			if(alist.size()==0){
+				status = false;
+				return new ArrayList();
+			}
+			//ex = openfile(identifier,col);
+			if(linkMap.size()==0){
+				//out.write("<p>"+ identifier +" does not exist </p>");
+				status = false;
+				return new ArrayList();
+				//System.out.println(identifier + "does not exist2");
+				//return createResult(new ArrayList());
+			}
+			else{
+			ArrayList alist2 = retrieveHASHID(linkMap,alist,metadataElement);
+			//System.out.println("break3");
+			return alist2;
+			}
+		}
+		}catch(Exception ex){ex.printStackTrace(); return new ArrayList();}
+		//return "";
+	}
+	
+	
+	private Element openfile(String core_element, String collection){
+		
+		try{
+			DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
+		    DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
+		    Document doc = docBuilder.newDocument();
+		    //Element rootNode = doc.
+		    //System.out.println(path+collection+"/metadataStats/"+core_element+".xml");
+		    doc = docBuilder.parse (new File(path+"/"+collection+"/metadataStats/"+core_element+".xml"));
+		    Element rootNode = doc.getDocumentElement();
+		    return rootNode;  
+		    }catch (Exception e) {
+	    	    //e.printStackTrace();
+		    	//out.write("<p>"+core_element +" does not exist </p>");
+		    	System.out.println(core_element + " does not exist1");
+		    	
+	    	    return null;
+		    }
+	}
+	
+	private ArrayList retrieveHASHID (HashMap hp, String text){
+		//ArrayList alist = new ArrayList();
+	
+     
+
+	    if(hp.containsKey(text)){
+	    	InternalLink il = (InternalLink) hp.get(text);
+	    	return il.retrieveList();
+	    }
+	    else{
+	    	return new ArrayList();
+	    }
+	}
+	
+	private ArrayList retrieveHASHID (HashMap hp, ArrayList arg,String metadataElement){
+     //System.out.println(metadataElement);
+		ArrayList alist = new ArrayList();
+		for(int i = 0; i<arg.size(); i++){
+			String text = (String)arg.get(i);
+			if(hp.containsKey(text)){
+				InternalLink il = (InternalLink) hp.get(text);
+				ArrayList arrayList = il.retrieveList();
+				if(arrayList.size()!=0){
+					alist.add(il.retrieveList().get(0));
+				}
+				else{
+					System.out.println(text);
+					alist.add("&nbsp;");
+				}
+				//return il.retrieveList();
+			}
+			/*
+			else{
+				return new ArrayList();
+			}
+			*/
+		}
+		return alist;
+	}
+	/*
+	private ArrayList retrieveHASHID (Element ex, ArrayList alist1){
+		ArrayList alist = new ArrayList();
+
+      	NodeList listOfFrequency = ex.getElementsByTagName("Document");
+      	
+      	if(listOfFrequency.getLength()==0){
+      		//System.out.println("return 0");
+      		return alist;
+      	}
+      	
+      	for(int s=0; s<listOfFrequency.getLength() ; s++){
+      	   Node docNode = listOfFrequency.item(s);
+      	   NamedNodeMap NodeIDMap = docNode.getAttributes();
+      	   Node DocNodeID = NodeIDMap.item(0);
+      	   String DocID = DocNodeID.getNodeValue();
+
+      	   if(alist1.contains(DocID)){
+      		   //System.out.println("same");
+      		   Element xNode = (Element)docNode;
+          	   NodeList valueList = xNode.getElementsByTagName("ActualValue");
+          	   
+          	   
+          	   for(int y = 0; y<valueList.getLength(); y++){
+          		   Element valueElement = (Element)valueList.item(y);
+          		   NodeList textFNList = valueElement.getChildNodes();
+          		   String textValue = ((Node)textFNList.item(0)).getNodeValue();
+          		   //System.out.println(textValue);
+          		   if(textValue.startsWith("http://")){
+          			   alist.add(textValue);
+          			 break;
+          		   }
+       		    }
+      	   }
+        }
+      	
+		return alist;
+	}
+	*/
+	/*
+	private String createResult(ArrayList alist){
+		//System.out.println("test");\
+		String url = path+collection+"/"+metadataElement+"_result.html";
+		//System.out.println(url);
+		try{
+	    	//FileWriter fstream = new FileWriter("/home/cc108/MRWks1/Quality"+"/"+collection+"/"+"hello"+"_result.html");
+			//path /research/cc108/greenstone3/web/mat/
+		
+			//FileWriter fstream = new FileWriter(path+collection+"/"+metadataElement+"result.html");
+			FileWriter fstream = new FileWriter(url);
+		    BufferedWriter out = new BufferedWriter(fstream);
+		    out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n");
+		    out.write("<html>\r\n");
+		    out.write("<head>\r\n<title>Result</title>\r\n");
+		    
+		    out.write("<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\r\n");
+		    out.write("</head>\r\n");
+		    out.write("<body>\r\n");
+		    out.write("<table border=\"1\" align=\"center\">\r\n");
+		    out.write("<tr>");
+	    	out.write("<td align=center> No.");
+	    	out.write("<td align=center> URL");
+		    //System.out.println(alist.size());
+		    for(int i = 0; i < alist.size(); i++){
+		    	out.write("<tr>");
+		    	out.write("<td align>"+(i+1));
+		    	out.write("<td align><a href=\""+(String)alist.get(i)+"\">"+(String)alist.get(i)+"</a>\n");
+		    	
+		    }
+		    out.write("</table></body></html>\r\n");
+		    out.close();
+		    fstream.close();
+		    //System.out.println("/home/cc108/MRWks1/Quality"+"/"+collection+"/"+metadataElement+"_result.html");
+		}catch(Exception ex){
+			//ex.printStackTrace();
+			out.write("<p> links cannot be generated </p>");
+		}
+		return url;
+	}
+	*/
+	
+	/////////////////////////////////////////////////////////////////////////////////////////////////////////////
+	public HashMap createValueMap(String core_element, String collection){
+	//System.out.println("Create value map1 "+core_element);
+ 	HashMap hp = new HashMap();
+ 	Element ex = openfile(core_element,collection);
+  	NodeList valueList = ex.getElementsByTagName("ActualValue");
+  	
+    for(int s=0; s<valueList.getLength() ; s++){
+      	   Element docNode = (Element)valueList.item(s);
+      	   NodeList NodeIDMap = docNode.getChildNodes();
+      	   Node DocNodeID = NodeIDMap.item(0);
+      	   String actualValue = DocNodeID.getNodeValue();
+      	   String DocID = DocNodeID.getParentNode().getParentNode().getAttributes().item(0).getNodeValue();
+  		 
+      	   if(hp.containsKey(actualValue)){
+      		 InternalLink il = (InternalLink) hp.get(actualValue);
+      		 il.increaseElement(DocID);
+      		 hp.put(actualValue, il);
+      	   }
+      	   else{
+      		   InternalLink il = new InternalLink();
+      		   il.setValue(actualValue);
+      		   il.increaseElement(DocID);
+      		   hp.put(actualValue, il);
+      	   }
+    	}
+	System.out.println("Create value map2 "+core_element);
+    return hp;
+	}
+	///////////////////////////////////////////////////////////////////////////////////////////////////////////////
+	public HashMap createLinkMap (String core_element, String collection){
+		//System.out.println("Create link map1 "+core_element);
+		//ArrayList alist = new ArrayList();
+		HashMap hp = new HashMap();
+		Element ex = openfile(core_element,collection);
+      	NodeList listOfFrequency = ex.getElementsByTagName("Document");
+      	
+      	if(listOfFrequency.getLength()==0){
+      		return hp;
+      	}
+      	
+      	for(int s=0; s<listOfFrequency.getLength() ; s++){
+      	   Node docNode = listOfFrequency.item(s);
+      	   NamedNodeMap NodeIDMap = docNode.getAttributes();
+      	   Node DocNodeID = NodeIDMap.item(0);
+      	   String DocID = DocNodeID.getNodeValue();
+
+
+      	   if(hp.containsKey(DocID)){
+
+      		   Element xNode = (Element)docNode;
+          	   NodeList valueList = xNode.getElementsByTagName("ActualValue");
+          	   
+          	   ArrayList alist = new ArrayList();
+          	   for(int y = 0; y<valueList.getLength(); y++){
+          		   Element valueElement = (Element)valueList.item(y);
+          		   NodeList textFNList = valueElement.getChildNodes();
+          		   String textValue = ((Node)textFNList.item(0)).getNodeValue();
+
+          		   if(textValue.startsWith("http://")){
+          			 InternalLink il = (InternalLink)hp.get(DocID);
+          			 //il.retrieveList();
+          			   //alist.add(textValue);
+          			 il.increaseElement(textValue);
+          			 break;
+          		   }
+       		    }
+      	   }
+      	   
+      	   
+      	   else {
+      		   InternalLink il = new InternalLink();
+      		   il.setValue(DocID);
+      		   
+    		   Element xNode = (Element)docNode;
+          	   NodeList valueList = xNode.getElementsByTagName("ActualValue");
+          	   
+          	   for(int y = 0; y<valueList.getLength(); y++){
+          		   Element valueElement = (Element)valueList.item(y);
+          		   NodeList textFNList = valueElement.getChildNodes();
+          		   String textValue = ((Node)textFNList.item(0)).getNodeValue();
+
+          		   if(textValue.startsWith("http://")){
+          			   //alist.add(textValue);
+          			 il.increaseElement(textValue);
+          			 break;
+          		   }
+       		    }
+          	   hp.put(DocID, il);
+      	   }
+        }
+    	System.out.println("Create value map2 "+core_element);
+		return hp;
+	}
+	
+	
+	
+	
+	
+	
+	
+	
+	
+	
+	
+	
+	
+	
+	
+	
+	
+	
+	
+	
+	
+	////////////////////////////////////////////////////////////////////////////////////////////////////////////
+}
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/SummaryPanel.java
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/SummaryPanel.java	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/SummaryPanel.java	(revision 17156)
@@ -0,0 +1,1273 @@
+package org.greenstone3.ms;
+
+import java.awt.*;
+import java.awt.event.*;
+import java.awt.Dimension;
+import javax.swing.*;
+import java.awt.Component;
+
+
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Set;
+
+
+/**
+ * <p>Title: </p>
+ *
+ * <p>Description: </p>
+ *
+ * <p>Copyright: Copyright (c) 2007</p>
+ *
+ * <p>Company: </p>
+ *
+ * @author not attributable
+ * @version 1.0
+ */
+public class SummaryPanel extends JPanel {
+    
+    MetadataStats ms;
+    DataMaker dmx ;
+    ArrayList metadataNameList;
+    final int label_width = 320;
+    final int label_width1 = 200;
+    final int label_height = 30;
+    final int label_x_1 = 50;
+    final int label_x_2 = 325;
+    final int label_font_size = 16;
+    private int totalMetadataItem = 0;
+    private int totalDocument = 0;
+    private int totalMetadataElement = 0;
+    private HashMap jListDataModel = new HashMap();
+    
+    public SummaryPanel(MetadataStats me) {
+    	//System.out.println("step2");
+    	ms = me;
+    	dmx = new DataMaker(ms);
+    	metadataNameList = me.metadataNameList;
+    	totalDocument = dmx.getDocNum();
+    	calculateTotalMetadataItem();
+    	
+        try {
+            jbInit();
+        } catch (Exception ex) {
+            ex.printStackTrace();
+        }
+    }
+    
+    private void calculateTotalMetadataItem(){
+    	HashMap hp = ms.getMetadataSetMap();
+    	Collection c = hp.values();
+    	Iterator ix = c.iterator();
+    	
+    	
+    	while(ix.hasNext()){
+    		MetadataSet mt = (MetadataSet) ix.next();
+    		totalMetadataElement = totalMetadataElement + mt.getIndexsList().size();
+    	}
+    	totalMetadataItem = totalMetadataElement *totalDocument;
+
+    }
+    
+    private void jbInit() throws Exception {
+  
+        JTabbedPane tabbedPane = new JTabbedPane();
+        //dmx = new DataMaker(ms);
+        dmx.setTotalDocNumber();
+  
+        elements = new String [metadataNameList.size()];
+
+        for(int i = 0; i<elements.length; i++){
+        	elements[i] = (String)metadataNameList.get(i);
+        }
+        Arrays.sort(elements);
+        jComboBox1 = new JComboBox(elements);
+        jComboBox2 = new JComboBox(sortOptions);
+        
+        HashMap mdsMap = ms.getMetadataSetMap();
+        MDS_list = new String[mdsMap.size()];
+        int counter = 0;
+        Set st = mdsMap.keySet();
+        Iterator it = st.iterator();
+        while(it.hasNext()){
+        	MDS_list[counter] = (String) it.next();
+        	counter++;
+        }
+  
+        jComboBox3 = new JComboBox(MDS_list);
+        //jList1 = new JList(listData);
+        
+        /*
+        TableModel model = new DefaultTableModel(dmx.AllInformation(),columnNames) {
+            public Class<?> getColumnClass(int column) {
+              return getValueAt(0, column).getClass();
+            }
+          };
+        //------------------------FIRST PANEL ---------------------------
+        final JTable table = new JTable(model);
+        TableRowSorter<TableModel> sorter = new TableRowSorter<TableModel>(model);
+        table.setRowSorter(sorter);
+        table.setEnabled(false);
+        */
+	    //JScrollPane scrollPane = new JScrollPane(table);
+        
+	    JComponent panel1 = new JPanel();
+        panel1.setLayout(new AbsoluteLayout());
+       
+        jLabel27.setText("Number of Documents : ");
+        jLabel27.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 16));
+        jLabel28.setText("Number of Metadata Set : ");
+        jLabel28.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 16));
+        jLabel29.setText("Overall Completeness : ");
+        jLabel29.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 16));
+        jLabel30.setText("Date of Build : ");
+        jLabel30.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 16));
+        
+        jLabel35.setText(" ");
+        jLabel35.setHorizontalAlignment(JLabel.CENTER);
+        jLabel35.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 16));
+        jLabel36.setText(" ");
+        jLabel36.setHorizontalAlignment(JLabel.CENTER);
+        jLabel36.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 16));
+        jLabel37.setText(" ");
+        jLabel37.setHorizontalAlignment(JLabel.CENTER);
+        jLabel37.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 16));
+        jLabel38.setText(" ");
+        jLabel38.setHorizontalAlignment(JLabel.CENTER);
+        jLabel38.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 16));
+        
+        jLabel39.setText("Hide Empty Metadata Element");
+        jLabel39.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 12));
+        jLabel40.setText("Hide Completed Metadata Element ");
+        jLabel40.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 12));
+        jLabel41.setText("Hide Document with empty metadata element set");
+        jLabel41.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 12));
+        jLabel42.setText("Hide Document with completed metadata element set");
+        jLabel42.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 12));
+        
+	    jButton1.setText("Indexes");
+	    jButton1.setPreferredSize(new Dimension(150,20));
+        //jButton1.addActionListener(new SummaryPanel_jButton1_Adapter(this));
+        
+        ActionListener doIt1 = new ActionListener() {
+            public void actionPerformed(ActionEvent ae) {
+          	  jButton1_actionPerformed(ae);
+            }
+          };
+          ActionListener cursorDoIt1 = CursorController.createListener(this, doIt1);
+          jButton1.addActionListener(cursorDoIt1);
+          
+        jLabel31.setText("Metadata Set completeness");
+        jLabel31.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 16));
+        
+        jButton8.setText("Table");
+        jButton8.setPreferredSize(new Dimension(150,20));
+        jButton8.setBorder(BorderFactory.createLineBorder(Color.DARK_GRAY));
+        //jButton8.addActionListener(new SummaryPanel_jButton8_Adapter(this));
+        ActionListener doIt8 = new ActionListener() {
+            public void actionPerformed(ActionEvent ae) {
+          	  jButton8_actionPerformed(ae);
+            }
+          };
+          ActionListener cursorDoIt8 = CursorController.createListener(this, doIt8);
+          jButton8.addActionListener(cursorDoIt8);
+        
+        jButton9.setText("Customized Graph");
+        jButton9.setPreferredSize(new Dimension(150,20));
+        jButton9.setBorder(BorderFactory.createLineBorder(Color.DARK_GRAY));
+        //jButton9.addActionListener(new SummaryPanel_jButton9_Adapter(this));
+        ActionListener doIt9 = new ActionListener() {
+            public void actionPerformed(ActionEvent ae) {
+          	  jButton9_actionPerformed(ae);
+            }
+          };
+          ActionListener cursorDoIt9 = CursorController.createListener(this, doIt9);
+          jButton9.addActionListener(cursorDoIt9);
+
+        jButton11.setText("Web pages");
+        jButton11.setPreferredSize(new Dimension(150,20));
+        jButton11.setBorder(BorderFactory.createLineBorder(Color.DARK_GRAY));
+        //jButton11.addActionListener(new SummaryPanel_jButton11_Adapter(this));
+        
+       
+        ActionListener doIt11 = new ActionListener() {
+          public void actionPerformed(ActionEvent ae) {
+        	  jButton11_actionPerformed(ae);
+          }
+        };
+        ActionListener cursorDoIt11 = CursorController.createListener(this, doIt11);
+        jButton11.addActionListener(cursorDoIt11);
+
+        jList1 = new JList();
+        jCheckBox1 = new JCheckBox();
+        jCheckBox2 = new JCheckBox();
+        jCheckBox3 = new JCheckBox();
+        jCheckBox4 = new JCheckBox();
+        
+        jList1.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 16));
+ 
+        JPanel panel4 = new JPanel();
+        panel4.setLayout(new AbsoluteLayout());
+        panel4.setBorder(BorderFactory.createLineBorder(Color.black));
+        panel4.add(jLabel39,new AbsoluteConstraints(35,5,300,label_height));
+        panel4.add(jLabel40,new AbsoluteConstraints(35,40,300,label_height));
+        panel4.add(jLabel41,new AbsoluteConstraints(35,75,300,label_height));
+        panel4.add(jLabel42,new AbsoluteConstraints(35,110,300,label_height));
+        
+        panel4.add(jCheckBox1,new AbsoluteConstraints(10,7,20,20));
+        panel4.add(jCheckBox2,new AbsoluteConstraints(10,42,20,20));
+        panel4.add(jCheckBox3,new AbsoluteConstraints(10,77,20,20));
+        panel4.add(jCheckBox4,new AbsoluteConstraints(10,112,20,20));
+        
+
+        panel1.add(jButton1,new AbsoluteConstraints(50,650,100,30));
+        panel1.add(jButton8,new AbsoluteConstraints(160,650,100,30));
+        panel1.add(jButton9,new AbsoluteConstraints(270,650,100,30));
+        panel1.add(jButton11,new AbsoluteConstraints(380,650,100,30));
+        
+        panel1.add(jLabel27, new AbsoluteConstraints(label_x_1, 20, label_width, label_height));
+        panel1.add(jLabel28, new AbsoluteConstraints(label_x_1, 55, label_width, label_height));
+        panel1.add(jLabel29, new AbsoluteConstraints(label_x_1, 90, label_width, label_height));
+
+        panel1.add(jLabel31, new AbsoluteConstraints(label_x_1, 160, label_width, label_height));
+        panel1.add(jLabel35, new AbsoluteConstraints(label_x_2, 20, label_width1, label_height));
+        panel1.add(jLabel36, new AbsoluteConstraints(label_x_2, 55, label_width1, label_height));
+        panel1.add(jLabel37, new AbsoluteConstraints(label_x_2, 90, label_width1, label_height));
+        panel1.add(new JScrollPane(jList1), new AbsoluteConstraints(label_x_1, 200, 450, 200));
+        panel1.add(panel4, new AbsoluteConstraints(label_x_1, 410, 450, 150));
+        
+        //------------------------SECOND PANEL ---------------------------
+
+        jComboBox1.addItemListener(new SummaryPanel_jComboBox1_itemAdapter(this));
+        jComboBox1.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 16));
+        
+        jComboBox2.addItemListener(new SummaryPanel_jComboBox2_itemAdapter(this));
+        jComboBox2.setFont(new java.awt.Font("Times New Roman", Font.BOLD, label_font_size));
+        
+        JComponent panel2 = new JPanel();
+        panel2.setLayout(new AbsoluteLayout());
+
+        jLabel1.setText("Metadata : ");
+        jLabel1.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 16));
+        
+        jLabel2.setText("Unique Value : ");
+        jLabel2.setFont(new java.awt.Font("Times New Roman", Font.BOLD, label_font_size));
+        
+        jLabel3.setText(" ");
+        jLabel3.setHorizontalAlignment(JLabel.CENTER);
+        
+        jLabel4.setText("Total times element used :");
+        jLabel4.setFont(new java.awt.Font("Times New Roman", Font.BOLD, label_font_size));
+        
+        jLabel5.setText(" ");
+        jLabel5.setHorizontalAlignment(JLabel.CENTER);
+        
+        jLabel6.setText("No. of records containing element :");
+        jLabel6.setFont(new java.awt.Font("Times New Roman", Font.BOLD, label_font_size));
+        
+        jLabel7.setText(" ");
+        jLabel7.setHorizontalAlignment(JLabel.CENTER);
+        
+        jLabel8.setText("Completeness %:");
+        jLabel8.setFont(new java.awt.Font("Times New Roman", Font.BOLD, label_font_size));
+        
+        jLabel9.setText(" ");
+        jLabel9.setHorizontalAlignment(JLabel.CENTER);
+        
+        jLabel10.setText("Median : ");
+        jLabel10.setFont(new java.awt.Font("Times New Roman", Font.BOLD, label_font_size));
+        
+        jLabel11.setText(" ");
+        jLabel11.setHorizontalAlignment(JLabel.CENTER);
+        
+        jLabel12.setText("Smallest number : ");
+        jLabel12.setFont(new java.awt.Font("Times New Roman", Font.BOLD, label_font_size));
+        
+        jLabel13.setText(" ");
+        jLabel13.setHorizontalAlignment(JLabel.CENTER);
+        
+        jLabel14.setText("Largest number : ");
+        jLabel14.setFont(new java.awt.Font("Times New Roman", Font.BOLD, label_font_size));
+        
+        jLabel15.setText(" ");
+        jLabel15.setHorizontalAlignment(JLabel.CENTER);
+        
+        jLabel16.setText("Average : ");
+        jLabel16.setFont(new java.awt.Font("Times New Roman", Font.BOLD, label_font_size));
+        
+        jLabel17.setText(" ");
+        jLabel17.setHorizontalAlignment(JLabel.CENTER);
+        
+        jLabel18.setText("Mode : ");
+        jLabel18.setFont(new java.awt.Font("Times New Roman", Font.BOLD, label_font_size));
+        
+        jLabel19.setText(" ");
+        jLabel19.setHorizontalAlignment(JLabel.CENTER);
+        
+        jLabel20.setText("Mode Frequency : ");
+        jLabel20.setFont(new java.awt.Font("Times New Roman", Font.BOLD, label_font_size));
+        
+        jLabel21.setText(" ");
+        jLabel21.setHorizontalAlignment(JLabel.CENTER);
+        
+        jLabel22.setText("Choose a sorting method : ");
+        jLabel22.setFont(new java.awt.Font("Times New Roman", Font.BOLD, label_font_size));
+        
+        jLabel23.setText("First Five :");
+        jLabel23.setFont(new java.awt.Font("Times New Roman", Font.BOLD, label_font_size));
+
+        // looks like it never be used
+        jLabel24.setText(" ");   
+        jLabel24.setBorder(BorderFactory.createLineBorder(Color.black));
+        
+        jLabel25.setText("Last Five :");
+        jLabel25.setFont(new java.awt.Font("Times New Roman", Font.BOLD, label_font_size));
+
+        // looks like it never be used
+        jLabel26.setText(" ");
+        jLabel26.setBorder(BorderFactory.createLineBorder(Color.black));
+              
+        jTextPane1.setSize(new Dimension(150,200));
+        jTextPane1.setOpaque(false);
+        jTextPane1.setAutoscrolls(true);
+        
+        jTextPane2.setSize(new Dimension(150,200));
+        jTextPane2.setAutoscrolls(true);
+        jTextPane2.setOpaque(false);
+        
+        jButton2.setText("Frequency chart1");
+        jButton2.setBorder(BorderFactory.createLineBorder(Color.DARK_GRAY));
+        //jButton2.addActionListener(new SummaryPanel_jButton2_Adapter(this));
+        ActionListener doIt2 = new ActionListener() {
+            public void actionPerformed(ActionEvent ae) {
+          	  jButton2_actionPerformed(ae);
+            }
+          };
+          ActionListener cursorDoIt2 = CursorController.createListener(this, doIt2);
+          jButton2.addActionListener(cursorDoIt2);
+        
+        jButton3.setText("Frequency chart2");
+        jButton3.setBorder(BorderFactory.createLineBorder(Color.DARK_GRAY));
+        //jButton3.addActionListener(new SummaryPanel_jButton3_Adapter(this));
+        ActionListener doIt3 = new ActionListener() {
+            public void actionPerformed(ActionEvent ae) {
+          	  jButton3_actionPerformed(ae);
+            }
+          };
+          ActionListener cursorDoIt3 = CursorController.createListener(this, doIt3);
+          jButton3.addActionListener(cursorDoIt3);
+        
+        /*
+        jButton4.setText("Show Documents");
+        jButton4.setBorder(BorderFactory.createLineBorder(Color.DARK_GRAY));
+        jButton4.addActionListener(new SummaryPanel_jButton4_Adapter(this));    
+        jButton5.setText("Chart 3");
+        jButton5.addActionListener(new SummaryPanel_jButton5_Adapter(this));
+        */
+
+        panel2.add(jLabel1, new AbsoluteConstraints(label_x_1, 20, label_width, label_height));
+        panel2.add(jComboBox1, new AbsoluteConstraints(label_x_2, 20, label_width1, label_height));
+        panel2.add(jLabel2, new AbsoluteConstraints(label_x_1, 55, label_width, label_height));
+        panel2.add(jLabel3, new AbsoluteConstraints(label_x_2, 55, label_width1, label_height));
+        panel2.add(jLabel4, new AbsoluteConstraints(label_x_1, 90, label_width, label_height));
+        panel2.add(jLabel5, new AbsoluteConstraints(label_x_2, 90, label_width1, label_height));
+        panel2.add(jLabel6, new AbsoluteConstraints(label_x_1, 125, label_width, label_height));
+        panel2.add(jLabel7, new AbsoluteConstraints(label_x_2, 125, label_width1, label_height));
+        panel2.add(jLabel8, new AbsoluteConstraints(label_x_1, 160, label_width, label_height));
+        panel2.add(jLabel9, new AbsoluteConstraints(label_x_2, 160, label_width1, label_height));
+        panel2.add(jLabel10, new AbsoluteConstraints(label_x_1, 195, label_width, label_height));
+        panel2.add(jLabel11, new AbsoluteConstraints(label_x_2, 195, label_width1, label_height));
+        panel2.add(jLabel12, new AbsoluteConstraints(label_x_1, 230, label_width, label_height));
+        panel2.add(jLabel13, new AbsoluteConstraints(label_x_2, 230, label_width1, label_height));
+        panel2.add(jLabel14, new AbsoluteConstraints(label_x_1, 265, label_width, label_height));
+        panel2.add(jLabel15, new AbsoluteConstraints(label_x_2, 265, label_width1, label_height));
+        panel2.add(jLabel16, new AbsoluteConstraints(label_x_1, 300, label_width, label_height));
+        panel2.add(jLabel17, new AbsoluteConstraints(label_x_2, 300, label_width1, label_height));
+        panel2.add(jLabel18, new AbsoluteConstraints(label_x_1, 335, label_width, label_height));
+        panel2.add(jLabel19, new AbsoluteConstraints(label_x_2, 335, label_width1, label_height));
+        panel2.add(jLabel20, new AbsoluteConstraints(label_x_1, 370, label_width, label_height));
+        panel2.add(jLabel21, new AbsoluteConstraints(label_x_2, 370, label_width1, label_height));
+        panel2.add(jLabel22, new AbsoluteConstraints(label_x_1, 405, label_width, label_height));
+        panel2.add(jComboBox2, new AbsoluteConstraints(label_x_2, 405, label_width1, label_height));
+        
+        
+        ////////////////////////////////////////////// first & last five
+        
+        panel2.add(jLabel23, new AbsoluteConstraints(label_x_1, 440, label_width, 30));
+        panel2.add(jTextPane1, new AbsoluteConstraints(label_x_2, 440, 200, 125));
+
+        panel2.add(jLabel25, new AbsoluteConstraints(label_x_1, 570, label_width, 30));
+        panel2.add(jTextPane2, new AbsoluteConstraints(label_x_2, 570, 200, 125));
+        
+        panel2.add(jButton2, new AbsoluteConstraints(30, 685, 185, 30));
+        panel2.add(jButton3, new AbsoluteConstraints(235, 685, 185, 30));     
+        
+        //////----------------------------THIRD panel
+        
+        jComboBox3.addItemListener(new SummaryPanel_jComboBox3_itemAdapter(this));
+        jLabel32.setText("Metadata Set: ");
+        jLabel32.setFont(new java.awt.Font("Times New Roman", Font.BOLD, label_font_size));
+        
+        jLabel33.setText("Indexes");
+        jLabel33.setFont(new java.awt.Font("Times New Roman", Font.BOLD, label_font_size));
+        
+        jLabel34.setText("Completeness");
+        jLabel34.setFont(new java.awt.Font("Times New Roman", Font.BOLD, label_font_size));
+        
+        jButton7.setText("Statistics");
+        jButton7.setBorder(BorderFactory.createLineBorder(Color.DARK_GRAY));
+        //jButton6.addActionListener(new SummaryPanel_jButton7_Adapter(this));
+        ActionListener doIt7 = new ActionListener() {
+            public void actionPerformed(ActionEvent ae) {
+          	  jButton7_actionPerformed(ae);
+            }
+          };
+          ActionListener cursorDoIt7 = CursorController.createListener(this, doIt7);
+          jButton7.addActionListener(cursorDoIt7);
+          
+        jButton6.setText("Indexs");
+        jButton6.setBorder(BorderFactory.createLineBorder(Color.DARK_GRAY));
+        //jButton6.addActionListener(new SummaryPanel_jButton6_Adapter(this));
+        ActionListener doIt6 = new ActionListener() {
+            public void actionPerformed(ActionEvent ae) {
+          	  jButton6_actionPerformed(ae);
+            }
+          };
+          ActionListener cursorDoIt6 = CursorController.createListener(this, doIt6);
+          jButton6.addActionListener(cursorDoIt6);
+          
+        jComboBox3.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 16));
+      
+        jList2 = new JList();
+        jList2.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 16));
+        
+        jLabel43.setText("Hide Empty Metadata Element");
+        jLabel43.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 12));
+        
+        jLabel44.setText("Hide Completed Metadata Element ");
+        jLabel44.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 12));
+        
+        jLabel45.setText("Hide Document with empty metadata element set");
+        jLabel45.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 12));
+        
+        jLabel46.setText("Hide Document with completed metadata element set");
+        jLabel46.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 12));
+        
+        jButton10.setText("Customized");
+        jButton10.setPreferredSize(new Dimension(150,20));
+        jButton10.setBorder(BorderFactory.createLineBorder(Color.DARK_GRAY));
+        //jButton10.addActionListener(new SummaryPanel_jButton10_Adapter(this));
+        ActionListener doIt10 = new ActionListener() {
+            public void actionPerformed(ActionEvent ae) {
+          	  jButton10_actionPerformed(ae);
+            }
+          };
+          ActionListener cursorDoIt10 = CursorController.createListener(this, doIt10);
+          jButton10.addActionListener(cursorDoIt10);
+        
+        JComponent panel3 = new JPanel();
+        panel3.setLayout(new AbsoluteLayout());
+        panel3.add(jLabel32, new AbsoluteConstraints(label_x_1, 20, label_width1, label_height));
+        panel3.add(jComboBox3, new AbsoluteConstraints(label_x_2, 20, label_width1, label_height));
+        panel3.add(jLabel33, new AbsoluteConstraints(label_x_1, 80, label_width, label_height));
+        panel3.add(jLabel34, new AbsoluteConstraints(250, 80, label_width1, label_height));
+        panel3.add(new JScrollPane(jList2), new AbsoluteConstraints(label_x_1, 120, 450, 250));
+                
+        panel3.add(jButton6,new AbsoluteConstraints(50,650,100,30));
+        panel3.add(jButton7,new AbsoluteConstraints(160,650,100,30));
+        panel3.add(jButton10,new AbsoluteConstraints(270,650,100,30));
+        
+        JPanel panel5 = new JPanel();
+        panel5.setLayout(new AbsoluteLayout());
+        panel5.setBorder(BorderFactory.createLineBorder(Color.black));
+        
+        panel5.add(jLabel43,new AbsoluteConstraints(35,5,250,label_height));
+        panel5.add(jLabel44,new AbsoluteConstraints(35,40,250,label_height));
+        panel5.add(jLabel45,new AbsoluteConstraints(35,75,250,label_height));
+        panel5.add(jLabel46,new AbsoluteConstraints(35,110,250,label_height));
+        
+        panel5.add(jCheckBox5,new AbsoluteConstraints(10,7,20,20));
+        panel5.add(jCheckBox6,new AbsoluteConstraints(10,42,20,20));
+        panel5.add(jCheckBox7,new AbsoluteConstraints(10,77,20,20));
+        panel5.add(jCheckBox8,new AbsoluteConstraints(10,112,20,20));
+
+        panel3.add(panel5, new AbsoluteConstraints(label_x_1, 410, 450, 150));
+   
+        //Add the tabbed pane to this panel.
+        add(tabbedPane);
+
+        tabbedPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);
+	
+        //Add the tabbed pane to this panel.
+        add(tabbedPane);
+	
+        //The following line enables to use scrolling tabs.
+        tabbedPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);
+	
+        tabbedPane.addTab("Overall Statistics", panel1);
+        tabbedPane.addTab("Element Information", panel2);
+        tabbedPane.addTab("Metadata Set", panel3);
+	
+        tabbedPane.setPreferredSize(new Dimension(550, 750));
+        this.setPreferredSize(new Dimension(570, 750));
+        //Add the tabbed pane to this panel.
+        tabbedPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);
+
+        overallPageUpdate();
+        updateSingleMetadataSetPage();
+    }
+    
+    
+    protected JComponent makeTextPanel(String text) {
+        JPanel panel = new JPanel(false);
+        JLabel filler = new JLabel(text);
+        filler.setHorizontalAlignment(JLabel.CENTER);
+        panel.setLayout(new GridLayout(1, 1));
+        panel.add(filler);
+        return panel;
+    }
+    
+    // Variable declaration
+    JTabbedPane tabbedPane = new JTabbedPane();
+    JTable jTable1 = new JTable();
+    
+    //String[] columnNames1 = {"Element","No.of element used","No. of record containing element", "Mean","Median","Unique Value"};
+    //String[] columnNames2 = {"Element","Min","Max","Avg","Mode","Mode frequency"};
+    String[] columnNames = {"Element","Total times element used","No. of record \ncontaining element", "Mean","Median","Unique Value","Min","Max","Avg","Mode","Mode frequency"};
+    String[] sortOptions = {"ASCII","Frequency-based"};
+    //String[] mds = {"Dublin","Extracted"};
+
+    //CardLayout cardLayout1 = new CardLayout();
+    JLabel jLabel1 = new JLabel();
+    JLabel jLabel2 = new JLabel();
+    JLabel jLabel3 = new JLabel();
+    JLabel jLabel4 = new JLabel();
+    JLabel jLabel5 = new JLabel();
+    JLabel jLabel6 = new JLabel();
+    JLabel jLabel7 = new JLabel();
+    JLabel jLabel8 = new JLabel();
+    JLabel jLabel9 = new JLabel();
+    JLabel jLabel10 = new JLabel();
+    JLabel jLabel11 = new JLabel();
+    JLabel jLabel12 = new JLabel();
+    JLabel jLabel13 = new JLabel();
+    JLabel jLabel14 = new JLabel();
+    JLabel jLabel15 = new JLabel();
+    JLabel jLabel16 = new JLabel();
+    JLabel jLabel17 = new JLabel();
+    JLabel jLabel18 = new JLabel();
+    JLabel jLabel19 = new JLabel();
+    JLabel jLabel20 = new JLabel();
+    JLabel jLabel21 = new JLabel();
+    JLabel jLabel22 = new JLabel();
+    JLabel jLabel23 = new JLabel();
+    JLabel jLabel24 = new JLabel();
+    JLabel jLabel25 = new JLabel();
+    JLabel jLabel26 = new JLabel();
+    /////////////////////////// -- more
+    JLabel jLabel27 = new JLabel();//left panel1
+    JLabel jLabel28 = new JLabel();
+    JLabel jLabel29 = new JLabel();
+    JLabel jLabel30 = new JLabel();
+    JLabel jLabel31 = new JLabel();
+    
+    JLabel jLabel35 = new JLabel(); //right
+    JLabel jLabel36 = new JLabel();
+    JLabel jLabel37 = new JLabel();
+    JLabel jLabel38 = new JLabel();
+    JButton jButton8 = new JButton();
+    JButton jButton9 = new JButton();
+    
+    JCheckBox jCheckBox1 = new JCheckBox();
+    JCheckBox jCheckBox2 = new JCheckBox();
+    JCheckBox jCheckBox3 = new JCheckBox();
+    JCheckBox jCheckBox4 = new JCheckBox();
+    JLabel jLabel39 = new JLabel();
+    JLabel jLabel40 = new JLabel();
+    JLabel jLabel41 = new JLabel();
+    JLabel jLabel42 = new JLabel();
+    JButton jButton11 = new JButton();
+    
+    JLabel jLabel32 = new JLabel();//panel3
+    JLabel jLabel33 = new JLabel();
+    JLabel jLabel34 = new JLabel();
+    JButton jButton6 = new JButton();
+    JButton jButton7 = new JButton();
+
+    JCheckBox jCheckBox5 = new JCheckBox();
+    JCheckBox jCheckBox6 = new JCheckBox();
+    JCheckBox jCheckBox7 = new JCheckBox();
+    JCheckBox jCheckBox8 = new JCheckBox();
+    
+    JLabel jLabel43 = new JLabel();
+    JLabel jLabel44 = new JLabel();
+    JLabel jLabel45 = new JLabel();
+    JLabel jLabel46 = new JLabel();
+    JButton jButton10 = new JButton();
+    ///////////////////////////////--more ends
+    JButton jButton1 = new JButton();
+    JButton jButton2 = new JButton();
+    JButton jButton3 = new JButton();
+    JButton jButton4 = new JButton();
+    JButton jButton5 = new JButton();
+    JTextPane jTextPane1 = new JTextPane(); 
+    JTextPane jTextPane2 = new JTextPane(); 
+    
+    JTextArea jTextArea1 = new JTextArea();
+    JTextArea jTextArea2 = new JTextArea();
+    Color cl =Color.black;
+    String[] elements;
+    String[] MDS_list;
+    
+    JComboBox jComboBox1;
+    JComboBox jComboBox2;
+    JComboBox jComboBox3; 
+    
+
+    
+    JList jList1;
+    JList jList2;
+    
+    public void jComboBox1_itemStateChanged(ItemEvent e) {
+	//Object item = e.getItem();
+	jLabel21.setText(dmx.getDocNum()+"");
+	update(jComboBox1.getSelectedItem().toString(),jComboBox2.getSelectedItem().toString());
+	FirstAndLastFive(jComboBox1.getSelectedItem().toString(),jComboBox2.getSelectedItem().toString());
+    }
+    
+    public void jComboBox2_itemStateChanged(ItemEvent e) {
+    	FirstAndLastFive(jComboBox1.getSelectedItem().toString(),jComboBox2.getSelectedItem().toString());
+    }
+    
+    public void jComboBox3_itemStateChanged(ItemEvent e) {
+    	updateSingleMetadataSetPage();
+    }
+    
+    private void updateSingleMetadataSetPage(){
+
+    	DataMaker dm = new DataMaker(ms);
+    	dm.setTotalDocNumber();
+
+    	String mdsIndexsName = jComboBox3.getSelectedItem().toString();
+    	HashMap hp = ms.getMetadataSetMap();
+    	MetadataSet msx = (MetadataSet)hp.get(mdsIndexsName);
+    	ArrayList nameList = msx.getIndexsList();
+    	String[][] MetadataData = new String[nameList.size()][2]; 
+    	for(int i = 0; i<nameList.size(); i++){
+    		MetadataData[i][0] = (String)nameList.get(i);
+    		MetadataData[i][1] = new String(dm.Mean((String)nameList.get(i))+" %");
+    		if(MetadataData[i][1].indexOf(".")==2){
+    			MetadataData[i][1] = "  "+MetadataData[i][1];
+    		}
+    		else if(MetadataData[i][1].indexOf(".")==1){
+    			MetadataData[i][1] = "    "+MetadataData[i][1];
+    		}
+    	}
+    	jList2.setListData(MetadataData);
+    	jList2.setCellRenderer(new MyCellRenderer()); 
+    	jListDataModel.put("jList2",MetadataData);
+
+    }
+    private void FirstAndLastFive(String element_name, String sort){
+    	DataMaker dm = new DataMaker(ms);
+    	dm.setTotalDocNumber();
+    	
+    	String[] temp = dm.getSortList(element_name,sort);
+    	String[] temp2 = {" "," "," "," "," "};
+    	int length = 0;
+    	if(temp.length>=5){length=5;}
+    	else if(temp.length<5){length = temp.length;}
+            
+    	for(int i =0; i<length; i++){
+    	    temp2[i] = temp[i];
+    	}
+
+    	jTextPane1.setText("");
+    	jTextPane1.setText("1. "+temp2[0]+"\n2. "+temp2[1]+"\n3. "+temp2[2]+"\n4. "+temp2[3]+"\n5. "+temp2[4]);  
+    	 	
+    	// Last five value
+    	String[] temp3 = {" "," "," "," "," "};
+    	length = 0;
+    	int start = temp.length;
+    	if(temp.length>=5){length= 5;}
+    	else if(temp.length<5){length = temp.length;}
+            
+    	for(int i = 0; i<length; i++){
+    	    temp3[i] = temp[start-1];
+    	    start--;
+    	}
+
+    	jTextPane2.setText("");
+    	jTextPane2.setText("1. "+temp3[0]+"\n2. "+temp3[1]+"\n3. "+temp3[2]+"\n4. "+temp3[3]+"\n5. "+temp3[4]);  
+    	
+    }
+    
+    private void overallPageUpdate(){
+    	DataMaker dm = new DataMaker(ms);
+
+    	jTextArea2.setText("");
+    	ArrayList wholeList = new ArrayList();
+    	HashMap hp = ms.getMetadataSetMap();
+    	Collection c = hp.values();
+    	Iterator i = c.iterator();
+    	//System.out.println(hp.size()+" 111?");
+    	int counter = 0;
+    	String[][] MetadataData = new String[c.size()][2];
+    	while(i.hasNext()){
+    		MetadataSet mds  = (MetadataSet)i.next();
+    		//System.out.println(mds.getName());
+    		wholeList.add(mds);
+    		ArrayList newMDS  = new ArrayList();
+    		newMDS.add(mds);
+    		MetadataData[counter][0] = mds.getName();
+    		//System.out.println(MetadataData[counter][0]);
+    		//System.out.println(MetadataData[counter][0]+"????"+newMDS.size());
+    		MetadataData[counter][1] = dm.getSingleMetadataSetCompleteness(newMDS)+" %";
+    		//System.out.println(MetadataData[counter][1]);
+    		counter++;
+    	}
+    	System.out.println(hp.size()+" 222?");
+    	jLabel35.setText(dm.getDocNum()+"");
+    	jLabel36.setText(ms.getMetadataSetMap().size()+"");
+    	jLabel37.setText(dm.getSingleMetadataSetCompleteness(wholeList)+" %");
+    	jList1.setListData(MetadataData);
+    	jList1.setCellRenderer(new MyCellRenderer()); 
+    	jListDataModel.put("jList1",MetadataData);
+    }
+    
+    static class MyCellRenderer extends JPanel implements ListCellRenderer{ 
+        JLabel left, middle, right; 
+        MyCellRenderer() { 
+           setLayout(new GridLayout(1, 2)); 
+           left = new JLabel(); 
+           
+           right = new JLabel(); 
+           left.setOpaque(true); 
+
+           right.setOpaque(true); 
+           add(left); 
+           add(right); 
+        } 
+         
+        public Component getListCellRendererComponent(JList list,Object value,int index,boolean isSelected,boolean cellHasFocus){ 
+           String leftData    = ((String[])value)[0]; 
+           String rightData    = ((String[])value)[1]; 
+           left.setText(leftData); 
+
+           right.setText(rightData); 
+           if(isSelected){ 
+              left.setBackground(list.getSelectionBackground()); 
+              left.setForeground(list.getSelectionForeground()); 
+              right.setBackground(list.getSelectionBackground()); 
+              right.setForeground(list.getSelectionForeground()); 
+           } 
+           else{ 
+              left.setBackground(list.getBackground()); 
+              left.setForeground(list.getForeground()); 
+              right.setBackground(list.getBackground()); 
+              right.setForeground(list.getForeground()); 
+           } 
+           setEnabled(list.isEnabled()); 
+           setFont(list.getFont()); 
+           return this; 
+        } 
+     }
+    private void update(String element_name, String sort){
+	DataMaker dm = new DataMaker(ms);
+	dm.setTotalDocNumber();
+	
+	
+	jLabel3.setText(dm.getDistinctNumber(element_name)+"");
+	jLabel5.setText(dm.getFrequency(element_name)+"");
+	jLabel7.setText(dm.getDocumentUsedElement(element_name)+"");
+	jLabel9.setText(dm.Mean(element_name)+"");
+	jLabel11.setText(dm.Median(element_name)+"");
+	jLabel13.setText(dm.getMinRange(element_name)+"");
+	jLabel15.setText(dm.getMaxRange(element_name)+"");
+	jLabel17.setText(dm.Average(element_name)+"");
+	jLabel19.setText(dm.getMode(element_name)+"");
+	jLabel21.setText(dm.ModeFrequency(element_name)+"");
+    }	
+    
+    public void jButton1_actionPerformed(ActionEvent actionevent) {
+
+    	ArrayList alist = new ArrayList();
+    	for(int a = 0; a<elements.length; a++){
+    		alist.add(dmx.getMetadataRows(elements[a]));
+    	}
+
+    	String[] ids = dmx.getDocumentIDs("archivedir");
+    	new DrawSymbolAxis("Total Document: "+totalDocument +" Total Element:"+totalMetadataElement + " Total Metadata Item:"+totalMetadataItem,elements,ids,alist);
+    }
+    
+    
+    public void jButton2_actionPerformed(ActionEvent actionevent) {
+    	String item = jComboBox1.getSelectedItem().toString();
+    	new DrawXYChart("",item,dmx.getDistinctValueMap(item),1);
+    }
+    
+    public void jButton3_actionPerformed(ActionEvent actionevent) {
+    	String item = jComboBox1.getSelectedItem().toString();
+    	new DrawXYChart("",item,dmx.getDocFrequencyMap(item),2);
+    }
+    
+    public void jButton6_actionPerformed(ActionEvent actionevent) {
+    	String mdsName = jComboBox3.getSelectedItem().toString();
+    	HashMap hp = ms.getMetadataSetMap();
+    	MetadataSet msx = (MetadataSet)hp.get(mdsName);
+    	ArrayList al = msx.getIndexsList();
+    	String[] tempx = new String[al.size()];
+     	
+    	for(int a = 0; a<al.size(); a++){
+    		tempx[a] = (String)al.get(a);
+    	}
+    	//String item = tempx[0];
+    	ArrayList alist = new ArrayList();
+    	for(int a = 0; a<tempx.length; a++){
+    		alist.add(dmx.getMetadataRows(tempx[a]));
+    	}
+    	//String[] ids = dmx.getDocumentIDs(item);
+    	String[] ids = dmx.getDocumentIDs("archivedir");
+    	int totalDoc = ids.length;
+    	int totalElement = tempx.length;
+    	int totalItem = totalDoc * totalElement;
+    	new DrawSymbolAxis("Total Document: "+ totalDoc +" Total Element:"+totalElement  + " Total Metadata Item:"+totalItem,tempx,ids,alist);
+    }
+    
+    public void jButton7_actionPerformed(ActionEvent actionevent) {
+    	
+    	DataMaker dm = new DataMaker(ms);
+    	String mdsName = jComboBox3.getSelectedItem().toString();
+    	HashMap hp = ms.getMetadataSetMap();
+    	MetadataSet mds = (MetadataSet)hp.get(mdsName);
+    	ArrayList alist = mds.getIndexsList();
+    	Object[][] dataset = dm.getMetadataInfo(mds);
+    	new metadatatable(columnNames,dataset);
+    }
+    
+    public void jButton8_actionPerformed(ActionEvent actionevent) {
+    	DataMaker dm = new DataMaker(ms);
+    	Object[][] dataset = dm.AllInformation();
+    	new metadatatable(columnNames,dataset);
+    }
+    
+    public void jButton9_actionPerformed(ActionEvent actionevent) {
+    	DataMaker dm = new DataMaker(ms);
+    	String[] metaDataElementName = (String[])elements.clone();	
+    	//String item = metaDataElementName[0]; //metadataElement Name
+    	//String[] ids = dmx.getDocumentIDs(item).clone();
+    	String[] ids = dmx.getDocumentIDs("archivedir");
+    	
+    	ArrayList alist = new ArrayList();
+    	for(int a = 0; a<elements.length; a++){
+    		alist.add(dmx.getMetadataRows(elements[a]));
+    	}
+    	
+    	int totalDocx = ids.length;
+    	int totalElementx = elements.length;
+    	int totalItemx = totalDocx * totalElementx;
+    	
+    	if(jCheckBox1.isSelected() == false && jCheckBox2.isSelected() == false && jCheckBox3.isSelected() == false && jCheckBox4.isSelected() == false){
+    		new DrawSymbolAxis("Total Document: "+ totalDocx +" Total Element:"+totalElementx  + " Total Metadata Item:"+totalItemx,elements,ids,alist);
+    	}
+    	
+    	else{
+    	ArrayList nameList = new ArrayList();
+    	
+    	
+    	if(jCheckBox1.isSelected() == true){
+        	alist = new ArrayList();
+        	nameList = new ArrayList();
+    		for(int i = 0; i< metaDataElementName.length; i++){
+    			if(!dm.IsElementEmpty(metaDataElementName[i])){
+    				alist.add(dmx.getMetadataRows(metaDataElementName[i]));
+    				nameList.add(metaDataElementName[i]);
+    			}
+    		}
+    		metaDataElementName = new String[nameList.size()];
+    		for(int i = 0; i< nameList.size(); i++){
+    			metaDataElementName[i] = nameList.get(i).toString();
+    		}
+    		
+    	}
+    	
+
+    	if(jCheckBox2.isSelected() == true){
+        	alist = new ArrayList();
+        	nameList = new ArrayList();
+    		for(int i = 0; i< metaDataElementName.length; i++){
+    			if(!dm.IsElementFull(metaDataElementName[i])){
+    				alist.add(dmx.getMetadataRows(metaDataElementName[i]));
+    				nameList.add(metaDataElementName[i]);
+    			}
+    		}
+    		metaDataElementName = new String[nameList.size()];
+    		for(int i = 0; i< nameList.size(); i++){
+    			metaDataElementName[i] = nameList.get(i).toString();
+    		}
+    }
+    	
+    	if(jCheckBox3.isSelected() == true){
+    		System.out.println(ids.length+" check3");
+    		alist = dmx.removeDocument(alist, ids, 0);
+    		ArrayList idList = dmx.getRemovedID();
+    		ArrayList newIDList = new ArrayList();
+    		for(int i = 0; i< ids.length; i++){
+    	  			if(!idList.contains(ids[i])){
+    	  				newIDList.add(ids[i]);
+    	  			}
+    		}
+    		ids = new String[newIDList.size()];
+    		for(int i = 0; i<newIDList.size(); i++){
+    			ids[i] = newIDList.get(i).toString();
+    		}
+
+    	}
+    	
+    	if(jCheckBox4.isSelected() == true){
+    		System.out.println(ids.length+" check4-1");
+    		alist = dmx.removeDocument(alist, ids ,1);
+    		ArrayList idList = dmx.getRemovedID();
+    		System.out.println(idList.size()+" check4-2");
+    		ArrayList newIDList = new ArrayList();
+    		for(int i = 0; i< ids.length; i++){
+    	  			if(!idList.contains(ids[i])){
+    	  				newIDList.add(ids[i]);
+    	  			}
+    		}
+    		ids = new String[newIDList.size()];
+    		for(int i = 0; i<newIDList.size(); i++){
+    			ids[i] = newIDList.get(i).toString();
+    		}
+
+    	}
+    	
+    	
+    	totalDocx = ids.length;
+    	totalElementx = metaDataElementName.length;
+    	totalItemx = totalDocx * totalElementx;
+    	new DrawSymbolAxis("Total Document: "+ totalDocx +" Total Element:"+totalElementx  + " Total Metadata Item:"+totalItemx,metaDataElementName,ids,alist);
+    	}
+    	System.out.println(jList1.getModel().getSize());
+    	System.out.println(jCheckBox2.isSelected());
+    	System.out.println(jCheckBox3.isSelected());
+    	System.out.println(jCheckBox4.isSelected()+"\n\n");
+    }
+    
+    
+    public void jButton10_actionPerformed(ActionEvent actionevent) {
+    	System.out.println(" j button 10 is pressed");
+    	System.out.println(jList2.getSelectedIndices().length);
+    	DataMaker dm = new DataMaker(ms);
+    	String elemenetName = jComboBox3.getSelectedItem().toString();
+    	System.out.println(elemenetName);
+    	HashMap elementMap = ms.getMetadataSetMap();
+    	MetadataSet elementSet = (MetadataSet)elementMap.get(elemenetName);
+    	//System.out.println(elementSet.getIndexsList().size());
+    	ArrayList alist2 = elementSet.getIndexsList();
+    	String[] metaDataElementName = new String[alist2.size()];
+    	for(int i = 0; i< alist2.size(); i++){
+    		metaDataElementName[i] = alist2.get(i).toString();
+    		System.out.println(metaDataElementName[i]);
+    	}
+    	
+    	//String item = metaDataElementName[0]; //metadataElement Name
+    	//String[] ids = dmx.getDocumentIDs(item);
+    	String[] ids = dmx.getDocumentIDs("archivedir");
+    	
+    	ArrayList alist = new ArrayList();
+    	for(int a = 0; a<metaDataElementName.length; a++){
+    		alist.add(dmx.getMetadataRows(metaDataElementName[a]));
+    	}
+    	if(jList2.getSelectedIndices().length>0){
+    		//hhhhhhhhhh
+    		int[] location = jList2.getSelectedIndices();
+    		String[][] list = (String[][])jListDataModel.get("jList2");
+    		metaDataElementName = new String[location.length];
+        	for(int i = 0; i< location.length; i++){
+        		int x = location[i];
+        		metaDataElementName[i] = list[x][0];
+        		System.out.println(metaDataElementName[i]);
+        	}
+        	//item = metaDataElementName[0];
+        	//ids = dmx.getDocumentIDs(item);
+        	ids = dmx.getDocumentIDs("archivedir");
+    		//metaDataElementName = jList2
+    	}
+    	
+    	int totalDocx = ids.length;
+    	int totalElementx = metaDataElementName.length;
+    	int totalItemx = totalDocx * totalElementx;
+    	
+    	if(jCheckBox5.isSelected() == false && jCheckBox6.isSelected() == false && jCheckBox7.isSelected() == false && jCheckBox8.isSelected() == false){
+    		new DrawSymbolAxis("Total Document: "+ totalDocx +" Total Element:"+totalElementx  + " Total Metadata Item:"+totalItemx,metaDataElementName,ids,alist);
+    	}
+    	
+    	else{
+
+    	ArrayList nameList = new ArrayList();
+    	
+    	
+    	if(jCheckBox5.isSelected() == true){
+        	alist = new ArrayList();
+        	nameList = new ArrayList();
+    		for(int i = 0; i< metaDataElementName.length; i++){
+    			//System.out.println(dm.IsElementEmpty(metaDataElementName[i])+ "  element1 "+ metaDataElementName[i]);
+    			if(!dm.IsElementEmpty(metaDataElementName[i])){
+    				alist.add(dmx.getMetadataRows(metaDataElementName[i]));
+    				nameList.add(metaDataElementName[i]);
+    			}
+    		}
+    		metaDataElementName = new String[nameList.size()];
+    		for(int i = 0; i< nameList.size(); i++){
+    			metaDataElementName[i] = nameList.get(i).toString();
+    		}
+
+    	}
+    	
+
+    	if(jCheckBox6.isSelected() == true){
+        	alist = new ArrayList();
+        	nameList = new ArrayList();
+    		for(int i = 0; i< metaDataElementName.length; i++){
+    			//System.out.println(dm.IsElementFull(metaDataElementName[i])+ "  element2 "+ metaDataElementName[i]);
+    			if(!dm.IsElementFull(metaDataElementName[i])){
+    				alist.add(dmx.getMetadataRows(metaDataElementName[i]));
+    				nameList.add(metaDataElementName[i]);
+    			}
+    		}
+    		metaDataElementName = new String[nameList.size()];
+    		for(int i = 0; i< nameList.size(); i++){
+    			metaDataElementName[i] = nameList.get(i).toString();
+    		}
+
+    	}
+    	
+    	if(jCheckBox7.isSelected() == true){
+    		alist = dmx.removeDocument(alist, ids , 0);
+    		ArrayList idList = dmx.getRemovedID();
+    		ArrayList newIDList = new ArrayList();
+    		for(int i = 0; i< ids.length; i++){
+    	  			if(!idList.contains(ids[i])){
+    	  				newIDList.add(ids[i]);
+    	  			}
+    		}
+    		ids = new String[newIDList.size()];
+    		for(int i = 0; i<newIDList.size(); i++){
+    			ids[i] = newIDList.get(i).toString();
+    		}
+
+    	}
+    	
+    	if(jCheckBox8.isSelected() == true){
+    		alist = dmx.removeDocument(alist, ids , 1);
+    		ArrayList idList = dmx.getRemovedID();
+    		ArrayList newIDList = new ArrayList();
+    		for(int i = 0; i< ids.length; i++){
+    	  			if(!idList.contains(ids[i])){
+    	  				newIDList.add(ids[i]);
+    	  			}
+    		}
+    		ids = new String[newIDList.size()];
+    		for(int i = 0; i<newIDList.size(); i++){
+    			ids[i] = newIDList.get(i).toString();
+    		}
+
+    	}
+    	
+    	totalDocx = ids.length;
+    	totalElementx = metaDataElementName.length;
+    	totalItemx = totalDocx * totalElementx;
+    	
+    	new DrawSymbolAxis("Total Document: "+ totalDocx +" Total Element:"+totalElementx  + " Total Metadata Item:"+totalItemx,metaDataElementName,ids,alist);
+    	}
+    	
+
+    }
+    
+    
+    public void jButton11_actionPerformed(ActionEvent actionevent) {
+    	
+    	/*
+    	//long startTime=System.currentTimeMillis();	
+    	DataMaker dm = new DataMaker(ms);
+    	String[] metaDataElementName = (String[])elements.clone();	
+    	String item = metaDataElementName[0]; //metadataElement Name
+    	//String[] ids = dm.getDocumentIDs(item);
+    	String[] ids = dmx.getDocumentIDs("archivedir");
+    	
+    	ArrayList alist = new ArrayList();
+    	for(int a = 0; a<elements.length; a++){
+    		alist.add(dm.getMetadataRows(elements[a]));
+    	}
+    	//System.out.println(alist.size()+ " " +ids.length+" "+metaDataElementName.length);   	
+    	PrintHTML phtml = new PrintHTML(ms);
+
+    	long startTime=System.currentTimeMillis();
+    	phtml.generateAllPossibleGraph(alist,ids,metaDataElementName,"extracted");
+    	phtml.generateAllPossibleGraph(alist,ids,metaDataElementName,"dublin");
+    	phtml.generateAllPossibleGraph(alist,ids,metaDataElementName,"both");
+    	long endTime=System.currentTimeMillis();
+    	System.out.println("Total time taken for generating overall Statistics Page "+(endTime-startTime)+ " millisec");
+
+    	//phtml.generateAllPossibleGraph(alist,ids,metaDataElementName);
+ 
+    	//startTime=System.currentTimeMillis();
+    	phtml.generateOverallStatisticsPage();
+    	//endTime=System.currentTimeMillis();
+    	//System.out.println("Total time taken for generating overall Statistics Page "+(endTime-startTime)+ " millisec");
+    	//System.out.println("hello" + dmx.Mean("dc.Title"));
+    	Collection cx = ms.getMetadataSetMap().values();
+    	Iterator ix = cx.iterator();
+    	//startTime=System.currentTimeMillis();
+    	while(ix.hasNext()){
+    		MetadataSet temp = (MetadataSet)ix.next();
+    		phtml.WriteMetadataSetDetailHTML(temp);
+    		phtml.generateMetadataElementDetailPage(temp);
+    	}
+    	//endTime=System.currentTimeMillis();
+    	//System.out.println("Total time taken for generating metadata set detail Page "+(endTime-startTime)+ " millisec");
+    	//long endTime=System.currentTimeMillis();
+    	//System.out.println("Total time taken for generating all Possible Graph "+(endTime-startTime)+ " millisec");
+    */
+    
+    }
+
+}	
+
+
+class SummaryPanel_jComboBox1_itemAdapter implements ItemListener {
+    private SummaryPanel adaptee;
+    SummaryPanel_jComboBox1_itemAdapter(SummaryPanel adaptee) {
+        this.adaptee = adaptee;
+    }
+    
+    public void itemStateChanged(ItemEvent e) {
+        adaptee.jComboBox1_itemStateChanged(e);
+    }
+}
+
+class SummaryPanel_jComboBox2_itemAdapter implements ItemListener {
+    private SummaryPanel adaptee;
+    SummaryPanel_jComboBox2_itemAdapter(SummaryPanel adaptee) {
+        this.adaptee = adaptee;
+    }
+    
+    public void itemStateChanged(ItemEvent e) {
+        adaptee.jComboBox2_itemStateChanged(e);
+    }
+}
+
+class SummaryPanel_jComboBox3_itemAdapter implements ItemListener {
+    private SummaryPanel adaptee;
+    SummaryPanel_jComboBox3_itemAdapter(SummaryPanel adaptee) {
+        this.adaptee = adaptee;
+    }
+    
+    public void itemStateChanged(ItemEvent e) {
+        adaptee.jComboBox3_itemStateChanged(e);
+    }
+}
+
+class SummaryPanel_jButton1_Adapter implements ActionListener {
+    private SummaryPanel adaptee;
+    SummaryPanel_jButton1_Adapter(SummaryPanel adaptee) {
+        this.adaptee = adaptee;
+    }
+    
+    public void actionPerformed(ActionEvent e) {
+        adaptee.jButton1_actionPerformed(e);
+    }
+}
+
+class SummaryPanel_jButton2_Adapter implements ActionListener {
+    private SummaryPanel adaptee;
+    SummaryPanel_jButton2_Adapter(SummaryPanel adaptee) {
+        this.adaptee = adaptee;
+    }
+    
+    public void actionPerformed(ActionEvent e) {
+        adaptee.jButton2_actionPerformed(e);
+    }
+}
+
+class SummaryPanel_jButton3_Adapter implements ActionListener {
+    private SummaryPanel adaptee;
+    SummaryPanel_jButton3_Adapter(SummaryPanel adaptee) {
+        this.adaptee = adaptee;
+    }
+    
+    public void actionPerformed(ActionEvent e) {
+        adaptee.jButton3_actionPerformed(e);
+    }
+}
+
+class SummaryPanel_jButton6_Adapter implements ActionListener {
+    private SummaryPanel adaptee;
+    SummaryPanel_jButton6_Adapter(SummaryPanel adaptee) {
+        this.adaptee = adaptee;
+    }
+    
+    public void actionPerformed(ActionEvent e) {
+        adaptee.jButton6_actionPerformed(e);
+    }
+}
+
+class SummaryPanel_jButton7_Adapter implements ActionListener {
+    private SummaryPanel adaptee;
+    SummaryPanel_jButton7_Adapter(SummaryPanel adaptee) {
+        this.adaptee = adaptee;
+    }
+    
+    public void actionPerformed(ActionEvent e) {
+        adaptee.jButton7_actionPerformed(e);
+    }
+}
+
+class SummaryPanel_jButton8_Adapter implements ActionListener {
+    private SummaryPanel adaptee;
+    SummaryPanel_jButton8_Adapter(SummaryPanel adaptee) {
+        this.adaptee = adaptee;
+    }
+    
+    public void actionPerformed(ActionEvent e) {
+        adaptee.jButton8_actionPerformed(e);
+    }
+}
+
+class SummaryPanel_jButton9_Adapter implements ActionListener {
+    private SummaryPanel adaptee;
+    SummaryPanel_jButton9_Adapter(SummaryPanel adaptee) {
+        this.adaptee = adaptee;
+    }
+    
+    public void actionPerformed(ActionEvent e) {
+        adaptee.jButton9_actionPerformed(e);
+    }
+}
+
+class SummaryPanel_jButton10_Adapter implements ActionListener {
+    private SummaryPanel adaptee;
+    SummaryPanel_jButton10_Adapter(SummaryPanel adaptee) {
+        this.adaptee = adaptee;
+    }
+    
+    public void actionPerformed(ActionEvent e) {
+        adaptee.jButton10_actionPerformed(e);
+    }
+}
+
+
+class SummaryPanel_jButton11_Adapter implements ActionListener {
+    private SummaryPanel adaptee;
+    SummaryPanel_jButton11_Adapter(SummaryPanel adaptee) {
+        this.adaptee = adaptee;
+    }
+    
+    public void actionPerformed(ActionEvent e) {
+        adaptee.jButton11_actionPerformed(e);
+    }
+}
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/collectionChooser.java
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/collectionChooser.java	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/collectionChooser.java	(revision 17156)
@@ -0,0 +1,94 @@
+package org.greenstone3.ms;
+
+import java.awt.*;
+import java.awt.event.*;
+import javax.swing.*;
+
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+public class collectionChooser extends JFrame {
+	
+    JPanel jPanel;
+    JButton jButton1;
+    JComboBox collectionComboBox;
+    
+    public collectionChooser() {
+	
+    	this.setTitle("Choose a collection");
+
+    	DescribeMessager dm = new DescribeMessager();
+        dm.describe();
+        Node cList = dm.getCollectionList();
+        Element collectionList = (Element) cList;
+        NodeList collectionNameList = collectionList.getElementsByTagName("collection");
+        String[] collectionStrings = new String[collectionNameList.getLength()];
+        
+        for(int i = 0; i< collectionNameList.getLength(); i++){
+        	Node nameNode = collectionNameList.item(i);
+        	collectionStrings[i] = nameNode.getAttributes().item(0).getNodeValue();
+        }
+
+      
+        jButton1 = new JButton("Enter");
+        jButton1.setPreferredSize(new Dimension(150,30));
+        jButton1.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 16));
+        jButton1.addActionListener(new collectionChooser_jButton1_Adapter(this));
+        
+        collectionComboBox = new JComboBox(collectionStrings);
+        collectionComboBox.setSelectedIndex(0);
+        collectionComboBox.setPreferredSize(new Dimension(150,30));
+        collectionComboBox.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 16));
+        
+        JLabel text = new JLabel();
+        text.setFont(new java.awt.Font("Times New Roman", Font.BOLD, 14));
+        text.setText("Available Collection");
+        text.setPreferredSize(new Dimension(150,30));
+        
+        //Lay out the demo.
+        jPanel = new JPanel();
+        jPanel.setLayout(new AbsoluteLayout());
+        jPanel.add(text, new AbsoluteConstraints(30,20,170,30));
+        jPanel.add(collectionComboBox, new AbsoluteConstraints(30,60,170,30));
+        jPanel.add(jButton1, new AbsoluteConstraints(30,120,170,30));
+        jPanel.setPreferredSize(new Dimension(225,180));
+        this.setContentPane(jPanel);
+        
+        //Display the window.
+        this.pack();
+        this.setVisible(true);
+    }
+    
+    
+    /** Listens to the combo box. */
+    public void jButton1_actionPerformed(ActionEvent e){ 
+	String collectionName = collectionComboBox.getSelectedItem().toString();
+	this.dispose();
+	MainApplication ma = new MainApplication(collectionName);
+    }
+    
+    /**
+     * Create the GUI and show it.  For thread safety,
+     * this method should be invoked from the
+     * event-dispatching thread.
+     */
+    
+    public static void main(String[] args) {
+        //Schedule a job for the event-dispatching thread:
+        //creating and showing this application's GUI.
+    	collectionChooser cc = new collectionChooser();    	
+    }
+}
+
+class collectionChooser_jButton1_Adapter implements ActionListener {
+    private collectionChooser adaptee;
+    
+    collectionChooser_jButton1_Adapter(collectionChooser adaptee) {
+        this.adaptee = adaptee;
+    }
+    
+    public void actionPerformed(ActionEvent e) {
+        adaptee.jButton1_actionPerformed(e);
+    }
+}
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/costModel.java
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/costModel.java	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/costModel.java	(revision 17156)
@@ -0,0 +1,23 @@
+package org.greenstone3.ms;
+
+public class costModel {
+	double cost = 0;
+	String target ="";
+	
+	public String getString(){
+		return target;
+	}
+	
+	public double getCost(){
+		return cost;
+	}
+	
+	public void setCost(double arg){
+		cost = arg;
+	}
+	
+	public void setString(String arg){
+		target = arg;
+	}
+	
+}
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/metadatatable.java
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/metadatatable.java	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/metadatatable.java	(revision 17156)
@@ -0,0 +1,69 @@
+package org.greenstone3.ms;
+
+import java.awt.Toolkit;
+import javax.swing.SwingUtilities;
+import javax.swing.UIManager;
+import java.awt.Dimension;
+
+/**
+ * <p>Title: </p>
+ *
+ * <p>Description: </p>
+ *
+ * <p>Copyright: Copyright (c) 2007</p>
+ *
+ * <p>Company: </p>
+ *
+ * @author not attributable
+ * @version 1.0
+ */
+public class metadatatable {
+    boolean packFrame = false;
+
+    /**
+     * Construct and show the application.
+     */
+    public metadatatable(String[] dataNames, Object[][] dataset) {
+    	MetadataTableFrame frame = new MetadataTableFrame(dataNames, dataset);
+        // Validate frames that have preset sizes
+        // Pack frames that have useful preferred size info, e.g. from their layout
+        if (packFrame) {
+            frame.pack();
+        } else {
+            frame.validate();
+        }
+
+        // Center the window
+        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
+        Dimension frameSize = frame.getSize();
+        if (frameSize.height > screenSize.height) {
+            frameSize.height = screenSize.height;
+        }
+        if (frameSize.width > screenSize.width) {
+            frameSize.width = screenSize.width;
+        }
+        frame.setLocation((screenSize.width - frameSize.width) / 2,
+                          (screenSize.height - frameSize.height) / 2);
+        frame.setVisible(true);
+    }
+
+    /**
+     * Application entry point.
+     *
+     * @param args String[]
+     */
+    public static void main(String[] args) {
+        SwingUtilities.invokeLater(new Runnable() {
+            public void run() {
+                try {
+                    UIManager.setLookAndFeel(UIManager.
+                                             getSystemLookAndFeelClassName());
+                } catch (Exception exception) {
+                    exception.printStackTrace();
+                }
+
+                new metadatatable(null, null);
+            }
+        });
+    }
+}
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/test.java
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/test.java	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/src/org/greenstone3/ms/test.java	(revision 17156)
@@ -0,0 +1,8 @@
+package org.greenstone3.ms;
+
+public class test {
+
+	public static void main(String[] args){
+		System.out.println("hello world");
+	}
+}
Index: /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/svn-commit.tmp
===================================================================
--- /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/svn-commit.tmp	(revision 17156)
+++ /other-projects/trunk/greenstone3-extension/mat/Greenstone3Project/svn-commit.tmp	(revision 17156)
@@ -0,0 +1,4 @@
+
+--This line, and those below, will be ignored--
+
+A    .
