Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 26862 invoked from network); 9 Feb 2006 22:37:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Feb 2006 22:37:05 -0000 Received: (qmail 14887 invoked by uid 500); 9 Feb 2006 22:36:58 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 14669 invoked by uid 500); 9 Feb 2006 22:36:57 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Delivered-To: moderator for dev@geronimo.apache.org Received: (qmail 33777 invoked by uid 99); 9 Feb 2006 16:08:48 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=OHEdummtNqlHHJr1inQyooMaBgHeYCQt5fIPsSA0VbIAWE1+SAXpe3oE6VULPyKVLx/z2aBxVeaNff8xqRBa54MxHjTjtVVuLd1I/aQBXcrA7ea1VFMr0yO1ck2vObgzF8vbe34WneHcUM7bqr0CtDQk07/gy2zqCyNlR5MQjdg= ; Message-ID: <20060209160825.9417.qmail@web30902.mail.mud.yahoo.com> Date: Thu, 9 Feb 2006 08:08:25 -0800 (PST) From: "Nelson A. Perez" Subject: Patterns dont match To: dev@geronimo.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all, I am trying to run a sample application and I get the following error on the log file: 00:17:18,234 INFO [BPrinterGBean] BPrinterGBean has started 00:17:18,234 INFO [BPrinterGBean] geronimo.server:J2EEApplication=null,J2EEModule=sampleTask/Sample,J2EEServer=geronimo,j2eeType=GBean,name=gbean2 00:17:18,250 DEBUG [GBeanSingleReference] Waiting to start geronimo.server:J2EEApplication=null,J2EEModule=sampleTask/Sample,J2EEServer=geronimo,j2eeType=GBean,name=MyGBean because no targets are running for reference Executor matching the patterns geronimo.server:J2EEApplication=null,J2EEModule=sampleTask/Sample,J2EEServer=geronimo,j2eeType=null,name=DTP 00:17:18,250 DEBUG [GBeanSingleReference] Waiting to start geronimo.server:J2EEApplication=null,J2EEModule=sampleTask/Sample,J2EEServer=geronimo,j2eeType=GBean,name=MyGBean because no targets are running for reference APrinter matching the patterns geronimo.server:J2EEApplication=null,J2EEModule=sampleTask/Sample,J2EEServer=geronimo,j2eeType=null,name=gbean1 00:17:18,250 DEBUG [GBeanSingleReference] Waiting to start geronimo.server:J2EEApplication=null,J2EEModule=sampleTask/Sample,J2EEServer=geronimo,j2eeType=GBean,name=MyGBean because no targets are running for reference BPrinter matching the patterns geronimo.server:J2EEApplication=null,J2EEModule=sampleTask/Sample,J2EEServer=geronimo,j2eeType=null,name=gbean2 00:17:18,250 INFO [APrinterGBean] APrinterGBean has started 00:17:18,250 INFO [APrinterGBean] geronimo.server:J2EEApplication=null,J2EEModule=sampleTask/Sample,J2EEServer=geronimo,j2eeType=GBean,name=gbean1 As you can see, clearly the patterns dont match because in one case we have j2eeType=null and in the other we have j2eeType=GBean. How can I set the j2eeType to GBean so that the patter can be matched ? Also, how can I be sure that the GBeans get loaded in the proper order ? In this case, the MyGBean has references to the three other GBeans: BPrinterGBean, APrinterGBean and DTP (Default Thread Pool). As you can read in the log file, only two GBeans (AprinterGBean and BPrinterGBean) get loaded and started, but not DTP and MyGBean. The plan looks as follows: samples sampleTask 1.0 15000 10 DTP gbean1 gbean2 DTP BTW, is there a better place to post this issue ? Any help is appreciated! Thanks, Nelson. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com