I want to run “mvn tomcat:run” from the command line, but how can I edit the server.xml to set maxHttpHeaderSize=”65536″ in the connectors? Or can I configure the connectors in the pom.xml?
Cheers
Nik
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Unfortunately, after doing some research, I don’t think there’s a way to edit server.xml’s connectors.
mvn tomcat:runuses an embedded Tomcat.Unless someone finds something, it seems like your best bet will be to move to the maven cargo plugin and ZIP up your own Tomcat installation with your custom
server.xml.Or something of the sort…