launching a java application in background

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all,

I need to launch a java proccess as a daemon, in background.

It would be like the following:


java bin/aplicacion.jar

In interactive mode works fine. We have tried to launch it in background using nohup.

If I send everything (all redirections <> ) to /dev/null it works, but I do not get the logs

We have tried:

java bin/aplication.jar < /dev/null  > output.log 2>&1 &

But I get in the output file carachters like "->"

Any time of getting those logs?

I hope I have explained myself fine

Regards

Miguel
-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux