cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Cannot deploy Thingworx Foundation Server 8.0 via tomcat8.5

trohleder
1-Visitor

Cannot deploy Thingworx Foundation Server 8.0 via tomcat8.5

Cannot deploy Thingworx Foundation Server 8.0 in tomcat8.5.


The log states that password can not be null? I am very unsure as to what that is supposed to mean. I set the password when installing tomcat. I set the config in the tomcat user xml file, and I logged into tomcat when accessing /localhost

I've been following the following guide, with absolutely no success.

Any suggestions as to what I am doing wrong?

https://developer.thingworx.com/resources/guides/thingworx-8-installation/thingworx-8--installation-windows

tomcat8-stdout.2017-08-31 - Error log

java.lang.IllegalArgumentException: password can't be null

  at com.sun.crypto.provider.KeyProtector.<init>(KeyProtector.java:86) ~[sunjce_provider.jar:1.8.0_112]

  at com.sun.crypto.provider.JceKeyStore.engineGetKey(JceKeyStore.java:117) ~[sunjce_provider.jar:1.8.0_112]

  at java.security.KeyStore.getKey(Unknown Source) ~[na:1.8.0_144]

  at com.thingworx.platform.security.keystore.ThingworxKeyStore.getEntry(ThingworxKeyStore.java:209) ~[thingworx-platform-common-8.0.0-b11.jar:na]

  at com.thingworx.system.configuration.PlatformSettings.<init>(PlatformSettings.java:505) [thingworx-platform-common-8.0.0-b11.jar:na]

  at com.thingworx.system.configuration.PlatformSettings.getInstance(PlatformSettings.java:803) [thingworx-platform-common-8.0.0-b11.jar:na]

  at com.thingworx.security.authentication.HAAuthenticationFilter.init(HAAuthenticationFilter.java:36) [thingworx-platform-common-8.0.0-b11.jar:na]

  at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285) [catalina.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266) [catalina.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) [catalina.jar:8.5.20]

  at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4590) [catalina.jar:8.5.20]

  at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5233) [catalina.jar:8.5.20]

  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:8.5.20]

  at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1307) [catalina.jar:8.5.20]

  at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:665) [catalina.jar:8.5.20]

  at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:211) [catalina.jar:8.5.20]

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) [servlet-api.jar:na]

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) [servlet-api.jar:na]

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [catalina.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.20]

  at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136) [catalina.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.20]

  at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.20]

  at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108) [catalina.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.20]

  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) [catalina.jar:8.5.20]

  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [catalina.jar:8.5.20]

  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:595) [catalina.jar:8.5.20]

  at org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:348) [catalina.jar:8.5.20]

  at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:52) [catalina.jar:8.5.20]

  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [catalina.jar:8.5.20]

  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) [catalina.jar:8.5.20]

  at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650) [catalina.jar:8.5.20]

  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [catalina.jar:8.5.20]

  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) [catalina.jar:8.5.20]

  at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799) [tomcat-coyote.jar:8.5.20]

  at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-coyote.jar:8.5.20]

  at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) [tomcat-coyote.jar:8.5.20]

  at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1457) [tomcat-coyote.jar:8.5.20]

  at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:8.5.20]

  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_144]

  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_144]

  at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.5.20]

  at java.lang.Thread.run(Unknown Source) [na:1.8.0_144]

11:09:08.063 [http-nio-80-exec-3] ERROR E.c.t.s.a.HAAuthenticationFilter - Failed to initialize HA Authentication

java.io.IOException: The system cannot find the path specified

  at java.io.WinNTFileSystem.createFileExclusively(Native Method) ~[na:1.8.0_144]

  at java.io.File.createNewFile(Unknown Source) ~[na:1.8.0_144]

  at com.thingworx.platform.security.keystore.ThingworxKeyStore.createKeyStorePasswordFile(ThingworxKeyStore.java:87) ~[thingworx-platform-common-8.0.0-b11.jar:na]

  at com.thingworx.system.configuration.PlatformSettings.<init>(PlatformSettings.java:508) ~[thingworx-platform-common-8.0.0-b11.jar:na]

  at com.thingworx.system.configuration.PlatformSettings.getInstance(PlatformSettings.java:803) ~[thingworx-platform-common-8.0.0-b11.jar:na]

  at com.thingworx.security.authentication.HAAuthenticationFilter.init(HAAuthenticationFilter.java:36) ~[thingworx-platform-common-8.0.0-b11.jar:na]

  at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285) [catalina.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266) [catalina.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) [catalina.jar:8.5.20]

  at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4590) [catalina.jar:8.5.20]

  at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5233) [catalina.jar:8.5.20]

  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:8.5.20]

  at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1307) [catalina.jar:8.5.20]

  at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:665) [catalina.jar:8.5.20]

  at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:211) [catalina.jar:8.5.20]

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) [servlet-api.jar:na]

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) [servlet-api.jar:na]

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [catalina.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.20]

  at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136) [catalina.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.20]

  at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.20]

  at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108) [catalina.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.20]

  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) [catalina.jar:8.5.20]

  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [catalina.jar:8.5.20]

  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:595) [catalina.jar:8.5.20]

  at org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:348) [catalina.jar:8.5.20]

  at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:52) [catalina.jar:8.5.20]

  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [catalina.jar:8.5.20]

  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) [catalina.jar:8.5.20]

  at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650) [catalina.jar:8.5.20]

  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [catalina.jar:8.5.20]

  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) [catalina.jar:8.5.20]

  at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799) [tomcat-coyote.jar:8.5.20]

  at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-coyote.jar:8.5.20]

  at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) [tomcat-coyote.jar:8.5.20]

  at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1457) [tomcat-coyote.jar:8.5.20]

  at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:8.5.20]

  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_144]

  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_144]

  at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.5.20]

  at java.lang.Thread.run(Unknown Source) [na:1.8.0_144]

