Community
Participate
Working Groups
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.
Created attachment 208772 [details] Eclipse packeges image
Created attachment 208773 [details] Error trace rdt-server
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.
(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,
(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,
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/
Development on RDT has shifted to synchronized remote projects. Please use these instead.