473,406 Members | 2,208 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Tomcat > stdout

Hello all.
i have e little question about tomcat.
I've installed it on RedHat9
i use startup.sh to start the server.
the question is:
is there a way to redirect stdoutput directly to console?
In example:
if on my servlet i call System.out.pritln("Hello");
i'd like to see it as output on the virtual linux console that started the
daemon (like in windows with the bat file).

thnx to all in advance!
Jul 17 '05 #1
2 4937

"kimbuba" <ki**************@yahoo.it> wrote in message
news:ms******************@tornado.fastwebnet.it...
| Hello all.
| i have e little question about tomcat.
| I've installed it on RedHat9
| i use startup.sh to start the server.
| the question is:
| is there a way to redirect stdoutput directly to console?
| In example:
| if on my servlet i call System.out.pritln("Hello");
| i'd like to see it as output on the virtual linux console that started the
| daemon (like in windows with the bat file).
|
| thnx to all in advance!
|

You could use tail -f on the log file, this will give you a realtime updated
display of the logfile on your screen.

--
-P
"Sometimes I feel so goddam' trapped by everything that I know"
Jul 17 '05 #2
wow that should work for me
thnx a lot!

"PerfectDayToChaseTornados" <pd***@emailaddress.invalid> ha scritto nel
messaggio news:zD***************@news-binary.blueyonder.co.uk...

"kimbuba" <ki**************@yahoo.it> wrote in message
news:ms******************@tornado.fastwebnet.it...
| Hello all.
| i have e little question about tomcat.
| I've installed it on RedHat9
| i use startup.sh to start the server.
| the question is:
| is there a way to redirect stdoutput directly to console?
| In example:
| if on my servlet i call System.out.pritln("Hello");
| i'd like to see it as output on the virtual linux console that started the | daemon (like in windows with the bat file).
|
| thnx to all in advance!
|

You could use tail -f on the log file, this will give you a realtime updated display of the logfile on your screen.

--
-P
"Sometimes I feel so goddam' trapped by everything that I know"

Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Leon | last post by:
import os,sys a = os.fdopen(sys.stdout.fileno(),"w") b = os.fdopen(sys.stdout.fileno(),"w") a.write("test1 ") b.write("test2 ") stdout result is test1 test2
3
by: flamesrock | last post by:
Hi, I'm curious if theres a way in python to write stdout text to the screen (ie top right) the way they do in some FPS games, so that its always on top, in an invisible window of some set...
31
by: da Vinci | last post by:
OK, this has got to be a simple one and yet I cannot find the answer in my textbook. How can I get a simple pause after an output line, that simply waits for any key to be pressed to move on? ...
5
by: Steve | last post by:
can someone tell me how qsort function in <stdlib.h> is used (qsort(..........))? the function has a buffer, two void * parameters and the a pointer to a compare function. Thanks.
1
by: citnamor | last post by:
Hello, I'm trying to access a webservice which runs on our SOAP Server (Apache Tomcat) with Windows 2000 Advanced Server. I simply added the webreference local copy of wsdl file into dotNet...
4
by: jelle | last post by:
Hi, I use python quite a bit to couple different programs together. Doing so has been a _lot_ easier since subprocess came around, but would really like to be able to use the succinct shell...
3
by: Pappy | last post by:
SHORT VERSION: Python File B changes sys.stdout to a file so all 'prints' are written to the file. Python file A launches python file B with os.popen("./B 2>&^1 >dev/null &"). Python B's output...
3
by: Yash | last post by:
Hi all, I found that while we are updating our application, the application is not known to tomcat, untill it is completed. So tomcat sends 503 page as resource not found. I want to know is...
0
by: Arun21084 | last post by:
Hi, Recently I installed an application HP SIP(Service Information Portal) on a Windows 2000 server.The application comes along with an installation of Tomcat 5.0.19. Already there was an Apache...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.