You can still use nohup it's just the syntax changed. The following is from the documentation:
To start a JRun server in the background from the command line (on Windows or UNIX), use the nohup option, with the following syntax, from the jrun_root/bin directory: jrun -nohup start jrun_server HTH Ted Zimmerman -----Original Message----- From: Zhang, Yuying [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 2:16 PM To: JRun-Talk Subject: FW: nohup in Jrun4 I have the same problem too. In JRun4, there is no '-nohup' option to start a server. So I tried to use unix nohup command: nohup ./jrun -start myserver 1>{Jrun.rootdir}/logs/myserver-out.log 2>{Jrun.rootdir}/logs/myserver-error.log & However, if I terminate the terminal, the server will also stop. I am forwarding this email to JRun Talk. Can someone help us? Thanks, YZ -----Original Message----- From: Kannaiyan P [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 1:12 PM To: Zhang, Yuying Subject: RE: Logging in JRun4 Hi Zhang, Thanks a lot for your help. sorry for bugging you . in jrun 3.1 I used to start the server using jrun -nohup . so if i terminate the terminal also still jrun is running on the background. when i tried in jrun 4.0 it show the gui after starting if i exit the gui still it works but when i terminate the terminal it server stops. could you please help me on this issue . my is live i have some many problems. Thanks Kans. com> To: "Kannaiyan P" <[EMAIL PROTECTED]> Subject: RE: Logging in JRun4 Date: Thu, 3 Oct 2002 10:48:33 -0700 Hi, In JRun4, you have to specifically pass the name of your log file when you start your server: jrun -start myserver 1>{Jrun.rootdir}/logs/myserver-out.log 2>{Jrun.rootdir}/logs/myserver-error.log In this way, you can use System.out.println to print message to myserver-out.log, and System.err.println to print message to myserver-error.log. YZ -----Original Message----- From: Kannaiyan P [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 11:46 AM To: Zhang, Yuying Subject: Logging in JRun4 Hi Zhang, I saw your posting on the jrun forum. I have the same problem. could you please send me the detail information how to setup the default-out.log for the system.out.println message. that would be very helpful for me. if you know any manual for this on the web. that also helpful for me. if you response for this mail i very grad for you. Thanks Kans From: "Zhang, Yuying" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: JRun-Talk <[EMAIL PROTECTED]> Subject: Logging in JRun4 Date: Fri, 6 Sep 2002 11:49:50 -0700 Hi, Another trouble while doing server migration from JRun3.1 to JRun4.0: In 3.1, I used System.out.println() to dump debug information to myserver-out.log. However after we migrated to JRun4.0, it did not automatically setup logs for System.out message. According to TechNote 23128 - JRun 4.0 : Configuring the Error and Out Log Files, I started myserver as: Jrun -start myserver 1>{Jrun.rootdir}/logs/myserver-out.log 2>{Jrun.rootdir}/logs/myserver-error.log I did see myserver-out.log and myserver-error.log created under the logs directory. However when I used System.out.println()/System.err.println() in my jsp files, nothing was printed out. Do I need any other settings to direct System.out or System.err information to the related log files? Your help is greatly appreciated! Yuying Zhang ______________________________________________________________________ Get the JRun Web Application Construction Kit - the only book written specifically for JRun developers. http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
