Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Websphere and the fly likes Nothing is printing on the console Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Nothing is printing on the console" Watch "Nothing is printing on the console" New topic

Nothing is printing on the console

Xavier George
Ranch Hand

Joined: Jul 29, 2005
Posts: 39
I installed RAD V6.0 with inbuilt Wasphere Application Server 6.0 (No separate installation). But, nothing is printing on the console when I am running the servlet which has System.out.println, browser shows output correctly. But, standalone java program with main method print everything fine.

Any idea/suggestions???
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Websphere probably redirects standard output to a log file so that it doesn't get lost. Look through the installation directory (and consult the documentation) whether there is a log directory somewhere.
Xavier George
Ranch Hand

Joined: Jul 29, 2005
Posts: 39
Thats true, was has std out directory into C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\logs\server1\SystemOut.log and print statement is being logged.

But, my concern is how to redirect those output to RAD console. Is there any setting that I have to do. On another macine it is printing fine on the console.
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33134

Have you restarted the server recently? Sometimes if you run it for a few hours of heavy output, RAD gets confused and "forgets" to display output. I find stopping and starting the server helps it resynch things.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Xavier George
Ranch Hand

Joined: Jul 29, 2005
Posts: 39
Yes, I restarted my server and even RAD but did not help. I must say, there should be some configuration/setting to point the server output on the RAD console. By default it server output prints on the console ... but in my case its not
Really need advise on this !!!
Randy Be

Joined: Jun 06, 2007
Posts: 1
This happens if you have proxy enabled in RAD6.
To disable proxy go to here in RAD:
Window > Preferences > Internet > Proxy Settings
and uncheck "enable proxy"

I agree. Here's the link:
subject: Nothing is printing on the console
It's not a secret anymore!