File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Nothing is printing on the console" Watch "Nothing is printing on the console" New topic
Author

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
Marshal

Joined: Mar 22, 2005
Posts: 42264
    
  64
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.


Ping & DNS - my free Android networking tools app
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
Marshal

Joined: May 26, 2003
Posts: 30752
    
156

Xavier,
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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, 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
Greenhorn

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"


RandyB
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Nothing is printing on the console