I have found that there is also one other reason (that I know of) that your webapp could hang. If a Turbine/Jetspeed service throws an exception during the early init, there could be a potential problem. The problem occurs in some services' late init method. This method (is some implementations) waits infinitely for the early method to finish initializing, which it never does.

Example:

CastorPsmlManager

1) You somehow screw up your map location
2) Early init tries to load map and fails. Throws InitializationException
3) Late init method is called and waits for early method to finish, but it never will

You might have a service that is failing to initialize and just sleeping forever. Hopefully though, the Jetspeed log file would have the InitialzationException logged so you could determine what service is failing.

Jeremy






From: "Luta, Raphael (VUN)" <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
To: 'Jetspeed Users List' <[EMAIL PROTECTED]>
Subject: RE: cache misses killing me, help with manually editing user table
Date: Wed, 18 Dec 2002 10:04:03 +0100

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:[EMAIL PROTECTED]]
> 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:[EMAIL PROTECTED]]
> > > 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:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>

--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to