> -----Original Message-----
> From: Eric White [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 17, 2002 8:53 AM
> To: Jetspeed Users List
> Subject: cache misses killing me, help with manually editing user table
>
>
> so, cache misses are killing me right now. Yesterday, I thought they
> were a result of running two Jetspeed portals inside the same Tomcat
> instance.
>
> I've got 1.4b3 running on Linux, with security and psml backed by
> MySQL.
>
> However, I'm seeing cache misses in the log:
>
>
>
> [Tue Dec 17 16:47:58 CST 2002] -- INFO -- cache miss, object expired:
> 207822763user/admin/html/default.psml/321
>
>
> and, as the log indicates, this happens with my admin user and causes
> Jetspeed to be non-responsive. Which means I can no longer log in to my
> Admin user and administer anything.
>
> First, I need to be able to add Admin privileges to other users (I can
> still log in as me), so I can stay ahead of this problem.
>
> I've seen other cache misses in the log, but they don't seem to cause a
> hard stop.
>
> Aside from fixing this nasty bug, does anybody have any ideas on how I
> can flush the cache or fix cache misses by hand?
>
> I've tried restarting tomcat and that fixes nothing. Either this code
> bug is simply happening at the same time in execution, or the cache is
> persisted in some way in the database...
>
>
Do you know which portlet it is?
You can turn off expiration on the portlet.
Its not clear to me why you think that the portlet expiring has anything to
do with Jetspeed becoming 'unresponsive'.
Is this always the last message logged?
[Tue Dec 17 16:47:58 CST 2002] -- INFO -- cache miss, object expired:
207822763user/admin/html/default.psml/321
JetspeedPortletCacheService.java:
/**
* Retrieves a Cacheable object from the cache.
*
* @param handle the identifier of the object we wish to retrieve
* @return the cacehd object or null if not found
*/
public Cacheable getCacheable( String handle ) {
CachedObject obj = null;
try {
obj = GlobalCache.getObject( handle );
} catch (ObjectExpiredException e) {
Log.info( "cache miss, object expired: " + handle );
}
if ( obj == null ) {
//Log.info( "cache miss: " + handle );
return null;
} /*else {
Log.info( "cache hit: " + handle );
} */
return (Cacheable)obj.getContents();
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>