|
From: <sna...@gm...> - 2003-10-13 17:53:42
|
Leif, It appears to be also relative to order in which you install patches and JRE. If I apply the patches (including service pack4) then install JRE, this problem shows up. Not sure if playing around with the CreateService() or CreateProcess() function arguements will do us any good. Will try it in the next couple of days. Here is the stack trace: Full thread dump Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode): "Thread-2" prio=5 tid=0x002349B0 nid=0x64c waiting on monitor [0..6fb14] "AWT-EventQueue-0" prio=7 tid=0x0AB7D680 nid=0x54c runnable [af1f000..af1fdb4] at sun.awt.windows.Win32OffScreenSurfaceData.initDDraw(Native Method) at sun.awt.windows.Win32OffScreenSurfaceData.<clinit>(Win32OffScreenSurfaceData.java:81) at sun.awt.windows.WVolatileImage.createHWData(WVolatileImage.java:87) at sun.awt.windows.WVolatileImage.initAcceleratedBackground(WVolatileImage.java:99) at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:86) at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:77) at sun.awt.windows.WVolatileImage.<init>(WVolatileImage.java:63) at sun.awt.windows.WComponentPeer.createVolatileImage(WComponentPeer.java:454) at java.awt.Component.createVolatileImage(Component.java:2614) at java.awt.Component.createVolatileImage(Component.java:2610) at javax.swing.RepaintManager._getOffscreenBuffer(RepaintManager.java:578) at javax.swing.RepaintManager.getVolatileOffscreenBuffer(RepaintManager.java:537) at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4674) at javax.swing.JComponent._paintImmediately(JComponent.java:4632) at javax.swing.JComponent.paintImmediately(JComponent.java:4464) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:404) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) at java.awt.EventQueue.dispatchEvent(EventQueue.java:443) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130) at java.awt.EventDispatchThread.run(EventDispatchThread.java:98) "AWT-Windows" daemon prio=7 tid=0x0AB2C080 nid=0x530 runnable [aecf000..aecfdb4] at sun.awt.windows.WToolkit.eventLoop(Native Method) at sun.awt.windows.WToolkit.run(WToolkit.java:240) at java.lang.Thread.run(Thread.java:536) "AWT-Shutdown" prio=5 tid=0x0AB2BDD0 nid=0x6a0 waiting on monitor [ae8f000..ae8fdb4] at java.lang.Object.wait(Native Method) - waiting on <02F299F8> (a java.lang.Object) at java.lang.Object.wait(Object.java:426) at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259) - locked <02F299F8> (a java.lang.Object) at java.lang.Thread.run(Thread.java:536) "Signal Dispatcher" daemon prio=10 tid=0x008B47E8 nid=0x5a8 waiting on monitor [0..0] "Finalizer" daemon prio=9 tid=0x0023D5F8 nid=0x214 waiting on monitor [ad4f000..ad4fdb4] at java.lang.Object.wait(Native Method) - waiting on <02EFA0A8> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111) - locked <02EFA0A8> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159) "Reference Handler" daemon prio=10 tid=0x0AA905D8 nid=0x69c waiting on monitor [ad0f000..ad0fdb4] at java.lang.Object.wait(Native Method) - waiting on <02EFA110> (a java.lang.ref.Reference$Lock) at java.lang.Object.wait(Object.java:426) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:113) - locked <02EFA110> (a java.lang.ref.Reference$Lock) "VM Thread" prio=5 tid=0x009564D8 nid=0x604 runnable "VM Periodic Task Thread" prio=10 tid=0x008B3138 nid=0x5ac waiting on monitor "Suspend Checker Thread" prio=10 tid=0x008B30B8 nid=0x67c runnable ----- Original Message ----- From: Leif Mortenson <le...@ta...> Date: Sunday, October 12, 2003 7:01 am Subject: Re: [Wrapper-user] Re: Problem with Java service in Windows 2000 > Sona, > Spent a couple hours trying to reproduce this on my Win2k box. > It > is running Service > Pack 2. Probably not as new as yours. I am using it as a server > however and do not > really want to add new patches and risk reducing its stability, > which > has been amazing > for a Windows machine. > I have tried both Java 1.4.2_01 and 1.3.1, both work fine. > > >6) When the problem happens (swing program struck on startup), > some external programs do not start at all. Like "Setup.exe" - > standard installation package. The moment javaw.exe / java.exe of > the Swing program is killed in task manager, external programs > immediately starts. > > > > > When the non-Wrapper application is in its dead locked state, > could you > try pressing > CTRL-BREAK in its console? This should produce a stack trace of > all > threads. There > may be some clues in there. It will at least show where the swing > thread is getting hung > up. > > As you say that this happens even when using other service > utilities, it > does not sound > like this is a Wrapper related problem. I am still interested in > tracking this down > however as it may be possible for the Wrapper to do something to > work > around the > problem. We may need to post a bug to Sun and see what they have > to > say. The > problem will need to be understood first though or they will just > reply > with a can not > reproduce. > > >Btw., pardon me if this question is dumb... how do I reply to the > posts?> > > > You just just be able to reply. The "Reply-to" is set to the list > address so it should > work. Not sure with your mail client however. > > Cheers, > Leif > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |