In these examples, I have used the OpenDNS servers, please change as appropriate.
sudo vi /etc/network/interfaces
auto l0 eth0
iface lo inet loopback
iface eth0 inet static
dns-nameservers 188.8.131.52 184.108.40.206
sudo vi /etc/resolv.conf
NOTE: I’m not 100% sure if this is required!
Add appropriate content, example:
sudo restart networking
sudo ifdown eth0 && ifup eth0
When setting up a new JBoss environment, or maintaining an older one you often need to set or reset admin passwords. You can find them here…
Shortly after I automated code deployments in my Tomcat7 development testing environment, I found that some larger builds began failing with the following error:
org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (...) exceeds the configured maximum (62428800)
After a little digging, I found that the WAR files were exceeding the default maximum upload size, thankfully, this is trivial to increase.
sudo vi /usr/share/tomcat7-admin/manager/WEB-INF/web.xml
(Change 52428800 to a larger number, perhaps doubled like 104857600)
<!-- 50MB max = 52428800 (100MB = 104857600) -->