Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

java.io.FileNotFoundException: ...keystore.jks (No such file or directory) at java.io.FileInputStream.open(Native Method)

First off, I want to deactivate JMX-functionality in my workspace.

I just deactivated all (I hope) references to JMX in my project but when starting the tomcat, I get this failure:

"java.io.FileNotFoundException: /Volumes/SDE_Mac/apache-tomcat-7.0.40/conf/keystore.jks (No such file or directory)
    at java.io.FileInputStream.open(Native Method)"

Additionally, he still tries to open the tomcat at the port I wanted to use with JMX.
But in our configuration "useJmxMailingService" is set to false.

Does anyone have an idea what could cause this behavior?

like image 843
Wutzefreck Avatar asked Feb 12 '26 15:02

Wutzefreck


1 Answers

You need to assign keystore path on server.xml of tomcat.

<Connector 
     port="8443" maxThreads="200"
     scheme="https" secure="true" SSLEnabled="true"
     keystoreFile="${path of key stokre}/keystore.jks" /*Put the keystoer path*/
     keystorePass="changeit"
     clientAuth="false" sslProtocol="TLS"/>
like image 102
Masudul Avatar answered Feb 15 '26 12:02

Masudul



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!