You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The class com.sun.messaging.jms.ra.ManagedConnectionFactory does not implement the interface javax.resource.spi.ValidatingManagedConnectionFactory. This prevents Application-Servers like i.e. Glassfish/Payara 4/5 to validate pooled JMS connections and has a variety of negative effects in case of broken connections.
// code excerpt from com.sun.enterprise.resource.allocator.AbstractConnectorAllocator
...
public Set getInvalidConnections(Set connectionSet)
throws ResourceException {
if (mcf instanceof ValidatingManagedConnectionFactory) {
return ((ValidatingManagedConnectionFactory) this.mcf).
getInvalidConnections(connectionSet);
}
return null;
}
...
The text was updated successfully, but these errors were encountered:
svendiedrichsen
changed the title
MQ-JMSRA Connection pooling broken: ManagedConnectionFactory does not implement ValidatingManagedConnectionFactory
MQ-JMSRA pooled connection validation broken: ManagedConnectionFactory does not implement ValidatingManagedConnectionFactory
Oct 1, 2018
The class
com.sun.messaging.jms.ra.ManagedConnectionFactory
does not implement the interfacejavax.resource.spi.ValidatingManagedConnectionFactory
. This prevents Application-Servers like i.e. Glassfish/Payara 4/5 to validate pooled JMS connections and has a variety of negative effects in case of broken connections.The text was updated successfully, but these errors were encountered: