Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
31-Aug-2017 14:42:54.112 信息 [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath
31-Aug-2017 14:45:42.367 信息 [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath
31-Aug-2017 14:45:43.429 严重 [localhost-startStop-1] org.apache.catalina.core.StandardContext.filterStart Exception starting filter HAAuthenticationFilter
javax.servlet.ServletException: java.security.KeyStoreException: Could not load keystore file.
at com.thingworx.security.authentication.HAAuthenticationFilter.init(HAAuthenticationFilter.java:49)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4700)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5340)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:940)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1816)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.security.KeyStoreException: Could not load keystore file.
at com.thingworx.platform.security.keystore.ThingworxKeyStore.loadExisting(ThingworxKeyStore.java:234)
at com.thingworx.platform.security.keystore.ThingworxKeyStore.load(ThingworxKeyStore.java:166)
at com.thingworx.platform.security.keystore.ThingworxKeyStore.getEntry(ThingworxKeyStore.java:207)
at com.thingworx.system.configuration.PlatformSettings.<init>(PlatformSettings.java:505)
at com.thingworx.system.configuration.PlatformSettings.getInstance(PlatformSettings.java:803)
at com.thingworx.security.authentication.HAAuthenticationFilter.init(HAAuthenticationFilter.java:36)
... 16 more
Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect
at com.sun.crypto.provider.JceKeyStore.engineLoad(JceKeyStore.java:865)
at java.security.KeyStore.load(Unknown Source)
at com.thingworx.platform.security.keystore.ThingworxKeyStore.loadExisting(ThingworxKeyStore.java:231)
... 21 more
Caused by: java.security.UnrecoverableKeyException: Password verification failed
... 24 more
31-Aug-2017 14:45:44.085 严重 [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStop Exception sending context destroyed event to listener instance of class com.thingworx.system.ThingWorxBootstrapper
java.lang.NullPointerException
at com.thingworx.system.ThingWorxBootstrapper.contextDestroyed(ThingWorxBootstrapper.java:342)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4900)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5537)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:221)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:149)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:940)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1816)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Hello,
Can you provide more information? When you are receiving this error? Which ThingWorx version, which persistent provider, which Tomcat version?
Regards,
Adam
Hi Guangyan, how is your platform-setting.json setup? are you using PostgreSQL? Is this a fresh installation or do you have configured SSL on existing Tomcat?
Your keystore and password are not working together .
Please check this article for resolution - https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS266176&lang=en_US
If you have already tried this or it's still giving same exception after trying this then let me know .
Thanks ,
Mukul Narang