Harald, Thanks for the suggestion, but I'm not brave enough to deploy the latest CVS build in production. :)
Also, ideally we would like to catch the error before it is seen by / generated by a user logging in. Do you know if this error is generated when Jetspeed cannot find a user's psml file, or is Jetspeed looking for a profile in the database that it cannot find? Peter -----Original Message----- From: Harald Ommang [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 3:46 PM To: [EMAIL PROTECTED] Subject: Re: Monitoring Jetspeed On Wed, 13 Aug 2003 16:27:18 +0100, Peter Kapakos wrote: > > Does anyone know of a way to monitor Jetspeed to ensure that it is running? > Users of our jetspeed portal are sometimes confronted with the following > java error: > > Horrible Exception: org.apache.jetspeed.om.profile.ProfileException: > java.lang.NullPointerException at > org.apache.jetspeed.services.profiler.JetspeedProfilerService.fallbackProfil > e (JetspeedProfilerService.java:414) at > org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile(Jet > speedProfilerService.java:287) at > org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile(Jet > speedProfilerService.java:440) at .. snip... > > We are not entirely sure what causes this error, but we need a way to know > that it has occured before a user logs on and sees it. Currently we only > know about it when a user encounters it upon logging in and then notifies > us...at which point we restart Tomcat and the error goes away. > > If anyone can shed any light on: > > 1) the cause of this error > 2) how it can be avoided > 3) monitoring jetspeed for availability > > Thanks in advance everyone. > > Peter Kapakos > Web Developer > Teleias Inc. > Does this error also end up in the log files? If so, my first thought is that if you were able to (dared to) run the latest CVS version, you could configure Log4J to log errors from org.apache.jetspeed.services.profiler.JetspeedProfilerService to an appender that you could set up to send data to some listening application, either something like ChainSaw or a syslog daemon. If this is doable, let me know and I can give you some more pointers. This detailed logging configuration is only avaiable with the latest CVS version. I think the plan is to have a relase during this month. Best regards, Harald Ommang Delfi Data AS Bergen, Norway --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
