Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 99178 invoked from network); 27 Jun 2010 16:18:14 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Jun 2010 16:18:14 -0000 Received: (qmail 86621 invoked by uid 500); 27 Jun 2010 16:18:13 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 86504 invoked by uid 500); 27 Jun 2010 16:18:12 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 86496 invoked by uid 99); 27 Jun 2010 16:18:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jun 2010 16:18:11 +0000 X-ASF-Spam-Status: No, hits=-1547.5 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jun 2010 16:18:11 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5RGHo1Q009446 for ; Sun, 27 Jun 2010 16:17:50 GMT Message-ID: <10548604.79611277655470589.JavaMail.jira@thor> Date: Sun, 27 Jun 2010 12:17:50 -0400 (EDT) From: "cvalois (JIRA)" To: dev@lucene.apache.org Subject: [jira] Commented: (SOLR-1841) Unregistering of Searcher MBean doesn't work in Websphere MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org