Hi everyone,
I have a problem with jRDC2 on Windows Server 2016 (VPS) connected to SQL Server Express 2014.
Everything works fine, I can connect to SQL Server via jRDC2 using a simple B4A app remotely and communicates fine, however after approx 20 mins jRDC2 unloads/exits. I can load it again but keeps unloading.
Has anyone else experienced this ?
It sounds like something externally kills the process. Are you monitoring the server logs? How are you running it? Maybe it is killed when you log out.
Thanx Erel,
Some more info - java not installed on that server, so I created an exe package of jRDC2 and loaded that up onto the server.
Running jRDC2 simply by double clicking it. Because it's on a VPS this is done via Remote Desktop Connection.
I have noticed while RDP remain open jRDC2 also remains up. If I close the RDP thats when jRDC2 times-out as well. I did try running jRDC2 "as administrator" but same result.
Can't see in the logs when it occurs.
Perhaps find a way to start jRDC2 not via RDP.
Thanx again Erel,
Starting to make sense now. However I have no experience with java, I'm confused about which files go where on the server now.
Also, can't find a windows alternative to nohup to start the process.