Re: [Resin-interest] ConnectionPool pool overflow issue in Resin 4.0.9

2010-08-09 Thread Wesley Wu
Thanks. Be sure to notify in the mailing list when the snapshot is out. :)

2010/8/7 Scott Ferguson f...@caucho.com:
 Wesley Wu wrote:
 Hi Scott,

 I've experienced weird connection pool issue in 4.0.9 these days.

 After every hour (exactly), the 4.0.9 resin refused to service any
 request and occasionally report ConnectionPool [...] pool overflow.
 This situation never occurred in prior resin releases and neither my
 webapp nor config was not modified at all after upgrade 4.0.5 to
 4.0.9.

 Thanks. I think I've found it, and it should be related to the restart
 problem that Jan Kriesten has reported. I'll see if I can get a snapshot
 by Monday to verify the problem.

 -- Scott

 I've no idea what happened though I research the 4.0.9 source code.
 I noticed that ConnectionPool.java  UserPoolItem.java were moved to
 another package but no major modification were made.

 I did a fine log, here goes the log content (partial) for download:

 http://gp.niugoo.com/resin.partial.zip

 ==
 Resin database config:

 database name=jdbc/yinyuetai
   driver 
 url=jdbc:mysql://192.168.1.2:3306/bbsee?useUnicode=truecharacterEncoding=utf8
           class=com.mysql.jdbc.Driver
   /driver

   spyfalse/spy

   max-connections1500/max-connections
   max-idle-count1024/max-idle-count
   max-create-connections5/max-create-connections
   max-overflow-connections1024/max-overflow-connections

   max-idle-time30s/max-idle-time
   max-active-time6h/max-active-time
   max-pool-time1d/max-pool-time
   connection-wait-time30s/connection-wait-time
 /database

 -Wesley


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest





 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] @Inject works in 4.0.7 but fails in 4.0.9

2010-08-09 Thread Scott Ferguson
smallufo wrote:
 @Stateless
 @Repository
 public class MergingServiceImpl implements Serializable, MergingService
 {
   @Inject private UserOldDao userOldDao;
 ...
 }

Do you have the signature of the UserOldDao? In other words, is it a 
plain class or a generic one (or inherits from a generic).

thanks,

-- Scott


 This works in 4.0.7 , but fails in 4.0.9
 2010-08-06 08:23:53,388 INFO  impl.SessionFactoryObjectFactory - Not 
 binding factory to JNDI, no JNDI name configured
 2010-08-06 08:23:53,389 INFO  util.NamingHelper - JNDI InitialContext 
 properties:{}
 2010-08-06 08:23:53,391 WARN  impl.SessionFactoryImpl - 
 JTASessionContext being used with JDBCTransactionFactory; auto-flush 
 will not operate correctly with getCurrentSession()
 2010-08-06 08:23:53,392 INFO  cache.UpdateTimestampsCache - starting 
 update timestamps cache at region: 
 org.hibernate.cache.UpdateTimestampsCache
 2010-08-06 08:23:53,392 INFO  cache.StandardQueryCache - starting 
 query cache at region: org.hibernate.cache.StandardQueryCache
 [10-08-06 08:23:53.682] {main} WebApp[http://destiny.smallufo.com] fail
 [10-08-06 08:23:53.690] {main} 
 javax.enterprise.inject.UnsatisfiedResolutionException: Can't find a 
 bean for 'interface destiny.web.ubbthreads7.old.UserOldDao' because no 
 beans implementing that class have been registered with the injection 
 manager InjectManager[stateless:null#MergingServiceImpl].
 at 
 com.caucho.config.inject.InjectManager.unsatisfiedException(InjectManager.java:2153)
 at 
 com.caucho.config.inject.InjectManager.resolveByInjectionPoint(InjectManager.java:2336)


 I have to take off @Stateless to make it work in 4.0.9
 Maybe this is because of some conflicts between Spring(3.0.3) and 
 Resin's CanDI 

 

 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
   



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] ConnectionPool pool overflow issue in Resin 4.0.9

2010-08-09 Thread Scott Ferguson
Wesley Wu wrote:
 Thanks. Be sure to notify in the mailing list when the snapshot is out. :)
   

I just put it up at http://caucho.com/download

We're trying to pull in the 4.0.10 schedule a week, so we can get a fix 
out more quickly. (So trying to get a release end of this week/beginning 
of next week).

-- Scott


 2010/8/7 Scott Ferguson f...@caucho.com:
   
 Wesley Wu wrote:
 
 Hi Scott,

 I've experienced weird connection pool issue in 4.0.9 these days.

 After every hour (exactly), the 4.0.9 resin refused to service any
 request and occasionally report ConnectionPool [...] pool overflow.
 This situation never occurred in prior resin releases and neither my
 webapp nor config was not modified at all after upgrade 4.0.5 to
 4.0.9.

   
 Thanks. I think I've found it, and it should be related to the restart
 problem that Jan Kriesten has reported. I'll see if I can get a snapshot
 by Monday to verify the problem.

 -- Scott

 
 I've no idea what happened though I research the 4.0.9 source code.
 I noticed that ConnectionPool.java  UserPoolItem.java were moved to
 another package but no major modification were made.

 I did a fine log, here goes the log content (partial) for download:

 http://gp.niugoo.com/resin.partial.zip

 ==
 Resin database config:

 database name=jdbc/yinyuetai
   driver 
 url=jdbc:mysql://192.168.1.2:3306/bbsee?useUnicode=truecharacterEncoding=utf8
   class=com.mysql.jdbc.Driver
   /driver

   spyfalse/spy

   max-connections1500/max-connections
   max-idle-count1024/max-idle-count
   max-create-connections5/max-create-connections
   max-overflow-connections1024/max-overflow-connections

   max-idle-time30s/max-idle-time
   max-active-time6h/max-active-time
   max-pool-time1d/max-pool-time
   connection-wait-time30s/connection-wait-time
 /database

 -Wesley


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest


   

 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest

 


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest

   



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest