LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-13-2011, 05:08 AM   #16
ssrameez
Member
 
Registered: Oct 2006
Location: bangalore
Distribution: Fedora, Ubuntu, Debian, Redhat
Posts: 82

Rep: Reputation: 6

Hello Ankit.
I am not comfortable with java.
I am a system administrator in GNU/Linux.. trying to reply to the queries and learn in between my work.

At the moment I dont' have much idea about this. Let us wait for some more people to respond.
 
Old 06-13-2011, 08:08 AM   #17
raj77_in
LQ Newbie
 
Registered: Oct 2008
Posts: 26

Rep: Reputation: 15
I dont think the problem here is of java. The issue here is that you are starting the server from the Java application. The java application should make sure that the server is started in daemon mode so that the server is not killed when your java application is killed. If that is not happening then you cannot do anything. If you can change the Java application then change it to start the server in daemon mode.
 
Old 06-14-2011, 12:42 AM   #18
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,362

Rep: Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377
As per post#2, '&' alone is insufficient; that merely puts it in the background, BUT does not detach it from the initiating session. To do that you also have to use nohup eg
Code:
nohup /dir/myprog >myprog.log 2>&1 &
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Putty:server unexpectedly closed network connection dyool Ubuntu 8 03-07-2012 08:35 PM
PuTTY Fatal Error: Server unexpectedly closed network connection pwwellons Linux - Software 2 02-10-2011 02:10 PM
Putty Fatal error: server unexpectedly closed network connection. smartgupta Linux - Server 1 12-22-2010 09:14 AM
Putty: server unexpectedly closed network connection Dshah Linux - Server 2 12-20-2009 09:57 AM
Different SSH "Server unexpectedly closed network connection" (using Putty) mjwraw Linux - Networking 4 07-22-2009 07:23 AM


All times are GMT -5. The time now is 03:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration