Quantcast

JNDI data source

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

JNDI data source

Jonathan Carlson
Has Grails ever been configured to work with a JNDI DataSource?  I have
a little app I want to put into "production" but I can't have the
production database password in the war file.  It needs to use a
pre-configured data source so only the admin person knows the password.

If support isn't built-in, can someone give me a hint about how I might
go about implementing it for Grails?

- Jonathan

______________________________________________________________________
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com
_____________________________________________________________________

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: JNDI data source

graemer
Hi Jonathan,

I imagine you could configure a JNDI data source in the spring
resources file, but the problem is to get Grails to use it instead of
the regular data source.

This needs a bit of work, please feel free to raise a feature request.

Cheers
Graeme

On 8/24/06, Jonathan Carlson <[hidden email]> wrote:

> Has Grails ever been configured to work with a JNDI DataSource?  I have
> a little app I want to put into "production" but I can't have the
> production database password in the war file.  It needs to use a
> pre-configured data source so only the admin person knows the password.
>
> If support isn't built-in, can someone give me a hint about how I might
> go about implementing it for Grails?
>
> - Jonathan
>
> ______________________________________________________________________
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> Katun Corporation -- www.katun.com
> _____________________________________________________________________
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: JNDI data source

Jonathan Carlson
In reply to this post by Jonathan Carlson
Thanks!   GRAILS-272  I hope it's OK that I marked this as being
"Critical". It's actually a "Blocker" for me, but I didn't want to
assume that the world revolves around my needs.

- Jonathan

>>> [hidden email] 2006-08-29 3:54:02 AM >>>
Hi Jonathan,

I imagine you could configure a JNDI data source in the spring
resources file, but the problem is to get Grails to use it instead of
the regular data source.

This needs a bit of work, please feel free to raise a feature request.

Cheers
Graeme

On 8/24/06, Jonathan Carlson <[hidden email]> wrote:
> Has Grails ever been configured to work with a JNDI DataSource?  I
have
> a little app I want to put into "production" but I can't have the
> production database password in the war file.  It needs to use a
> pre-configured data source so only the admin person knows the
password.
>
> If support isn't built-in, can someone give me a hint about how I
might
> go about implementing it for Grails?
>
> - Jonathan
>
>
______________________________________________________________________
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please
notify
> the system manager.
>
> Katun Corporation -- www.katun.com
>
_____________________________________________________________________
>
>
---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email 
>
>

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

______________________________________________________________________
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com
_____________________________________________________________________

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Loading...