Re: Embedded tomcat won't resolve Spring application properties

2012-10-01 Thread Daniel Mikusa
On Oct 1, 2012, at 5:42 AM, Julien Martin wrote: Hello, I am experiencing trouble with my embedded tomcat: when I run my Spring app using the embedded Tomcat, it seems the properties are not resolved. What about using a standard (i.e. not embedded, not part of Eclipse) Tomcat

Re: Embedded tomcat won't resolve Spring application properties

2012-10-01 Thread Julien Martin
Thanks Daniel, I've just deployed my app onto a standard Tomcat: it works ok. My Spring config is as follows (the relevant parts at least): bean class=org.springframework.context.support.ResourceBundleMessageSource id=messageSource property name=basenames

Re: Embedded tomcat won't resolve Spring application properties

2012-10-01 Thread Julien Martin
I am still trying to work out how to fix this problem. Can someone please explain to me what the difference is between standard Tomcat and embedded Tomcat (maven plugin)? Especially where does the embedded (maven plugin) Tomcat looks for the webapp resources? Here is how I configured the plugin:

Re: Embedded tomcat won't resolve Spring application properties

2012-10-01 Thread Julien Martin
It is working. This is odd... I changed from *property name=basenames value=/META-INF/i18n/application,/META-INF/i18n/messages / *to *property name=basenames value=META-INF/i18n/application,META-INF/i18n/messages /* Notice I removed the leading slashes. It is now working with Tomcat Maven plugin.