• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Tomcat starting

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey guys!
I got this errore when i want to start my tomcat server:


Any ideas?
 
Saloon Keeper
Posts: 22273
151
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, it says that C:\.keystore "A rendszer nem találja a megadott fájlt". So Tomcat is not happy.

The keystore file (database) is used for SSL/TLS (https) communications. By default, Tomcat defines in its conf/server.xml file a Connector for port 8443, which is its SSL port. This Connector defines where the keystore database must exist.

To get rid of this error, you need to do one of the following:

1. Comment out or remove the SSL/TLS Connector and its sub-elements (if any)

OR

2. Create a keystore file named ",keystore" (Note the "."!) at C:\ using the Java keytool utility.

OR

3. If you already have a keystore file, change the Connector for https to specify the location of that file instead of "C:\.keystore".

Note that in cases 2 and 3 there is the assumption that you will be supporting https in your webapp, so you'll need to ensure that a valid cert and private key are stored in the keystore. Which is a complex process, so you'll have to read the Tomcat documentation for information on how to do that.
 
Everyone is a villain in someone else's story. Especially this devious tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic