Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 90188 invoked from network); 4 Nov 2003 00:15:55 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 4 Nov 2003 00:15:55 -0000 Received: (qmail 71508 invoked by uid 500); 4 Nov 2003 00:15:36 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 71496 invoked by uid 500); 4 Nov 2003 00:15:36 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 71483 invoked from network); 4 Nov 2003 00:15:35 -0000 Received: from unknown (HELO rwcrmhc12.comcast.net) (216.148.227.85) by daedalus.apache.org with SMTP; 4 Nov 2003 00:15:35 -0000 Received: from almightybeast (h0010b50ed00a.ne.client2.attbi.com[24.128.112.68]) by comcast.net (rwcrmhc12) with SMTP id <2003110400154301400p6122e> (Authid: hlship); Tue, 4 Nov 2003 00:15:43 +0000 From: "Howard M. Lewis Ship" To: "'Jakarta Commons Users List'" Subject: RE: HIVEMIND: org.apache.commons.hivemind.ApplicationRuntimeException: Registry does not contain module Date: Mon, 3 Nov 2003 19:15:21 -0500 Message-ID: <00a901c3a268$be4fb8a0$6501a8c0@ALMIGHTYBEAST> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N So there's absolutely nothing else in the console? That doesn't make sense. Another option is that you haven't packaged your hivemodule.xml properly, so that RegistryBuilder can see it; do a jar tf on your packaged JAR file. -- Howard M. Lewis Ship Creator, Tapestry: Java Web Components http://jakarta.apache.org/tapestry http://jakarta.apache.org/commons/sandbox/hivemind/ http://javatapestry.blogspot.com > -----Original Message----- > From: news [mailto:news@sea.gmane.org] On Behalf Of Vic Cekvenich > Sent: Monday, November 03, 2003 6:24 PM > To: commons-user@jakarta.apache.org > Subject: Re: HIVEMIND: > org.apache.commons.hivemind.ApplicationRuntimeException: > Registry does not contain module > > > I fixed the white space and same error. I am just trying to > repoduce the > code from your slides, a hello world thing. > > I am not loging anything, the output is what shows up on IDE > (Eclipse). > > Another idea? > > btw, this is all the code: > Registry reg = RegistryBuilder.constructDefaultRegistry(); > MailSync m = (MailSync) > reg.getService("bP.async.mailer.MailSync",MailSync.class); > m.send(); > > Do you have a working "Adder" example? > .V > > hlship@comcast.net wrote: > > If that's a cut-and-paste, then you have a problem in your > XML ... too > > little whitespace > > > > id="MailSync"interface > > > > You should be seeing error output ... is it going into a log file? > > Are you seeing a big block about how you haven't enabled > error output? > > > > -- > > hlship@apache.org > > > > Creator, Tapestry: Java Web > > Components > > http://jakarta.apache.org/tapestry > > > >>Thanks ( I am impressed with what HiveMind lets people do). > >> > >>Here is the message: > >>org.apache.commons.hivemind.ApplicationRuntimeException: > Registry does > >>not contain module 'bP.async.mailer'. > >> at > >>org.apache.commons.hivemind.impl.RegistryImpl.getModule(Regi > stryImpl.java:119) > >> at > >>org.apache.commons.hivemind.impl.RegistryImpl.getService(Reg > istryImpl.java:129) > >> at bP.async.run2.main(run2.java:12) > >>Exception in thread "main" > >> > >>And the xml: > >> > >> > >> > >> id="MailSync"interface="bP.async.mailer.MailSync"> > >> > >> > >> > >> > >> > >>Does this help? I wish it is XML. > >> > >>.V > >> > >> > >> > >>hlship@comcast.net wrote: > >> > >>>The full stack trace of the exception would be a start; also you > >> > >>hivemodule.xml is probably the source of the problem. Any other > >>output in the > >>log? > >> > >>>You are likely using alpha-2 XML syntax with the alpha-3 code (or > >>>vice versa). > >>> > >> > >> > >> > >>------------------------------------------------------------ > --------- > >>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org > >>For additional commands, e-mail: > commons-user-help@jakarta.apache.org > >> > > -- > Victor Cekvenich, > Struts Instructor > (215) 321-9146 > > Advanced Struts Training > content=TRAINING> Server Side > Java training with Rich UI, > mentoring, designs, samples and project recovery in North > East. Simple best practice basic Portal, a Struts CMS, Membership, Forums, Shopping and > Credit processing, > software, ready > to develop/customize; requires a db to run. > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org