[JBoss JIRA] Created: (JBCACHE-1185) Reduce logging level when a lifecycle operation is performed twice
by Brian Stansberry (JIRA)
Reduce logging level when a lifecycle operation is performed twice
------------------------------------------------------------------
Key: JBCACHE-1185
URL: http://jira.jboss.com/jira/browse/JBCACHE-1185
Project: JBoss Cache
Issue Type: Task
Security Level: Public (Everyone can see)
Affects Versions: 2.0.0.GA
Reporter: Brian Stansberry
Assigned To: Brian Stansberry
Priority: Minor
Fix For: 2.1.0.GA
We log a WARN when, for example, stop() is invoked when the cache is already stopped. But this can happen easily (and validly) when the JMX wrappers are used with the microcontainer. MC stops the Cache and then the wrapper is stopped, which calls through to the Cache. This kind of thing is normal and we handle it properly, so we shouldn't log a warn.
Perhaps having the wrappers test the cache status before invoking on it would be better; that way we can still warn in other situations.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 8 months
[JBoss JIRA] Updated: (JBCACHE-486) Optimize activations
by Manik Surtani (JIRA)
[ http://jira.jboss.com/jira/browse/JBCACHE-486?page=all ]
Manik Surtani updated JBCACHE-486:
----------------------------------
Fix Version/s: 2.2.0.GA
(was: 2.1.0.GA)
> Optimize activations
> --------------------
>
> Key: JBCACHE-486
> URL: http://jira.jboss.com/jira/browse/JBCACHE-486
> Project: JBoss Cache
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Affects Versions: 1.3.0.GA
> Reporter: Jerry Gauthier
> Assigned To: Manik Surtani
> Priority: Minor
> Fix For: 2.2.0.GA
>
>
> JBCACHE-420 notes that activation processing is performed excessively. The resolution of JBCACHE-420 eliminates the excessive activations but it doesn't resolve the following optimization issue.
> The ActivationInterceptor can't readily determine whether a node has been passivated because the cache loading operation occurs in the CacheLoaderInterceptor. Consequently the activation interceptor invokes loader.exists(node) to ascertain whether the node has been passivated. This works properly but is an unnecessary operation as the CacheLoader interceptor executes immediately prior to the Activation interceptor and it makes a similar determination. This determination can be expensive as itmay involve performing database operations (e.g., for a JDBC cache loader).
> It's desirable to eliminate the loader.exists(node) invocation in the Activation interceptor to optimize performance. One possible way to accomplish this would be to add a pesudo attribute __PASSIVATED__
> to the node's hashmap (similar to __INITIALIZED__) whenever a node has been passivated, and remove it again when
> activated.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 8 months
[JBoss JIRA] Updated: (JBAS-1435) JCA Interceptors
by Anil Saldhana (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-1435?page=all ]
Anil Saldhana updated JBAS-1435:
--------------------------------
Summary: JCA Interceptors (was: Interceptors)
> JCA Interceptors
> ----------------
>
> Key: JBAS-1435
> URL: http://jira.jboss.com/jira/browse/JBAS-1435
> Project: JBoss Application Server
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: JCA service
> Reporter: Adrian Brock
> Assigned To: Shelly McGowan
> Priority: Minor
> Fix For: JBossAS-5.0.1.CR1
>
>
> Forums discussion thread: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=48683
> This is really a major rewrite of the JCA implementation to be less monolithic
> so this will need some careful design and consideration and
> breaking up into more fine grained tasks.
> The idea is to provide containers/interceptors for the components within the JCA module
> such that these components can be more easily customised and developed according to
> the needs of each user.
> There are three main interceptor stacks that I can think of:
> 1) ConnectionManager (connection allocation)
> This provides an interceptor stack behind the ConnectionFactory/DataSource proxy
> to process the allocateConnection invocation.
> It will look something like:
> ConnectionFactory proxy -> ConnectionManager interceptor -> Pooling interceptor
> 2) ManagedConnection/ConnectionEventListener (connection management)
> This stack provides most of the features that are currently performed by the
> BaseManagerConnection2$ConnectionListener and their supporting methods,
> but as an interceptor stack.
> As now they will largely be driven by the events from the resource adapter,
> and it this object that is actually pooled.
> 3) Resource Adaptors
> The JDBC and JMS adaptors should be implemented as interceptor stacks
> to allow optional interceptors like statistics collection, custom behaviour
> and also to perform vendor specific processing/workarounds.
> Where AOP can be used, we could actually instrument the vendor classes so
> we can also expose vendor specific methods, not just the JDBC interfaces.
> This would remove the requirement to do things like getUnderlyingConection() by user code.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 8 months