Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » Questions on using RSE with Linux hosts
Questions on using RSE with Linux hosts [message #1476] Thu, 07 September 2006 19:04 Go to next message
Shawn McCarney is currently offline Shawn McCarney
Messages: 11
Registered: July 2009
Junior Member
I am very interested in using and extending TM for use with local and
remote Linux hosts. I have two questions so far.


1) I think the Remote Shell concept is great, but as a bash user I find
the current Shell View difficult.

I did not attend the recent teleconference but I saw in the minutes
mention of both a Terminal View and the Wicked Shell. Would either of
these provide an integrated shell with more similar behavior to a
standard xterm/telnet window? If so, when would they be added to the TM
install package?

I am primarily concerned with issues like:

* Key bindings (up arrow, tab, ...). Would like at least an option to
have these handled by the remote shell (bash) vs. the Eclipse view.

* Special behavior/formatting, such as when a man page is displayed or
Linux is booting.

A much simpler UI that just wraps a telnet/ssh window would be my
preference. I am not interested in Eclipse saving my command history,
inserting icons next to file/dir names in ls output, etc.


2) The 'Local' connection does not work on my Intel Linux box. I am
running RHEL WS release 4 (Nahant Update 3), Eclipse 3.2, and
RSE SDK Version 1.0.0.v20060811-7cMNYP1iCU3ND0.

When I click on the New Connection button, select a Local connection,
enter my local host name, and hit Next, I get an error dialog that says
"An error has occurred. See error log for more details."

The error log entry message is "Problems occurred when invoking code
from plug-in: "org.eclipse.jface".

Below is the Exception Stack Trace:

java.lang.VerifyError:
(org/eclipse/rse/services/local/files/LocalFileService) invalid
returnAddress for ret instruction in method 5
(upload(Lorg/eclipse/core/runtime/IProgressMonitor;Ljava/io/ InputStream;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/ String;)Z)
at pc=65535
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:218)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.def ineClass(DefaultClassLoader.java:160)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineC lass(ClasspathManager.java:498)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findCla ssImpl(ClasspathManager.java:468)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClassImpl(ClasspathManager.java:427)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:410)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:188)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:339)
at
org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:37)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:388)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:352)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:517)
at
org.eclipse.rse.subsystems.files.local.LocalFileSubSystemCon figuration.createFileService(LocalFileSubSystemConfiguration .java:202)
at
org.eclipse.rse.subsystems.files.core.servicesubsystem.FileS erviceSubSystemConfiguration.getFileService(FileServiceSubSy stemConfiguration.java:57)
at
org.eclipse.rse.subsystems.files.core.servicesubsystem.FileS erviceSubSystemConfiguration.getService(FileServiceSubSystem Configuration.java:49)
at
org.eclipse.rse.ui.widgets.services.FactoryServiceElement.ge tService(FactoryServiceElement.java:67)
at
org.eclipse.rse.ui.widgets.services.FactoryServiceElement.ge tChildren(FactoryServiceElement.java:77)
at
org.eclipse.rse.ui.widgets.services.ServiceTableContentProvi der.getChildren(ServiceTableContentProvider.java:50)
at
org.eclipse.rse.ui.widgets.services.ServiceTableContentProvi der.getElements(ServiceTableContentProvider.java:34)
at
org.eclipse.jface.viewers.StructuredViewer.getRawChildren(St ructuredViewer.java:927)
at
org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren( AbstractTreeViewer.java:1135)
at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeView er.java:768)
at
org.eclipse.jface.viewers.AbstractTreeViewer.getFilteredChil dren(AbstractTreeViewer.java:565)
at
org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildr en(AbstractTreeViewer.java:534)
at
org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractT reeViewer.java:719)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.jface.viewers.AbstractTreeViewer.createChildren( AbstractTreeViewer.java:696)
at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeView er.java:892)
at
org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractT reeViewer.java:1277)
at
org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:1323)
at
org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(Ab stractTreeViewer.java:1266)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentView er.java:250)
at
org.eclipse.jface.viewers.StructuredViewer.setInput(Structur edViewer.java:1542)
at
org.eclipse.rse.ui.widgets.services.ServicesForm$1.selection Changed(ServicesForm.java:144)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:14 9)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer .java:160)
at
org.eclipse.jface.viewers.StructuredViewer.updateSelection(S tructuredViewer.java:1976)
at
org.eclipse.jface.viewers.StructuredViewer.setSelection(Stru cturedViewer.java:1577)
at
org.eclipse.jface.viewers.TableViewer.setSelection(TableView er.java:1114)
at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:38 4)
at
org.eclipse.rse.ui.widgets.services.ServicesForm.init(Servic esForm.java:248)
at
org.eclipse.rse.ui.wizards.SubSystemServiceWizardPage.create Contents(SubSystemServiceWizardPage.java:76)
at
org.eclipse.rse.ui.wizards.AbstractSystemWizardPage.createCo ntrol(AbstractSystemWizardPage.java:265)
at
org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDi alog.java:1046)
at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog. java:1038)
at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.jav a:1028)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog. java:1026)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDial og.java:757)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:351)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3164)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2840)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at
org.eclipse.rse.ui.actions.SystemBaseDialogAction.run(System BaseDialogAction.java:301)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:441)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3164)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2840)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Re: Questions on using RSE with Linux hosts [message #1489 is a reply to message #1476] Fri, 08 September 2006 07:26 Go to previous message
Martin Oberhuber is currently offline Martin Oberhuber
Messages: 984
Registered: July 2009
Senior Member
Hello Shawn,

Thanks a lot for your interest!
Regarding your questions:

1. Terminal View
Yes, the new Terminal view will provide shell capabilities as you
require - including key bindings, formatting, colors etc. I've been
testing a pre-version of the Terminal on telnet, and it allowed me to
see man pages, and use a full-blown text-mode Emacs properly.

The point to see is, that a "command shell" like we currently have and a
"terminal-like shell" as you request are two different use cases. The
command shell we have now is always line oriented and performs output
parsing for things like compiler error navigation. A terminal-like shell
will perhaps be of more general use.

The Terminal View is currently pretty new (not yet checked in to CVS) so
I'm not sure if it will be ready for RSE 1.0 or not - but we are working
hard to make it available as soon as possible.

Regarding the Wicked Shell, I can't say a lot yet since I still have to
talk to the author of that plugin.

2. Bug Report - Local Connection
You do not need to manually create the Local Connection, it is always
created for you already so you should be able to simply expand the
"Local" node in the RSE Tree.

Anyways, we'll want to track down the traceback that you are seeing.
Can you please go ahead and file a bug report stating exactly the same
information you gave. The best link into the bug tracking system is
on http://www.eclipse.org/dsdp/tm , 4th item left ("Bugs"), "Submit new
bugs".

3. Mailing List
As you state that you're interested in extending RSE, I recommend you
join the dsdp-tm-dev mailing list. You can do so via the TM website.
We are always glad to receive any contributions you might want to make
to the Open Source RSE.

4. RSE Test Signup
As we are approaching our 1.0 release, we'll need people to do some
coordinated testing of our release candidates. If you can invest 2 hours
for testing, it would be great if you could join the test team. Would
that be possible? See the current test signup page
http://wiki.eclipse.org/index.php/RSE_1.0_Testing
for more information.

Thanks,
--
Martin Oberhuber
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
Re: Questions on using RSE with Linux hosts [message #564693 is a reply to message #1476] Fri, 08 September 2006 07:26 Go to previous message
Martin Oberhuber is currently offline Martin Oberhuber
Messages: 984
Registered: July 2009
Senior Member
Hello Shawn,

Thanks a lot for your interest!
Regarding your questions:

1. Terminal View
Yes, the new Terminal view will provide shell capabilities as you
require - including key bindings, formatting, colors etc. I've been
testing a pre-version of the Terminal on telnet, and it allowed me to
see man pages, and use a full-blown text-mode Emacs properly.

The point to see is, that a "command shell" like we currently have and a
"terminal-like shell" as you request are two different use cases. The
command shell we have now is always line oriented and performs output
parsing for things like compiler error navigation. A terminal-like shell
will perhaps be of more general use.

The Terminal View is currently pretty new (not yet checked in to CVS) so
I'm not sure if it will be ready for RSE 1.0 or not - but we are working
hard to make it available as soon as possible.

Regarding the Wicked Shell, I can't say a lot yet since I still have to
talk to the author of that plugin.

2. Bug Report - Local Connection
You do not need to manually create the Local Connection, it is always
created for you already so you should be able to simply expand the
"Local" node in the RSE Tree.

Anyways, we'll want to track down the traceback that you are seeing.
Can you please go ahead and file a bug report stating exactly the same
information you gave. The best link into the bug tracking system is
on http://www.eclipse.org/dsdp/tm , 4th item left ("Bugs"), "Submit new
bugs".

3. Mailing List
As you state that you're interested in extending RSE, I recommend you
join the dsdp-tm-dev mailing list. You can do so via the TM website.
We are always glad to receive any contributions you might want to make
to the Open Source RSE.

4. RSE Test Signup
As we are approaching our 1.0 release, we'll need people to do some
coordinated testing of our release candidates. If you can invest 2 hours
for testing, it would be great if you could join the test team. Would
that be possible? See the current test signup page
http://wiki.eclipse.org/index.php/RSE_1.0_Testing
for more information.

Thanks,
--
Martin Oberhuber
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
Previous Topic:Questions on using RSE with Linux hosts
Next Topic:Re: What's wrong betweeb CDT and RSE
Goto Forum:
  


Current Time: Thu Oct 02 14:47:25 GMT 2014

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

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