On Wed, 11 Jun 2003 09:46, Brian Wallis wrote:
> It closes the logical connection. But for me it makes no difference, I have
> no way of getting back a logical connection to the same physical
> connection.
>
> I'll have a search of the list. Could take a while, the search on
> sourceforge lists doesn't seem to work very well. It never matches anything
> if I type two or more words :-(
>
> thanks for the pointer.

Searched the source instead. In jboss-jca.sar/META-INF/jboss-service.xml is 
the configuration of the CachedConnectionManager and the parameter 
SpecCompliant is set to false. I think that if I make it true then the 
connections will not be closed. ie:


  <!-- The CachedConnectionManager is used partly to relay started
        UserTransactions to open connections so they may be enrolled
        in the new tx -->
  <mbean code="org.jboss.resource.connectionmanager.CachedConnectionManager"
              name="jboss.jca:service=CachedConnectionManager">
    <attribute name="SpecCompliant">false</attribute>
  </mbean>

Not sure I understand the comment in that configuration.

I'm still not sure about the original problem though. Am I correct in wanting 
these logical connections to remain open between calls when I am within a 
transaction? The bean cannot be passivated while a transaction is current so 
it should be safe to keep them as local state in the stateful bean.

brian...



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to