Return-Path: Delivered-To: apmail-jakarta-hivemind-user-archive@www.apache.org Received: (qmail 7297 invoked from network); 27 Apr 2005 11:16:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Apr 2005 11:16:28 -0000 Received: (qmail 98423 invoked by uid 500); 27 Apr 2005 11:17:18 -0000 Delivered-To: apmail-jakarta-hivemind-user-archive@jakarta.apache.org Received: (qmail 98409 invoked by uid 500); 27 Apr 2005 11:17:18 -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 Delivered-To: mailing list hivemind-user@jakarta.apache.org Received: (qmail 98394 invoked by uid 99); 27 Apr 2005 11:17:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of johan@kawoo.co.uk designates 217.71.122.144 as permitted sender) Received: from ts2-144.twistspace.com (HELO ts2-144.twistspace.com) (217.71.122.144) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 27 Apr 2005 04:17:18 -0700 Received: from oden.dmdint.com (localhost [127.0.0.1]) by ts2-144.twistspace.com (8.13.4/8.13.4/Debian-1) with ESMTP id j3RBGNFI004385 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 27 Apr 2005 13:16:23 +0200 Date: Wed, 27 Apr 2005 13:16:50 +0200 To: hivemind-user@jakarta.apache.org Subject: Re: Loading descriptor References: <000301c54b15$37a788d0$6601a8c0@carmani600m> From: "Johan Lindquist" Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <000301c54b15$37a788d0$6601a8c0@carmani600m> User-Agent: Opera M2(BETA1)/8.00 (Win32, build 7401) X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N The prefix message would probably be a good idea - would definately point you in the right direction ... Johan On Wed, 27 Apr 2005 06:38:09 -0400, James Carman wrote: > This is probably one of the most frequently asked questions. I know I've > answered this question before. Perhaps we should come up with a > troubleshooting guide? Or, maybe the error message should say something > like "you need to prefix your service id with the module id" when you > give a > service id with no '.' character in it? Maybe the registry could even be > smart enough to say "The service id 'Part' is not prefixed with a module > id. > Did you mean 'test.Part'?" > > -----Original Message----- > From: Igor Laberov [mailto:igorl@qlusters.com] > Sent: Wednesday, April 27, 2005 5:24 AM > To: hivemind-user@jakarta.apache.org > Subject: Re: Loading descriptor > > > Thanks, Johan, it works now :) > > > On Wed, 2005-04-27 at 11:41, Johan Lindquist wrote: >> You need to prefix the service id with the module id (i.e. >> "test.Part"), >> then it should load it. If your service is the only service defined >> using > >> the interface one.PartitionService, then you can simply do: >> >> PartitionService c = >> (PartitionService)registry.getService(PartitionService.class); >> >> Cheers, >> >> Johan >> >> On 27 Apr 2005 11:36:20 +0300, Igor Laberov >> wrote: >> >> > Yes, I put it before. >> > May be I make wrong call to service: >> > PartitionService c = (PartitionService) >> > registry.getService("Part",PartitionService.class); >> > while XML contains: >> > >> > >> > >> > >> > >> > >> > >> > Igor >> > >> > >> > On Wed, 2005-04-27 at 11:08, Johan Lindquist wrote: >> >> Igor, >> >> >> >> Perhaps a stupid question, but did you put the descriptor in >> >> META-INF/hivemodule.xml on the classpath? >> >> >> >> Johan >> >> >> >> On 27 Apr 2005 11:02:20 +0300, Igor Laberov >> >> wrote: >> >> >> >> > Hi all, >> >> > I'm trying to build simple application with HiveMind, but it >> >> > seems >> >> that >> >> > registry doesn't load my descriptor (I've added descriptor >> >> > location to the classpath). I also checked Registry content in >> >> > debugger, and I saw that descriptor wasn't loaded. Should I make >> >> > definitions in another places? >> >> > >> >> > Thank you, >> >> > Igor Laberov >> >> > Qlusters, Inc. >> >> > >> >> > >> >> > >> >> > >> >> > ----------------------------------------------------------------- >> >> > ---- >> >> > To unsubscribe, e-mail: >> hivemind-user-unsubscribe@jakarta.apache.org >> >> > For additional commands, e-mail: > hivemind-user-help@jakarta.apache.org >> >> > >> >> > >> >> >> >> >> >> >> >> -- >> >> you too? >> >> >> >> ------------------------------------------------------------------- >> >> -- >> >> 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 >> > >> > >> >> >> >> -- >> you too? >> >> --------------------------------------------------------------------- >> 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 > > > -- you too? --------------------------------------------------------------------- To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: hivemind-user-help@jakarta.apache.org