|Re: RSE Daemon not working [message #1249737 is a reply to message #1245895]
||Tue, 18 February 2014 15:20
| David McKnight
Registered: July 2009
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: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
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 #1258632 is a reply to message #1256732]
||Thu, 27 February 2014 15:34
|| Riyaz Parve
Registered: February 2014
Location: Mumbai, Maharashtra
Hi David McKnight,|
Thanks for the reply..
The SocketTimeoutException is occurring because the server was not connected to within a period of time (I think the default is a minute for a manually run server). That is expected if a connection isn't established within that period. For your test, did you attempt to connect to the server before the timeout message showed up?
Yes I started the server and tried to connect to it from eclipse after 5 to 10 seconds eclipse says Connection Refused.
I even tried increasing the timeout value to 10 mins just added a zero to the timeout value. But still eclipse says Connection Refused.
Note that the daemon runs on port 4075 by default but servers that get launched run on different ports. By allowing only port 4075 through a firewall will still leave the server ports blocked. If you're trying to run a server on this same port at the same time, you should run into a bind problem on startup. That said, I don't see any message indicating a bind failure with your manually run server test so I assume you're not running both at the same time in this instance. Could you request that a second port (in addition to 4075) be opened? If you do that, then you can specify the second port as the subsystem port.
Yes I know if daemon is running on 4075 so the server will run on some other port I understood this when port was already opened.
Now that 4075 port is open I want to try manual server connection on this port before opening other ports.
I did netstat to see if 4075 is being used by server and it says 4075 is in LISTEN mode before the server timeouts.
I found this from the help docs
If your daemon runs behind a firewall, you may want to specify the optional serverPortRange argument to restrict selected server ports to the range given:
perl ./daemon.pl 4075 10000-10010
Server requires more than one port for connection? Do I need to open each and every port from 10000 to 10010?
[Updated on: Fri, 28 February 2014 07:29]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.14358 seconds