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]

Reply via email to