Jan 3rd, 2011, 04:25 PM
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.
Last edited by mojito; Jan 3rd, 2011 at 04:39 PM.
Reason: added info
Jan 6th, 2011, 03:38 PM
Jan 6th, 2011, 06:29 PM
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
Jan 7th, 2011, 05:30 PM
Thank you for the response.
Mar 16th, 2011, 03:42 AM
Thanks for the link, to the great site.
Originally Posted by ceracm
Watch Battle: Los Angeles Online For Free
Tags for this Thread