lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrik Nordebo (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-1841) Unregistering of Searcher MBean doesn't work in Websphere
Date Wed, 24 Mar 2010 10:48:27 GMT

     [ https://issues.apache.org/jira/browse/SOLR-1841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Patrik Nordebo updated SOLR-1841:
---------------------------------

    Attachment: patch

Proposed fix: whenever the name returned from the register method differs from the name we
passed to the server, store the new name so we can look it up from the original name, and
use the server-provided name when unregistering.

> Unregistering of Searcher MBean doesn't work in Websphere
> ---------------------------------------------------------
>
>                 Key: SOLR-1841
>                 URL: https://issues.apache.org/jira/browse/SOLR-1841
>             Project: Solr
>          Issue Type: Bug
>         Environment: Websphere Application Server 6.1
>            Reporter: Patrik Nordebo
>            Priority: Minor
>         Attachments: patch
>
>
> On a Websphere cluster, all MBeans registered in the default MBean server get renamed
on registration (it adds properties based on which node and cell in the Websphere cluster
the process was running).  This means that when Solr tries to unregister an MBean (e.g. an
old searcher), the old MBean is never removed.  In the case of a rebind the binding of the
new MBean fails because it tries to register a name that is already taken.
> To get around this the name the mbean gets assigned must be stored somewhere where it
can be looked up when we need to remove the binding.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message