users@glassfish.java.net

Server won't start after update

From: <glassfish_at_javadesktop.org>
Date: Wed, 19 Aug 2009 08:25:05 PDT

Hi everyone,

I tried using the initial build of GlassFish (glassfish-v3-ea-b44) with a web service and
jsp example and I got an error that I was told is because of Felix osgi runtime not
implementing URLStreamHandler.openConnection(URL, Proxy) (my previous post:
http://forums.java.net/jive/thread.jspa?threadID=65763&tstart=0). I was told that
updated versions of GlassFish solve this problem. After I updated GlassFish (31 updates), I tried to start the server (via 'asadmin start-domain') and got

[code]
C:\glassfishv3\bin>asadmin start-domain

Waiting for DAS to start.
Error starting domain: domain1. It didn't start in 90 seconds
Command start-domain failed.
[/code]

Below is the server.log content:

[code]
Aug 19, 2009 10:54:36 AM com.sun.enterprise.admin.launcher.GFLauncherLogger info
INFO: JVM invocation command line:
C:\Program Files (x86)\Java\jdk1.6.0_12\bin\java.exe
-cp
C:/glassfishv3/glassfish/modules/glassfish.jar
-XX:+UnlockDiagnosticVMOptions
-XX:MaxPermSize=192m
-XX:NewRatio=2
-XX:+LogVMOutput
-XX:LogFile=C:\glassfishv3\glassfish\domains\domain1/logs/jvm.log
-Xmx512m
-client
-javaagent:C:/glassfishv3/glassfish/lib/monitor/btrace-agent.jar=unsafe=true
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djavax.net.ssl.trustStore=C:\glassfishv3\glassfish\domains\domain1/config/cacerts.jks
-Djavax.net.ssl.keyStore=C:\glassfishv3\glassfish\domains\domain1/config/keystore.jks
-Djava.security.policy=C:\glassfishv3\glassfish\domains\domain1/config/server.policy
-Dcom.sun.aas.instanceRoot=C:\glassfishv3\glassfish\domains\domain1
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Djava.security.auth.login.config=C:\glassfishv3\glassfish\domains\domain1/config/login.conf
-Djava.endorsed.dirs=C:\glassfishv3\glassfish/lib/endorsed
-Dcom.sun.aas.installRoot=C:\glassfishv3\glassfish
-Djava.ext.dirs=C:\Program Files (x86)\Java\jdk1.6.0_12/lib/ext;C:\Program Files (x86)\Java\jdk1.6.0_12/jre/lib/ext;C:\glassfishv3\glassfish\domains\domain1/lib/ext;C:\glassfishv3\javadb/lib
-Djava.library.path=C:/glassfishv3/glassfish/lib;C:/Windows/SysWOW64;C:/glassfishv3/bin;C:/Windows/Sun/Java/bin;C:/Windows/System32;C:/Windows;C:/Program Files (x86)/Common Files/microsoft shared/Windows Live;C:/Windows/System32/wbem;C:/Program Files (x86)/Common Files/Ulead Systems/MPEG;C:/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static;C:/Program Files/Intel/WiFi/bin;C:/Users/Mihai/Program Files/pl/bin;C:/Program Files/Perforce;C:/Program Files (x86)/QuickTime/QTSystem;C:/Program Files (x86)/SSH Communications Security/SSH Secure Shell;C:/Program Files (x86)/Java/jdk1.6.0_12/bin;C:/Program Files/Perforce/Server;C:/php
com.sun.enterprise.glassfish.bootstrap.ASMain
-domainname
domain1
-asadmin-args
start-domain
-instancename
server
-verbose
false
-debug
false
-asadmin-classpath
C:/glassfishv3/glassfish/modules/admin-cli.jar
-asadmin-classname
com.sun.enterprise.admin.cli.AsadminMain
-upgrade
false
-domaindir
C:/glassfishv3/glassfish/domains/domain1
-read-stdin
true
Aug 19, 2009 10:54:37 AM com.sun.enterprise.admin.launcher.GFLauncherLogger info
INFO: Successfully launched in 13 msec.
[/code]

I did a jvm dump and below is the stack trace:

[code]
2416 java.exe session:1 threads:31 parent:6136
2009-08-19 11:10:18
Full thread dump Java HotSpot(TM) Client VM (11.2-b01 mixed mode):

"StackTrace Remote Thread" prio=6 tid=0x31c8c800 nid=0x71c runnable [0x00000000..0x326ffa34]
   java.lang.Thread.State: RUNNABLE

"RMI RenewClean-[192.168.1.2:60369]" daemon prio=6 tid=0x31c8d400 nid=0xed4 in Object.wait() [0x32c2f000..0x32c2fd68]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x04df23b0> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x04df23b0> (a java.lang.ref.ReferenceQueue$Lock)
        at sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run(DGCClient.java:516)
        at java.lang.Thread.run(Thread.java:619)

"RMI Scheduler(0)" daemon prio=6 tid=0x31c8d000 nid=0x17ac waiting on condition [0x32b9f000..0x32b9fa68]
   java.lang.Thread.State: TIMED_WAITING (parking)
        at sun.misc.Unsafe.park(Native Method)
        - parking to wait for <0x04df2498> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
        at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)
        at java.util.concurrent.DelayQueue.take(DelayQueue.java:164)
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:583)
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:576)
        at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)

