> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On 
> Behalf Of Jason Dillon
> Sent: Friday, July 12, 2002 6:11 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-dev] TimedInstancePoolFeeder is whack
> 
> 
> I think the pool feeder logic was thrown together a bit too 
> hastily and with not enough pre-thought and design... but 
> that is just my opinion.
> 
> Why would I want to feed a pool at a constant rate anyways.  
> It would be better if there were hooks into the pool which a 
> controller could use to size the pool based on heuristics... 

Bla bla bla bla, on heuristics...

Let the feeder ask "what is your preferred size" to the pool (we fix
that) and just make up the difference if any 

and stop being pompous around here, 

doesn't suit you,

marcf

> 
> --jason
> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:jboss- 
> > [EMAIL PROTECTED]] On Behalf Of Ole Husgaard
> > Sent: Friday, July 12, 2002 2:50 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [JBoss-dev] TimedInstancePoolFeeder is whack
> > 
> > Hi,
> > 
> > I have seen this too in the CVS HEAD.
> > It seems to be provoked by a failed deployment.
> > 
> > For example, I just got this:
> > 1)
> > 2002-07-12 23:36:00,990 ERROR 
> [org.jboss.ejb.EntityContainer] Starting 
> > failed
> > org.jboss.deployment.DeploymentException: Error: can't find data
> source:
> > java:/FireBirdDS; - nested throwable:
> (javax.naming.NameNotFoundException:
> > FireBirdDS not bound)
> >     at
> >
> org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.<init>(
> JDBCEntity
> Br
> > idge.java:99)
> > 
> > 2)
> > 2002-07-12 23:36:02,235 ERROR [org.jboss.ejb.plugins.LogInterceptor]
> > TransactionRolledbackException, causedBy: 
> > java.lang.NullPointerException
> >     at
> >
> org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createBeanClas
> sInstance(
> JD
> > BCStoreManager.java:513)
> > 
> > 3)
> > 2002-07-12 23:36:02,330 ERROR
> [org.jboss.ejb.plugins.EntityInstancePool]
> > Destroying failed
> > java.lang.IllegalStateException: Instance pool destroyed before
> stopped
> >     at
> >
> org.jboss.ejb.plugins.AbstractInstancePool.destroyService(Abst
> ractInstan
> ce
> > Pool.java:120)
> >     at
> >
> org.jboss.system.ServiceMBeanSupport.destroy(ServiceMBeanSuppo
> rt.java:26
> 4)
> >     at
> > 
> org.jboss.ejb.EntityContainer.destroyService(EntityContainer.java:451)
> >     at
> >
> org.jboss.system.ServiceMBeanSupport.destroy(ServiceMBeanSuppo
> rt.java:26
> 4)
> >     at org.jboss.ejb.Container.invoke(Container.java:731)
> > 
> > 4) Every second:
> > 2002-07-12 23:36:02,756 ERROR 
> > [org.jboss.ejb.plugins.TimedInstancePoolFeeder] Unexpcted failure; 
> > ignoring
> > java.lang.IllegalStateException: Attempt to add an instance to a
> destroyed
> > pool
> >     at
> >
> org.jboss.ejb.plugins.AbstractInstancePool.add(AbstractInstanc
> ePool.java
> :1
> > 46)
> >     at
> >
> org.jboss.ejb.plugins.TimedInstancePoolFeeder.run(TimedInstanc
> ePoolFeede
> r.
> > java:61)
> >     at java.util.TimerThread.mainLoop(Timer.java:430)
> >     at java.util.TimerThread.run(Timer.java:380)
> > 
> > (I know how to create my missing datasource here)
> > 
> > Looks like the pool is not shut down properly.
> > 
> > Best Regards,
> > 
> > Ole Husgaard.
> > 
> > 
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Gadgets, caffeine, t-shirts, fun stuff. http://thinkgeek.com/sf
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Gadgets, caffeine, t-shirts, fun stuff.
> http://thinkgeek.com/sf 
> _______________________________________________
> Jboss-development mailing list [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Gadgets, caffeine, t-shirts, fun stuff.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to