Reputation: 41
Getting access denied while reading the JKS file in Tomcat 7. I have given full permission to all the users.Changed the installation location.But getting the same exception. It work fine fine with Tomcat 6 on same machine
Upvotes: 0
Views: 694
Reputation: 64959
You seem to have specified the keystore file as a directory.
The access-denied error you are seeing is what you get when you attempt to open a directory as if it were a file. You can't do this to a directory.
Have you specified the location of the keystore in your server.xml
file as follows?
<Connector ...
keystoreFile="E:/apache-tomcat-7.0.42" ... />
If so, specify the name of the file (quite probably .keystore
) instead:
<Connector ...
keystoreFile="E:/apache-tomcat-7.0.42/.keystore" ... />
Upvotes: 2