LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 06: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, 09: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, 01:42 AM   #18
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
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 09:35 PM
PuTTY Fatal Error: Server unexpectedly closed network connection pwwellons Linux - Software 2 02-10-2011 03:10 PM
Putty Fatal error: server unexpectedly closed network connection. smartgupta Linux - Server 1 12-22-2010 10:14 AM
Putty: server unexpectedly closed network connection Dshah Linux - Server 2 12-20-2009 10:57 AM
Different SSH "Server unexpectedly closed network connection" (using Putty) mjwraw Linux - Networking 4 07-22-2009 08:23 AM


All times are GMT -5. The time now is 12:16 PM.

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