[JBoss Cache: Core Edition] - Re: Strange invalidation
by dancantong
But there's still something that I can't understand.
You say the purpose of invalidation is to flush out stale data in a clustered cache. That means that if you modify a node that is cached in a cache instance in the cluster, it sends an invalidation message to the rest of nodes with the same FQN in the cluster. But this does not make sense as it is not possible to have two nodes with the same FQN at the same time in a cluster configured with invalidation policy.
I can't figure out what invalidation is used for, as I think it will make the cache useless as it will invalidate the nodes continoulsy in most scenaries. Think for example in the scenarie I was talking about (a load balancer that redirects requests to different server instances, each one having a cache instance, with the same data being requested repeatedly). In this case the requested data will be put in both cache instances and will be invalidated repeatedly, so the cache will not have any effectiveness.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191631#4191631
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191631
17 years, 5 months
[Microcontainer] - Re: BeanMetaData and management
by alesj
"bob.mcwhirter" wrote :
| I've attempted to add @JMX annotations, but got either a mixture of "nothing" or "already installed" errors.
|
This should work.
I don't see how you can get "nothing".
Or what are the exact "already installed" errors?
As mbean's ObjectName is derived from bean name,
hence it should be unique if your bean name is unique.
"bob.mcwhirter" wrote :
| I also tried to gain a clue about Scott's @ManagementObject/ManagedObject stuff, but also never got anything visible in the jmx-console.
|
Currently you only get this visibility in ProfileService (PS).
Then some admin console needs to use PS to show content.
"bob.mcwhirter" wrote :
| Should I be looking for some other console (JOPR-embedded?), or is there some way to wire things up to automatically appear in JMX consoles?
|
Yes, jopr/embedded is probably the only admin console that somehow knows PS,
but even this is not yet fully implemented.
We still have some issues in Managed/Metatype MC sub-project,
PS attachment/MO serialization and jopr/embedded generic plugins.
I would look into why @JMX doesn't work for you,
as that's the easiest way to wire things up.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191624#4191624
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191624
17 years, 5 months
[Installation, Configuration & DEPLOYMENT] - Re: JBOSS log rotation
by ran_sushmi
hi,
thanks, for your answer. This was helpful, but there is this code in our JBOSS application 'log4j.xml' file which is difficult to understand. I am pasting the initial contents of the file off which I am not able to make out much. The contents are:-
-------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<!-- ===================================================================== -->
<!-- -->
<!-- Log4j Configuration -->
<!-- -->
<!-- ===================================================================== -->
<!-- $Id: log4j.xml,v 1.13.2.13 2004/05/11 16:33:46 belaban Exp $ -->
<!--
| For more configuration infromation and examples see the Jakarta Log4j
| owebsite: http://jakarta.apache.org/log4j
-->
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
<!-- ================================= -->
<!-- Preserve messages in a local file -->
<!-- ================================= -->
<!-- A time/date based rolling appender -->
<!-- Rollover at midnight each day
<param name="DatePattern" value="'.'yyyy-MM-dd"/>
-->
<!-- Rollover at the top of each hour
<param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
-->
<!-- The default pattern: Date Priority [Category] Message\n -->
<!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
-->
<!-- A size based file rolling appender -->
<!-- ============================== -->
<!-- Append messages to the console -->
<!-- ============================== -->
<!-- The default pattern: Date Priority [Category] Message\n -->
<!-- ====================== -->
<!-- More Appender examples -->
<!-- ====================== -->
<!-- Buffer events and log them asynchronously
<appender-ref ref="FILEDATE"/>
<appender-ref ref="CONSOLE"/>
<appender-ref ref="SMTP"/>
-->
<!-- EMail events to an administrator
-->
<!-- Syslog events
-->
---------------------------------------------------------------------------------------------
Can, the lines of the code be explained. By the way, is there any way to upload a file on the forum.
I hope, my question is clear.
Please, help in solving the doubt.
regards
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191618#4191618
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191618
17 years, 5 months