aspose file tools*
The moose likes Java in General and the fly likes Java Daemons Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java Daemons" Watch "Java Daemons" New topic
Author

Java Daemons

Meet Gaurav
Ranch Hand

Joined: Oct 08, 2008
Posts: 492
Hi,

We have a java program, that will run infinitely. While we run this in UNIX machine as soon as the user logged out it’s terminating.

We tried with NOHUP too. No use… Can we use Apache common Daemons ? or any other good solution

Note: Our requirement is to run the application in the background

please assist us
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


We tried with NOHUP too. No use…

Why not? This si what NOHUP is for.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Meet Gaurav
Ranch Hand

Joined: Oct 08, 2008
Posts: 492
Out implementation guys were facing some issues because of NOHUP.. Please give us a alternate solution.. How about Daemons ?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Meet Gaurav wrote:Out implementation guys were facing some issues because of NOHUP.. Please give us a alternate solution.. How about Daemons ?


What issue?
Meet Gaurav
Ranch Hand

Joined: Oct 08, 2008
Posts: 492
It's running fine.. But at the time of killing the AUTOSYS job were marked as Failed.. This is causing some production issues.. Please assist us with some alternative solution..
Meet Gaurav
Ranch Hand

Joined: Oct 08, 2008
Posts: 492
Is Apache common Daemons is suitable for me ? Please assit...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Daemons
 
Similar Threads
Things our kids won't understand
How to add a class to Tomcat-5.5 startup
How to add a class to Tomcat-5.5 startup
Making java Daemons
daemon