This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 77116 - Long time out on start-up failure detection confuses user
Summary: Long time out on start-up failure detection confuses user
Status: RESOLVED DUPLICATE of bug 84702
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-31 02:11 UTC by judytang
Modified: 2006-09-27 16:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
j2ee1.4 webservice sample (9.19 KB, application/octet-stream)
2006-05-31 02:12 UTC, judytang
Details
server.log (1.17 MB, text/plain)
2006-05-31 22:36 UTC, judytang
Details
NB log (23.32 KB, text/plain)
2006-06-13 22:41 UTC, judytang
Details
app server log (79.98 KB, text/plain)
2006-06-13 22:46 UTC, judytang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description judytang 2006-05-31 02:11:34 UTC
I am using 5/30 IDE dialy build with JDK 5.0, SDK build 4 on Win XP

Deploy the archived webservice project for the second time cause NB to hung

Steps to recreate:

(1) Create the achived project for the attached webservice file jaxrpc-simple.ear

(2) Deploy the archived project

(3) Deploy the second time, it caused the NB to hung
Comment 1 judytang 2006-05-31 02:12:05 UTC
Created attachment 30685 [details]
j2ee1.4 webservice sample
Comment 2 Vince Kraemer 2006-05-31 05:51:37 UTC
any thread dump you care to attach?
Comment 3 judytang 2006-05-31 22:33:55 UTC
Tried the same step, but the IDE did not hung.  

The server.log got the following exception, but the deploy says it is
successful.  Should I file a separate bug on this issue ?  I am attaching the
server.log.  It is a long one, but the bottom is the correct part of the log.


javax.ejb.EJBException: Transaction aborted; nested exception is:
javax.transaction.RollbackException
Comment 4 judytang 2006-05-31 22:36:28 UTC
Created attachment 30715 [details]
server.log
Comment 5 Vince Kraemer 2006-05-31 23:10:04 UTC
Filer cannot reproduce

I haven't been able to reproduce, though I have deployed the app multiple times

To reopen this issue attach a thread dump generated when the issue recurs.
Comment 6 judytang 2006-06-13 22:22:33 UTC
I am using 6/12 IDE dialy build with JDK 5.0, SDK build 4 on Win XP

I was able to recreat the reported hung when try to deply the 3rd time, then I
took thread dump after 5 minutes, it end with fail to deploy error.  I am attach
the NB log and server log.  I am also giving the thread dump and NB console log.

I am using window XP, will the platform makes the difference.

Here is the thread dump, NB console log, NB log, AS server.log

------- thread dump -------

Full thread dump Java HotSpot(TM) Client VM (1.5.0_03-b07 mixed mode):

"Keep-Alive-Timer" daemon prio=9 tid=0x15f365a8 nid=0xb54 waiting on condition [
0x15c9f000..0x15c9fae8]
        at java.lang.Thread.sleep(Native Method)
        at sun.net.www.http.KeepAliveCache.run(KeepAliveCache.java:149)
        at java.lang.Thread.run(Thread.java:595)

"Inactive RequestProcessor thread [Was:TimedSoftReference/org.openide.util.Timed
SoftReference]" daemon prio=2 tid=0x15f083b0 nid=0xfd8 in Object.wait() [0x1e6ff
000..0x1e6ffa68]
        at java.lang.Object.wait(Native Method)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java
:879)
^C
C:\Program Files\netbeans-5.5dev\bin>   - locked <0x04f2e530> (a java.lang.Objec
t)

"exec_jaxrpc2 (run-deploy)_5" prio=4 tid=0x15039b90 nid=0xb98 in Object.wait() [
0x1578f000..0x1578fd68]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x0406d158> (a org.netbeans.modules.j2ee.deployment.impl.S
erverInstance)
        at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.sleep(Server
Instance.java:1435)
        - locked <0x0406d158> (a org.netbeans.modules.j2ee.deployment.impl.Serve
rInstance)
        at org.netbeans.modules.j2ee.deployment.impl.ServerInstance._start(Serve
rInstance.java:1066)
        - locked <0x0406d158> (a org.netbeans.modules.j2ee.deployment.impl.Serve
rInstance)
        at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(
ServerInstance.java:1006)
        at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(
ServerInstance.java:820)
        at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.start(Server
Instance.java:698)
        at org.netbeans.modules.j2ee.deployment.impl.TargetServer.startTargets(T
argetServer.java:386)
        at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy
(Deployment.java:93)
        at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:76)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:40)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.jav
a:234)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.jav
a:287)
        - locked <0x04e88370> (a org.apache.tools.ant.module.run.TargetExecutor)

        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:12
5)

"Default RequestProcessor" daemon prio=5 tid=0x16455808 nid=0x7c4 waiting on con
dition [0x15dbf000..0x15dbfce8]
        at java.lang.Thread.sleep(Native Method)
        at org.netbeans.modules.j2ee.sun.ide.j2ee.StartSunServer.hasCommandSucce
eded(StartSunServer.java:613)
        at org.netbeans.modules.j2ee.sun.ide.j2ee.StartSunServer.exec(StartSunSe
rver.java:465)
        at org.netbeans.modules.j2ee.sun.ide.j2ee.StartSunServer.run(StartSunSer
ver.java:367)
        - locked <0x04e48538> (a org.netbeans.modules.j2ee.sun.ide.j2ee.StartSun
Server)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)

        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java
:926)

"Default RequestProcessor" daemon prio=2 tid=0x152b24e8 nid=0xd78 in Object.wait
() [0x158df000..0x158dfae8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:474)
        at org.openide.util.Task.waitFinished(Task.java:102)
        - locked <0x04e88420> (a org.netbeans.core.execution.ExecutorTaskImpl)
        at org.apache.tools.ant.module.run.TargetExecutor$WrapperRunnable.run(Ta
rgetExecutor.java:193)
        at org.openide.util.Task.run(Task.java:216)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)

        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java
:926)

"Thread-16" daemon prio=5 tid=0x15091500 nid=0xb6c waiting on condition [0x15d5f
000..0x15d5fd68]
        at java.lang.Thread.sleep(Native Method)
        at org.netbeans.modules.j2ee.sun.ide.j2ee.LogViewerSupport.run(LogViewer
Support.java:96)

"Thread-15" daemon prio=5 tid=0x150a0778 nid=0xd50 runnable [0x15cdf000..0x15cdf
ae8]
        at java.io.FileInputStream.readBytes(Native Method)
        at java.io.FileInputStream.read(FileInputStream.java:194)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
        - locked <0x0413cf60> (a java.io.BufferedInputStream)
        at java.io.FilterInputStream.read(FilterInputStream.java:90)
        at org.netbeans.modules.j2ee.sun.ide.j2ee.StartSunServer$StreamFlusher.r
un(StartSunServer.java:956)

"Thread-14" daemon prio=5 tid=0x162a5890 nid=0x9e4 runnable [0x15c5f000..0x15c5f
b68]
        at java.io.FileInputStream.readBytes(Native Method)
        at java.io.FileInputStream.read(FileInputStream.java:177)
        at org.netbeans.modules.j2ee.sun.ide.j2ee.StartSunServer$StreamFlusher.r
un(StartSunServer.java:956)

"Thread-10" daemon prio=5 tid=0x160eb408 nid=0x944 runnable [0x15c1f000..0x15c1f
9e8]
        at java.lang.ProcessImpl.waitFor(Native Method)
        at org.netbeans.modules.derby.ExecSupport$1.run(ExecSupport.java:76)

"Thread-9" daemon prio=5 tid=0x15f36780 nid=0x24c waiting on condition [0x15bdf0
00..0x15bdfce8]
        at java.lang.Thread.sleep(Native Method)
        at org.netbeans.modules.derby.ExecSupport$OutputCopier.read(ExecSupport.
java:155)
        at org.netbeans.modules.derby.ExecSupport$OutputCopier.run(ExecSupport.j
ava:130)

"Thread-8" daemon prio=5 tid=0x161a6e58 nid=0x980 waiting on condition [0x15b9f0
00..0x15b9fa68]
        at java.lang.Thread.sleep(Native Method)
        at org.netbeans.modules.derby.ExecSupport$OutputCopier.read(ExecSupport.
java:155)
        at org.netbeans.modules.derby.ExecSupport$OutputCopier.run(ExecSupport.j
ava:130)

"Thread-7" daemon prio=5 tid=0x15f504a8 nid=0x208 waiting on condition [0x15a2f0
00..0x15a2fd68]
        at java.lang.Thread.sleep(Native Method)
        at org.netbeans.modules.derby.ExecSupport$OutputCopier.read(ExecSupport.
java:155)
        at org.netbeans.modules.derby.ExecSupport$OutputCopier.run(ExecSupport.j
ava:130)

"MDR event dispatcher" daemon prio=2 tid=0x14ebc3e8 nid=0xefc in Object.wait() [
0x1594f000..0x1594fae8]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x03b38890> (a java.util.LinkedList)
        at java.lang.Object.wait(Object.java:474)
        at org.netbeans.mdr.util.EventNotifier$EventsDelivery.run(EventNotifier.
java:257)
        - locked <0x03b38890> (a java.util.LinkedList)
        at java.lang.Thread.run(Thread.java:595)

"DestroyJavaVM" prio=5 tid=0x00038278 nid=0xf1c waiting on condition [0x00000000
..0x0007fae8]

"AWT-EventQueue-1" prio=7 tid=0x14e9d460 nid=0x1fc in Object.wait() [0x1581f000.
.0x1581fbe8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:474)
        at java.awt.EventQueue.getNextEvent(EventQueue.java:345)
        - locked <0x039d77c8> (a java.awt.EventQueue)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:189)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)

        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)

        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

"TimerQueue" daemon prio=5 tid=0x14d73c80 nid=0x250 in Object.wait() [0x1565f000
..0x1565fc68]
        at java.lang.Object.wait(Native Method)
        at javax.swing.TimerQueue.run(TimerQueue.java:233)
        - locked <0x039d7870> (a javax.swing.TimerQueue)
        at java.lang.Thread.run(Thread.java:595)

"Java2D Disposer" daemon prio=10 tid=0x1506bea8 nid=0xb78 in Object.wait() [0x15
61f000..0x1561fae8]
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x034f26a0> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
        at sun.java2d.Disposer.run(Disposer.java:107)
        at java.lang.Thread.run(Thread.java:595)

"AWT-Windows" daemon prio=7 tid=0x14ffcc10 nid=0x670 runnable [0x155bf000..0x155
bfb68]
        at sun.awt.windows.WToolkit.eventLoop(Native Method)
        at sun.awt.windows.WToolkit.run(WToolkit.java:269)
        at java.lang.Thread.run(Thread.java:595)

"AWT-Shutdown" prio=5 tid=0x14fafdf8 nid=0xf98 in Object.wait() [0x1557f000..0x1
557fbe8]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x034f2788> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:474)
        at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
        - locked <0x034f2788> (a java.lang.Object)
        at java.lang.Thread.run(Thread.java:595)

"Timer-0" daemon prio=5 tid=0x14d6ddc8 nid=0xeec in Object.wait() [0x154df000..0
x154dfc68]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x034b0a70> (a java.util.TaskQueue)
        at java.util.TimerThread.mainLoop(Timer.java:509)
        - locked <0x034b0a70> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:462)

"CLI Requests Server" daemon prio=5 tid=0x14d81850 nid=0x5c0 runnable [0x1545f00
0..0x1545fd68]
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
        - locked <0x034b0ba8> (a java.net.SocksSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:450)
        at java.net.ServerSocket.accept(ServerSocket.java:421)
        at org.netbeans.CLIHandler$Server.run(CLIHandler.java:861)

"Active Reference Queue Daemon" daemon prio=2 tid=0x14d78e38 nid=0xddc in Object
.wait() [0x14f6f000..0x14f6f9e8]
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x034b0d28> (a java.lang.ref.ReferenceQueue$Lock)
        at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:2996)
        at java.lang.Thread.run(Thread.java:595)

"Low Memory Detector" daemon prio=5 tid=0x00a94050 nid=0xfa8 runnable [0x0000000
0..0x00000000]

"CompilerThread0" daemon prio=10 tid=0x00036268 nid=0x590 waiting on condition [
0x00000000..0x14caf84c]

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

"Finalizer" daemon prio=9 tid=0x00a89450 nid=0xf74 in Object.wait() [0x14c2f000.
.0x14c2fc68]
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x034b0ed0> (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=0x00a87fc0 nid=0xa74 in Object.wait() [0x
14bef000..0x14befce8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:474)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
        - locked <0x034b0a00> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=10 tid=0x00a855f0 nid=0xa68 runnable

"VM Periodic Task Thread" prio=10 tid=0x00a95360 nid=0x888 waiting on condition


---------- NB console log -----------

init:
init:
dist:
init:
dist:
dist:
run-deploy:
Starting server Server1

The Sun Java System Application Server could not start.
More information about the cause is in the Server log file.
Possible reasons include:
 - IDE timeout: refresh the server node to see if it's running now.
 - Port conflicts. (use netstat -a to detect possible port numbers already used
by the operating system.) 
 - Incorrect server configuration (domain.xml to be corrected manually) 
 - Corrupted Deployed Applications preventing the server to start.(This can be
seen in the server.log file. In this case, domain.xml needs to be modified).
D:\test\netbeantest\dt_testing\test\jaxrpc2\nbproject\build-impl.xml:113:
Deployment error:
The Sun Java System Application Server could not start.
More information about the cause is in the Server log file.
Possible reasons include:
 - IDE timeout: refresh the server node to see if it's running now.
 - Port conflicts. (use netstat -a to detect possible port numbers already used
by the operating system.) 
 - Incorrect server configuration (domain.xml to be corrected manually) 
 - Corrupted Deployed Applications preventing the server to start.(This can be
seen in the server.log file. In this case, domain.xml needs to be modified).
See the server log for details.
BUILD FAILED (total time: 5 minutes 1 second)
Comment 7 judytang 2006-06-13 22:37:01 UTC
I am using 6/12 IDE dialy build with JDK 5.0, SDK build 4 on Win XP

I was able to recreat the reported hung when try to deply the 3rd time, then I
took thread dump after 5 minutes, it end with fail to deploy error.  I am attach
the NB log and server log.  I am also giving the thread dump and NB console log.

I am using window XP, will the platform makes the difference.

Here is the thread dump, NB console log, NB log, AS server.log

------- thread dump -------

Full thread dump Java HotSpot(TM) Client VM (1.5.0_03-b07 mixed mode):

"Keep-Alive-Timer" daemon prio=9 tid=0x15f365a8 nid=0xb54 waiting on condition [
0x15c9f000..0x15c9fae8]
        at java.lang.Thread.sleep(Native Method)
        at sun.net.www.http.KeepAliveCache.run(KeepAliveCache.java:149)
        at java.lang.Thread.run(Thread.java:595)

"Inactive RequestProcessor thread [Was:TimedSoftReference/org.openide.util.Timed
SoftReference]" daemon prio=2 tid=0x15f083b0 nid=0xfd8 in Object.wait() [0x1e6ff
000..0x1e6ffa68]
        at java.lang.Object.wait(Native Method)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java
:879)
^C
C:\Program Files\netbeans-5.5dev\bin>   - locked <0x04f2e530> (a java.lang.Objec
t)

