I am facing a weird problem and it seems to be c3p0 related. I am starting two instances of an app in the same java vm which interact with each other. After some operations "APPARENT DEADLOCK" messages appear in the log.
I have the feeling that both app instances use the same connection pool although they use different session factory instances.
Might there be some "singleton-magic" involved in C3P0 ?