<< Back to previous view

[GLASSFISH-373] glassfish install fails in a zone Created: 09/Mar/06  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: installation
Affects Version/s: 9.0pe
Fix Version/s: not determined

Type: Bug Priority: Minor
Reporter: jamesd Assignee: kohsuke
Resolution: Unresolved Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Solaris
Platform: Sun


File Attachments: GZip Archive test_malloc.gz    
Issuezilla Id: 373
Status Whiteboard:

as9-na

Tags:
Participants: Amy Roh, gfbugbridge, jamesd, kohsuke, kumara, mcbofh, moazamraja, Snjezana Sevo-Zenzerovic, tcng and Tom Mueller

 Description   

Installation fails inside a zone

Got to step two of the install…

GlasssFish installation requires JDK 5.
1. Download one of the bundles
2. Run:
java -Xmx256m -jar filename.jar

process has been running for over 3 hours, nothing printed on screen, either in
X or the console.

PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
24232 root 297M 212M cpu1 0 0 3:16:00 49% java/8

Glassfish version: glassfish-installer-9.0-b32g.jar

OS version: SunOS enterprise 5.11 snv_27 sun4u sparc SUNW,Ultra-2
MACHINE SPECS: Sun Ultra 2 2x 300mhz 2MB l2 cache cpus, 1.6GB ram, inside a
zone. 1.1GB of freedisk space. inside the zone

Java Version: java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b04)
Java HotSpot(TM) Client VM (build 1.5.0_06-b04, mixed mode, sharing)

Pstack output:

24232: java -Xmx256m -jar /home5/hold/glassfish-installer-9.0-b32g.jar
----------------- lwp# 1 / thread# 1 --------------------
ff3e4d70 memcpy (c5b0e0c0, 40bb354, 12, 105b140, 30, c2c91ee4) + 994
fef07570 jni_ReleaseByteArrayElements (ff16e554, ffbfe314, 1e3f88, 0, 35f08,
ff1704b4) + 16c
fe914334 Java_java_util_zip_Inflater_inflateBytes (35fc4, ffbfe318, ffbfe314,
fffffffb, 0, 739b1) + 164
f9088a88 * *java/util/zip/Inflater.inflateBytes([BII)I
f908848c * *java/util/zip/Inflater.inflate([BII)I+40 (line 215)
f9088e08 * *java/util/zip/InflaterInputStream.read([BII)I+42 (line 128)
f90058b8 * sun/misc/Resource.getBytes()[B+30 (line 77)
f9005874 *
java/net/URLClassLoader.defineClass(Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+219
(line 256)
f9005874 *
java/net/URLClassLoader.access$100(Ljava/net/URLClassLoader;Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+3
(line 56)
f9005874 * java/net/URLClassLoader$1.run()Ljava/lang/Object;+43 (line 195)
f9000218 * StubRoutines (1)
fecdc090
_1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThreadv
(1, 35f08, ffbfe80c, ffbfe710, ffbfe810, 0) + 5b8
fecec444 JVM_DoPrivileged (35fc4, 1, 36510, 4, c, 3650c) + 560
fe93ee4c
Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedExceptionAction_2Ljava_security_AccessControlContext_2
(35fc4, ffbfeb28, ffbfebac, ffbfeba8, ff169d84, d5800178) + 14
f900bc20 *
java/security/AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+-30544
f900bbc4 *
java/security/AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
f9005874 *
java/net/URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+13 (line 188)
f9005874 *
java/lang/ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+43 (line 306)
f9005874 *
sun/misc/Launcher$AppClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+36
(line 268)
f9005874 *
java/lang/ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3 (line 251)
f9005874 *
java/lang/ClassLoader.loadClassInternal(Ljava/lang/String;)Ljava/lang/Class;+2
(line 319)
f9000218 * StubRoutines (1)
fecdc090
_1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThreadv
(1, 35f08, ffbfefd8, ffbfef08, ffbfefdc, 0) + 5b8
fed2f9a0
_1cJJavaCallsMcall_special6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_53pnGThreadv
(57cc, ffbff0d4, ffbff0d0, ffbff0cc, ffbff0c8, ffbff0c4) + e8
fecb98d0
_1cQSystemDictionaryTload_instance_class6FnMsymbolHandle_nGHandle_pnGThreadnTinstanceKlassHandle_
(ffbff1fc, 35f08, ffbff1f8, 36500, 5000, 368c4) + 408
fecb83bc
_1cQSystemDictionarybEresolve_instance_class_or_null6FnMsymbolHandle_nGHandle_2pnGThreadpnMklassOopDesc_
(32040, 0, 364e8, 35f08, 1922f6f, 1922f6f) + 654
fecb7be0
_1cQSystemDictionaryPresolve_or_fail6FnMsymbolHandle_nGHandle_2ipnGThreadpnMklassOopDesc_
(ffbff33c, ffbff338, ffbff334, 1, 35f08, 364e4) + d0
feceea00
_1cbCfind_class_from_class_loader6FpnHJNIEnvnMsymbolHandle_CnGHandle_3CpnGThreadpnH_jclass_
(35fc4, ffbff3ac, 1, ffbff3a8, ffbff3a4, 1) + 30
fecee740 jni_FindClass (35fc4, 0, 0, ff16e554, 368c4, 0) + 708
00011d14 main (6, 400, 0, 30548, 0, 1) + c74
00011088 _start (0, 0, 0, 0, 0, 0) + 108
----------------- lwp# 2 / thread# 2 --------------------
ff31da14 lwp_cond_wait (34f60, 34f48, fbe7fd08, 0)
ff3084a8 _lwp_cond_timedwait (34f60, 34f48, fbe7fdd8, ff17c888, 2cb75788,
596eaf1) + 1c
fecd4cc0 _1cHMonitorEwait6Mil_i (34ef0, 3e8, 440ff41f, b7285, 0, 1) + 308
fecd5874 _1cIVMThreadDrun6M_v (ff16dca4, ff179d24, ff179d10, a, ff179d20, 0)
+ 1b4
ff02af08 _1cG_start6Fpv_0 (d8270, ff16e58c, ff167650, 0, 3314, ff154000) + 200
ff31c76c _lwp_start (0, 0, 0, 0, 0, 0)
----------------- lwp# 3 / thread# 3 --------------------
ff31da14 lwp_cond_wait (db670, db658, 0, 0)
fecf490c _1cNObjectMonitorEwait6MxipnGThreadv (db670, db658, ff17ccc8, 0,
ff188224, db630) + 558
fecf4304 _1cSObjectSynchronizerEwait6FnGHandle_xpnGThreadv (daa78, 0, 0,
ff167688, fbd7f924, 4818) + d8
fecf3f18 JVM_MonitorWait (0, db05c, 0, 0, daa78, ff16e554) + 2f0
f900bc20 * java/lang/Object.wait(J)V+-21008
f900bbc4 * java/lang/Object.wait(J)V+0
f9005764 * java/lang/Object.wait()V+2 (line 474)
f9005764 * java/lang/ref/Reference$ReferenceHandler.run()V+46 (line 116)
f9000218 * StubRoutines (1)
fecdc090
_1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThreadv
(1, daa78, fbd7fd18, fbd7fc38, fbd7fd1c, 0) + 5b8
fecf38c0
_1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_5pnGThreadv
(57cc, daa78, db048, db054, db434, c1000750) + 18c
fecf371c _1cMthread_entry6FpnKJavaThread_pnGThreadv (c1000750, daa78,
ff17d5a8, d58127e0, db048, ff17d098) + 12c
fecf35a0 _1cKJavaThreadDrun6M_v (daa78, ff16bef4, 6, 5800, 5a0c, ff154000) + 1f4
ff02af08 _1cG_start6Fpv_0 (daa78, ff16e58c, ff167650, 0, 3314, ff154000) + 200
ff31c76c _lwp_start (0, 0, 0, 0, 0, 0)
----------------- lwp# 4 / thread# 4 --------------------
ff31da14 lwp_cond_wait (dc3c8, dc3b0, 0, 0)
fecf490c _1cNObjectMonitorEwait6MxipnGThreadv (dc3c8, dc3b0, ff17ccc8, 0,
ff188224, dc388) + 558
fecf4304 _1cSObjectSynchronizerEwait6FnGHandle_xpnGThreadv (db7d0, 0, 0,
ff167688, fb37f81c, 4818) + d8
fecf3f18 JVM_MonitorWait (0, dbdb4, 0, 0, db7d0, ff16e554) + 2f0
f900bc20 * java/lang/Object.wait(J)V+2
f900bbc4 * java/lang/Object.wait(J)V+0
f9005764 * java/lang/ref/ReferenceQueue.remove(J)Ljava/lang/ref/Reference;+44
(line 116)
f9005874 * java/lang/ref/ReferenceQueue.remove()Ljava/lang/ref/Reference;+2
(line 132)
f9005874 * java/lang/ref/Finalizer$FinalizerThread.run()V+3 (line 159)
f9000218 * StubRoutines (1)
fecdc090
_1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThreadv
(1, db7d0, fb37fc98, fb37fbb8, fb37fc9c, 0) + 5b8
fecf38c0
_1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_5pnGThreadv
(57cc, db7d0, dbda0, dbdac, dc18c, c1000848) + 18c
fecf371c _1cMthread_entry6FpnKJavaThread_pnGThreadv (c1000848, db7d0,
ff17d5a8, d58127e0, dbda0, ff17d098) + 12c
fecf35a0 _1cKJavaThreadDrun6M_v (db7d0, ff16bef4, 6, 5800, 5a0c, ff154000) + 1f4
ff02af08 _1cG_start6Fpv_0 (db7d0, ff16e58c, ff167650, 0, 3314, ff154000) + 200
ff31c76c _lwp_start (0, 0, 0, 0, 0, 0)
----------------- lwp# 5 / thread# 5 --------------------
ff31c7e8 lwp_park (0, 0, 0)
fed3113c _1cVcheck_pending_signals6Fi_i (1, ff16dca4, ff16db8c, 6400, e4170,
ff154000) + 284
fed30c84 _1cTsignal_thread_entry6FpnKJavaThread_pnGThreadv (5228, e4170,
5000, fecf357c, 4233a4, fec684f0) + 34
fecf35a0 _1cKJavaThreadDrun6M_v (e4170, ff16bef4, 6, 5800, 5a0c, ff154000) + 1f4
ff02af08 _1cG_start6Fpv_0 (e4170, ff16e58c, ff167650, 0, 3314, ff154000) + 200
ff31c76c _lwp_start (0, 0, 0, 0, 0, 0)
----------------- lwp# 6 / thread# 6 --------------------
ff31da14 lwp_cond_wait (35d68, 35d50, 0, 0)
fecd4e08 _1cHMonitorEwait6Mil_i (35cf8, 0, ff16db8c, a, 4400, 0) + 450
fed31a68 _1cNCompileBrokerUcompiler_thread_loop6F_v (ff16dca4, ff164c00, 0,
2000000, ad798, e4fd8) + 354
fecf35a0 _1cKJavaThreadDrun6M_v (e4fd8, ff16bef4, 6, 5800, 5a0c, ff154000) + 1f4
ff02af08 _1cG_start6Fpv_0 (e4fd8, ff16e58c, ff167650, 0, 3314, ff154000) + 200
ff31c76c _lwp_start (0, 0, 0, 0, 0, 0)
----------------- lwp# 7 / thread# 7 --------------------
ff31da14 lwp_cond_wait (34540, 34528, 0, 0)
fecd4b2c _1cHMonitorEwait6Mil_i (344d0, 0, 1, 34540, 0, b) + 174
fed36c4c
_1cRLowMemoryDetectorbGlow_memory_detector_thread_entry6FpnKJavaThread_pnGThreadv
(344d0, 0, 1, ff154000, e6090, d77b8) + 2f0
fecf35a0 _1cKJavaThreadDrun6M_v (e6090, ff16bef4, 6, 5800, 5a0c, ff154000) + 1f4
ff02af08 _1cG_start6Fpv_0 (e6090, ff16e58c, ff167650, 0, 3314, ff154000) + 200
ff31c76c _lwp_start (0, 0, 0, 0, 0, 0)
----------------- lwp# 8 / thread# 8 --------------------
ff31d50c pollsys (0, 0, f8e7fab0, 0)
ff2db6d0 poll (0, 0, 32, 10624c00, bebc2, 2faf080) + 7c
fed3362c _1cIos_sleep6Fxi_i (0, 32, 0, ff16dca4, ff154000, 5c00) + c8
fed316cc _1cCosFsleep6FpnGThread_xi_i (0, 0, 32, 2, 4, ff1704b4) + 284
fed33350 _1cNWatcherThreadDrun6M_v (e7850, 32, ff182b18, ff1716a0, ff154000,
0) + e8
ff02af08 _1cG_start6Fpv_0 (e7850, ff16e58c, ff167650, 0, 3314, ff154000) + 200
ff31c76c _lwp_start (0, 0, 0, 0, 0, 0)



 Comments   
Comment by Snjezana Sevo-Zenzerovic [ 09/Mar/06 12:27 PM ]

This seems to be an issue with "poor man's installer". Assigning to Amy for
further evaluation.

Comment by jamesd [ 10/Mar/06 02:03 PM ]

okay i have done additonal intevestigating...

its not related to zones, it also spins and does nothing in the global zone.

with that in mind it may need to be esculated... a java app not installing in
Solaris on Sun hardware doesn't look right.

Comment by tcng [ 17/Mar/06 10:36 PM ]

does not apply for AS 9 which has a different installer

Comment by Amy Roh [ 20/Mar/06 03:40 PM ]

I couldn't reproduce the problem reported using

SunOS 5.10 Generic_118822-25 sun4u sparc SUNW,Sun-Fire-480R.

Can you provide more info that might be helpfuf?

Comment by mcbofh [ 21/Mar/06 12:34 PM ]

I find it utterly amazing that an assigned engineer can think about closing
something as "resolved, works for me" on a completely different release of
an OS from what the problem was experienced on.

From the comments below it appears that the assigned engineer has not done
any evaluation whatsoever. That's not good enough!

Comment by jamesd [ 21/Mar/06 01:03 PM ]

okay here is more debug info

enabled some java debugging stuff... and got this

bash-3.00# java -Xmx256m -Xdebug -verbose -verbosegc -verbose:jni -jar
/home5/hold/glassfish-installer-9.0-b32g.jar
[Opened /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Opened /usr/jdk/instances/jdk1.5.0/jre/lib/jsse.jar]
[Opened /usr/jdk/instances/jdk1.5.0/jre/lib/jce.jar]
[Opened /usr/jdk/instances/jdk1.5.0/jre/lib/charsets.jar]
[Loaded java.lang.Object from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.io.Serializable from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Comparable from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.CharSequence from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.String from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.reflect.GenericDeclaration from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.reflect.Type from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.reflect.AnnotatedElement from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Class from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Cloneable from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.ClassLoader from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.System from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Throwable from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Error from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.ThreadDeath from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Exception from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.RuntimeException from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.security.ProtectionDomain from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.security.AccessControlContext from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.ClassNotFoundException from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.LinkageError from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.NoClassDefFoundError from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.ClassCastException from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.ArrayStoreException from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.VirtualMachineError from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.OutOfMemoryError from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.StackOverflowError from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.ref.Reference from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.ref.SoftReference from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.ref.WeakReference from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.ref.FinalReference from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.ref.PhantomReference from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.ref.Finalizer from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Runnable from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Thread from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Thread$UncaughtExceptionHandler from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.ThreadGroup from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.Map from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.Dictionary from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.Hashtable from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.Properties from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.reflect.AccessibleObject from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.reflect.Member from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.reflect.Field from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.reflect.Method from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.reflect.Constructor from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.MagicAccessorImpl from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.MethodAccessor from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.MethodAccessorImpl from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.ConstructorAccessor from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.ConstructorAccessorImpl from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.DelegatingClassLoader from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.ConstantPool from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Iterable from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.Collection from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.List from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.RandomAccess from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.AbstractCollection from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.AbstractList from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.Vector from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Appendable from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.AbstractStringBuilder from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.StringBuffer from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.StackTraceElement from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.nio.Buffer from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.misc.AtomicLong from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.misc.AtomicLongCSImpl from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Boolean from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Character from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Number from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Float from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Double from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Byte from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Short from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Integer from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Long from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.management.MemoryUsage from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.NullPointerException from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.ArithmeticException from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.StrictMath from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.lang.StrictMath.pow ... JNI]
[Dynamic-linking native method java.lang.Float.intBitsToFloat ... JNI]
[Dynamic-linking native method java.lang.Double.longBitsToDouble ... JNI]
[Dynamic-linking native method java.lang.Float.floatToIntBits ... JNI]
[Dynamic-linking native method java.lang.Double.doubleToLongBits ... JNI]
[Dynamic-linking native method java.lang.Object.registerNatives ... JNI]
[Registering JNI native method java.lang.Object.hashCode]
[Registering JNI native method java.lang.Object.wait]
[Registering JNI native method java.lang.Object.notify]
[Registering JNI native method java.lang.Object.notifyAll]
[Registering JNI native method java.lang.Object.clone]
[Loaded java.io.ObjectStreamField from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.Comparator from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.String$CaseInsensitiveComparator from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.lang.System.registerNatives ... JNI]
[Registering JNI native method java.lang.System.currentTimeMillis]
[Registering JNI native method java.lang.System.nanoTime]
[Registering JNI native method java.lang.System.arraycopy]
[Dynamic-linking native method java.lang.Thread.registerNatives ... JNI]
[Registering JNI native method java.lang.Thread.start0]
[Registering JNI native method java.lang.Thread.stop0]
[Registering JNI native method java.lang.Thread.isAlive]
[Registering JNI native method java.lang.Thread.suspend0]
[Registering JNI native method java.lang.Thread.resume0]
[Registering JNI native method java.lang.Thread.setPriority0]
[Registering JNI native method java.lang.Thread.yield]
[Registering JNI native method java.lang.Thread.sleep]
[Registering JNI native method java.lang.Thread.currentThread]
[Registering JNI native method java.lang.Thread.countStackFrames]
[Registering JNI native method java.lang.Thread.interrupt0]
[Registering JNI native method java.lang.Thread.isInterrupted]
[Registering JNI native method java.lang.Thread.holdsLock]
[Registering JNI native method java.lang.Thread.getThreads]
[Registering JNI native method java.lang.Thread.dumpThreads]
[Loaded java.security.Guard from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.security.Permission from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.security.BasicPermission from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.RuntimePermission from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.AbstractMap from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.misc.SoftCache from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.ref.ReferenceQueue from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.ref.ReferenceQueue$Null from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.ref.ReferenceQueue$Lock from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.HashMap from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.lang.Class.registerNatives ... JNI]
[Registering JNI native method java.lang.Class.getName0]
[Registering JNI native method java.lang.Class.getSuperclass]
[Registering JNI native method java.lang.Class.getInterfaces]
[Registering JNI native method java.lang.Class.getClassLoader0]
[Registering JNI native method java.lang.Class.isInterface]
[Registering JNI native method java.lang.Class.getSigners]
[Registering JNI native method java.lang.Class.setSigners]
[Registering JNI native method java.lang.Class.isArray]
[Registering JNI native method java.lang.Class.isPrimitive]
[Registering JNI native method java.lang.Class.getComponentType]
[Registering JNI native method java.lang.Class.getModifiers]
[Registering JNI native method java.lang.Class.getDeclaredFields0]
[Registering JNI native method java.lang.Class.getDeclaredMethods0]
[Registering JNI native method java.lang.Class.getDeclaredConstructors0]
[Registering JNI native method java.lang.Class.getProtectionDomain0]
[Registering JNI native method java.lang.Class.setProtectionDomain0]
[Registering JNI native method java.lang.Class.getDeclaredClasses0]
[Registering JNI native method java.lang.Class.getDeclaringClass]
[Registering JNI native method java.lang.Class.getGenericSignature]
[Registering JNI native method java.lang.Class.getRawAnnotations]
[Registering JNI native method java.lang.Class.getConstantPool]
[Registering JNI native method java.lang.Class.desiredAssertionStatus0]
[Registering JNI native method java.lang.Class.getEnclosingMethod0]
[Loaded java.io.ObjectStreamClass from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.security.PrivilegedAction from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.ReflectionFactory$GetReflectionFactoryAction from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.security.AccessController from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.lang.ClassLoader.registerNatives ...
JNI]
[Registering JNI native method java.lang.ClassLoader.retrieveDirectives]
[Loaded java.util.Stack from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.security.AccessController.doPrivileged
... JNI]
[Loaded sun.reflect.ReflectionFactory from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.Map$Entry from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.HashMap$Entry from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.io.ObjectStreamClass.initNative ... JNI]
[Loaded java.lang.IncompatibleClassChangeError from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.NoSuchMethodError from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.annotation.Annotation from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.lang.Class.getPrimitiveClass ... JNI]
[Dynamic-linking native method
java.security.AccessController.getStackAccessControlContext ... JNI]
[Dynamic-linking native method
java.security.AccessController.getInheritedAccessControlContext ... JNI]
[Loaded java.lang.reflect.ReflectPermission from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.ref.Reference$Lock from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.ref.Reference$ReferenceHandler from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.ref.Finalizer$FinalizerThread from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.Enumeration from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.Hashtable$EmptyEnumerator from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.Iterator from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.Hashtable$EmptyIterator from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.Hashtable$Entry from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.lang.System.initProperties ... JNI]
[Loaded sun.misc.Version from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.io.Closeable from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.io.InputStream from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.io.FileInputStream from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.io.FileInputStream.initIDs ... JNI]
[Loaded java.io.FileDescriptor from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.io.FileDescriptor.initIDs ... JNI]
[Loaded java.io.Flushable from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.io.OutputStream from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.io.FileOutputStream from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.io.FileOutputStream.initIDs ... JNI]
[Loaded java.io.FilterInputStream from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.io.BufferedInputStream from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.concurrent.atomic.AtomicReferenceFieldUpdater from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded
java.util.concurrent.atomic.AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl
from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.misc.Unsafe from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method sun.misc.Unsafe.registerNatives ... JNI]
[Registering JNI native method sun.misc.Unsafe.getObject]
[Registering JNI native method sun.misc.Unsafe.putObject]
[Registering JNI native method sun.misc.Unsafe.getObjectVolatile]
[Registering JNI native method sun.misc.Unsafe.putObjectVolatile]
[Registering JNI native method sun.misc.Unsafe.getBoolean]
[Registering JNI native method sun.misc.Unsafe.putBoolean]
[Registering JNI native method sun.misc.Unsafe.getBooleanVolatile]
[Registering JNI native method sun.misc.Unsafe.putBooleanVolatile]
[Registering JNI native method sun.misc.Unsafe.getByte]
[Registering JNI native method sun.misc.Unsafe.putByte]
[Registering JNI native method sun.misc.Unsafe.getByteVolatile]
[Registering JNI native method sun.misc.Unsafe.putByteVolatile]
[Registering JNI native method sun.misc.Unsafe.getShort]
[Registering JNI native method sun.misc.Unsafe.putShort]
[Registering JNI native method sun.misc.Unsafe.getShortVolatile]
[Registering JNI native method sun.misc.Unsafe.putShortVolatile]
[Registering JNI native method sun.misc.Unsafe.getChar]
[Registering JNI native method sun.misc.Unsafe.putChar]
[Registering JNI native method sun.misc.Unsafe.getCharVolatile]
[Registering JNI native method sun.misc.Unsafe.putCharVolatile]
[Registering JNI native method sun.misc.Unsafe.getInt]
[Registering JNI native method sun.misc.Unsafe.putInt]
[Registering JNI native method sun.misc.Unsafe.getIntVolatile]
[Registering JNI native method sun.misc.Unsafe.putIntVolatile]
[Registering JNI native method sun.misc.Unsafe.getLong]
[Registering JNI native method sun.misc.Unsafe.putLong]
[Registering JNI native method sun.misc.Unsafe.getLongVolatile]
[Registering JNI native method sun.misc.Unsafe.putLongVolatile]
[Registering JNI native method sun.misc.Unsafe.getFloat]
[Registering JNI native method sun.misc.Unsafe.putFloat]
[Registering JNI native method sun.misc.Unsafe.getFloatVolatile]
[Registering JNI native method sun.misc.Unsafe.putFloatVolatile]
[Registering JNI native method sun.misc.Unsafe.getDouble]
[Registering JNI native method sun.misc.Unsafe.putDouble]
[Registering JNI native method sun.misc.Unsafe.getDoubleVolatile]
[Registering JNI native method sun.misc.Unsafe.putDoubleVolatile]
[Registering JNI native method sun.misc.Unsafe.getByte]
[Registering JNI native method sun.misc.Unsafe.putByte]
[Registering JNI native method sun.misc.Unsafe.getShort]
[Registering JNI native method sun.misc.Unsafe.putShort]
[Registering JNI native method sun.misc.Unsafe.getChar]
[Registering JNI native method sun.misc.Unsafe.putChar]
[Registering JNI native method sun.misc.Unsafe.getInt]
[Registering JNI native method sun.misc.Unsafe.putInt]
[Registering JNI native method sun.misc.Unsafe.getLong]
[Registering JNI native method sun.misc.Unsafe.putLong]
[Registering JNI native method sun.misc.Unsafe.getFloat]
[Registering JNI native method sun.misc.Unsafe.putFloat]
[Registering JNI native method sun.misc.Unsafe.getDouble]
[Registering JNI native method sun.misc.Unsafe.putDouble]
[Registering JNI native method sun.misc.Unsafe.getAddress]
[Registering JNI native method sun.misc.Unsafe.putAddress]
[Registering JNI native method sun.misc.Unsafe.allocateMemory]
[Registering JNI native method sun.misc.Unsafe.reallocateMemory]
[Registering JNI native method sun.misc.Unsafe.setMemory]
[Registering JNI native method sun.misc.Unsafe.copyMemory]
[Registering JNI native method sun.misc.Unsafe.freeMemory]
[Registering JNI native method sun.misc.Unsafe.objectFieldOffset]
[Registering JNI native method sun.misc.Unsafe.staticFieldOffset]
[Registering JNI native method sun.misc.Unsafe.staticFieldBase]
[Registering JNI native method sun.misc.Unsafe.ensureClassInitialized]
[Registering JNI native method sun.misc.Unsafe.arrayBaseOffset]
[Registering JNI native method sun.misc.Unsafe.arrayIndexScale]
[Registering JNI native method sun.misc.Unsafe.addressSize]
[Registering JNI native method sun.misc.Unsafe.pageSize]
[Registering JNI native method sun.misc.Unsafe.defineClass]
[Registering JNI native method sun.misc.Unsafe.defineClass]
[Registering JNI native method sun.misc.Unsafe.allocateInstance]
[Registering JNI native method sun.misc.Unsafe.monitorEnter]
[Registering JNI native method sun.misc.Unsafe.monitorExit]
[Registering JNI native method sun.misc.Unsafe.throwException]
[Registering JNI native method sun.misc.Unsafe.compareAndSwapObject]
[Registering JNI native method sun.misc.Unsafe.compareAndSwapInt]
[Registering JNI native method sun.misc.Unsafe.compareAndSwapLong]
[Registering JNI native method sun.misc.Unsafe.park]
[Registering JNI native method sun.misc.Unsafe.unpark]
[Loaded sun.reflect.Reflection from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.Collections from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.Random from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.lang.String.intern ... JNI]
[Loaded java.util.concurrent.atomic.AtomicLong from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method sun.reflect.Reflection.getCallerClass ...
JNI]
[Dynamic-linking native method
java.util.concurrent.atomic.AtomicLong.VMSupportsCS8 ... JNI]
[Loaded java.lang.Class$3 from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.reflect.Modifier from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.LangReflectAccess from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.reflect.ReflectAccess from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.Set from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.AbstractSet from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.Collections$EmptySet from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.Collections$EmptyList from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.Collections$EmptyMap from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.Collections$ReverseComparator from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.Collections$SynchronizedMap from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.misc.ReflectUtil from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.lang.System.setIn0 ... JNI]
[Loaded java.io.FilterOutputStream from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.io.PrintStream from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.io.BufferedOutputStream from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.io.Writer from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.io.OutputStreamWriter from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.nio.cs.StreamEncoder from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.io.Converters from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.security.action.GetPropertyAction from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.nio.charset.Charset from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.nio.charset.spi.CharsetProvider from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.nio.cs.FastCharsetProvider from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.nio.cs.StandardCharsets from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.util.PreHashedMap from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.nio.cs.StandardCharsets$Aliases from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.nio.cs.StandardCharsets$Classes from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.nio.cs.StandardCharsets$Cache from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.ThreadLocal from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.nio.cs.HistoricallyNamedCharset from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.nio.cs.US_ASCII from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.misc.VM from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method sun.misc.VM.initialize ... JNI]
[Loaded sun.nio.cs.StreamEncoder$CharsetSE from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.nio.charset.CharsetEncoder from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.nio.cs.US_ASCII$Encoder from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.nio.charset.CodingErrorAction from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.nio.charset.CharsetDecoder from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.nio.cs.US_ASCII$Decoder from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.nio.ByteBuffer from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.nio.HeapByteBuffer from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.nio.Bits from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Runtime from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.lang.Runtime.maxMemory ... JNI]
[Loaded java.nio.ByteOrder from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Readable from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.nio.CharBuffer from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.nio.HeapCharBuffer from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.nio.charset.CoderResult from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.nio.charset.CoderResult$Cache from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.nio.charset.CoderResult$1 from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.nio.charset.CoderResult$2 from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.nio.cs.Surrogate$Parser from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.nio.cs.Surrogate from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.io.BufferedWriter from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.lang.System.setOut0 ... JNI]
[Dynamic-linking native method java.lang.System.setErr0 ... JNI]
[Loaded java.io.File from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.io.FileSystem from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.io.FileSystem.getFileSystem ... JNI]
[Loaded java.io.UnixFileSystem from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.io.UnixFileSystem.initIDs ... JNI]
[Loaded java.io.ExpiringCache from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.LinkedHashMap from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.io.ExpiringCache$1 from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.LinkedHashMap$Entry from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.StringBuilder from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.lang.System.mapLibraryName ... JNI]
[Loaded java.lang.ClassLoader$3 from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.io.UnixFileSystem.getBooleanAttributes0
... JNI]
[Dynamic-linking native method java.io.UnixFileSystem.canonicalize0 ... JNI]
[Loaded java.io.ExpiringCache$Entry from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.ClassLoader$NativeLibrary from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.lang.ClassLoader$NativeLibrary.load ...
JNI]
[Loaded java.lang.Terminator from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.misc.SignalHandler from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Terminator$1 from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.misc.Signal from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method sun.misc.Signal.findSignal ... JNI]
[Loaded sun.misc.NativeSignalHandler from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method sun.misc.Signal.handle0 ... JNI]
[Loaded sun.misc.JavaLangAccess from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.System$2 from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.misc.SharedSecrets from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Compiler from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.lang.Compiler.registerNatives ... JNI]
[Registering JNI native method java.lang.Compiler.compileClass]
[Registering JNI native method java.lang.Compiler.compileClasses]
[Registering JNI native method java.lang.Compiler.command]
[Registering JNI native method java.lang.Compiler.enable]
[Registering JNI native method java.lang.Compiler.disable]
[Loaded java.lang.Compiler$1 from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.misc.Launcher from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.net.URLStreamHandlerFactory from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.misc.Launcher$Factory from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.security.SecureClassLoader from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.net.URLClassLoader from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.misc.Launcher$ExtClassLoader from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.security.util.Debug from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.StringTokenizer from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.security.PrivilegedExceptionAction from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.misc.Launcher$ExtClassLoader$1 from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.lang.ClassLoader$NativeLibrary.find ...
JNI]
[Dynamic-linking native method java.security.AccessController.doPrivileged
... JNI]
[Dynamic-linking native method java.io.UnixFileSystem.list ... JNI]
[Loaded sun.net.www.ParseUtil from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.BitSet from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.net.URL from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.Locale from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.CharacterDataLatin1 from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.net.Parts from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.lang.Class.forName0 ... JNI]
[Loaded java.net.URLStreamHandler from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.net.www.protocol.file.Handler from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Class$1 from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method sun.reflect.Reflection.getClassAccessFlags
... JNI]
[Loaded sun.reflect.ReflectionFactory$1 from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.NativeConstructorAccessorImpl from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.DelegatingConstructorAccessorImpl from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method
sun.reflect.NativeConstructorAccessorImpl.newInstance0 ... JNI]
[Loaded java.util.HashSet from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.misc.URLClassPath from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.ArrayList from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.net.www.protocol.jar.Handler from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.misc.Launcher$AppClassLoader from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.misc.Launcher$AppClassLoader$1 from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.SystemClassLoaderAction from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.lang.ClassLoader.findLoadedClass0 ...
JNI]
[Dynamic-linking native method java.lang.ClassLoader.findBootstrapClass ...
JNI]
[Loaded java.util.zip.ZipConstants from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.zip.ZipFile from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.jar.JarFile from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.util.zip.ZipFile.initIDs ... JNI]
[Loaded sun.misc.JavaUtilJarAccess from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.jar.JavaUtilJarAccessImpl from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.StringCoding from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.ThreadLocal$ThreadLocalMap from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.ThreadLocal$ThreadLocalMap$Entry from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.StringCoding$StringDecoder from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.StringCoding$CharsetSD from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.io.UnixFileSystem.getLastModifiedTime
... JNI]
[Dynamic-linking native method java.util.zip.ZipFile.open ... JNI]
[Dynamic-linking native method java.util.zip.ZipFile.getTotal ... JNI]
[Dynamic-linking native method java.util.zip.ZipFile.getMappedAddr ... JNI]
[Dynamic-linking native method java.util.zip.ZipFile.getMappedLen ... JNI]
[Loaded java.util.zip.ZipFile$ZipCloser from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.zip.ZipFile$1 from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.nio.ch.DirectBuffer from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.nio.MappedByteBuffer from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.nio.DirectByteBuffer from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.misc.Cleaner from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.util.zip.ZipFile.getEntry ... JNI]
[Loaded java.util.zip.ZipEntry from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.util.zip.ZipEntry.initIDs ... JNI]
[Dynamic-linking native method java.util.zip.ZipEntry.initFields ... JNI]
[Dynamic-linking native method java.util.zip.ZipFile.freeEntry ... JNI]
[Loaded java.util.jar.JarEntry from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.jar.JarFile$JarFileEntry from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.io.DataInput from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.io.DataInputStream from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.nio.ByteBuffered from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.zip.ZipFile$ZipFileInputStream from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.zip.ZipFile$MappedZipFileInputStream from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.util.zip.ZipFile.getCSize ... JNI]
[Dynamic-linking native method java.util.zip.ZipFile.getSize ... JNI]
[Dynamic-linking native method java.util.zip.ZipFile.getEntryOffset ... JNI]
[Dynamic-linking native method java.util.zip.ZipFile.getMethod ... JNI]
[Loaded java.util.zip.InflaterInputStream from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.zip.ZipFile$2 from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.zip.Inflater from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.util.zip.Inflater.initIDs ... JNI]
[Dynamic-linking native method java.util.zip.Inflater.init ... JNI]
[Dynamic-linking native method java.util.zip.Inflater.inflateBytes ... JNI]
[Dynamic-linking native method java.nio.Bits.copyToByteArray ... JNI]
[Loaded java.util.jar.Manifest from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.io.ByteArrayInputStream from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.jar.Attributes from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.jar.Manifest$FastInputStream from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.lang.Object.getClass ... JNI]
[Loaded sun.nio.cs.UTF_8 from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.nio.cs.UTF_8$Decoder from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.nio.cs.Surrogate$Generator from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.jar.Attributes$Name from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.misc.ASCIICaseInsensitiveComparator from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.jar.JarVerifier from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.io.ByteArrayOutputStream from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.lang.Throwable.fillInStackTrace ... JNI]
[Loaded java.net.URLClassLoader$1 from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.security.AccessController.doPrivileged
... JNI]
[Loaded sun.misc.URLClassPath$3 from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.misc.URLClassPath$Loader from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.misc.URLClassPath$JarLoader from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.misc.FileURLMapper from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.misc.JarIndex from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.misc.ExtensionDependency from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Math from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.ClassFileConstants from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.AccessorGenerator from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.MethodAccessorGenerator from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Void from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.ByteVectorFactory from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.ByteVector from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.ByteVectorImpl from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.ClassFileAssembler from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.UTF8 from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.Label from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.Label$PatchInfo from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.util.AbstractList$Itr from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.MethodAccessorGenerator$1 from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.ClassDefiner from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.ClassDefiner$1 from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.GeneratedConstructorAccessor1 from __JVM_DefineClass__]
[Loaded sun.reflect.BootstrapConstructorAccessorImpl from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.FieldAccessor from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.FieldAccessorImpl from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.reflect.UnsafeFieldAccessorImpl from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.security.PrivilegedActionException from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.misc.Resource from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded sun.misc.URLClassPath$JarLoader$1 from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.util.jar.JarFile.getMetaInfEntryNames
... JNI]
[Dynamic-linking native method java.util.zip.Inflater.reset ... JNI]
[GC 263K->135K(3520K), 0.0200098 secs]
[Full GC 135K->135K(3520K), 0.0483046 secs]

more than 15 minutes later i kill the process and get this

^C[Loaded sun.misc.Signal$1 from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Shutdown from /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Loaded java.lang.Shutdown$Lock from
/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar]
[Dynamic-linking native method java.lang.Shutdown.halt0 ... JNI]
bash-3.00#

Next I turned on the profiler and got this

Flat profile of 1277.28 secs (3855 total ticks): main

Interpreted + native Method
99.7% 0 + 3842 java.util.zip.Inflater.inflateBytes
0.1% 0 + 2 java.util.zip.ZipFile.open
0.1% 0 + 2
sun.reflect.NativeConstructorAccessorImpl.newInstance0
0.0% 1 + 0 java.util.zip.ZipFile.getInputStream
0.0% 1 + 0 sun.misc.URLClassPath$3.run
0.0% 1 + 0 sun.reflect.ClassDefiner$1.run
0.0% 1 + 0 java.lang.StringCoding.decode
0.0% 1 + 0 sun.misc.Resource.getBytes
0.0% 1 + 0 sun.reflect.MethodAccessorGenerator.generate
99.9% 6 + 3846 Total interpreted

Thread-local ticks:
0.1% 3 Compilation

Global summary of 1277.28 seconds:
100.0% 3859 Received ticks
0.1% 4 Received GC ticks
0.1% 3 Compilation
bash-3.00#

did a kill -QUIT on the running process

  1. Full thread dump Java HotSpot(TM) Client VM (1.5.0_06-b04 mixed
    mode, sharing):

"Low Memory Detector" daemon prio=10 tid=0x000e6000 nid=0x7 runnable
[0x00000000..0x00000000]

"CompilerThread0" daemon prio=10 tid=0x000e4f38 nid=0x6 waiting on
condition [0x00000000..0xfb17e370]

"Signal Dispatcher" daemon prio=10 tid=0x000e4170 nid=0x5 waiting on
condition [0x00000000..0x00000000]

"Finalizer" daemon prio=10 tid=0x000db690 nid=0x4 in Object.wait()
[0xfb37f000..0xfb37fca8]
at java.lang.Object.wait(Native Method)

  • waiting on <0xc2c820b8> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
  • locked <0xc2c820b8> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=10 tid=0x000daa78 nid=0x3 in
Object.wait() [0xfbd7f000..0xfbd7fb28]
at java.lang.Object.wait(Native Method)

  • waiting on <0xc2c82138> (a java.lang.ref.Reference$Lock)
    at java.lang.Object.wait(Object.java:474)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
  • locked <0xc2c82138> (a java.lang.ref.Reference$Lock)

"main" prio=10 tid=0x00035f08 nid=0x1 runnable [0xffbfe000..0xffbff258]
at java.util.zip.Inflater.inflateBytes(Native Method)
at java.util.zip.Inflater.inflate(Inflater.java:215)

  • locked <0xc2c84300> (a java.util.zip.Inflater)
    at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:128)
    at sun.misc.Resource.getBytes(Resource.java:77)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:256)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  • locked <0xc2c82140> (a sun.misc.Launcher$AppClassLoader)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
  • locked <0xc2c82140> (a sun.misc.Launcher$AppClassLoader)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
  • locked <0xc2c82140> (a sun.misc.Launcher$AppClassLoader)

"VM Thread" prio=10 tid=0x000d8270 nid=0x2 runnable

"VM Periodic Task Thread" prio=10 tid=0x000e77c0 nid=0x8 runnable

ran
-bash-3.00$ mkdir temp
-bash-3.00$ cd temp/
-bash-3.00$ ls
-bash-3.00$ jar -xf ../glassfish-installer-9.0-b32g.jar
-bash-3.00$ ls
META-INF glassfish.class
-bash-3.00$ cd glassfish.class
-bash: cd: glassfish.class: Not a directory
-bash-3.00$ ls -l
total 170740
drwxr-xr-x 2 jamesd other 3 Mar 21 14:05 META-INF
rw-rr- 1 jamesd other 65893342 Mar 21 14:06 glassfish.class
-bash-3.00$

it works fine that way.

rebuilt the jar file with

-bash-3.00$ jar cfm gl.jar META-INF/MANIFEST.MF glassfish.class
-bash-3.00$ ls -l
total 342841
drwxr-xr-x 2 jamesd other 3 Mar 21 14:05 META-INF
rw-rr- 1 jamesd other 65911198 Mar 21 14:22 gl.jar
rw-rr- 1 jamesd other 65893342 Mar 21 14:06 glassfish.class
-bash-3.00$ du -h gl
gl.jar glassfish.class
-bash-3.00$ du -h gl.jar
84M gl.jar

and reran the resulting tar.. same outcome

-bash-3.00$ java -Xmx256m -jar gl.jar

if anyone else has ideas or needs more information, i'm availible to help

James

Comment by moazamraja [ 10/Apr/06 07:08 PM ]

I'm pretty sure that the Java command is depleting available memory. The -Xmx is 256m, but the 'java -
jar' command is causing Java to invoke malloc() to allocate enough memory to work with the JAR file
and this memory allocation is happening outside of the 256m space given to Java. If the system does
not have much available memory outside of the -Xmx256, it could cause it to fail. It should give some
sort of OutOfMemory error.

The reason it works fine once you unjar the glassfish.jar file and run the direct .class is because Java is
not dealing with the JAR file anymore and hence not calling malloc/mmap/etc. The Glassfish team can
verify this with the Sun JVM team.

The solution would be to not ship as a JAR file, but as a .class file. If you do ship as a jar, have an install
script that extracts the .class file first.

Comment by moazamraja [ 10/Apr/06 07:10 PM ]

Adding myself to email cc.

Comment by jamesd [ 11/Apr/06 09:06 PM ]

okay 6hours and 20 minutes later... the following command completes

  1. dtrace -s malloc.d -o test_malloc -c "java -Xmx256m
    -Xloggc:gcoutput.txt -XX:+PrintGCDetails -jar
    /home5/hold/glassfish-installer-9.0-b42.jar"
    dtrace: script 'malloc.d' matched 18 probes
    Java Accessibility Bridge for GNOME loaded.

SUN MICROSYSTEMS, INC. SOFTWARE LICENSE AGREEMENTS

SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE BELOW DEFINED
SOFTWARE TO YOU ONLY UPON THE CONDITION THAT YOU ACCEPT ALL OF THE

this is build 42 so something may of changed from my first attempts.
here is the contents of the log file it created not much to write home
about.

  1. cat gcoutput.txt
    0.014: [GC 0.019: [DefNew: 263K->64K(2112K), 0.0182719 secs]0.038:
    [Tenured: 71K->135K(1408K), 0.1062213 secs] 263K->135K(3520K),
    0.1252675 secs]
    11480.594: [GC 11480.594: [DefNew: 59K->28K(2112K), 0.0090345
    secs]11480.604: [Tenured: 65256K->164K(66536K), 0.0827943 secs]
    65315K->164K(68648K), 0.0931540 secs]
    #

find the attached dtrace log for my script...

  1. prstat
    PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
    3556 root 298M 220M sleep 59 0 6:20:35 0.4% java/12

so it eventually works... but 6 hours to complete get the initial prompt is
excessive.. am willing to do any additional scans needed... will be attaching
the output of the following dtrace script.

  1. cat malloc.d
    pid$target::malloc:return
    {
    printf("malloc exit %d\n",arg1);
    }

pid$target::mmap:return
{
printf("mmap exit %d\n",arg1);
}

pid$target::mlock:return
{
printf("mlock exit %d\n",arg1);
}

pid$target::malloc:entry
{
printf("malloc allocated: %d bytes\n",arg0);
}

pid$target::mmap:entry
{
printf("mmap called mappng %d bytes\n",arg1);
}

pid$target::mlock:entry
{
printf("mlock called reserving %d bytes\n",arg1);
}
pid$target::free:entry
{
printf("free called with arg0 == %d\n", arg0);
}

pid$target::munlock:entry
{
printf("munlock: called freeing %d bytes\n", arg1);
}

pid$target::malloc:return
/arg1==0/
{
printf("error exit %d\n",arg1);
exit(-1);
}

pid$target::mmap:return
/arg1==-1/
{
printf("error exit %d\n",arg1);
exit(-1);
}

pid$target::mlock:return
/arg1==-1/
{
printf("error exit %d\n",arg1);
exit(-1);
}

#

Comment by jamesd [ 11/Apr/06 09:12 PM ]

Created an attachment (id=215)
output of my previously posted dtrace script tracking malloc, mlock, mmap

Comment by gfbugbridge [ 26/Jun/06 09:26 AM ]

<BT6443388>

Comment by gfbugbridge [ 05/Apr/07 06:43 PM ]

<BT6543365>

Comment by Amy Roh [ 23/Apr/07 04:07 PM ]

Reassign to Kohsuke for poormans-installer update.

Comment by Amy Roh [ 24/Apr/07 05:25 PM ]

Downgrading P4 to address the issue and update poormans-installer for V3.

Comment by kumara [ 25/Apr/07 03:04 PM ]

Changing priority to reflect previous comment...

Comment by Tom Mueller [ 06/Mar/12 09:58 PM ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.





[GLASSFISH-3768] poorman's installer incorrectly set laf on the main thread, causing NPE Created: 12/Oct/07  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: installation
Affects Version/s: 9.1pe
Fix Version/s: not determined

Type: Bug Priority: Minor
Reporter: Cheng Fang Assignee: kohsuke
Resolution: Unresolved Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issuezilla Id: 3,768
Status Whiteboard:

as91ur1-na

Tags:
Participants: basler, Cheng Fang, gfbugbridge, kohsuke, kumara, sanandal and Tom Mueller

 Description   

A user reported this problem on glassfish Chinese forum here:
http://gceclub.sun.com.cn/NASApp/sme/jive/thread.jsp?forum=22&thread=46763

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at
com.sun.java.swing.plaf.gtk.GTKLookAndFeel.initSystemColorDefaults(GTKLookAndFeel.java:1267)
at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.loadStyles(GTKLookAndFeel.java:1509)
at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.access$000(GTKLookAndFeel.java:37)
at
com.sun.java.swing.plaf.gtk.GTKLookAndFeel$WeakPCL$1.run(GTKLookAndFeel.java:1449)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at
java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Exception in thread "main" java.lang.NullPointerException
at
javax.swing.plaf.synth.SynthLookAndFeel$AATextListener.propertyChange(SynthLookAndFeel.java:793)
at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:347)
at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
at java.awt.Toolkit.setDesktopProperty(Toolkit.java:1784)
at sun.awt.SunToolkit.fireDesktopFontPropertyChanges(SunToolkit.java:1698)
at sun.awt.SunToolkit.setAAFontSettingsCondition(SunToolkit.java:1743)
at sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(SwingUtilities2.java:119)
at
com.sun.java.swing.plaf.gtk.GTKLookAndFeel.initComponentDefaults(GTKLookAndFeel.java:1258)
at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.getDefaults(GTKLookAndFeel.java:294)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:537)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:581)
at org.jvnet.poormans_installer.Main.setUILookAndFeel(Main.java:95)
at org.jvnet.poormans_installer.Main.main(Main.java:50)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at
com.sun.java.swing.plaf.gtk.GTKLookAndFeel.initSystemColorDefaults(GTKLookAndFeel.java:1267)
at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.loadStyles(GTKLookAndFeel.java:1509)
at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.access$000(GTKLookAndFeel.java:37)
at
com.sun.java.swing.plaf.gtk.GTKLookAndFeel$WeakPCL$1.run(GTKLookAndFeel.java:1449)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at
java.awt.EventDispatchThread.run(EventDispatchThread.java:121

The user was trying to install glassfish on Debian with JDK 6, running java -jar
glassfishv2.jar

It appears that glassfish's poorman's installer incorrectly sets the laf on the
main thread, whereas it should be set on the EDT (event dispatching thread). A
google search also shows a related JDK 6 bug:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6585553 (NPE in
GTKLookAndFeel.initSystemColorDefaults() on mustang when remote X11 displaying.).

Can we fix our installer main class to correctly set laf?

The poorman's installer main class is below, where you can see how the laf is
set, incorrectly, on the main thread.

public class Main
{

public Main()
{
}

public static void main(String args[])
throws IOException
{
Reader in = new
InputStreamReader((org.jvnet.poormans_installer.Main.class).getResourceAsStream("/license.txt"));
boolean checked = false;
boolean accepted;
if(args.length > 0 && args[0].equals("-console"))
accepted = doConsole(in);
else
try

{ setUILookAndFeel(); LicenseForm form = new LicenseForm(in); form.show(); accepted = form.isAccepted(); checked = form.isChecked(); }

catch(InternalError e)
{ accepted = doConsole(in); checked = false; }
catch(UnsupportedOperationException e)
{ accepted = doConsole(in); checked = false; } }
if(accepted)
install();
if(checked)
createPropertyFile();
System.exit(accepted ? 0 : 1);
}

private static boolean doConsole(Reader in)
throws IOException

{ ConsoleForm form = new ConsoleForm(in); form.show(); boolean accepted = form.isAccepted(); return accepted; }

private static void setUILookAndFeel()
{
String nativeLF = UIManager.getSystemLookAndFeelClassName();
try

{ UIManager.setLookAndFeel(nativeLF); }

catch(InstantiationException e) { }
catch(ClassNotFoundException e) { }
catch(UnsupportedLookAndFeelException e) { }
catch(IllegalAccessException e) { }
}

private static void install()
throws IOException
{
ZipInputStream zip = new
ZipInputStream((org.jvnet.poormans_installer.Main.class).getResourceAsStream("/package.zip"));
do
{
ZipEntry e;
if((e = zip.getNextEntry()) == null)
break;
File name = new File(e.getName());
System.out.println(name);
if(e.isDirectory())
{ name.mkdirs(); } else

{ File parent = name.getParentFile(); if(parent != null && !parent.exists()) parent.mkdirs(); if(!name.exists()) copyStream(zip, new FileOutputStream(name)); }

} while(true);
zip.close();
System.out.println("installation complete");
}

private static void createPropertyFile()
{
try

{ File propertyFile = new File("input.properties"); FileOutputStream out = new FileOutputStream(propertyFile); String content = "checkbox.value=true"; out.write(content.getBytes()); out.close(); }

catch(Exception e) { }
}

public static void copyStream(InputStream in, OutputStream out)
throws IOException

{ byte buf[] = new byte[256]; int len; while((len = in.read(buf)) >= 0) out.write(buf, 0, len); out.close(); }

}

One possible solution is something like this:

public static void doGUI() { //set laf here... }

public static void main(String[] args) {
//Schedule a job for the event-dispatching thread:
//creating and showing this application's GUI.
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() { doGUI(); }
});
}



 Comments   
Comment by Cheng Fang [ 12/Oct/07 11:24 AM ]

changed release version to 9.1pe and target release to 9.1.1

Comment by gfbugbridge [ 12/Oct/07 05:02 PM ]

<BT6616579>

Comment by kumara [ 06/Nov/07 04:00 PM ]

snjezana->kohsuke for evaluation.

Comment by basler [ 07/Nov/07 11:12 AM ]

This change doesn't pertain to 9.1ur1

Comment by kohsuke [ 07/Nov/07 04:58 PM ]

Fixed in the poorman's installer repository. Needs to find out who creates GF
installer.

Comment by sanandal [ 11/Jan/09 07:01 AM ]

"Reclassifying as P4 because this issue is not deemed "must fix" for this v2.1
release whose primary release driver is SailFin.
This issue will be scrubbed after this release and will be given the right
priority for the next release."

Comment by Tom Mueller [ 06/Mar/12 09:56 PM ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.





Generated at Mon Apr 21 06:43:15 UTC 2014 using JIRA 4.0.2#472.