Arto's Notes re: Tomcat

$ brew info tomcat

$ catalina version

$ catalina configtest

$ catalina run

$ cp -p *.war /opt/homebrew/opt/tomcat/libexec/webapps/

Configuration

conf/tomcat-users.xml

$ diff -u /opt/homebrew/opt/tomcat/libexec/conf/tomcat-users.xml{.orig,}
--- tomcat-users.xml.orig
+++ tomcat-users.xml
@@ -41,4 +41,6 @@
   <user username="both" password="<must-be-changed>" roles="tomcat,role1"/>
   <user username="role1" password="<must-be-changed>" roles="role1"/>
 -->
+  <role rolename="manager-gui"/>
+  <user username="admin" password="PASSWORD" roles="manager-gui"/>
 </tomcat-users>

See Also

Homebrew, Java, JVM