3
I’m having trouble assigning the Jdbchealm properties to the Tomcat server. How to include new properties in the server.xml file or in the Tomcat-users.xml file when the app is on the Amazon server hosted with Tomcat server as elasticbeanstalk?
3
I’m having trouble assigning the Jdbchealm properties to the Tomcat server. How to include new properties in the server.xml file or in the Tomcat-users.xml file when the app is on the Amazon server hosted with Tomcat server as elasticbeanstalk?
2
You can replace the settings as follows:
Create a directory within your webapp
, and paste your server.xml
. After that, create an xml: server-update.config
, with the code below:
container_commands:
replace-config:
command: cp .ebextensions/server.xml /etc/tomcat7/server.xml
This information can be found at:
https://aws.amazon.com/pt/blogs/aws/customize-elastic-beanstalk-using-configuration-files/
Note that in the above way, your server.xml will completely replace the existing one, if you just want to override some settings or insert others, note the form below, from soEN:
https://stackoverflow.com/a/30598373/1997073
Browser other questions tagged tomcat aws
You are not signed in. Login or sign up in order to post.
has to create a directory inside my project is this? I could not make work yet the configs
– Juan Munhoes Junior
This... in your web project you should have a directory called
webapp
, create inside it this directory.– Celso Marigo Jr
It worked ! thank you very much I was hours trying!
– Juan Munhoes Junior
+1 by feedback! ;)
– Celso Marigo Jr