[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Jboss4.0.5+Hibernate3+Spring2.0+Informix Dynamic Server 10

stigmatamartyr do-not-reply at jboss.com
Wed Apr 4 23:12:54 EDT 2007


I am using the stack in the subject line, and have discovered what I think might be a bug.  When JBoss first starts up and deploys my war, everything works fine.  However, when I redeploy the war, when Spring's LocalSessionFactory initialized, the container just hangs (and can't be shutdown, has to be killed).  This is occuring when it checks to see if there is a valid connection, since there is no Informix ValidConnectionChecker (or whatever that interface is called), it just tries to run the SQL in DS config (an XA datasource), something goes wrong.  Then I remove the check, the war is deployed, but then you get an error saying that the app is trying to use a connection that is no longer associated with ManagedConnection. 

In order to get around this, after Spring has initialized, I stop and start the ManagedConnectionFactory MBean through JMX (with a BeanPostProcessor), after which, everything works fine.

Of course, I could be missing something here, I'm hoping a working InformixConnectionValidator class is forthcoming. :)

Duane

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034848#4034848

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034848



More information about the jboss-user mailing list