No. The jndi name (e.g. jdbc/MyDatasource) is available in cf for any j2ee app.
-Joe On 4/2/08, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > > Thanks Doug and Charlie. I will try to define and use the JNDI > datasources. One question. If I define a JNDI datasource with the user name > and password while defining, then do I need to reenter user name and > password again in CFAdmin when I define the datasource as J2EE datasource > type? > > > Jay Jayaraman > Central Billing Services > Financial Management and Planning > (404) 498-8453 (W) > (404) 273-7131 (C) > > > *"Douglas Knudsen" <[EMAIL PROTECTED]>* > Sent by: [EMAIL PROTECTED] > > 04/02/2008 01:15 PM Please respond to > [email protected] > > To > [email protected] cc > Subject > Re: [ACFUG Discuss] can external java app use datasources defined in > Coldfusion? > > > > > I've used the approach Charlie outlined before. In both the JMC and > CFAdmin tools the dsn password is encrypted in the xml file. > > DK > > > > On 4/2/08, Dean H. Saxe <[EMAIL PROTECTED]> wrote: > > But of course any of those configs is vulnerable to the password being > > stolen. Its an interesting problem for production boxes and one I > > hope to see a whitepaper from Foundstone on soon... ;-) > > > > There are some products out there that allow credentials to be > > "checked out" when needed (think like source control), but I have not > > yet looked into them. > > > > -dhs > > > > > > Dean H. Saxe, CISSP, CEH > > [EMAIL PROTECTED] > > "What is objectionable, what is dangerous about extremists is not that > > they are extreme, but that they are intolerant." > > -- Robert F. Kennedy, 1964 > > > > > > On Apr 2, 2008, at 9:41 AM, [EMAIL PROTECTED] wrote: > > > > > > > > Hello, > > > > > > We have some java application using its own datasource to > > > connect to the database. This requires either hardcoding username > > > and password or put it in a config file. Is there a way for this > > > jav app to use datasources defined in Coldfusion so that java app > > > can share the same db connection pool? > > > > > > > > > Jay Jayaraman > > > Central Billing Services > > > Financial Management and Planning > > > (404) 498-8453 (W) > > > (404) 273-7131 (C) > > > ------------------------------------------------------------- > > > Annual Sponsor - Figleaf Software > > > > > > To unsubscribe from this list, manage your profile @ > > > http://www.acfug.org?fa=login.edituserform<http://www.acfug.org/?fa=login.edituserform> > > > > > > For more info, see http://www.acfug.org/mailinglists > > > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > > > List hosted by FusionLink > > > ------------------------------------------------------------- > > > > > > -- > Sent from Gmail for mobile | mobile.google.com > > Douglas Knudsen > http://www.cubicleman.com > this is my signature, like it? > > > ------------------------------------------------------------- > Annual Sponsor FigLeaf Software - http://www.figleaf.com > > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa=login.edituserform<http://www.acfug.org/?fa=login.edituserform> > > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by http://www.fusionlink.com > ------------------------------------------------------------- > > > > > > ------------------------------------------------------------- > Annual Sponsor - Figleaf Software <http://www.figleaf.com/> > > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa=login.edituserform<http://www.acfug.org/?fa=login.edituserform> > > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by FusionLink <http://www.fusionlink.com/> > ------------------------------------------------------------- > ------------------------------------------------------------- Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
