-
1. Re: Does AS7 have the equivalent of AS6 CachedConnectionValve built in
jesper.pedersen Apr 21, 2011 11:06 AM (in response to smarlow)CachedConnectionManager will be optional for JCA deployments starting with 7.0.0.Beta4 -- default is enabled due to lazy enlistment.
<datasource ... use-ccm="false"> <xa-datasource ... use-ccm="false"> <connection-definition ... use-ccm="false">
Users will be able to control the CCM as previous releases using
<cached-connection-manager debug="false" error="false"/>
-
2. Does AS7 have the equivalent of AS6 CachedConnectionValve built in
rmaucher Apr 21, 2011 11:22 AM (in response to jesper.pedersen)Ok about the CachedConnectionManager itself, but it does nothing bad without the (dreaded) CachedConnectionValve ? There's no valve at the moment in AS 7.
And, also, maybe the valve performance could be (vastly) improved ? Like the one for JPA does not look so bad, and can be tweaked a bit more.
-
3. Does AS7 have the equivalent of AS6 CachedConnectionValve built in
jesper.pedersen Apr 21, 2011 11:45 AM (in response to rmaucher)What is the URL for the AS 6 version ?
-
4. Does AS7 have the equivalent of AS6 CachedConnectionValve built in
rmaucher Apr 21, 2011 11:50 AM (in response to jesper.pedersen)It's org.jboss.web.tomcat.service.jca.CachedConnectionValve in the "tomcat" module of AS 6.
-
5. Does AS7 have the equivalent of AS6 CachedConnectionValve built in
jesper.pedersen Apr 21, 2011 11:58 AM (in response to rmaucher)Yeah, we will probably need something like that for the lazy enlistment tests.
However, since it is now optional for JCA deployments it would be ideal if people can configure using this valve or not - if that isn't already the case.
-
6. Does AS7 have the equivalent of AS6 CachedConnectionValve built in
rmaucher Apr 21, 2011 12:10 PM (in response to jesper.pedersen)Ok. If it is optional, could it default to not being used ? Without me getting flamed because I dropped it I mean ?
-
7. Re: Does AS7 have the equivalent of AS6 CachedConnectionValve built in
jesper.pedersen Apr 21, 2011 12:15 PM (in response to rmaucher)The CachedConnectionManager must be enabled by default due to the lazy enlistment requirements.
The JCA container now just gives the user the ability to turn off the usage for individual deployments if they know their application isn't using it and thereby give them a performance improvement.
-
8. Does AS7 have the equivalent of AS6 CachedConnectionValve built in
rmaucher Apr 21, 2011 12:18 PM (in response to jesper.pedersen)Ok, so I'm not happy at all ...
-
9. Re: Does AS7 have the equivalent of AS6 CachedConnectionValve built in
jesper.pedersen Apr 21, 2011 12:28 PM (in response to rmaucher)Blame the web vehicle...
-
10. Re: Does AS7 have the equivalent of AS6 CachedConnectionValve built in
rmaucher Apr 21, 2011 12:46 PM (in response to jesper.pedersen)And nothing can be optimized so that the performance impact is acceptable, like for the JPA valve ?
-
11. Re: Does AS7 have the equivalent of AS6 CachedConnectionValve built in
jesper.pedersen Apr 21, 2011 12:53 PM (in response to rmaucher)Well, the service injection is different of course - and the CCM API is now located at
org.jboss.jca.core.api.connectionmanager.ccm.CachedConnectionManager
Note, that this will require AS 7.0.0.Beta4+. The actual CCM usage looks correct.
The only optimization in this area is not to have the valve enabled for deployment that don't need it.
-
12. Does AS7 have the equivalent of AS6 CachedConnectionValve built in
jason.greene Apr 21, 2011 5:38 PM (in response to jesper.pedersen)Jesper, can you list the spec requirements that this comes from?
-
13. Does AS7 have the equivalent of AS6 CachedConnectionValve built in
wolfc Apr 22, 2011 6:06 AM (in response to jason.greene)Lazy Transaction Enlistment. JCA 1.6 7.16.2 infers it, I can't find a direct reference.
-
14. Re: Does AS7 have the equivalent of AS6 CachedConnectionValve built in
rmaucher Apr 22, 2011 6:14 AM (in response to wolfc)Is it actually tested by the TCK ? If it's not, this should really be disabled by default. We're not even doing full EE at the moment.