[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-695) JBoss Server port Monitoring issue

Max Andersen (JIRA) jira-events at lists.jboss.org
Fri Aug 17 04:58:01 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-695?page=comments#action_12372718 ] 
            
Max Andersen commented on JBIDE-695:
------------------------------------

Looking in the source the Tomcat server adapter seem to be the one with most advanced/complete set of port setup code.

It is meant to be used by the tcp monitor in WTP.

I added a Tomcat 5 server
Right clicked on it and the monitoring submenu is initially empty (weird wtp ui again IMO)
but if you go into properties there are an Monitoring node. Here you can add ports to be monitored.

Now open the tcp/ip monitor and right click properties and you should see these port being added.

The werid thing is though that just going to localhost:8080 doesn't trigger the monitoring to come into play; you have to use the other port that is shown, e.g. http://localhost:8598 is what i had to go to to see the tcp/ip monitor come into play.

So that makes sense for HTTP...but how this makes sense for internal ports likke ssh, ajp etc. which is contacted by jboss internally - I have no idea yet.

Note: Tomcat adapter actually has alot of nice features; like detecting that ports that it needs are already used (try it - it's nice ;)




> JBoss Server port Monitoring issue
> ----------------------------------
>
>                 Key: JBIDE-695
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-695
>             Project: JBoss Tools
>          Issue Type: Bug
>          Components: JBossAS
>    Affects Versions: 2.0.0.Beta3
>         Environment: WindowsXP SP2
> rhds-win32-1.0.0.beta1.jar
> Red Hat Developer Studio
> Version: 1.0.0
> Build: build 209
> JDK 1.5_08
>            Reporter: Aliaksey Nis
>         Assigned To: Rob Stryker
>
> In RHDS:
> 1. Right click on Jboss server in Server view
> 2. Select Properties 
> 3. Select Monitoring , press Add button
> Next exception appear:
> Unhandled event loop exception
> org.eclipse.core.runtime.AssertionFailedException: null argument:
> 	at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:84)
> 	at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:72)
> 	at org.eclipse.jface.viewers.StructuredViewer.assertElementsNotNull(StructuredViewer.java:578)
> 	at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:938)
> 	at org.eclipse.jface.viewers.ColumnViewer.getRawChildren(ColumnViewer.java:660)
> 	at org.eclipse.jface.viewers.AbstractTableViewer.getRawChildren(AbstractTableViewer.java:1066)
> 	at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:871)
> 	at org.eclipse.jface.viewers.StructuredViewer.getSortedChildren(StructuredViewer.java:994)
> 	at org.eclipse.jface.viewers.AbstractTableViewer.internalRefreshAll(AbstractTableViewer.java:682)
> 	at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:630)
> 	at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:617)
> 	at org.eclipse.jface.viewers.AbstractTableViewer$2.run(AbstractTableViewer.java:573)
> 	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1368)
> 	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1330)
> 	at org.eclipse.jface.viewers.AbstractTableViewer.inputChanged(AbstractTableViewer.java:571)
> 	at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:251)
> 	at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1606)
> 	at org.eclipse.wst.server.ui.internal.viewers.MonitorDialog.createDialogArea(MonitorDialog.java:123)
> 	at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:752)
> 	at org.eclipse.jface.window.Window.create(Window.java:426)
> 	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1081)
> 	at org.eclipse.jface.window.Window.open(Window.java:785)
> 	at org.eclipse.wst.server.ui.internal.viewers.MonitorComposite$2.widgetSelected(MonitorComposite.java:135)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
> 	at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
> 	at org.eclipse.jface.window.Window.open(Window.java:796)
> 	at org.eclipse.wst.server.ui.internal.view.servers.PropertiesAction.perform(PropertiesAction.java:36)
> 	at org.eclipse.wst.server.ui.internal.view.servers.AbstractServerAction.run(AbstractServerAction.java:55)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> 	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545)
> 	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
> 	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
> 	at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1169)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list