[JBossCache] - Re: statistics not refreshing
by JerryGauth
The unit tests for statistics are located in org.jboss.cache.mgmt. The MgmtCoreTest class is the one that tests puts, gets, evictions, etc.
I've only executed tests against TreeCache, not PojoCache (or TreeCacheAop). AFAIK, there was no discussion of PojoCache when we implemented cache statistics.
I think that statistics will work for PojoCache when you use the put() and get() methods. These should be handled by the underlying TreeCache and the associated statistics will be correct. I've validated this to some degree by using the TomcatClusteringCache mbean to put and get cache entries. The statistics are correct after these operations.
However this issue states that statistics don't work when PojoCache uses the putObject() method. I haven't tested it personally but I have looked at the code and it doesn't look like this method is delegated to TreeCache or one of its interceptors.
Unless I'm mistaken, this is an area that we never discussed. Maybe PojoCache should provide its own interceptor containing statistics that are unique to it?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980667#3980667
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980667
19 years, 6 months
[JBoss Eclipse IDE (users)] - Re: JbossIDE 2.0 deploy application
by mwr0707
Here are the steps I used to add the server to the JBoss Server view:
1. From the JBossIDE toolbar dropdown (Decorated ?J?), choose New->New Server.
| 2. In the ?New Server? dialog, on the ?Define a New Server? panel, under the JBoss Inc node (Not JBoss), choose ?JBoss AS 4.0? and click Next>.
| 3. On the ?Create a new JBoss Server Runtime? panel, enter a Name for the Runtime ?JBoss 4.0?.
| 4. For the runtime ?Home Directory?, click the ?Browse?? button and navigate to the root directory of your JBoss4.0.5 installation; for example, jboss-4.0.5.GA. Click ?OK?.
| 5. choose your installed Java 5 JRE from the JRE: dropdown list.
| 6. Select the ?default? ?Configuration?. Click ?Next>?.
| 7. On the ?Create a New JBoss Server? panel, enter a name for the new server instance: ?JBoss4ins1. Accept the remaining defaults and click Finish.
| 8. A new server instance named ?JBoss4ins1? should now be visible in the JBoss Server view with a Stopped status.
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980666#3980666
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980666
19 years, 6 months