I followed "Switch To MySQL Tutorial" at
http://docs.broadleafcommerce.org/curre ... orial.html, but still get the same error. Tried both running jetty-demo and deploy the war file to tomcat. Neither works.
What I don't understand is that this tutorial does not mention following files that also contain JDBC configuration:
admin/src/main/webapp/META-INF/context.xml
site/src/main/webapp/META-INF/context.xml
site/build.xml
Per this tutorial, jdbc connection parameters are only in jetty-env.xml. I thought jetty-env.xml is only for launching jetty app. How does this work? We can't put jdbc parameters in jetty-env.xml. What if I need different jdbc configuration for different environments?
I would really appreciate if someone can explain how this works.
What I normally do is maintain one properties file per environment that contains jdbc parameters. This file should be outside of war file so it can be deployed to server separately without rebuilding the war. I was hoping broadleaf does similar configurable mechanism such that we only need to change one place for jdbc configuration just like that for hibernate configuration.
Thank you!