Bug 151533 - jvm options editor uses awt thread to talk to server
jvm options editor uses awt thread to talk to server
Status: NEW
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9
6.x
All All
: P4 (vote)
: TBD
Assigned To: Nitya Doraisamy
issues@serverplugins
:
Depends on: 97688
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-27 21:19 UTC by _ ludo
Modified: 2010-04-28 18:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ ludo 2008-10-27 21:19:07 UTC
but when the server is not responding we are locked:



Thread t@65795: (state = IN_NATIVE)
 - java.net.SocketInputStream.socketRead0(java.io.FileDescriptor, byte[], int, int, int) @bci=0 (Interpreted frame)
 - java.net.SocketInputStream.read(byte[], int, int) @bci=84, line=129 (Interpreted frame)
 - java.io.BufferedInputStream.fill() @bci=175, line=218 (Compiled frame)
 - java.io.BufferedInputStream.read1(byte[], int, int) @bci=44, line=256 (Compiled frame)
 - java.io.BufferedInputStream.read(byte[], int, int) @bci=49, line=313 (Compiled frame)
 - sun.net.www.http.HttpClient.parseHTTPHeader(sun.net.www.MessageHeader, sun.net.ProgressSource,
sun.net.www.protocol.http.HttpURLConnection) @bci=51, line=681 (Interpreted frame)
 - sun.net.www.http.HttpClient.parseHTTP(sun.net.www.MessageHeader, sun.net.ProgressSource,
sun.net.www.protocol.http.HttpURLConnection) @bci=30, line=626 (Interpreted frame)
 - sun.net.www.protocol.http.HttpURLConnection.getInputStream() @bci=246, line=957 (Interpreted frame)
 - java.net.HttpURLConnection.getResponseCode() @bci=16, line=367 (Interpreted frame)
 - com.sun.enterprise.admin.jmx.remote.comm.ServletConnection.receive() @bci=16, line=127 (Interpreted frame)
 - com.sun.enterprise.admin.jmx.remote.comm.MBeanServerMessageConductor.invoke(int, java.lang.Object[]) @bci=28, line=84
(Interpreted frame)
 - com.sun.enterprise.admin.jmx.remote.internal.RemoteMBeanServerConnection.setAttribute(javax.management.ObjectName,
javax.management.Attribute) @bci=20, line=616 (Interpreted frame)
 - com.sun.appserv.management.util.jmx.MBeanServerConnection_Hook.setAttribute(javax.management.ObjectName,
javax.management.Attribute) @bci=34, line=574 (Interpreted frame)
 - org.netbeans.modules.j2ee.sun.util.PluginRequestInterceptor.setAttribute(javax.management.ObjectName,
javax.management.Attribute) @bci=14, line=102 (Interpreted frame)
 - org.netbeans.modules.j2ee.sun.ide.controllers.ControllerUtil.setAttributeValue(com.sun.appserv.management.base.AMX,
java.lang.String, java.lang.Object, javax.management.MBeanServerConnection) @bci=43, line=561 (Interpreted frame)
 - org.netbeans.modules.j2ee.sun.bridge.apis.AppserverMgmtController.setJVMProperty(java.lang.String, java.lang.String,
java.lang.Object) @bci=20, line=772 (Interpreted frame)
 - org.netbeans.modules.j2ee.sun.ide.runtime.nodes.JVMNode.setSheetProperty(java.lang.String, java.lang.Object) @bci=8,
line=83 (Interpreted frame)
 -
org.netbeans.modules.j2ee.sun.util.PropertySupportFactory.revertAttribute(org.netbeans.modules.j2ee.sun.bridge.apis.AppserverMgmtActiveNode,
java.lang.String, java.lang.Object, javax.management.Attribute) @bci=6, line=544 (Interpreted frame)
 -
org.netbeans.modules.j2ee.sun.util.PropertySupportFactory.access$100(org.netbeans.modules.j2ee.sun.util.PropertySupportFactory,
org.netbeans.modules.j2ee.sun.bridge.apis.AppserverMgmtActiveNode, java.lang.String, java.lang.Object,
javax.management.Attribute) @bci=6, line=70 (Interpreted frame)
 - org.netbeans.modules.j2ee.sun.util.PropertySupportFactory$6.setValue(java.lang.Object) @bci=18, line=446 (Interpreted
frame)
 - org.openide.explorer.propertysheet.NodePropertyModel.setValue(java.lang.Object) @bci=5, line=110 (Interpreted frame)
 - org.openide.explorer.propertysheet.PropertyDialogManager.cancelValue() @bci=102, line=440 (Interpreted frame)
 - org.openide.explorer.propertysheet.PropertyDialogManager.actionPerformed(java.awt.event.ActionEvent) @bci=23,
line=467 (Interpreted frame)
 - org.netbeans.core.windows.services.NbPresenter$ButtonListener.actionPerformed(java.awt.event.ActionEvent) @bci=500,
line=1137 (Interpreted frame)
 - javax.swing.AbstractButton.fireActionPerformed(java.awt.event.ActionEvent) @bci=84, line=1882 (Interpreted frame)
 - javax.swing.AbstractButton$Handler.actionPerformed(java.awt.event.ActionEvent) @bci=5, line=2202 (Interpreted frame)
 - javax.swing.DefaultButtonModel.fireActionPerformed(java.awt.event.ActionEvent) @bci=35, line=420 (Interpreted frame)
 - javax.swing.DefaultButtonModel.setPressed(boolean) @bci=117, line=258 (Interpreted frame)
 - javax.swing.plaf.basic.BasicButtonListener.mouseReleased(java.awt.event.MouseEvent) @bci=35, line=236 (Interpreted frame)
 - java.awt.Component.processMouseEvent(java.awt.event.MouseEvent) @bci=64, line=5602 (Interpreted frame)
 - javax.swing.JComponent.processMouseEvent(java.awt.event.MouseEvent) @bci=23, line=3135 (Interpreted frame)
 - java.awt.Component.processEvent(java.awt.AWTEvent) @bci=81, line=5367 (Compiled frame)
 - java.awt.Container.processEvent(java.awt.AWTEvent) @bci=18, line=2010 (Compiled frame)
 - java.awt.Component.dispatchEventImpl(java.awt.AWTEvent) @bci=517, line=4068 (Compiled frame)
 - java.awt.Container.dispatchEventImpl(java.awt.AWTEvent) @bci=42, line=2068 (Compiled frame)
 - java.awt.Component.dispatchEvent(java.awt.AWTEvent) @bci=2, line=3903 (Compiled frame)
 - java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent) @bci=139, line=3936 (Compiled frame)
 - java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent) @bci=50, line=3866 (Compiled frame)
 - java.awt.Container.dispatchEventImpl(java.awt.AWTEvent) @bci=12, line=2054 (Compiled frame)
 - java.awt.Window.dispatchEventImpl(java.awt.AWTEvent) @bci=19, line=1801 (Compiled frame)
 - java.awt.Component.dispatchEvent(java.awt.AWTEvent) @bci=2, line=3903 (Compiled frame)
 - org.netbeans.core.TimableEventQueue.dispatchEvent(java.awt.AWTEvent) @bci=6, line=104 (Compiled frame)
 - java.awt.EventDispatchThread.pumpOneEventForHierarchy(int, java.awt.Component) @bci=233, line=269 (Compiled frame)
 - java.awt.EventDispatchThread.pumpEventsForHierarchy(int, java.awt.Conditional, java.awt.Component) @bci=26, line=190
(Compiled frame)
 - java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component) @bci=4, line=180
(Interpreted frame)
 - java.awt.Dialog$1.run() @bci=20, line=535 (Interpreted frame)
 - java.awt.Dialog$2.run() @bci=4, line=565 (Interpreted frame)
 - java.security.AccessController.doPrivileged(java.security.PrivilegedAction) @bci=0 (Interpreted frame)
 - java.awt.Dialog.show() @bci=102, line=563 (Interpreted frame)
 - org.netbeans.core.windows.services.NbPresenter.superShow() @bci=23, line=867 (Interpreted frame)
 - org.netbeans.core.windows.services.NbPresenter.doShow() @bci=21, line=901 (Interpreted frame)
 - org.netbeans.core.windows.services.NbPresenter.run() @bci=1, line=889 (Interpreted frame)
 - org.netbeans.core.windows.services.NbPresenter.run() @bci=1, line=109 (Interpreted frame)
 - org.openide.util.Mutex.doEventAccess(org.openide.util.Mutex$ExceptionAction) @bci=7, line=1355 (Interpreted frame)
 - org.openide.util.Mutex.readAccess(org.openide.util.Mutex$Action) @bci=8, line=268 (Compiled frame)
 - org.netbeans.core.windows.services.NbPresenter.show() @bci=11, line=874 (Interpreted frame)
 - java.awt.Component.show(boolean) @bci=5, line=1302 (Interpreted frame)
 - java.awt.Component.setVisible(boolean) @bci=2, line=1255 (Interpreted frame)
 - org.openide.explorer.propertysheet.CustomEditorAction.actionPerformed(java.awt.event.ActionEvent) @bci=915, line=318
(Interpreted frame)
 - org.openide.explorer.propertysheet.SheetTable.editCellAt(int, int, java.util.EventObject) @bci=215, line=986
