Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Daemons

 
Meet Gaurav
Ranch Hand
Posts: 492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

We tried with NOHUP too. No use…

Why not? This si what NOHUP is for.
 
Meet Gaurav
Ranch Hand
Posts: 492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Out implementation guys were facing some issues because of NOHUP.. Please give us a alternate solution.. How about Daemons ?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is Apache common Daemons is suitable for me ? Please assit...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic