1

My application deployed on Tomcat 7 needs to be able to handle non-latin characters properly in get queries properly, to do this I have to add URIEncoding="UTF-8" to the server.xml file.

 <Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443"
               URIEncoding="UTF-8"/>

then restart Tomcat, and this works.

But how do I do this or equivalent when using Amazon Web Services and Elastic Beanstalk

Paul Taylor
  • 13,411
  • 42
  • 184
  • 351

1 Answers1

0

You may need to use your own server.xml. You can replace it using ebextensions config files.

Take a look at this question: How do I supply configuration to elastic beanstalk tomcat

Community
  • 1
  • 1
Rohit Banga
  • 18,458
  • 31
  • 113
  • 191
  • Great, to clarify I should make a copy of the one currently deployed on EB and edit that, then use ebextensions (which I already do use) as part of my deployement. – Paul Taylor Aug 13 '14 at 14:54
  • Yes or another option would be to use something like sed to replace the Connector line. – Rohit Banga Aug 13 '14 at 15:00