avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: AW: [4.0b1]: Exception when creating new components
Date Fri, 08 Jun 2001 13:12:20 GMT
Carsten Ziegeler wrote:
> 
> > Berin Loritsch wrote:
> >
> > Carsten Ziegeler wrote:
> > >
> > > Hi,
> > >
> > > I am using the beta 1 of Cocoon 2 which uses Avalon 4.0b1.
> > > On my linux machine (sun jdk 1.3.1) I get from time to
> > > time under some load the following exception:
> > >
> > > "Could not create enough Components to service your request"
> > >
> > > This exception is thrown in the DefaultPool implementation.
> > >
> > > What could be the reason for this?
> > >
> > > Could it either be a threading problem or could it be that
> > > we didn't release all components?
> >
> > Is this with the JdbcDataSourceComponent?  If so, it uses
> > the HardResourceLimitingPool which extends the DefaultPool
> > implementation.
> >
> No, it is the DefaultComponentManager trying to get another XSLT
> transformer.
> The error occurs only sometimes and simply reloading the page
> solves the problem.
> 
> > Another possibility is that the JDK can't respond quick enough
> > because under load, new components are created.
> >
> > Can you please give some more information--it will help track
> > down what is happening?
> 
> If it helps, we could try to regenerate the error on Monday
> and send the whole cocoon.log.

Ok.

Keep in mind that if the TraxTransformer fails at any point during
initialization (constructor through init lifecycle phase), the Pool
will return the exception you are seeing.  Check the TraxTransformer
for potential weak areas.  It is a complex beast.

---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org


Mime
View raw message