The writeup is for Apache Tomcat running on Linux, so the commands for kerberos won't work on Windows. If you have an all Windows environment have a look at an alternative in the same thread:
I have found the Kerberos commands to run in Java_home folder in windows.
Will this work please ?
Can anyone please help on this, if these steps would be applicable for Windows server as well .