Return-Path: Delivered-To: apmail-jakarta-hivemind-user-archive@www.apache.org Received: (qmail 5430 invoked from network); 29 Jul 2005 07:55:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Jul 2005 07:55:31 -0000 Received: (qmail 22591 invoked by uid 500); 29 Jul 2005 06:53:31 -0000 Delivered-To: apmail-jakarta-hivemind-user-archive@jakarta.apache.org Received: (qmail 22554 invoked by uid 500); 29 Jul 2005 06:53:31 -0000 Mailing-List: contact hivemind-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: hivemind-user@jakarta.apache.org List-Id: Delivered-To: mailing list hivemind-user@jakarta.apache.org Received: (qmail 22540 invoked by uid 99); 29 Jul 2005 06:53:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jul 2005 23:53:31 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [212.110.153.73] (HELO pm.crimea.com) (212.110.153.73) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jul 2005 23:53:23 -0700 Received: from dima.pm.crimea.com ([192.168.1.13]) by pm.crimea.com with esmtp (Exim 4.50 #1 (Debian)) id 1DyOl5-00066N-1a for ; Fri, 29 Jul 2005 10:54:15 +0400 Message-ID: <42E9D275.9060503@java.crimea.com> Date: Fri, 29 Jul 2005 09:53:41 +0300 From: Dmitry Kozakov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.5) Gecko/20041206 Thunderbird/1.0 Mnenhy/0.7 X-Accept-Language: ru-ru, ru MIME-Version: 1.0 To: hivemind-user@jakarta.apache.org Subject: Re: Hivemind+Tomcat References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I tried in this way but with out success Best Regards, Dmitry Schulte Marcus wrote: >and did you map it in your -Element? > > > >>-----Original Message----- >>From: Catalin Grigoroscuta [mailto:c.grigoroscuta@moodmedia.ro] >>Sent: Friday, July 29, 2005 8:16 AM >>To: hivemind-user@jakarta.apache.org >>Subject: Re: Hivemind+Tomcat >> >> >>Hi, >> >>Did you declare the JNDI resource in the web.xml file of the web >>application? >> >>Regards, >>Catalin >> >>Dmitry Kozakov wrote: >> >> >> >>>May be I do something wrong. >>>I wrote in the server.xml in >>> >>> >> type="org.apache.hivemind.Registry" >>> description="Global Hivemind registry" >>> factory="com.intersolved.hawk.web.HiveMindFactory" >>> /> >>> >>> >>>In the log file I see that my factory is invoked. I can see my >>>registry via jconcole (because tomcat registries it in the JMX) >>>But in the filter of the web application I can not get it >>> Context initCtx = new InitialContext(); >>> Context javaCtx = (Context) >>>initCtx.lookup("java:comp/env"); >>> registry = (Registry) >>>javaCtx.lookup("bean/HivemindRegistry"); >>>I get NameNotFound exception. >>> >>>By the way how can I stop this registry (constructed in such way) >>>when tomcat will be shutdown. >>> >>>Best Regards, >>> Dmitry >>> >>> >>> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org >>For additional commands, e-mail: hivemind-user-help@jakarta.apache.org >> >> >> > >--------------------------------------------------------------------- >To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: hivemind-user-help@jakarta.apache.org > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: hivemind-user-help@jakarta.apache.org