Results 1 to 5 of 5

Thread: DB Config

  1. #1
    Join Date
    Dec 2010
    Posts
    5

    Default DB Config

    I am trying to deploy a normal WAR(Servlets/Spring/Hibernate) deployed on tomcat server to AWS.
    The app uses my SQL DB using Spring/Hibernate combination and connects to it using server configured JNDI name.

    There seems to be no documentation on cloud foundry available to find out how to configure Datasource and JNDI name on TcServer that will be deployed by Cloudfoundry.

    I might be missing something basic...I am new to Cloud Foundry.
    pls help.

    Thanks
    Last edited by mojito; Jan 3rd, 2011 at 04:39 PM. Reason: added info

  2. #2
    Join Date
    Dec 2010
    Posts
    5

    Default Anybody?

    Anybody? Pls help.

  3. #3
    Join Date
    Jun 2005
    Posts
    102

    Default

    Sorry for the delay.
    Unfortunately, Cloud Foundry doesn't support Tomcat JNDI datasource.
    Your application needs to create its own DataSource (e.g. the standard Spring mechanism) and configure using these instructions: http://www.cloudfoundry.com/getting_started.html

  4. #4
    Join Date
    Dec 2010
    Posts
    5

    Default Thank you for the response.

    It worked...

  5. #5
    Join Date
    Mar 2011
    Posts
    1

    Default

    Quote Originally Posted by ceracm View Post
    Sorry for the delay.
    Unfortunately, Cloud Foundry doesn't support Tomcat JNDI datasource.
    Your application needs to create its own DataSource (e.g. the standard Spring mechanism) and configure using these instructions: http://www.cloudfoundry.com/getting_started.html
    Thanks for the link, to the great site.


    __________________
    Watch Battle: Los Angeles Online For Free

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •