RSE Daemon not working [message #1245895] |
Fri, 14 February 2014 12:20 |
|
I've tried so many times with different settings(launcher properties, ports, plugins) did a lot of google on this but no luck I am not able connect to RSE DStore server manually or through daemon.
I can successfully connect using a SSH Connection. But when I use RSE Daemon or server directly it just can't connect and keeps on giving error I have been trying to connect to it since a week but no luck.
I've tried Daemon, REXEC, Running Launch properties but still no luck.
I start the Daemon from root account with command perl ./daemon.pl 4075.
I have echoed out the command that is being executed in daemon.pl
perl ./daemon.pl 4075
java -DA_PLUGIN_PATH=/u19/cltyapps/riyaz/opt/rseserver/ -DDSTORE_TRACING_ON=true org.eclipse.dstore.core.server.ServerLauncher 4075
Daemon running on: CLTDAP002, port: 4075
After this nothing happens.
I have tried the same procedures first rseserver-3.4-unix.tar on then rseserver-unix-3.6-M4.tar
On eclipse now I try to connect to this Daemon on 4075
Daemon failed to launch server on <IP> using port 4075
Connection Refused.
Make sure that the DataStore daemon is running on <IP>.
I also got RSEG1242 error with some other launcher property
I am using Eclipse IDE for C/C++ Developers
Version: Kepler Service Release 1
Build id: 20130919-0819
on windows XP Professional Version 2002 Service Pack 3
Trying to connect to SunOS 5.10 Generic_141444-09 sun4v sparc SUNW,Sun-Blade-T6320
Please help me
Thanks and regards.
|
|
|
Re: RSE Daemon not working [message #1249737 is a reply to message #1245895] |
Tue, 18 February 2014 15:20 |
David McKnight Messages: 244 Registered: July 2009 |
Senior Member |
|
|
Is there a firewall that may be preventing this from working? Do you have java in your path and appropriate permissions?
In the case of the RSE daemon (running on 4075) in your case, the server that gets launched will be on a different port (i.e. not 4075). One thing you may want to try to help diagnose this is to run the server manually (i.e. ./server.pl <port>) and use the "Connect to running server" option in the Server Launcher Settings. Make sure that when running the server manually, you set the port to be the server port in the SubSystem property page before connecting.
Riyaz Parve wrote on Fri, 14 February 2014 07:20I've tried so many times with different settings(launcher properties, ports, plugins) did a lot of google on this but no luck I am not able connect to RSE DStore server manually or through daemon.
I can successfully connect using a SSH Connection. But when I use RSE Daemon or server directly it just can't connect and keeps on giving error I have been trying to connect to it since a week but no luck.
I've tried Daemon, REXEC, Running Launch properties but still no luck.
I start the Daemon from root account with command perl ./daemon.pl 4075.
I have echoed out the command that is being executed in daemon.pl
perl ./daemon.pl 4075
java -DA_PLUGIN_PATH=/u19/cltyapps/riyaz/opt/rseserver/ -DDSTORE_TRACING_ON=true org.eclipse.dstore.core.server.ServerLauncher 4075
Daemon running on: CLTDAP002, port: 4075
After this nothing happens.
I have tried the same procedures first rseserver-3.4-unix.tar on then rseserver-unix-3.6-M4.tar
On eclipse now I try to connect to this Daemon on 4075
Daemon failed to launch server on <IP> using port 4075
Connection Refused.
Make sure that the DataStore daemon is running on <IP>.
I also got RSEG1242 error with some other launcher property
I am using Eclipse IDE for C/C++ Developers
Version: Kepler Service Release 1
Build id: 20130919-0819
on windows XP Professional Version 2002 Service Pack 3
Trying to connect to SunOS 5.10 Generic_141444-09 sun4v sparc SUNW,Sun-Blade-T6320
Please help me
Thanks and regards.
|
|
|
|
|
|
|
Re: RSE Daemon not working [message #1262134 is a reply to message #1259724] |
Mon, 03 March 2014 09:45 |
|
Quote:Is it possible the client firewall is getting in the way too?
I don't think so firewall is an issue as I can run TCP Socket programs in Java / C / C++ and I am able to run them successfully on any port never had any issue.
So I created server program to run on 4075 port of unix and client to run on my windows box but it didn't worked. So I tired port 10000 and it worked.
Then I started the eclipse server on 10000 and used my client program to connect from windows to the eclipse server on unix, it worked the server returned some data.
So now I can manually start the server and connect to it from eclipse, so now I tried connecting it using daemon.
I deleted the old remote connection from eclipse and created a new one using daemon on 10000
From root
perl ./daemon.pl 10000 10001-10010
java -DA_PLUGIN_PATH=/u19/cltyapps/riyaz/opt/rseserver/ -DDSTORE_TRACING_ON=true org.eclipse.dstore.core.server.ServerLauncher 10000 10001-10010
Daemon running on: <SERVER>, port: 10000
Now on eclipse it gave me Error:
RSEG1243
Failed to connect to the daemon on 97.253.46.89 using port 10000 with an unexpected exception
java.lang.Exception: no status returned
java.lang.Exception: no status returned
at org.eclipse.dstore.core.client.ClientConnection.launchServer(ClientConnection.java:736)
at org.eclipse.rse.connectorservice.dstore.DStoreConnectorService.launchServer(DStoreConnectorService.java:1472)
at org.eclipse.rse.connectorservice.dstore.DStoreConnectorService.connectWithDaemon(DStoreConnectorService.java:674)
at org.eclipse.rse.connectorservice.dstore.DStoreConnectorService.internalConnect(DStoreConnectorService.java:1351)
at org.eclipse.rse.core.subsystems.AbstractConnectorService$1.run(AbstractConnectorService.java:500)
at org.eclipse.rse.core.subsystems.AbstractConnectorService$SafeRunner.run(AbstractConnectorService.java:444)
at org.eclipse.rse.core.subsystems.AbstractConnectorService.connect(AbstractConnectorService.java:506)
at org.eclipse.rse.core.subsystems.SubSystem.connect(SubSystem.java:2545)
at org.eclipse.rse.internal.ui.actions.SystemConnectAllSubSystemsAction$ConnectAllJob.run(SystemConnectAllSubSystemsAction.java:75)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Session Data:
eclipse.buildId=4.3.0.M20130911-1000
java.version=1.7.0_51
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.cpp.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.cpp.product
What is worng now? Also when I manually connected to the dstore server I couldn't see any process, files were visible but my proccesses and all processes said empty list.
I am assuming the problem is version miss match?
I'm using rseserver-unix-3.6-M4.tar on unix and RSE DStore Services Version: 3.4.100.201309112143 on eclipse
Thanks
|
|
|
|
|
Re: RSE Daemon not working [message #1274459 is a reply to message #1262365] |
Fri, 21 March 2014 13:53 |
|
Thank you david..
Sorry for the late reply I have been busy..
Quote:1) Your user id not having read/execute access to the auth.pl script in the server directory.
I use root to run the daemon and I use my user in eclipse to connect to the daemon, so only user with root permission can use daemon ?
Quote:2) Your user id not having Java in your path.
Both root and my user id have java in path and can run java as soon as logged in.
Quote:3) The default socket io timeout value may be too small (if this is a slow connection). That can be configured under Preferences->Remote Systems->DataStore.
I have tried that also...
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04846 seconds