You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by "Luta, Raphael (VUN)" <Ra...@groupvu.Com> on 2002/12/18 10:04:03 UTC

RE: cache misses killing me, help with manually editing user tabl e

If you're webapp hangs, the issue is usually one of these 3:
1. thread deadlock
2. infinite loop
3. infinitely waiting for I/O

For 1., it should be difficult to reproduce on different systems with
different conditions but otherwise it's a mess to debug :( Let's assume
it's not a deadlock

For 2., try to request the page that hangs and let the request run while
you have lunch... if when you come back, you have a StackOverflow error,
you know you have an infinite loop somewhere :)

For 3., it looks to me like the most likely issue, check that your webapp
connects to the database server and sends queries by logging the sessions
on the DB server side (I don't known if MySQL has any debug facilities for
these
if it doesn't, snoop or tcpdump are your friends)

> -----Message d'origine-----
> De : Eric White [mailto:ewhite@rocksteady.com]
> Envoyé : mardi 17 décembre 2002 23:58
> À : Jetspeed Users List
> Objet : RE: cache misses killing me, help with manually editing user
> table
> 
> 
> I've pared down the psml for the admin user (which is hanging, now) to
> just the following and am still seeing a cache miss and the browser
> hangs:
> 
> <?xml version="1.0"?>
>   <portlets id="300">
>     <metainfo>
>     <title>
>       Default Jetspeed Admin page
>     </title>
>     </metainfo>
>     <security-ref parent="admin-only"/>
>       <control name="TabControl"/>
>       <controller name="CardPortletController"/>
>     <portlets id="301">
>     <metainfo>
>     <title>
>       Content
>     </title>
>     </metainfo>
>     <security-ref parent="admin-only"/>
>     <controller name="ColumnController"/>
>     <entry id="321" parent="AdminInfo"/>
>     <entry id="322" parent="Search"/>
>   </portlets>
> </portlets>
> 
> and in the log I see:
> 
> 
> [Tue Dec 17 22:54:19 CST 2002] -- INFO -- cache miss, object expired:
> 207822763user/admin/html/default.psml/321
> 
> 
> and the browser is hung. No other indication of what's wrong.
> 
> I'm wondering if it's my use of MySQL. In particular, I'm using the
> mysql-connector-java-2.0.14.jar driver, not the driver that I've seen
> referenced in other Jetspeed docs.  To my understanding the driver I'm
> using is the latest production release.
> 
> Could this be the source of my problems?
> 
> On Tue, 2002-12-17 at 11:52, David Sean Taylor wrote:
> > > -----Original Message-----
> > > From: Eric White [mailto:ewhite@rocksteady.com]
> > > Sent: Tuesday, December 17, 2002 9:50 AM
> > > To: Jetspeed Users List
> > > Subject: RE: cache misses killing me, help with manually 
> editing user
> > > table
> > >
> > >
> > > no joy, same behavior.
> > >
> > > Is there a backdoor way I can add Admin authority to an 
> existing user
> > > directly in the database?
> > >
> > 
> > just use the security api (with java) to assign the role
> > Or create a PSML page that only has the user browser
> > 
> > > while I need to track down the source of these lockups, I 
> also need to
> > > give myself some protection so I don't lose Admin 
> capabilities with this
> > > portal.
> > >
> > Im interesting in finding out which portlet is causing this problem.
> > I suggest you start removing portlets (manually) until you 
> find the problem
> > portlet.
> > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:   
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail: 
> <ma...@jakarta.apache.org>
> > 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <ma...@jakarta.apache.org>
> For additional commands, e-mail: 
> <ma...@jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>