• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 220
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 220
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
machines help you to do more, but experience less. Experience this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic