[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [dsdp-tm-dev] My first cautious steps with RSE M2

Hello Norbert,

I think your misunderstanding was, that you started a server
(and not a daemon) on port 8799, but you tried contacting a
daemon (and not a server). Your test will run alright when
you do the following on your target:
   su -                  #become root
   perl daemon.pl 8799

The daemon's purpose is to start servers. But you can also 
start a server manually (as you did). Note that when you 
manually start a server, you can do this with a normal user
id (and not root). The password and username that you enter
in RSE is unnecessary in this case -- you can enter just
anything, it is not used.

When you manually start the dstore server on the target, you 
need to configure the connection such that the already-running
server is selected:

* Start RSE
* New > Connection > Systemtype Linux
* On the second wizard page ("Files"),
  - keep dstore.files selected in the upper left
  - select "Launcher Properties" in the lower left
  - select "Launcher" : "Running" in the right pane
* Press Finish
* Back in the RSE tree, select the "Files" node of your new connection
  - In the Properties View, select "Port" and enter your port 8799
* Now you can expand the Files node to connect.

Having to edit the port outside the wizard is a workaround for
now, bugzilla https://bugs.eclipse.org/bugs/show_bug.cgi?id=142969
tracks the request to have this in the wizard.

When you want to do more with the RSE, I recommend you connect
to the CVS Repository directly. This is really simple now: just
launch Eclipse 3.2, and choose File > Import > Team > Project Set.
You find the "rse-anonymous.psf" project set in the top left 
paragraph of our main developer page, at
http://www.eclipse.org/dsdp/tm/development/index.php

The remotecdt example will not compile unless you have CDT 
installed, but you can ignore these errors and simply close
the remotecdt project in your workspace.

Cheers,
Martin
--
Martin Oberhuber - WindRiver, Austria
+43(662)457915-85
 

> -----Original Message-----
> From: dsdp-tm-dev-bounces@xxxxxxxxxxx 
> [mailto:dsdp-tm-dev-bounces@xxxxxxxxxxx] On Behalf Of Ploett, Norbert
> Sent: Monday, May 29, 2006 9:30 AM
> To: dsdp-tm-dev@xxxxxxxxxxx
> Subject: [dsdp-tm-dev] My first cautious steps with RSE M2
> 
> Hi all,
>  
> I just had my first try with the newly published RSE. Here is 
> my setup:
> - eclipse 3.2 RC5
> - RSE-SDK-1.0M2
> for the host, 
> SuSE Linux 10.0, java 1.4.2 for the target.
>  
> I managed to get the server running, though I made it listen on port
> 8799 due to my special firewall settings. The server said:
>  
> nb14520d:/opt/rseserver # ./server.pl 8799
> Dstore Server Starting...
> Server Started Successfully
> 8799
> Server running on: nb14520d
>  
> Then I created a new connection. When I say "Connect" I get 
> prompted for
> the password. I tried the root and a user account, but in both cases I
> get an "Auth error" due to a mysterious unexpected exception. 
> (4 entries
> in the log get created. The log entries are posted below.)
> 
> The server, when contacted, said on the console:
> 
> RECEIVER ERROR
> java.lang.Exception: The connection to the server has been lost.
> Server Finished
> 
> Do you suspect a blunder on my side, or should I raise a bug?
> 
> Thanks,
> 
> 
> Norbert Ploett
> 
> 
> ===============Log file entries=======================
> Error
> Mon May 29 09:20:09 CEST 2006
> Auth fail
> 
> com.jcraft.jsch.JSchException: Auth fail
> 	at com.jcraft.jsch.Session.connect(Unknown Source)
> 	at com.jcraft.jsch.Session.connect(Unknown Source)
> 	at
> org.eclipse.rse.connectorservice.ssh.SshConnectorService.inter
> nalConnect
> (SshConnectorService.java:250)
> 	at
> org.eclipse.rse.core.subsystems.AbstractConnectorService.conne
> ct(Abstrac
> tConnectorService.java:776)
> 	at
> org.eclipse.rse.core.subsystems.SubSystem.internalConnect(SubS
> ystem.java
> :2783)
> 	at
> org.eclipse.rse.core.subsystems.SubSystem$ConnectJob.performOp
> eration(Su
> bSystem.java:1617)
> 	at
> org.eclipse.rse.core.subsystems.SubSystem$SubSystemOperationJo
> b.run(SubS
> ystem.java:1333)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
> 
> Error
> Mon May 29 09:20:09 CEST 2006
> Error launching server: java.net.SocketException: Connection reset
> 
> Error
> Mon May 29 09:20:09 CEST 2006
> Failed to connect to the daemon on NB14520D.ATS1TEST.NBGM.SIEMENS.DE
> using port 8799 with an unexpected exception
> 
> org.eclipse.rse.services.clientserver.messages.SystemMessageException:
> Failed to connect to the daemon on NB14520D.ATS1TEST.NBGM.SIEMENS.DE
> using port 8799 with an unexpected exception
> 	at
> org.eclipse.rse.connectorservice.dstore.DStoreConnectorService
> .internalC
> onnect(DStoreConnectorService.java:1029)
> 	at
> org.eclipse.rse.core.subsystems.AbstractConnectorService.conne
> ct(Abstrac
> tConnectorService.java:776)
> 	at
> org.eclipse.rse.core.subsystems.SubSystem.internalConnect(SubS
> ystem.java
> :2783)
> 	at
> org.eclipse.rse.core.subsystems.SubSystem$ConnectJob.performOp
> eration(Su
> bSystem.java:1617)
> 	at
> org.eclipse.rse.core.subsystems.SubSystem$SubSystemOperationJo
> b.run(SubS
> ystem.java:1333)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
> 
> Error
> Mon May 29 09:20:09 CEST 2006
> Auth fail
> 
> com.jcraft.jsch.JSchException: Auth fail
> 	at com.jcraft.jsch.Session.connect(Unknown Source)
> 	at com.jcraft.jsch.Session.connect(Unknown Source)
> 	at
> org.eclipse.rse.connectorservice.ssh.SshConnectorService.inter
> nalConnect
> (SshConnectorService.java:250)
> 	at
> org.eclipse.rse.core.subsystems.AbstractConnectorService.conne
> ct(Abstrac
> tConnectorService.java:776)
> 	at
> org.eclipse.rse.core.subsystems.SubSystem.internalConnect(SubS
> ystem.java
> :2783)
> 	at
> org.eclipse.rse.core.subsystems.SubSystem$ConnectJob.performOp
> eration(Su
> bSystem.java:1617)
> 	at
> org.eclipse.rse.core.subsystems.SubSystem$SubSystemOperationJo
> b.run(SubS
> ystem.java:1333)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
> _______________________________________________
> dsdp-tm-dev mailing list
> dsdp-tm-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/dsdp-tm-dev
>