"GC Daemon" daemon prio=2 tid=0x31c8c400 nid=0x156c in Object.wait() [0x329cf000..0x329cfb68]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x04df48a8> (a sun.misc.GC$LatencyLock)
        at sun.misc.GC$Daemon.run(GC.java:100)
        - locked <0x04df48a8> (a sun.misc.GC$LatencyLock)

"RMI Reaper" prio=6 tid=0x31c8bc00 nid=0x2c4 in Object.wait() [0x3293f000..0x3293fbe8]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x04df4918> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x04df4918> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
        at sun.rmi.transport.ObjectTable$Reaper.run(ObjectTable.java:333)
        at java.lang.Thread.run(Thread.java:619)

"RMI TCP Accept-0" daemon prio=6 tid=0x31c8b800 nid=0x11a8 runnable [0x328af000..0x328afc68]
   java.lang.Thread.State: RUNNABLE
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
        - locked <0x04df4a08> (a java.net.SocksSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:453)
        at java.net.ServerSocket.accept(ServerSocket.java:421)
        at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:369)
        at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:341)
        at java.lang.Thread.run(Thread.java:619)

"RMI TCP Accept-8686" daemon prio=6 tid=0x31c8b000 nid=0x1320 runnable [0x3281f000..0x3281fce8]
   java.lang.Thread.State: RUNNABLE
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
        - locked <0x04df4c10> (a java.net.SocksSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:453)
        at java.net.ServerSocket.accept(ServerSocket.java:421)
        at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:369)
        at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:341)
        at java.lang.Thread.run(Thread.java:619)

"DynamicReloader" daemon prio=6 tid=0x31c8ac00 nid=0x4b4 in Object.wait() [0x3278f000..0x3278fd68]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x0fc3c4e8> (a java.util.TaskQueue)
        at java.util.TimerThread.mainLoop(Timer.java:509)
        - locked <0x0fc3c4e8> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:462)

"pool-6-thread-1" daemon prio=6 tid=0x31c8a000 nid=0x1750 waiting on condition [0x3266f000..0x3266fa68]
   java.lang.Thread.State: WAITING (parking)
        at sun.misc.Unsafe.park(Native Method)
        - parking to wait for <0x0fb90340> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
        at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:317)
        at org.jvnet.hk2.config.Transactions$Notifier$1.run(Transactions.java:142)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)

"AutoDeployer" daemon prio=6 tid=0x31c89c00 nid=0x1504 in Object.wait() [0x325df000..0x325dfae8]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x0fb90490> (a java.util.TaskQueue)
        at java.util.TimerThread.mainLoop(Timer.java:509)
        - locked <0x0fb90490> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:462)

"Thread-2" daemon prio=6 tid=0x31c89000 nid=0x14ec waiting on condition [0x324bf000..0x324bfbe8]
   java.lang.Thread.State: WAITING (parking)
        at sun.misc.Unsafe.park(Native Method)
        - parking to wait for <0x0fb90650> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
        at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:317)
        at com.sun.enterprise.server.logging.GFFileHandler.log(GFFileHandler.java:514)
        at com.sun.enterprise.server.logging.GFFileHandler$3.run(GFFileHandler.java:246)