(Interpreted frame)
 - javax.swing.plaf.basic.BasicTableUI$Handler.adjustFocusAndSelection(java.awt.event.MouseEvent) @bci=150, line=955
(Interpreted frame)
 - javax.swing.plaf.basic.BasicTableUI$Handler.mousePressed(java.awt.event.MouseEvent) @bci=20, line=922 (Interpreted frame)
 - javax.swing.plaf.basic.BasicTableUI$MouseInputHandler.mousePressed(java.awt.event.MouseEvent) @bci=8, line=752
(Interpreted frame)
 - apple.laf.CUIAquaTable$MouseInputHandler.mousePressed(java.awt.event.MouseEvent) @bci=9, line=73 (Interpreted frame)
 - java.awt.AWTEventMulticaster.mousePressed(java.awt.event.MouseEvent) @bci=21, line=222 (Interpreted frame)
 - java.awt.AWTEventMulticaster.mousePressed(java.awt.event.MouseEvent) @bci=8, line=221 (Interpreted frame)
 - java.awt.AWTEventMulticaster.mousePressed(java.awt.event.MouseEvent) @bci=8, line=221 (Interpreted frame)
 - java.awt.Component.processMouseEvent(java.awt.event.MouseEvent) @bci=54, line=5599 (Interpreted frame)
 - javax.swing.JComponent.processMouseEvent(java.awt.event.MouseEvent) @bci=23, line=3135 (Interpreted frame)
 - org.openide.explorer.propertysheet.SheetTable.processMouseEvent(java.awt.event.MouseEvent) @bci=128, line=719
(Interpreted frame)
 - java.awt.Component.processEvent(java.awt.AWTEvent) @bci=81, line=5367 (Compiled frame)
 - java.awt.Container.processEvent(java.awt.AWTEvent) @bci=18, line=2010 (Compiled frame)
 - java.awt.Component.dispatchEventImpl(java.awt.AWTEvent) @bci=517, line=4068 (Compiled frame)
 - java.awt.Container.dispatchEventImpl(java.awt.AWTEvent) @bci=42, line=2068 (Compiled frame)
 - java.awt.Component.dispatchEvent(java.awt.AWTEvent) @bci=2, line=3903 (Compiled frame)
 - java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent) @bci=126, line=3933 (Compiled frame)
 - java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent) @bci=50, line=3866 (Compiled frame)
 - java.awt.Container.dispatchEventImpl(java.awt.AWTEvent) @bci=12, line=2054 (Compiled frame)
 - java.awt.Window.dispatchEventImpl(java.awt.AWTEvent) @bci=19, line=1801 (Compiled frame)
 - java.awt.Component.dispatchEvent(java.awt.AWTEvent) @bci=2, line=3903 (Compiled frame)
 - org.netbeans.core.TimableEventQueue.dispatchEvent(java.awt.AWTEvent) @bci=6, line=104 (Compiled frame)
 - java.awt.EventDispatchThread.pumpOneEventForHierarchy(int, java.awt.Component) @bci=233, line=269 (Compiled frame)
 - java.awt.EventDispatchThread.pumpEventsForHierarchy(int, java.awt.Conditional, java.awt.Component) @bci=26, line=190
(Compiled frame)
 - java.awt.EventDispatchThread.pumpEvents(int, java.awt.Conditional) @bci=4, line=184 (Interpreted frame)
 - java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional) @bci=3, line=176 (Interpreted frame)
 - java.awt.EventDispatchThread.run() @bci=9, line=110 (Interpreted frame)
Comment 1 Vince Kraemer 2008-10-28 21:36:55 UTC
I haven't been able to reproduce this.  please get a demo of the issue from Ludo.
Comment 2 _ ludo 2008-10-28 21:41:50 UTC
the issue is not  simple to reproduce as I was testing different domain.xml content and for sure I was able to have a
server side state where no answer was possible to admin request.
But the stack trace is enough I think to start the fix which is admin requests in a thread and UI in a different.
This can be ground rework for 7.0
Comment 3 Vince Kraemer 2008-10-29 01:31:53 UTC
related to the runtime rewrite that has been 'on the list' and unstaffed
Comment 4 Nitya Doraisamy 2008-12-12 18:45:13 UTC
Assigned to me on the task list. Will be part of focus on runtime tree redo.
Comment 5 Vince Kraemer 2009-09-16 23:55:25 UTC
Assigned engineer: please correct the tm value.  nb 6.7 has shipped, so a tm of
6.7  is invalid at this point
Comment 6 Nitya Doraisamy 2009-10-26 18:43:45 UTC
Will not happen for 6.8 release. resetting target to future
Comment 7 Vince Kraemer 2010-04-28 18:34:30 UTC
this editor is not part of the gf 3.x plugin. gf 2.1 doesn't ship with 6.9. lowering the priority


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo