Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Using the TCP/IP Monitor
Using the TCP/IP Monitor [message #116875] Wed, 06 July 2005 14:07 Go to next message
Eclipse UserFriend
Originally posted by: dougc.comlab.ox.ac.uk

Is it possible to use the WTP's TCP/IP Monitor without going through
any of the wizards? I'll be teaching a Web Services course in a few
weeks, and would like the students to be able to see some SOAP messages
in transit before they have to get down and code anything. My plan is
to have them use the Web Services Explorer to connect to an xmethods
service or two. I then want to place a TCP monitor in between the
Explorer and the service, so they can see the communication. I could
use the Axis TCP monitor, but since they'll be using Eclipse during the
remainder of the week, I thought it would be ideal if they had one less
tool to learn and use.

Anyway, that's the justification for using the WTP monitor. I've been
able to open the Monitor view using the standard Window/Show View
command, and selecting the monitor from the Debug group. But there
doesn't seem to be a way to add a new listener by hand; all of the
tutorials mention that a listener will be created automatically during
the Web Services Wizard.

Am I missing something obvious?

thanks
--doug

--
Douglas Creager
PRS Computing
Oxford University Computing Lab
<dougc@comlab.ox.ac.uk>
Re: Using the TCP/IP Monitor [message #116945 is a reply to message #116875] Wed, 06 July 2005 15:51 Go to previous messageGo to next message
Eclipse UserFriend
Hi Doug,

You can create a new monitor (listener) from the TCP/IP monitor view. In
the TCP/IP monitor view, select the down arrow and click on Properties.
You can then click on Add and create a new TCP/IP monitor.

Lawrence
Re: Using the TCP/IP Monitor [message #118823 is a reply to message #116945] Sat, 09 July 2005 11:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jens.ja-web.de

lmandel@ca.ibm.com wrote:
> Hi Doug,
>
> You can create a new monitor (listener) from the TCP/IP monitor view. In
> the TCP/IP monitor view, select the down arrow and click on Properties.
> You can then click on Add and create a new TCP/IP monitor.
>
> Lawrence

I tried to follow this instruction but after selecting "Properties"
nothing seems to happen - But I get an error in the log:

Unhandled event loop exception

and

org.eclipse.jface.util.Assert$AssertionFailedException: null argument;
at org.eclipse.jface.util.Assert.isNotNull(Assert.java:149)
at org.eclipse.jface.util.Assert.isNotNull(Assert.java:125)
at
org.eclipse.jface.preference.PreferenceManager.addToRoot(Pre ferenceManager.java:91)
at
org.eclipse.wst.internet.monitor.ui.internal.view.MonitorVie w.showPreferencePage(MonitorView.java:482)
at
org.eclipse.wst.internet.monitor.ui.internal.view.MonitorVie w$13.run(MonitorView.java:457)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
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.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)


Any ideas about this?
thanks, Jens
Re: Using the TCP/IP Monitor [message #121119 is a reply to message #118823] Fri, 15 July 2005 09:03 Go to previous message
Eclipse UserFriend
Hi Jens,

This was (and maybe this is obvious) a bug. It was fixed about a week ago,
so you'll be fine when you move to a newer build. If you want to use this
without going to a new build, just use the Preferences page (Window >
Preferences > Run/Debug > TCP/IP Monitor) to configure the monitor.
Previous Topic:TCP/IP Monitor hang
Next Topic:Can wst's javascript editor report syntax errors?
Goto Forum:
  


Current Time: Mon May 05 14:24:27 EDT 2025

Powered by FUDForum. Page generated in 0.03274 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top