[
https://issues.apache.org/jira/browse/SOLR-1841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12882961#action_12882961
]
cvalois commented on SOLR-1841:
-------------------------------
I applied the patch to the code and when compiling the solr 1.4 code.. I'm
getting this:
[javac] Compiling 388 source files to
C:\eclipse-621_workspace\testSOLR\Testthis\build\solr
[javac]
C:\eclipse-621_workspace\testSOLR\Testthis\src\java\org\apache\solr\core\JmxMonitoredMap.java:69:
cannot find symbol
[javac] symbol : variable rootName
[javac] location: class org.apache.solr.core.SolrConfig.JmxConfiguration
[javac] jmxRootName = (null != jmxConfig.rootName ?
[javac] ^
[javac]
C:\eclipse-621_workspace\testSOLR\Testthis\src\java\org\apache\solr\core\JmxMonitoredMap.java:70:
cannot find symbol
[javac] symbol : variable rootName
[javac] location: class org.apache.solr.core.SolrConfig.JmxConfiguration
[javac] jmxConfig.rootName
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors
> 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, SOLR-1841.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.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]