How to check Tomcat version Installed
To find out the Tomcat version, find this file – version.sh for *nix or version.bat for Windows. This version.sh file is normally located in the Tomcat bin folder.
How to deploy Maven based war file to Tomcat
In this tutorial, we will show you how to use Maven-Tomcat plugin to package and deploy a WAR file to Tomcat, both in Tomcat 6 and 7. Libraries used :Maven…
What is Tomcat default administrator password ?
Is there or what is the default administrator user and password for Tomcat? Tomcat users are defined in the file – $TOMCAT_HOME/conf/tomcat-users.xml, by default, there is NO user, it means…
Spring Boot – Jetty as embedded server
By default, Spring Boot use Tomcat as the default embedded server, to change it to Jetty, just exclude Tomcat and include Jetty in pom.xml . From the dependency: spring-boot-starter-web, we…
Spring Boot – How to change Context Path
In Spring Boot, by default, the context path is “/”. To change the context path, we need to update server.contextPath properties. The following examples update the context path from /…
Spring Boot – How to change Tomcat port
In Spring Boot, to change the embedded Tomcat initialized port (8080), update server.port properties. Tested with Spring Boot 1.4.2.RELEASE
How to change Tomcat default port ?
Tomcat by default runs on port number 8080, However there is high chance get a port conflict with others program. Sometime we just need to change the Tomcat port number.
How to delete a user account on Ubuntu Linux
It is always a good idea to delete unwanted or unused user accounts on Ubuntu Linux or any other operating system for security reasons. This page shows how to remove…
List all ports opened in windows (netstat -nb)
Maybe you’re troubleshooting a network connectivity issue for a specific program, and you need to check whether its port access is open. What if you need to confirm that your…
Where does Homebrew install packages on Mac?
By default, Homebrew will install all packages in the directory /usr/local/Cellar/, and also creates symbolic links at /usr/local/opt/ and /usr/local/bin/ (for executable files). Tested with Homebrew 2.7.2 and macOS Big…