Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 52662 invoked from network); 30 Nov 2005 22:32:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Nov 2005 22:32:58 -0000 Received: (qmail 85327 invoked by uid 500); 30 Nov 2005 22:32:58 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 84910 invoked by uid 500); 30 Nov 2005 22:32:55 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 84899 invoked by uid 99); 30 Nov 2005 22:32:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2005 14:32:55 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [216.49.176.50] (HELO Mail1.gmhwh.org) (216.49.176.50) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2005 14:34:24 -0800 Received: from 10.97.30.48 by mail2.gmhwh.org with ESMTP ( ( MMS v5.6.3)); Wed, 30 Nov 2005 15:29:32 -0700 X-Server-Uuid: DCF74D22-774A-4A74-A7A3-A6CD63566AD7 Received: from WH-SMTP1-MTA by inet-wh1.gmhwh.org with Novell_GroupWise; Wed, 30 Nov 2005 15:32:26 -0700 Message-ID: <438DC682020000C700002315@inet-wh1.gmhwh.org> X-Mailer: Novell GroupWise Internet Agent 7.0 Date: Wed, 30 Nov 2005 15:34:26 -0700 From: "Norman Jarvis" To: user@geronimo.apache.org Subject: Re: Geronimo M5 JNDI resources MIME-Version: 1.0 X-WSS-ID: 6F90F8461AC7993728-01-03 Content-Type: multipart/alternative; boundary="=__Part6F4DAFE2.0__=" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part6F4DAFE2.0__= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I have posted the solution that I am using for my enterprise applications on my blog (doesn't mean it is the correct or best solution though). http://developerthunks.blogspot.com/2005/11/geronimo-and-javaxnamingspiobjectfacto_30.html Norman Jarvis >>>Richard Duggan 10/18/05 9:22 am >>> I would like to create some JNDI resources that can be configured as part of a configuration file. Using Tomcat this can be achieved by configuring the resource factory in the server.xml file (as shown below). How is it recommended that this be achieved with Geronimo? I initially had two thoughts, either this could be hosted by the embedded Tomcat and configured using the geronimo-web.xml file it could be hosted as part of the openejb component and configured using the openejb-jar.xml. Can anyone share some advise? ... factory org.apache.naming.factory.BeanFactory bar 23 ... Thanks in Advance, Richard K. Duggan On Demand Development and Incubation IBM Toronto Laboratory External: 905-413-2396 Internal: 969-2396 ------------------------------------------------------------------------------ This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed. ------------------------------------------------------------------------------ --=__Part6F4DAFE2.0__= Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Description: HTML =20
I have posted the solution that I am using for my enterprise= = applications on my blog (doesn't mean it is the correct or best = solution though).
 
 
Norman Jarvis

>>>"Richard Duggan" = <rduggan@ca.ibm.com> 10/18/05 9:22 am >>>

I would lik= e= to create some JNDI resources that can be configured as part
of a = configuration file.   Using Tomcat this can be achieved by = configuring
the resource factory in the server.xml file (as shown = below).  How is it
recommended that this be achieved with = Geronimo?  I initially had two
thoughts, either this = could be hosted by the embedded Tomcat and configured
using the = geronimo-web.xml file it could be hosted as part of the openejb
componen= t= and configured using the openejb-jar.xml.  Can anyone share = some
advise?

        =             = 60;            =             = 60;            =             = 60;    
       &#= 160;            = ;            &#= 160;            = ;            &#= 160;            = ;     
      = 0;            &= #160;           = 0;            &= #160;           = 0;            &= #160;     
      =             = 60;            =             = 60;            =             = 60;      
     &#= 160;            = ;            &#= 160;            = ;            &#= 160;            = ;       
    = 0;            &= #160;           = 0;            &= #160;           = 0;            &= #160;       
    =             = 60;            =             = 60;            =             = 60;        
   &#= 160;            = ;            &#= 160;            = ;            &#= 160;            = ;         
  = 0;            &= #160;           = 0;            &= #160;           = 0;            &= #160;         
  =             = 60;            =             = 60;            =             = 60;          
 &l= t;Context= = ...>           &#= 160;            = ;            &#= 160;            = ;           
= 0;  ...         = 0;            &= #160;           = 0;            &= #160;           = 0;        
   <= ;Resource= name="bean/MyBeanFactory" = auth="Container"       = 60;           
&#= 160;            = ;type="com.mycompany.MyBean"/>    = 0;            &= #160;           = 0;  
   <ResourceParams= = name="bean/MyBeanFactory">     &#= 160;            = ;           
= 0;    <parameter>     &#= 160;            = ;            &#= 160;            = ;            &#= 160;  
       <name>f= actory</name>         &#= 160;            = ;            &#= 160;            = ;
       <value>org.apache.nami= ng.factory.BeanFactory</value>      = 60;        
   &#= 160; </parameter>        = ;            &#= 160;            = ;            &#= 160;           
&= #160;    <parameter>     = ;            &#= 160;            = ;            &#= 160;            = ;   
       <name&g= t;bar</name>         = 60;            =             = 60;            =     
       <v= alue>23</value>        = 60;            =             = 60;            =     
     </parameter>= ;            &#= 160;            = ;            &#= 160;            = ;       
   </Resou= rceParams>          &#= 160;            = ;            &#= 160;            = ;      
   ...  &= #160;           = 0;            &= #160;           = 0;            &= #160;           = 0;   
 </Context>     = ;            &#= 160;            = ;            &#= 160;            = ;        
   = 0;            &= #160;           = 0;            &= #160;           = 0;            &= #160;        
   =             = 60;            =             = 60;            =             = 60;         
  &#= 160;            = ;            &#= 160;            = ;            &#= 160;            = ;          
 = 0;            &= #160;           = 0;            &= #160;           = 0;            &= #160;          
 =             = 60;            =             = 60;            =             = 60;           

Thanks= in Advance,


Richard K. Duggan
On Demand Development and = Incubation
IBM Toronto Laboratory
External: 905-413-2396
Internal:= = 969-2396

------------------------------------------------------------------------= ------
This message may contain confidential information, and is
intended only for the use of the individual(s) to whom it
is addressed.
---------------------------------------------------------------------------= ---

--=__Part6F4DAFE2.0__=--