关于spring和jotm分布式问题?

我配置了jtom+spring+tomcat来解决分布式数据库处理,但是很不稳定,经常出现一个错误...
Exception in thread "Thread-5" java.lang.IllegalMonitorStateException: current thread not owner
不知道是什么原因 ?大家有出现过这种情况吗?
[b]问题补充:[/b]
我配置了jtom+spring+tomcat来解决分布式数据库处理,但是很不稳定,经常出现一个错误...
Exception in thread "Thread-5" java.lang.IllegalMonitorStateException: current thread not owner
不知道是什么原因 ?大家有出现过这种情况吗?

Exception in thread "Thread-5" java.lang.IllegalMonitorStateException: current thread not owner
at java.lang.Object.notifyAll(Native Method)
at org.enhydra.jdbc.pool.GenericPool.cleanUp(GenericPool.java:763)
at org.enhydra.jdbc.pool.PoolKeeper.run(PoolKeeper.java:60)
at java.lang.Thread.run(Thread.java:595)

建议换个最新的xapool和JOTM试试!

[quote]Exception in thread "Thread-5" java.lang.IllegalMonitorStateException: current thread not owner [/quote]
这句下面的异常信息贴完整啊!光靠这个看不出啥来。

可能是XAPool的版本和JOTM的版本不匹配,看看这个吧
[url]http://mail-archive.ow2.org/jotm/2006-03/msg00002.html[/url]