Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » unchecked exceptions in console(unchecked exceptions in console)
unchecked exceptions in console [message #670098] Thu, 12 May 2011 12:26 Go to next message
arez  is currently offline arez
Messages: 7
Registered: May 2011
Junior Member
I am using Virgo 2.1.1 along with eclipse (running the server within the Eclipse IDE). I just migrated an application to Virgo and everything seems to work smoothly Very Happy

The problem that I have is that I cannot see unchecked exceptions on the server console so I have to debug and see what happened exactly.

Let's say I have process doing some arbitrary thing and gets a NullPointerExcetpion and I want to see the stack trace on the console (dev mode). Is there a way to instruct Virgo to show stack trace of an unchecked exceptions in the console or am I missing something?

Re: unchecked exceptions in console [message #670123 is a reply to message #670098] Thu, 12 May 2011 13:43 Go to previous messageGo to next message
Violeta Georgieva is currently offline Violeta Georgieva
Messages: 232
Registered: October 2010
Senior Member
Hi,

I think this will be helpful
http://www.eclipse.org/forums/index.php/m/662390/#msg_662390

Regards
Violeta
Re: unchecked exceptions in console [message #670275 is a reply to message #670123] Fri, 13 May 2011 06:41 Go to previous message
arez  is currently offline arez
Messages: 7
Registered: May 2011
Junior Member
Great stuff thanks. Works fine for now. Now I need to find a way to seperate the Virgo log from my application log. I guess the best way is to to create a logger and use the getLogger("myLogger") approach. Some suggested the LoggerService but it looks a little painful.
Previous Topic:Bundles in Virgo, Bundles in Eclipse RCP
Next Topic:NoClassDefFoundError: javax.ws.rs.core.MediaType
Goto Forum:
  


Current Time: Thu Jul 24 00:32:08 EDT 2014

Powered by FUDForum. Page generated in 0.02597 seconds