|
|
|
Re: OpenShift Tomcat Configuration [message #1086805 is a reply to message #1086181] |
Wed, 14 August 2013 14:56  |
Eclipse User |
|
|
|
Thanks Lukas and Judith,
You were right; the productive db connection string needed updating. What threw me off is that my DataSourceSecurityFilter was working, so the database connection must therefore also be working. I forgot to configure my PostgresSqlService.java separately. A silly oversight really. I now have some new lines in my server config files:
### Database Configuration
com.omb.crmdemo.server.services.common.sql.PostgresSqlService#jdbcMappingName=jdbc:postgresql://127.8.244.2:5432/democrm
com.omb.crmdemo.server.services.common.sql.PostgresSqlService#username=xxxxxxxx
com.omb.crmdemo.server.services.common.sql.PostgresSqlService#password=xxxxx
Things to remember for next time (also possibly useful to others):
- Use the crmdemo_server/process link to test server database connectivity/deploy status.
- An error message of 'no data tag' means (in this instance at least) that the DB connection isn't working.
- Also useful to know, is that jdbc keys (even for custom SQL services) can be overridden in config files (as I did, above).
Happily, it works now. I've still got some tinkering to do, but it loads now. Thanks for the help.
|
|
|
Powered by
FUDForum. Page generated in 0.04185 seconds