Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367490 - Remote conection with RDT server denies authentication and manual conection crashes in thread "DStore CommandHandlerThread-1"
Summary: Remote conection with RDT server denies authentication and manual conection c...
Status: CLOSED WONTFIX
Alias: None
Product: PTP
Classification: Tools
Component: RDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-23 07:12 EST by Gabriel R CLA
Modified: 2014-05-29 16:27 EDT (History)
2 users (show)

See Also:


Attachments
Eclipse packeges image (78.15 KB, image/png)
2011-12-23 07:14 EST, Gabriel R CLA
no flags Details
Error trace rdt-server (1.85 KB, text/plain)
2011-12-23 07:15 EST, Gabriel R CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel R CLA 2011-12-23 07:12:06 EST
Build Identifier: Version: Indigo Service Release 1 Build id: 20110916-0149

We're setting an environment to remote compile c++ projects on a UNIX machine from a Windows 7 x64 client using eclipse. (See attached eclipse configuration).

We configure a remote conection on eclipse (local Windows 7) and install the rdt-server package (remote AIX 5.3 UNIX server), following exactly this link: http://www.eclipse.org/ptp/documentation/3.0/org.eclipse.ptp.rdt.doc.user/html/gettingstarted/creating_a_remote_project.html

All the steps where completed, but we get several errors when we try to stablish the connection: right-click on the connection, select "Connect", and using the user/pass of the UNIX machine fails (same user used to start the rdt-server, and which has access to the machine): a process with a "null" user is created in every conection try from the eclipse client. This is an example:

/aplicaciones/atos > ps -ef | grep rdt
    atos  4440254 11153536   0 13:46:20 pts/11  0:01 java -DA_PLUGIN_PATH=/aplicaciones/atos/rdt-server/ -DDSTORE_TRACING_ON=false org.eclipse.dstore.core.server.ServerLauncher 4075 10000-10010
    atos  8282140  4440254   0 13:46:30 pts/11  0:00 perl /aplicaciones/atos/rdt-server//auth.pl null /aplicaciones/atos/rdt-server/ 10000-10010 120000 1324644390961 /usr/java14/jre

Using the server.sh script to manually start the rdt-server, connects but throws a stack trace (attached) "java.lang.NullPointerException" (Exception in thread "DStore CommandHandlerThread-1"). Neither way allow us to run remote compiler or indexer. Terminal appears to be working correctly.

Any orientation will be greatly appreciated.
Thanks,

Reproducible: Always

Steps to Reproduce:
1. Configure a remote conection (eclipse local client).
2. Launch the remote rdt-server (on the remote UNIX machine).
3. Try to connect form the local eclipse client.
Comment 1 Gabriel R CLA 2011-12-23 07:14:06 EST
Created attachment 208772 [details]
Eclipse packeges image
Comment 2 Gabriel R CLA 2011-12-23 07:15:16 EST
Created attachment 208773 [details]
Error trace rdt-server
Comment 3 Beth Tibbitts CLA 2011-12-23 09:00:58 EST
I would suggest updating to the most recent PTP release first.
See http://wiki.eclipse.org/PTP/release_notes/5.0#Updating_from_the_Parallel_Package_to_a_more_recent_release

The documentation you're quoting is from PTP 3.0; we're up to 5.0 now (that particular page may not have changed, though)  I'd start with http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.ptp.doc.user%2Fhtml%2FlocalVsRemote.html - that's within the PTP 5.0 most recent user documentation on help.eclipse.org and describes some of the options you have in remote projects.

What kind of remote project do you want to create? The link above discusses several types.
If you don't need all the RSE extra functionality you might be happy with the simpler approach of using Remote Tools as the service provider instead of RSE.  With Remote Tools (instead of RSE) you don't have to install the rdt-server on the remote site yourself.
Comment 4 Gabriel R CLA 2011-12-26 04:03:56 EST
(In reply to comment #3)
> I would suggest updating to the most recent PTP release first.
> See
> http://wiki.eclipse.org/PTP/release_notes/5.0#Updating_from_the_Parallel_Package_to_a_more_recent_release
> 
> The documentation you're quoting is from PTP 3.0; we're up to 5.0 now (that
> particular page may not have changed, though)  I'd start with
> http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.ptp.doc.user%2Fhtml%2FlocalVsRemote.html
> - that's within the PTP 5.0 most recent user documentation on help.eclipse.org
> and describes some of the options you have in remote projects.
> 
> What kind of remote project do you want to create? The link above discusses
> several types.
> If you don't need all the RSE extra functionality you might be happy with the
> simpler approach of using Remote Tools as the service provider instead of RSE. 
> With Remote Tools (instead of RSE) you don't have to install the rdt-server on
> the remote site yourself.

Thanks for your response.

I'm using 5.0.2 release of PTP Runtime (I'm not sure if the image is correctly attached to the issue, but there are my list of installed packages).

I want to create a C++ project, compiled with xlC through makefiles on a AIX 5.3 IBM system. I'll check the link you posted and see what i can do.

Regards,
Comment 5 Gabriel R CLA 2011-12-27 07:12:35 EST
(In reply to comment #4)
> (In reply to comment #3)
> > I would suggest updating to the most recent PTP release first.
> > See
> > http://wiki.eclipse.org/PTP/release_notes/5.0#Updating_from_the_Parallel_Package_to_a_more_recent_release
> > 
> > The documentation you're quoting is from PTP 3.0; we're up to 5.0 now (that
> > particular page may not have changed, though)  I'd start with
> > http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.ptp.doc.user%2Fhtml%2FlocalVsRemote.html
> > - that's within the PTP 5.0 most recent user documentation on help.eclipse.org
> > and describes some of the options you have in remote projects.
> > 
> > What kind of remote project do you want to create? The link above discusses
> > several types.
> > If you don't need all the RSE extra functionality you might be happy with the
> > simpler approach of using Remote Tools as the service provider instead of RSE. 
> > With Remote Tools (instead of RSE) you don't have to install the rdt-server on
> > the remote site yourself.
> 
> Thanks for your response.
> 
> I'm using 5.0.2 release of PTP Runtime (I'm not sure if the image is correctly
> attached to the issue, but there are my list of installed packages).
> 
> I want to create a C++ project, compiled with xlC through makefiles on a AIX
> 5.3 IBM system. I'll check the link you posted and see what i can do.
> 
> Regards,

Hi,

We made a clean install of Indigo, and added only the requiered packages, leaving the unnecesary ones. That sloved the rdt-server problem, (as you said, it's not necessary, so we don't use it). Thank you.

We got a remote index problem now, the message says "Unable to start indexing service", invalid version of Java or not installed. The remote AIX has Java 1.5 installed:

~ > java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20070511(SR5))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20070426 (JIT enabled)
J9VM - 20070420_12448_bHdSMR
JIT  - 20070419_1806_r8
GC   - 200704_19)
JCL  - 20070511

¿What's the internal check that RDT does to test the Java installation?

Please, if I should ask this question on another forum let me now. This bug can be closed I think. Thanks.

Regards,
Comment 6 Beth Tibbitts CLA 2012-01-09 08:53:50 EST
If java is on the remote machine then most likely your environment isn't being set right for the connection.  See http://wiki.eclipse.org/PTP/FAQ#Q:_My_remote_or_synchronized_project_doesn.27t_find_the_remote_environment_variables_correctly_.28Interactive_vs._non-interactive_shell.29
and you can ask questions on the ptp-user mailing list - see http://dev.eclipse.org/mhonarc/lists/ptp-user/
Comment 7 Greg Watson CLA 2014-05-29 16:27:56 EDT
Development on RDT has shifted to synchronized remote projects. Please use these instead.