Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 98842 invoked from network); 2 Feb 2005 21:25:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Feb 2005 21:25:25 -0000 Received: (qmail 48876 invoked by uid 500); 2 Feb 2005 21:25:02 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 48731 invoked by uid 500); 2 Feb 2005 21:25:01 -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 Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 48475 invoked by uid 99); 2 Feb 2005 21:25:00 -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: local policy) Received: from Unknown (HELO mgd.gluecode.com) (64.14.202.141) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 02 Feb 2005 13:24:58 -0800 Received: from [192.168.42.16] (69-175-232-201.vnnyca.adelphia.net [69.175.232.201]) (authenticated bits=0) by mgd.gluecode.com (8.12.10/8.12.10) with ESMTP id j12LOHCW005164 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Wed, 2 Feb 2005 13:24:17 -0800 Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <2c0deaab7a01f3a09df83f84006cd1d2@gluecode.com> Content-Transfer-Encoding: 7bit From: David Blevins Subject: Re: References to Beans (EJBContainers...) Date: Wed, 2 Feb 2005 13:24:22 -0800 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.619.2) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Feb 2, 2005, at 8:04 AM, Mark wrote: > > In my plan, I have: > > 1. In the reference for Contains, I have a name pattern for EJBs. > However, I don't seem to be able to add a wildcard to represent > any/all containers. I have tried various settings all result in > either a Malformed exception or other. > 2. I suspect that I shouldn't use ContainerIndex, but rather > Containers. > 3. I have also observed that when using ContainerIndex, the kernel is > able to start my GBean since there is a valid object reference for > ContainerIndex. I have seen messages on the console that indicate > that the kernel is awaiting an object reference for ContainerIndex. > This is probably due to the fact that I don't currently have an ejb > deployed. > > class="org.apache.geronimo.interop.adapter.AdapterManagerGBean"/> > > class="org.openejb.server.StandardServiceStackGBean"> > RMIIIOP > 9000 > 127.0.0.1 > 127.0.0.1 > 5 > 20 > name="logOnSuccess">HOST,NAME,THREADID,USERID > HOST,NAME > name="Server">interop:type=Server,name=RMIIIOP > > > class="org.apache.geronimo.interop.rmi.iiop.server.RmiIiopServerGBean"> > name="ContainerIndex">openejb:type=ContainerIndex > name="Containers">openejb.server:EJBModule=ejbhw,* > name="AdapterManager">interop: > type=AdapterManager,name=AdapterManager > > Most of this looks good, though I'd suspect as David mentions, you probably want your own collection of containers. The ContainerIndex basically serves the function of indexing the containers by JNDI name and also assigning a number to each container so i can send that on the wire rather than the full JNDI name or ObjectName after the first call. It also makes looking up the container on subsequent calls a little faster. You probably want something that allows you to quickly lookup a container using whatever unique ID the CORBA clients are sending you. -David