"exec_jaxrpc2 (run-deploy)_5" prio=4 tid=0x15039b90 nid=0xb98 in Object.wait() [
0x1578f000..0x1578fd68]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x0406d158> (a org.netbeans.modules.j2ee.deployment.impl.S
erverInstance)
        at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.sleep(Server
Instance.java:1435)
        - locked <0x0406d158> (a org.netbeans.modules.j2ee.deployment.impl.Serve
rInstance)
        at org.netbeans.modules.j2ee.deployment.impl.ServerInstance._start(Serve
rInstance.java:1066)
        - locked <0x0406d158> (a org.netbeans.modules.j2ee.deployment.impl.Serve
rInstance)
        at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(
ServerInstance.java:1006)
        at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(
ServerInstance.java:820)
        at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.start(Server
Instance.java:698)
        at org.netbeans.modules.j2ee.deployment.impl.TargetServer.startTargets(T
argetServer.java:386)
        at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy
(Deployment.java:93)
        at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:76)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:40)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.jav
a:234)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.jav
a:287)
        - locked <0x04e88370> (a org.apache.tools.ant.module.run.TargetExecutor)

        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:12
5)

"Default RequestProcessor" daemon prio=5 tid=0x16455808 nid=0x7c4 waiting on con
dition [0x15dbf000..0x15dbfce8]
        at java.lang.Thread.sleep(Native Method)
        at org.netbeans.modules.j2ee.sun.ide.j2ee.StartSunServer.hasCommandSucce
eded(StartSunServer.java:613)
        at org.netbeans.modules.j2ee.sun.ide.j2ee.StartSunServer.exec(StartSunSe
rver.java:465)
        at org.netbeans.modules.j2ee.sun.ide.j2ee.StartSunServer.run(StartSunSer
ver.java:367)
        - locked <0x04e48538> (a org.netbeans.modules.j2ee.sun.ide.j2ee.StartSun
Server)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)

        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java
:926)

"Default RequestProcessor" daemon prio=2 tid=0x152b24e8 nid=0xd78 in Object.wait
() [0x158df000..0x158dfae8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:474)
        at org.openide.util.Task.waitFinished(Task.java:102)
        - locked <0x04e88420> (a org.netbeans.core.execution.ExecutorTaskImpl)
        at org.apache.tools.ant.module.run.TargetExecutor$WrapperRunnable.run(Ta
rgetExecutor.java:193)
        at org.openide.util.Task.run(Task.java:216)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)

        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java
:926)

"Thread-16" daemon prio=5 tid=0x15091500 nid=0xb6c waiting on condition [0x15d5f
000..0x15d5fd68]
        at java.lang.Thread.sleep(Native Method)
        at org.netbeans.modules.j2ee.sun.ide.j2ee.LogViewerSupport.run(LogViewer
Support.java:96)

"Thread-15" daemon prio=5 tid=0x150a0778 nid=0xd50 runnable [0x15cdf000..0x15cdf
ae8]
        at java.io.FileInputStream.readBytes(Native Method)
        at java.io.FileInputStream.read(FileInputStream.java:194)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
        - locked <0x0413cf60> (a java.io.BufferedInputStream)
        at java.io.FilterInputStream.read(FilterInputStream.java:90)
        at org.netbeans.modules.j2ee.sun.ide.j2ee.StartSunServer$StreamFlusher.r
un(StartSunServer.java:956)

"Thread-14" daemon prio=5 tid=0x162a5890 nid=0x9e4 runnable [0x15c5f000..0x15c5f
b68]
        at java.io.FileInputStream.readBytes(Native Method)
        at java.io.FileInputStream.read(FileInputStream.java:177)
        at org.netbeans.modules.j2ee.sun.ide.j2ee.StartSunServer$StreamFlusher.r
un(StartSunServer.java:956)

"Thread-10" daemon prio=5 tid=0x160eb408 nid=0x944 runnable [0x15c1f000..0x15c1f
9e8]
        at java.lang.ProcessImpl.waitFor(Native Method)
        at org.netbeans.modules.derby.ExecSupport$1.run(ExecSupport.java:76)

"Thread-9" daemon prio=5 tid=0x15f36780 nid=0x24c waiting on condition [0x15bdf0
00..0x15bdfce8]
        at java.lang.Thread.sleep(Native Method)
        at org.netbeans.modules.derby.ExecSupport$OutputCopier.read(ExecSupport.
java:155)
        at org.netbeans.modules.derby.ExecSupport$OutputCopier.run(ExecSupport.j
ava:130)

"Thread-8" daemon prio=5 tid=0x161a6e58 nid=0x980 waiting on condition [0x15b9f0
00..0x15b9fa68]
        at java.lang.Thread.sleep(Native Method)
        at org.netbeans.modules.derby.ExecSupport$OutputCopier.read(ExecSupport.
java:155)
        at org.netbeans.modules.derby.ExecSupport$OutputCopier.run(ExecSupport.j
ava:130)

"Thread-7" daemon prio=5 tid=0x15f504a8 nid=0x208 waiting on condition [0x15a2f0
00..0x15a2fd68]
        at java.lang.Thread.sleep(Native Method)
        at org.netbeans.modules.derby.ExecSupport$OutputCopier.read(ExecSupport.
java:155)
        at org.netbeans.modules.derby.ExecSupport$OutputCopier.run(ExecSupport.j
ava:130)

"MDR event dispatcher" daemon prio=2 tid=0x14ebc3e8 nid=0xefc in Object.wait() [
0x1594f000..0x1594fae8]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x03b38890> (a java.util.LinkedList)
        at java.lang.Object.wait(Object.java:474)
        at org.netbeans.mdr.util.EventNotifier$EventsDelivery.run(EventNotifier.
java:257)
        - locked <0x03b38890> (a java.util.LinkedList)
        at java.lang.Thread.run(Thread.java:595)

"DestroyJavaVM" prio=5 tid=0x00038278 nid=0xf1c waiting on condition [0x00000000
..0x0007fae8]

"AWT-EventQueue-1" prio=7 tid=0x14e9d460 nid=0x1fc in Object.wait() [0x1581f000.
.0x1581fbe8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:474)
        at java.awt.EventQueue.getNextEvent(EventQueue.java:345)
        - locked <0x039d77c8> (a java.awt.EventQueue)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:189)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)

        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)

        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

"TimerQueue" daemon prio=5 tid=0x14d73c80 nid=0x250 in Object.wait() [0x1565f000
..0x1565fc68]
        at java.lang.Object.wait(Native Method)
        at javax.swing.TimerQueue.run(TimerQueue.java:233)
        - locked <0x039d7870> (a javax.swing.TimerQueue)
        at java.lang.Thread.run(Thread.java:595)

"Java2D Disposer" daemon prio=10 tid=0x1506bea8 nid=0xb78 in Object.wait() [0x15
61f000..0x1561fae8]
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x034f26a0> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
        at sun.java2d.Disposer.run(Disposer.java:107)
        at java.lang.Thread.run(Thread.java:595)

"AWT-Windows" daemon prio=7 tid=0x14ffcc10 nid=0x670 runnable [0x155bf000..0x155
bfb68]
        at sun.awt.windows.WToolkit.eventLoop(Native Method)
        at sun.awt.windows.WToolkit.run(WToolkit.java:269)
        at java.lang.Thread.run(Thread.java:595)

"AWT-Shutdown" prio=5 tid=0x14fafdf8 nid=0xf98 in Object.wait() [0x1557f000..0x1
557fbe8]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x034f2788> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:474)
        at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
        - locked <0x034f2788> (a java.lang.Object)
        at java.lang.Thread.run(Thread.java:595)

"Timer-0" daemon prio=5 tid=0x14d6ddc8 nid=0xeec in Object.wait() [0x154df000..0
x154dfc68]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x034b0a70> (a java.util.TaskQueue)
        at java.util.TimerThread.mainLoop(Timer.java:509)
        - locked <0x034b0a70> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:462)

"CLI Requests Server" daemon prio=5 tid=0x14d81850 nid=0x5c0 runnable [0x1545f00
0..0x1545fd68]
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
        - locked <0x034b0ba8> (a java.net.SocksSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:450)
        at java.net.ServerSocket.accept(ServerSocket.java:421)
        at org.netbeans.CLIHandler$Server.run(CLIHandler.java:861)

"Active Reference Queue Daemon" daemon prio=2 tid=0x14d78e38 nid=0xddc in Object
.wait() [0x14f6f000..0x14f6f9e8]
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x034b0d28> (a java.lang.ref.ReferenceQueue$Lock)
        at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:2996)
        at java.lang.Thread.run(Thread.java:595)

"Low Memory Detector" daemon prio=5 tid=0x00a94050 nid=0xfa8 runnable [0x0000000
0..0x00000000]

"CompilerThread0" daemon prio=10 tid=0x00036268 nid=0x590 waiting on condition [
0x00000000..0x14caf84c]

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

"Finalizer" daemon prio=9 tid=0x00a89450 nid=0xf74 in Object.wait() [0x14c2f000.
.0x14c2fc68]
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x034b0ed0> (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=0x00a87fc0 nid=0xa74 in Object.wait() [0x
14bef000..0x14befce8]
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:474)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
        - locked <0x034b0a00> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=10 tid=0x00a855f0 nid=0xa68 runnable

"VM Periodic Task Thread" prio=10 tid=0x00a95360 nid=0x888 waiting on condition


---------- NB console log -----------

init:
init:
dist:
init:
dist:
dist:
run-deploy:
Starting server Server1

The Sun Java System Application Server could not start.
More information about the cause is in the Server log file.
Possible reasons include:
 - IDE timeout: refresh the server node to see if it's running now.
 - Port conflicts. (use netstat -a to detect possible port numbers already used
by the operating system.) 
 - Incorrect server configuration (domain.xml to be corrected manually) 
 - Corrupted Deployed Applications preventing the server to start.(This can be
seen in the server.log file. In this case, domain.xml needs to be modified).
D:\test\netbeantest\dt_testing\test\jaxrpc2\nbproject\build-impl.xml:113:
Deployment error:
The Sun Java System Application Server could not start.
More information about the cause is in the Server log file.
Possible reasons include:
 - IDE timeout: refresh the server node to see if it's running now.
 - Port conflicts. (use netstat -a to detect possible port numbers already used
by the operating system.) 
 - Incorrect server configuration (domain.xml to be corrected manually) 
 - Corrupted Deployed Applications preventing the server to start.(This can be
seen in the server.log file. In this case, domain.xml needs to be modified).
See the server log for details.
BUILD FAILED (total time: 5 minutes 1 second)
Comment 8 judytang 2006-06-13 22:41:25 UTC
Created attachment 31015 [details]
NB log
Comment 9 judytang 2006-06-13 22:46:31 UTC
Created attachment 31018 [details]
app server log
Comment 10 Vince Kraemer 2006-07-19 16:58:16 UTC
It lloks like the bug has changed.

Did NetBeans actually hang, or was it busy trying to start the app server...

If it was HUNG, the "could not start" message would NOT have appeared.

I am looking at a way to reduce the need to timeout, but that is not a hang
issue, so I am lowering the priority on this issue.

Changing the summary to reflect the new issue/situation, described by the
entries dated Jun 13 2006
Comment 11 Vince Kraemer 2006-09-11 19:15:24 UTC
no changes ready for check in today -- 5.5 code freeze
Comment 12 Vince Kraemer 2006-09-27 16:52:23 UTC
the start server timeout issue was addressed as part of 84702.

*** This issue has been marked as a duplicate of 84702 ***