ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolas Kyriazopoulos Panagiotopoulos" <nikola...@gmail.com>
Subject Re: spring-ibatis Object.wait error ?
Date Tue, 05 Feb 2008 19:30:43 GMT
It might be better, yes.
If the problem persists, try the solutions listed in my previous post.

2008/2/5, manypoints <manypoints@yahoo.com>:
>
>
> Thanks for your reply.
> Right now i am using commons dbcp version 1.2.1 and ibatis  2.1.7. Will
> problem solve , if i upgrade into latest versions ?
>
>
> tec-goblin wrote:
> >
> > Actually in our - quite recent - case, it SEEMS to have been solved with
> > various small optimisations and upgrades in the components' versions and
> > either activating Spring's Transaction Manager (quite safe, some
> overhead
> > added)
> > or creating a custom SqlMapClientTemplate in place of Spring's one - a
> > very
> > simple one, that forwards the actions to ibatis (Spring does some weird
> > things with the closing of connections)
> >
> > Impressive performance boosts came when we also switched from apache
> dbcp
> > to
> > a well configured c3p0 data source. It's been 10 days the application is
> > running fluently (except from some small peaks, but nothing fatal)
> >
> > 2008/2/5, manypoints <manypoints@yahoo.com>:
> >>
> >>
> >> I did and seems like no one is saying its fixed.
> >>
> >>
> >>
> https://issues.apache.org/jira/browse/IBATIS-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557974#action_12557974
> >>
> >> But again other people are still seeing same issue.
> >>
> >> thanks
> >>
> >>
> >> cmathrusse wrote:
> >> >
> >> > Did you search the archives? I found the following threads pertaining
> >> to
> >> > your issue.
> >> >
> >> > http://www.mail-archive.com/user-java@ibatis.apache.org/msg10469.html
> >> >
> >> >
> >>
> http://mail-archives.apache.org/mod_mbox/ibatis-dev/200704.mbox/%3C7737684.1176800835644.JavaMail.jira@brutus%3E
> >> >
> >> >
> >>
> http://www.nabble.com/Re:-Ibatis-throttle---possible-deadlock-(ibatis-2.2,-2.3)-td14759064.html
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > manypoints <manypoints@yahoo.com>
> >> > 02/04/2008 03:45 PM
> >> > Please respond to
> >> > user-java@ibatis.apache.org
> >> >
> >> >
> >> > To
> >> > user-java@ibatis.apache.org
> >> > cc
> >> >
> >> > Subject
> >> > Re: spring-ibatis Object.wait error ?
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > But i am seeing ibatis error some times..here is the error
> >> >
> >> > at java.lang.Object.wait(Native Method)
> >> >                  at java.lang.Object.wait(Object.java:474)
> >> >                  at
> >> > com.ibatis.common.util.Throttle.increment(Throttle.java:69)
> >> >                  - locked <800003ff65d79cf8> (a java.lang.Object)
> >> >                  at
> >> > com.ibatis.common.util.ThrottledPool.pop(ThrottledPool.java:60)
> >> >                  at
> >> > com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.popSession(
> >> SqlMapExecutorDelegate.java:910)
> >> >                  at
> >> > com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.<init>(
> >> SqlMapSessionImpl.java:50)
> >> >                  at
> >> > com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.getLocalSqlMapSession(
> >> SqlMapClientImpl.java:214)
> >> >                  at
> >> > com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.openSession(
> >> SqlMapClientImpl.java:173)
> >> >                  at
> >> > org.springframework.orm.ibatis.SqlMapClientTemplate.execute(
> >> SqlMapClientTemplate.java:172)
> >> >
> >> >
> >> > cmathrusse wrote:
> >> >>
> >> >> I think your exception shows you clearly that this is not an iBatis
> >> > issue
> >> >> but rather an Apache Commons DBCP issue. Review your documentation
> and
> >> >> configuration of the connection pool.
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> manypoints <manypoints@yahoo.com>
> >> >> 02/04/2008 03:21 PM
> >> >> Please respond to
> >> >> user-java@ibatis.apache.org
> >> >>
> >> >>
> >> >> To
> >> >> user-java@ibatis.apache.org
> >> >> cc
> >> >>
> >> >> Subject
> >> >> spring-ibatis Object.wait error ?
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> at java.lang.Object.wait(Native Method)
> >> >>                  at java.lang.Object.wait(Object.java:474)
> >> >>                  at
> >> >>
> >> > org.apache.commons.pool.impl.GenericObjectPool.borrowObject(
> >> GenericObjectPool.java:748)
> >> >>                  - locked  (a
> >> >> org.apache.commons.pool.impl.GenericObjectPool)
> >> >>                  at
> >> >>
> >> > org.apache.commons.dbcp.PoolingDataSource.getConnection(
> >> PoolingDataSource.java:95)
> >> >>                  at
> >> >>
> >> > org.apache.commons.dbcp.BasicDataSource.getConnection(
> >> BasicDataSource.java:540)
> >> >>                  at
> >> >>
> >> > org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(
> >> DataSourceUtils.java:113)
> >> >>                  at
> >> >>
> >> > org.springframework.jdbc.datasource.DataSourceUtils.getConnection(
> >> DataSourceUtils.java:79)
> >> >>                  at
> >> >>
> >> > org.springframework.orm.ibatis.SqlMapClientTemplate.execute(
> >> SqlMapClientTemplate.java:182)
> >> >>
> >> >> Any help ?
> >> >> --
> >> >> View this message in context:
> >> >>
> >> >
> >>
> http://www.nabble.com/spring-ibatis-Object.wait-error---tp15280119p15280119.html
> >> >
> >> >>
> >> >> Sent from the iBATIS - User - Java mailing list archive at
> Nabble.com.
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >
> >> > --
> >> > View this message in context:
> >> >
> >>
> http://www.nabble.com/spring-ibatis-Object.wait-error---tp15280119p15280531.html
> >> >
> >> > Sent from the iBATIS - User - Java mailing list archive at Nabble.com
> .
> >> >
> >> >
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/spring-ibatis-Object.wait-error---tp15280119p15280791.html
> >> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> >
> >
> > Gobelin Survivant du dev de www.650km.com
> > http://recursive-cacophony.net/tec-goblin
> > http://googoomucks.blogspot.com
> >
> --------------------------------------------------------------------------
> > no creed on earth can replace or provide
> > in my darkest hour, the comfort I'd feel
> > leading me to see I can be more than I expect of me
> >
> > vnv nation
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/spring-ibatis-Object.wait-error---tp15280119p15291548.html
> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
>
>


-- 


Gobelin Survivant du dev de www.650km.com
http://recursive-cacophony.net/tec-goblin
http://googoomucks.blogspot.com
--------------------------------------------------------------------------
no creed on earth can replace or provide
in my darkest hour, the comfort I'd feel
leading me to see I can be more than I expect of me

vnv nation

Mime
View raw message