cancel
Showing results for 
Search instead for 
Did you mean: 

Adding URIEncoding="UTF-8 for Ajp connector

Former Member
0 Kudos

Hi,

In the hybris tomcat config folder we have the following in the server.xml,

${tomcat.connectors.ajp.plain} which renders to Connector protocol="AJP/1.3" port="8009" in platform server.xml file.

I wanted to add URIEncoding="UTF-8" for the 8009 connector, I could hard code it in platform/server.xml file( Connector port="8009" protocol="AJP/1.3" URIEncoding="UTF-8" ), but please advise on the right way to do it.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

But note, that URIEncoding="UTF-8" only applies to GET request. For POST request you may need CharacterEncoding filter

former_member537989
Contributor
0 Kudos

you should apply your change in config/tomcat/conf/server.xml, then build process will generate platform server.xml according to the template.

Former Member
0 Kudos

Dear ,

In config/tomcat/conf/server.xml file i have below ${tomcat.connectors.ajp.plain}

This is converted like below in the platform/server.xml file Connector protocol="AJP/1.3" port="8009"

But i want to have tomcatAuthentication as false like below. Where and how should i make this change?
Connector protocol="AJP/1.3" port="8009" tomcatAuthentication ="false"

Please help.

Regards, SAtheesh