We have spent days trying to figure this out.  We have JBoss 3.2.3 running on Linux, 
w/JMS persisting to Oracle 9.

The ManagedConnection seems to work for random amounts of time until the InUse value 
decrements to a negative number.  Why would it ever do that?  Is that a bug in 3.2.3?

After the negative number shows up everything goes to heck.

After an hour or less the application starts crashing because of the JMS persistence 
calls with "java.sql.SQLException: Io exception: Broken pipe".  I can't post the stack 
trace or config files unfortunately, but here is some hand typed stuff from the log 
that seems relevent:

[JBossManagedConnectionPool]  putting ManagedConnection back into pool
[JBossManagedConnectionPool] ManagedConnection is being returned after it was [EMAIL 
PROTECTED]
[JBossManagedConnectionPool] Returning connection to pool [InUse/Available/Max]: 
[-1/9/40]
WARN [JBossManagedConnectionPool] Exception destroying ManagedConnection
org.jboss.resource.JBossResourceException: SQLException; - nested throwable: 
(java.sql.SQLException: Io exception: Broken pipe)
  at 
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkException(BaseWrapperManagedConnection.java:546)
...lines omitted...
  at 
org.jboss.resource.adapter.jdbc.WrappedConnection.checkException(WrappedConnection.java:793)
  at 
org.jboss.resource.adapter.jdbc.WrappedStatement.checkException(WrappedStatement.java:802)
  at org.jboss.resource.adapter.jdbc.WrappedStatement.close(WrappedStatement.java:61)
  at org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:790)
  at 
org.jboss.mq.pm.jdbc2.PersistenceManager.saveToStorage(PersistenceManager.java:1210)
...many lines omitted...

So is this a JMS bug or a ManagedConnection bug or something else?  If it is a known 
bug, does upgrading fix it?

thanks,
jasen

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

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


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to