• Post Reply Bookmark Topic Watch Topic
  • New Topic

Unable to print out (system.out.println()) on eclipse's console.  RSS feed

 
Vinod Vinu
Ranch Hand
Posts: 217
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, i'm working on a project(it already done). I'm maintaining it. I use SOP(system.out.println()) in the java code to anaylse always. But it is not displaying anything on the eclipse's console.
I'm using eclipse 3.2, Jboss server, java, jsp , servlets in this project.
Nothing gets printed on the eclipse console. Is there any project specific setting that needs to be configure or something related to server or eclipse ? please help. I'm sure SOP were used to work earlier when i does the same thing but now its not working at all.

Thanks in advance
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where are you using SOP ? If it's in servlets, it's going to be output in the web server output log.
 
Vinod Vinu
Ranch Hand
Posts: 217
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where are you using SOP ?


No Christ. I'm using SOP in simple java classes only. I would like to add one more thing also. When i start my Jboss server, all the processing gets displayed on the eclipse console for starting a server and thats' it only. After that nothing gets displayed on console except for any exceptions.
 
Suhas Bilaye
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The line where SOP is written itself might not be getting executed. Try Debugging that line of code where you have written SOP.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using SOP in simple java classes only.

But are these classes part of your web application ? If yes, check your server's logs.
 
Vinod Vinu
Ranch Hand
Posts: 217
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But are these classes part of your web application ? If yes, check your server's logs.


Yes, these are the part of application.
Please tell me where can i get those server's logs. I'm running on my local machine.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using a JBoss plugin, you might have a view for the server output (I can't tell for sure, I'm not using it). Otherwise, you should check somewhere under your JBoss installation directory.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!