"pool-4-thread-1" daemon prio=6 tid=0x31c88800 nid=0xdc4 waiting on condition [0x31bff000..0x31bffc68]
   java.lang.Thread.State: TIMED_WAITING (parking)
        at sun.misc.Unsafe.park(Native Method)
        - parking to wait for <0x0fb90770> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
        at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)
        at java.util.concurrent.DelayQueue.take(DelayQueue.java:164)
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:583)
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:576)
        at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)

"pool-3-thread-1" daemon prio=6 tid=0x31542800 nid=0x1050 waiting on condition [0x31b6f000..0x31b6fce8]
   java.lang.Thread.State: WAITING (parking)
        at sun.misc.Unsafe.park(Native Method)
        - parking to wait for <0x0faea310> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
        at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:317)
        at org.jvnet.hk2.config.Transactions$Notifier$1.run(Transactions.java:142)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)

"pool-2-thread-1" daemon prio=6 tid=0x31522400 nid=0x1284 waiting on condition [0x31adf000..0x31adfd68]
   java.lang.Thread.State: WAITING (parking)
        at sun.misc.Unsafe.park(Native Method)
        - parking to wait for <0x0fb287a8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
        at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:317)
        at org.jvnet.hk2.config.Transactions$Notifier$1.run(Transactions.java:142)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)

"pool-1-thread-1" daemon prio=6 tid=0x31522000 nid=0x138c waiting on condition [0x3199f000..0x3199f9e8]
   java.lang.Thread.State: WAITING (parking)
        at sun.misc.Unsafe.park(Native Method)
        - parking to wait for <0x0faea628> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
        at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:317)
        at org.jvnet.hk2.config.Transactions$Notifier$1.run(Transactions.java:142)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)

"Configuration Updater" daemon prio=6 tid=0x314a2400 nid=0x17a4 in Object.wait() [0x3180f000..0x3180fa68]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x0f7b7428> (a java.util.LinkedList)
        at java.lang.Object.wait(Object.java:485)
        at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:67)
        - locked <0x0f7b7428> (a java.util.LinkedList)

"telnetconsole.Listener" daemon prio=6 tid=0x314d3c00 nid=0xc3c runnable [0x3177f000..0x3177fae8]
   java.lang.Thread.State: RUNNABLE
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
        - locked <0x0f7b74f0> (a java.net.SocksSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:453)
        at java.net.ServerSocket.accept(ServerSocket.java:421)
        at org.apache.felix.shell.remote.Listener$Acceptor.run(Listener.java:137)
        at java.lang.Thread.run(Thread.java:619)

"FelixPackageAdmin" daemon prio=6 tid=0x314bcc00 nid=0x5bc in Object.wait() [0x316ef000..0x316efb68]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x0f71c158> (a org.apache.felix.framework.PackageAdminImpl)
        at java.lang.Object.wait(Object.java:485)
        at org.apache.felix.framework.PackageAdminImpl.run(PackageAdminImpl.java:314)
        - locked <0x0f71c158> (a org.apache.felix.framework.PackageAdminImpl)
        at java.lang.Thread.run(Thread.java:619)

"FelixStartLevel" daemon prio=6 tid=0x314ca400 nid=0x162c in Object.wait() [0x3165f000..0x3165fbe8]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x0f71c540> (a java.util.ArrayList)
        at java.lang.Object.wait(Object.java:485)
        at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:241)
        - locked <0x0f71c540> (a java.util.ArrayList)
        at java.lang.Thread.run(Thread.java:619)

"FelixDispatchQueue" prio=6 tid=0x31213c00 nid=0xb50 in Object.wait() [0x3115f000..0x3115fc68]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x0f1a8858> (a java.util.ArrayList)
        at java.lang.Object.wait(Object.java:485)
        at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:875)
        - locked <0x0f1a8858> (a java.util.ArrayList)
        at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:50)
        at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:102)
        at java.lang.Thread.run(Thread.java:619)

"DestroyJavaVM" prio=6 tid=0x0013d400 nid=0x16e0 waiting on condition [0x00000000..0x0027fd20]
   java.lang.Thread.State: RUNNABLE

"OSGi Framework Launcher" prio=6 tid=0x30da4400 nid=0x15e4 in Object.wait() [0x3108f000..0x3108fce8]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x0f71e480> (a org.apache.felix.framework.util.ThreadGate)
        at org.apache.felix.framework.util.ThreadGate.await(ThreadGate.java:48)
        - locked <0x0f71e480> (a org.apache.felix.framework.util.ThreadGate)
        at org.apache.felix.framework.Felix.waitForStop(Felix.java:785)
        at org.apache.felix.main.Main.main(Main.java:215)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.sun.enterprise.glassfish.bootstrap.ASMainFelix$1.run(ASMainFelix.java:101)
        at java.lang.Thread.run(Thread.java:619)

"Low Memory Detector" daemon prio=6 tid=0x30cf2c00 nid=0x1044 runnable [0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE

"CompilerThread0" daemon prio=10 tid=0x30cf2000 nid=0xf1c waiting on condition [0x00000000..0x30edf710]
   java.lang.Thread.State: RUNNABLE

"Thread-0" daemon prio=6 tid=0x30cf1c00 nid=0x14f8 runnable [0x30e4f000..0x30e4fae8]
   java.lang.Thread.State: RUNNABLE
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
        - locked <0x0f153d18> (a java.net.SocksSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:453)
        at java.net.ServerSocket.accept(ServerSocket.java:421)
        at com.sun.btrace.agent.Main.startServer(Main.java:286)
        at com.sun.btrace.agent.Main.access$000(Main.java:57)
        at com.sun.btrace.agent.Main$1.run(Main.java:132)
        at java.lang.Thread.run(Thread.java:619)

"Attach Listener" daemon prio=10 tid=0x0099f800 nid=0x1660 runnable [0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=10 tid=0x00995000 nid=0x16c4 runnable [0x00000000..0x00000000]
   java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=8 tid=0x00982c00 nid=0xc48 in Object.wait() [0x30a9f000..0x30a9fc68]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x0f153ee8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x0f153ee8> (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=0x00981400 nid=0x4e8 in Object.wait() [0x30a0f000..0x30a0fce8]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x0f153f70> (a java.lang.ref.Reference$Lock)
        at java.lang.Object.wait(Object.java:485)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
        - locked <0x0f153f70> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=10 tid=0x0097dc00 nid=0x1110 runnable

"VM Periodic Task Thread" prio=10 tid=0x30d0d400 nid=0x1514 waiting on condition



=================
System Properties
=================

 com.sun.aas.imqBin=C:\glassfishv3\mq\bin
 java.vendor=Sun Microsystems Inc.
 sun.java.launcher=SUN_STANDARD
 javax.net.ssl.trustStorePassword=changeit
 sun.management.compiler=HotSpot Client Compiler
 os.name=Windows Vista
 java.util.logging.config.file=C:\glassfishv3\glassfish\domains\domain1\config\logging.properties
 sun.boot.class.path=C:\Program Files (x86)\Java\jdk1.6.0_12\jre\lib\resources.jar;C:\Program Files (x86)\Java\jdk1.6.0_12\jre\lib\rt.jar;C:\Program Files (x86)\Java\jdk1.6.0_12\jre\lib\sunrsasign.jar;C:\Program Files (x86)\Java\jdk1.6.0_12\jre\lib\jsse.jar;C:\Program Files (x86)\Java\jdk1.6.0_12\jre\lib\jce.jar;C:\Program Files (x86)\Java\jdk1.6.0_12\jre\lib\charsets.jar;C:\Program Files (x86)\Java\jdk1.6.0_12\jre\classes;C:\glassfishv3\glassfish\lib\monitor\btrace-boot.jar
 com.sun.aas.nativeLauncher=C:\glassfishv3\glassfish\domains\domain1\false
 sun.desktop=windows
 java.vm.specification.vendor=Sun Microsystems Inc.
 AS_JATO_LIB=C:\glassfishv3\glassfish\config\..\lib
 com.sun.aas.mfwkHome=C:\glassfishv3\glassfish\domains\domain1\${MFWK_HOME}
 java.runtime.version=1.6.0_12-b04
 com.sun.aas.webServicesLib=C:\glassfishv3\glassfish\lib
 javax.net.ssl.keyStore=C:\glassfishv3\glassfish\domains\domain1/config/keystore.jks
 user.name=Mihai
 AS_MFWK_HOME=%MFWK_HOME%
 com.sun.aas.antRoot=C:\glassfishv3\glassfish\lib\ant
 AS_NSS_BIN=..\lib\admincgi
 com.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
 user.language=en
 AS_ANT_LIB=..\lib\ant\lib
 sun.boot.library.path=C:\Program Files (x86)\Java\jdk1.6.0_12\jre\bin
 com.sun.aas.javaRoot=C:\Program Files (x86)\Java\jdk1.6.0_12\jre
 AS_IMQ_LIB=C:\glassfishv3\glassfish\config\..\..\mq\lib
 felix.config.properties=file:/C:/glassfishv3/glassfish/osgi/felix/conf/config.properties
 java.version=1.6.0_12
 com.sun.aas.instanceRootURI=file:/C:/glassfishv3/glassfish/domains/domain1/
 user.timezone=America/New_York
 com.sun.aas.jatoRoot=C:\glassfishv3\glassfish\lib
 sun.arch.data.model=32
 javax.rmi.CORBA.UtilClass=com.sun.corba.ee.impl.javax.rmi.CORBA.Util
 java.endorsed.dirs=C:\glassfishv3\glassfish/lib/endorsed
 java.rmi.server.randomIDs=true
 com.sun.aas.installRoot=C:\glassfishv3\glassfish
 product.name=GlassFish/v3
 sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
 sun.jnu.encoding=Cp1252
 file.encoding.pkg=sun.io
 com.sun.aas.hadbRoot=C:\glassfishv3\glassfish\domains\domain1\${HADB_HOME}
 AS_JHELP=C:\glassfishv3\glassfish\config\..\lib
 file.separator=\
 java.specification.name=Java Platform API Specification
 java.class.version=50.0
 user.country=US
 com.sun.aas.jhelpRoot=C:\glassfishv3\glassfish\lib
 com.sun.aas.antLib=C:\glassfishv3\glassfish\lib\ant\lib
 java.home=C:\Program Files (x86)\Java\jdk1.6.0_12\jre
 java.vm.info=mixed mode
 os.version=6.0
 org.jvnet.hk2.osgimain.autostartBundles=org.apache.felix.shell.jar, org.apache.felix.shell.remote.jar, org.apache.felix.configadmin.jar, osgi-adapter.jar, org.apache.felix.scr.jar, org.apache.felix.fileinstall.jar
 org.omg.CORBA.ORBSingletonClass=com.sun.corba.se.impl.orb.ORBSingleton
 com.sun.aas.installRootURI=file:/C:/glassfishv3/glassfish/
 path.separator=;
 java.vm.version=11.2-b01
 user.variant=
 AS_CONFIG=C:\glassfishv3\glassfish\config\..\config
 btrace.port=2020
 jdbc.drivers=org.apache.derby.jdbc.ClientDriver
 AS_IMQ_BIN=..\..\mq\bin
 java.awt.printerjob=sun.awt.windows.WPrinterJob
 java.security.policy=C:\glassfishv3\glassfish\domains\domain1/config/server.policy
 sun.io.unicode.encoding=UnicodeLittle
 com.sun.aas.hostName=Mihai-PC
 org.osgi.framework.storage=C:\glassfishv3\glassfish\domains\domain1\osgi-cache\felix
 awt.toolkit=sun.awt.windows.WToolkit
 AS_INSTALL=C:\glassfishv3\glassfish\config\..
 user.home=C:\Users\Mihai
 com.sun.aas.perlRoot=C:\glassfishv3\glassfish\domains\domain1\${PERL_HOME}
 com.sun.aas.derbyRoot=C:\glassfishv3\javadb
 com.sun.aas.configRoot=C:\glassfishv3\glassfish\config
 AS_ACC_CONFIG=C:\glassfishv3\glassfish\config\..\domains\domain1\config\sun-acc.xml
 com.sun.aas.jdmkHome=C:\glassfishv3\glassfish\lib\SUNWjdmk\5.1
 AS_JDMK_HOME=../lib/SUNWjdmk/5.1
 java.specification.vendor=Sun Microsystems Inc.
 com.sun.aas.nativeLauncherLibPrefix=C:\glassfishv3\glassfish\domains\domain1\jre\bin\client
 AS_DERBY_INSTALL=C:\glassfishv3\glassfish\config\..\..\javadb
 java.library.path=C:/glassfishv3/glassfish/lib;C:/Windows/SysWOW64;C:/glassfishv3/bin;C:/Windows/Sun/Java/bin;C:/Windows/System32;C:/Windows;C:/Program Files (x86)/Common Files/microsoft shared/Windows Live;C:/Windows/System32/wbem;C:/Program Files (x86)/Common Files/Ulead Systems/MPEG;C:/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static;C:/Program Files/Intel/WiFi/bin;C:/Users/Mihai/Program Files/pl/bin;C:/Program Files/Perforce;C:/Program Files (x86)/QuickTime/QTSystem;C:/Program Files (x86)/SSH Communications Security/SSH Secure Shell;C:/Program Files (x86)/Java/jdk1.6.0_12/bin;C:/Program Files/Perforce/Server;C:/php
 java.vendor.url=http://java.sun.com/
 AS_WEBSERVICES_LIB=C:\glassfishv3\glassfish\config\..\lib
 AS_PERL=%PERL_HOME%
 javax.rmi.CORBA.StubClass=com.sun.corba.ee.impl.javax.rmi.CORBA.StubDelegateImpl
 AS_WEBCONSOLE_LIB=C:\glassfishv3\glassfish\config\..\lib
 java.vm.vendor=Sun Microsystems Inc.
 java.runtime.name=Java(TM) SE Runtime Environment
 java.class.path=C:/glassfishv3/glassfish/modules/glassfish.jar;C:/glassfishv3/glassfish/lib/monitor/btrace-agent.jar
 GlassFish_Platform=Felix
 AS_NSS=C:\glassfishv3\glassfish\config\..\lib
 java.vm.specification.name=Java Virtual Machine Specification
 com.sun.aas.nssBin=C:\glassfishv3\glassfish\lib\admincgi
 javax.rmi.CORBA.PortableRemoteObjectClass=com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject
 java.vm.specification.version=1.0
 sun.cpu.endian=little
 sun.os.patch.level=Service Pack 2, v.286
 com.sun.aas.icuLib=C:\glassfishv3\glassfish\lib
 java.io.tmpdir=C:\Users\Mihai\AppData\Local\Temp\
 com.sun.aas.imqLib=C:\glassfishv3\mq\lib
 hk2.startup.context.args=#Wed Aug 19 11:02:56 EDT 2009
-domainname=domain1
-verbose=false
-domaindir=C\:/glassfishv3/glassfish/domains/domain1
-asadmin-classpath=C\:/glassfishv3/glassfish/modules/admin-cli.jar
-asadmin-classname=com.sun.enterprise.admin.cli.AsadminMain
-instancename=server
-read-stdin=true
-asadmin-args=start-domain
-debug=false
hk2.startup.context.mainModule=org.glassfish.core.kernel
__time_zero=1250694176915
-upgrade=false

 AS_DEF_DOMAINS_PATH=C:\glassfishv3\glassfish\config\..\domains
 java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
 com.sun.aas.domainsRoot=C:\glassfishv3\glassfish\domains
 os.arch=x86
 java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
 com.sun.enterprise.hk2.cacheDir=C:\glassfishv3\glassfish\domains\domain1\osgi-cache\felix
 AS_NATIVE_LAUNCHER_LIB_PREFIX=\jre\bin\client
 java.ext.dirs=C:\Program Files (x86)\Java\jdk1.6.0_12\jre/lib/ext;C:\Program Files (x86)\Java\jdk1.6.0_12\jre/jre/lib/ext;C:\glassfishv3\glassfish\domains\domain1/lib/ext;C:\glassfishv3\javadb/lib
 org.jvnet.hk2.osgimain.bundlesDir=C:\glassfishv3\glassfish\modules
 user.dir=C:\glassfishv3\glassfish\domains\domain1\config
 com.sun.aas.instanceRoot=C:\glassfishv3\glassfish\domains\domain1
 line.separator=

 java.vm.name=Java HotSpot(TM) Client VM
 AS_HADB=%HADB_HOME%
 java.security.auth.login.config=C:\glassfishv3\glassfish\domains\domain1/config/login.conf
 com.sun.aas.nssRoot=C:\glassfishv3\glassfish\lib
 AS_ANT=..\lib\ant
 org.omg.CORBA.ORBClass=com.sun.corba.se.impl.orb.ORBImpl
 file.encoding=Cp1252
 AS_ICU_LIB=C:\glassfishv3\glassfish\config\..\lib
 felix.system.properties=file:/C:/glassfishv3/glassfish/osgi/felix/conf/system.properties
 AS_NATIVE_LAUNCHER=false
 java.specification.version=1.6
 javax.net.ssl.trustStore=C:\glassfishv3\glassfish\domains\domain1/config/cacerts.jks
 com.sun.aas.webconsoleLib=C:\glassfishv3\glassfish\lib
 hk2.startup.context.root=C:\glassfishv3\glassfish\modules
 javax.net.ssl.keyStorePassword=changeit


============
Command line
============

"C:\Program Files (x86)\Java\jdk1.6.0_12\bin\java.exe" -cp C:/glassfishv3/glassfish/modules/glassfish.jar -XX:+UnlockDiagnosticVMOptions -XX:MaxPermSize=192m -XX:NewRatio=2 -XX:+LogVMOutput -XX:LogFile=C:\glassfishv3\glassfish\domains\domain1/logs/jvm.log -Xmx512m -client -javaagent:C:/glassfishv3/glassfish/lib/monitor/btrace-agent.jar=unsafe=true -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver -Djavax.net.ssl.trustStore=C:\glassfishv3\glassfish\domains\domain1/config/cacerts.jks -Djavax.net.ssl.keyStore=C:\glassfishv3\glassfish\domains\domain1/config/keystore.jks -Djava.security.policy=C:\glassfishv3\glassfish\domains\domain1/config/server.policy -Dcom.sun.aas.instanceRoot=C:\glassfishv3\glassfish\domains\domain1 -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory -Djava.security.auth.login.config=C:\glassfishv3\glassfish\domains\domain1/config/login.conf -Djava.endorsed.dirs=C:\glassfishv3\glassfish/lib/endorsed -Dcom.sun.aas.installRoot=C:\glassfishv3\glassfish "-Djava.ext.dirs=C:\Program Files (x86)\Java\jdk1.6.0_12/lib/ext;C:\Program Files (x86)\Java\jdk1.6.0_12/jre/lib/ext;C:\glassfishv3\glassfish\domains\domain1/lib/ext;C:\glassfishv3\javadb/lib" "-Djava.library.path=C:/glassfishv3/glassfish/lib;C:/Windows/SysWOW64;C:/glassfishv3/bin;C:/Windows/Sun/Java/bin;C:/Windows/System32;C:/Windows;C:/Program Files (x86)/Common Files/microsoft shared/Windows Live;C:/Windows/System32/wbem;C:/Program Files (x86)/Common Files/Ulead Systems/MPEG;C:/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static;C:/Program Files/Intel/WiFi/bin;C:/Users/Mihai/Program Files/pl/bin;C:/Program Files/Perforce;C:/Program Files (x86)/QuickTime/QTSystem;C:/Program Files (x86)/SSH Communications Security/SSH Secure Shell;C:/Program Files (x86)/Java/jdk1.6.0_12/bin;C:/Program Files/Perforce/Server;C:/php" com.sun.enterprise.glassfish.bootstrap.ASMain -domainname domain1 -asadmin-args start-domain -instancename server -verbose false -debug false -asadmin-classpath C:/glassfishv3/glassfish/modules/admin-cli.jar -asadmin-classname com.sun.enterprise.admin.cli.AsadminMain -upgrade false -domaindir C:/glassfishv3/glassfish/domains/domain1 -read-stdin true


======
Memory
======

Used: 14760232 (~14MB)
Free: 9799384 (~9MB)
Total: 24559616 (~23MB)
Max: 518979584 (~495MB)
[###==...............................................................................................]

Available Processors: 2
[/code]

Any idea why the server won't start?

Thank you,
Mihai
[Message sent by forum member 'mihaifonoage' (mihaifonoage)]

http://forums.java.net/jive/thread.jspa?messageID=361186