How to change Tomcat default port

  • 04 April 2018
  • ADM

How to change Tomcat default port 8080 to any other port. Three steps: locate server.xml file, edit and restart the Tomcat service.


Maven local repository location

  • 04 April 2018
  • ADM

Maven local repository default location for Linux and Windows and how to change the location.


Tomcat default administrator password

  • 04 April 2018
  • ADM

How to activate the default tomcat manager application administrator password. This setting is for Tomcat 7 and newer.


Git ignore file mode chmod changes

  • 22 March 2020
  • ADM

How to make Git to ignore file modified by chmod changes. Using core.fileMode git config.


How to generate JAXB classes with xjc

  • 05 March 2018
  • ADM

How to generate JAXB classes with xjc. Command line: xjc -d src -p com.admfactory.client schema.xsd


HTTP URLConnection with proxy in Java

  • 08 February 2018
  • ADM

How to create an HTTP URLConnection with proxy in Java. Simple example including proxy authentication.