11:09:08.073 [http-nio-80-exec-3] INFO  o.t.w.f.urlrewrite.UrlRewriteFilter - destroy called

org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: destroy called

11:09:08.372 [http-nio-80-exec-3] DEBUG c.t.reporting.EncryptedJSONReport - PropertyWriteReport executor service shutdown normally within soft timeout.

11:09:08.380 [http-nio-80-exec-3] DEBUG c.t.s.s.f.e.InMemoryTransferJobOfflineQueueService - FileTransferEviction executor service shutdown normally within soft timeout.

11:09:08.389 [http-nio-80-exec-3] ERROR c.t.p.s.keystore.ThingworxKeyStore - Error reading the key: (internal.aes.cryptographic.key)

java.lang.IllegalArgumentException: password can't be null

  at com.sun.crypto.provider.KeyProtector.<init>(KeyProtector.java:86) ~[sunjce_provider.jar:1.8.0_112]

  at com.sun.crypto.provider.JceKeyStore.engineGetKey(JceKeyStore.java:117) ~[sunjce_provider.jar:1.8.0_112]

  at java.security.KeyStore.getKey(Unknown Source) ~[na:1.8.0_144]

  at com.thingworx.platform.security.keystore.ThingworxKeyStore.getEntry(ThingworxKeyStore.java:209) ~[thingworx-platform-common-8.0.0-b11.jar:na]

  at com.thingworx.system.configuration.PlatformSettings.<init>(PlatformSettings.java:505) [thingworx-platform-common-8.0.0-b11.jar:na]

  at com.thingworx.system.configuration.PlatformSettings.getInstance(PlatformSettings.java:803) [thingworx-platform-common-8.0.0-b11.jar:na]

  at com.thingworx.security.authentication.sso.SSOSettings.<init>(SSOSettings.java:387) [thingworx-platform-auth-sso-8.0.0-b11.jar:na]

  at com.thingworx.security.authentication.sso.SSOSettings.getInstance(SSOSettings.java:361) [thingworx-platform-auth-sso-8.0.0-b11.jar:na]

  at com.thingworx.security.authentication.sso.SSOContext.<init>(SSOContext.java:62) [thingworx-platform-auth-sso-8.0.0-b11.jar:na]

  at com.thingworx.security.authentication.sso.SSOContext.getInstance(SSOContext.java:78) [thingworx-platform-auth-sso-8.0.0-b11.jar:na]

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_144]

  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_144]

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_144]

  at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_144]

  at com.thingworx.webservices.context.ThreadLocalContext.getSSOContext(ThreadLocalContext.java:500) [thingworx-platform-common-8.0.0-b11.jar:na]

  at com.thingworx.webservices.context.ThreadLocalContext.cleanupContext(ThreadLocalContext.java:407) [thingworx-platform-common-8.0.0-b11.jar:na]

  at com.thingworx.system.ThingWorxBootstrapper.contextDestroyed(ThingWorxBootstrapper.java:438) [thingworx-platform-common-8.0.0-b11.jar:na]

  at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4792) [catalina.jar:8.5.20]

  at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5429) [catalina.jar:8.5.20]

  at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226) [catalina.jar:8.5.20]

  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) [catalina.jar:8.5.20]

  at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1307) [catalina.jar:8.5.20]

  at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:665) [catalina.jar:8.5.20]

  at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:211) [catalina.jar:8.5.20]

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) [servlet-api.jar:na]

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) [servlet-api.jar:na]

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [catalina.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.20]

  at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136) [catalina.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.20]

  at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.20]

  at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108) [catalina.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.20]

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.20]

  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) [catalina.jar:8.5.20]

  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [catalina.jar:8.5.20]

  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:595) [catalina.jar:8.5.20]

  at org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:348) [catalina.jar:8.5.20]

  at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:52) [catalina.jar:8.5.20]

  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [catalina.jar:8.5.20]

  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) [catalina.jar:8.5.20]

  at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650) [catalina.jar:8.5.20]

  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [catalina.jar:8.5.20]

  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) [catalina.jar:8.5.20]

  at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799) [tomcat-coyote.jar:8.5.20]

  at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-coyote.jar:8.5.20]

  at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) [tomcat-coyote.jar:8.5.20]

  at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1457) [tomcat-coyote.jar:8.5.20]

  at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:8.5.20]

  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_144]

  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_144]

  at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.5.20]

  at java.lang.Thread.run(Unknown Source) [na:1.8.0_144]

11:09:08.390 [http-nio-80-exec-3] ERROR S.c.t.w.context.ThreadLocalContext - Failed to retrieve SSOContext

1 REPLY 1
posipova
20-Turquoise
(To:trohleder)

COuld you please share your applicationlog.log found in ThingworxStorage/logs folder? Also, platform-settings.json - seems like you used the HA version for it.

Announcements


Top Tags