HTTP Status 500 - java.security.KeyStoreException: problem accessing trust storejava.io.IOException: Invalid keystore format
Hello,
when I stopped tomcat and next started it again (Yestarday) I saw error message:
"HTTP Status 500 - java.security.KeyStoreException: problem accessing trust storejava.io.IOException: Invalid keystore format"
I tried to restore database, but without any positive result (for ex. database at 28.11.2013,30.11.2013, etc). It's strange, because Youtrack has worked very well since 15.11.2013.
How can I restore database backup?
Thank you.
Regards, Maciej
when I stopped tomcat and next started it again (Yestarday) I saw error message:
"HTTP Status 500 - java.security.KeyStoreException: problem accessing trust storejava.io.IOException: Invalid keystore format"
I tried to restore database, but without any positive result (for ex. database at 28.11.2013,30.11.2013, etc). It's strange, because Youtrack has worked very well since 15.11.2013.
How can I restore database backup?
Thank you.
Regards, Maciej
Please sign in to leave a comment.
Could you provide us with the full stacktrace? You may attach it here or send it to youtrack-feedback@jetbrains.com.
Thank you.
HTTP Status 500 - java.security.KeyStoreException: problem accessing trust storejava.io.IOException: Invalid keystore format
type Exception report
message java.security.KeyStoreException: problem accessing trust storejava.io.IOException: Invalid keystore format
description The server encountered an internal error that prevented it from fulfilling this request.
exception
java.lang.RuntimeException: java.security.KeyStoreException: problem accessing trust storejava.io.IOException: Invalid keystore format
jetbrains.youtrack.ssl.core.SSLContextFactory.createSSLContext(SSLContextFactory.java:39)
jetbrains.charisma.main.ConfigurationUtil.configureMailSender(ConfigurationUtil.java:87)
jetbrains.charisma.main.ConfigurationUtil.initConfiguration(ConfigurationUtil.java:44)
jetbrains.charisma.main.YouTrackInit$11.invoke(YouTrackInit.java:166)
jetbrains.teamsys.dnq.runtime.txn._Txn.run(_Txn.java:18)
jetbrains.charisma.main.YouTrackInit.init(YouTrackInit.java:150)
jetbrains.charisma.main.InitWebApplicationServiceLocatorListener.onAfterInit(InitWebApplicationServiceLocatorListener.java:9)
jetbrains.springframework.configuration.runtime.ServiceLocator.fireLocalAfterInit(ServiceLocator.java:112)
jetbrains.charisma.main.ServletImpl.init(ServletImpl.java:70)
javax.servlet.GenericServlet.init(GenericServlet.java:160)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:1780)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
java.lang.Thread.run(Thread.java:722)
root cause
java.security.KeyStoreException: problem accessing trust storejava.io.IOException: Invalid keystore format
sun.security.ssl.TrustManagerFactoryImpl.engineInit(TrustManagerFactoryImpl.java:75)
javax.net.ssl.TrustManagerFactory.init(TrustManagerFactory.java:250)
jetbrains.youtrack.ssl.core.SSLContextFactory.getTrustManagers(SSLContextFactory.java:45)
jetbrains.youtrack.ssl.core.SSLContextFactory.createSSLContext(SSLContextFactory.java:36)
jetbrains.charisma.main.ConfigurationUtil.configureMailSender(ConfigurationUtil.java:87)
jetbrains.charisma.main.ConfigurationUtil.initConfiguration(ConfigurationUtil.java:44)
jetbrains.charisma.main.YouTrackInit$11.invoke(YouTrackInit.java:166)
jetbrains.teamsys.dnq.runtime.txn._Txn.run(_Txn.java:18)
jetbrains.charisma.main.YouTrackInit.init(YouTrackInit.java:150)
jetbrains.charisma.main.InitWebApplicationServiceLocatorListener.onAfterInit(InitWebApplicationServiceLocatorListener.java:9)
jetbrains.springframework.configuration.runtime.ServiceLocator.fireLocalAfterInit(ServiceLocator.java:112)
jetbrains.charisma.main.ServletImpl.init(ServletImpl.java:70)
javax.servlet.GenericServlet.init(GenericServlet.java:160)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:1780)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
java.lang.Thread.run(Thread.java:722)
Thank you.
Is it possible for you to share with us full logs: youtrack.log and errors.log ?
there are youtrack.log / youtrack.log.1 and errors.log. I have got one database backup, which is tested and it's OK (22.11.2013), but I would like to run with current database. All daily backups since 22.11 are wrong, although Youtrack has worked OK.
Regards, Maciej
log.tar.gz (1.7MB)
Thank you.
Please, take a look at the issue and its comment. May it be the case, you start YouTrack with mentioned parameters?
Thank you.
That's not only about running YouTrack with mentioned parameters, but also about running Tomcat with these parameters. Please, check Tomcat was started without them.
Thank you.