简体   繁体   中英

How to disable https for tomcat

I didn't do any change but today, after turning on my computer, I'm not able to start Liferay portal...I keep getting

SEVERE: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol handler start fail
ed: java.io.FileNotFoundException: C:\Users\Martin\.keystore

I think I didn't do any change there, therefore I really don't know, how to fix it... I will appreciate any advice.

I don't want any HTTPS for tomcat - I just want to start my AS

Go to your tomcat home directory and find file server.xml (it usualy located in conf folder). There you'll need to find https connector configuration. It looks like this:

<Connector port="8443" ... SSLEnabled="true" scheme="https" secure="true" sslProtocol="TLS" ... />

Comment out this configuration line.

You'll find a Connector reference in conf/server.xml , which most likely is pointing to the keystore you name. Deactivate that connector and you should be fine

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM