Sunday, September 13, 2020

tomcat error - tomcat authenticated - An attempt was made to authenticate the locked user "user"

You are getting 'Permission Denied' for some of the modules of your tomcat web application and you get error 'An attempt was made to authenticate the locked user "user"' in the log, here is the solution for you.

Solution :

The 'work' directory inside tomcat does not have enough permission to open the jsp files in the browser. You need to provide permission to 'work' directory. 'Owner' and 'Group' of the 'work' directory should be 'tomcat'

chown -R tomcat:tomcat /usr/share/tomcat/work
Your tomcat directory path may be different, it may be in /opt or in /var/lib/tomcat. Find your tomcat directory and provide it correct permission.

No comments:

Post a Comment