Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6373965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T01:25:48+00:00 2026-05-25T01:25:48+00:00

JBossCache creates uniqueId’s used for the JMX beans. If I look via JMX at

  • 0

JBossCache creates uniqueId’s used for the JMX beans. If I look via JMX at jboss.cache:service=JBossCache I see something randomly generated like “12e4860e”, “170278e5” … Now having several Persistence Units I don’t know which is which. Actually there is a Bean which is named as the given cluster name but this one does not contain any statistics, but it’s RPCManager shows the unique one’s as members. The statistics seem to be at the uniquely named Beans.

Does somebody know how I can configure the uniqueId or how I could differentiate between the Persistence Units?

I’m using JBossCache (3.1.0.GA) as a 2LC for Hibernate 3.4 and Glassfish v2.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T01:25:49+00:00Added an answer on May 25, 2026 at 1:25 am

    After some investigation I came to the following answer: you can’t! (at least for LOCAL caches) I use local query caches and these were the one’s I was wondering about.

    The JmxRegistrationManager.processBaseName(ObjectName baseName) tells the reason:

    if (cacheSpi.getConfiguration().getCacheMode().equals(Configuration.CacheMode.LOCAL)) {
        objectNameBase = LOCAL_CACHE_PREFIX + Integer.toHexString(System.identityHashCode(cacheSpi));         
    }
    

    So there is no out-of-the-box way of changing the name.

    Clustered caches on the other hand are named after the ClusterName in the configuration.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Reading JBossCache documentation , there are different policies for eviction JBoss Cache also ships
I'm trying to create a jboss-cache for data that is only relevant for a
Is using JBoss Cache as distributed state repository a good idea? Can JBoss Cache
A caching issue for you cache gurus. Context We have used OpenSymphony's OsCache for
I get the following exception: org.jboss.cache.CacheException: java.lang.RuntimeException: Failure to marshal argument(s) We use distributed
Here is my configuration: Hibernate 3.3.1.GA, JBoss 5.1.0.GA, JBoss Cache 3.2.0.GA. I'm doing Hibernate
I'm considering to use to implement a cache either JBoss Cache or Ehcache. After
Has anyone tried to store Lucene index in JBoss Cache? Are there any good
If I understand correctly, Infinispan/JBoss Cache uses Java's own serialization mechanism, which can be
i want to use jboss cache, but i don't know which jar and where

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.