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

While loading the Thingworx composer I am getting error "Failed to return license click check" and loading is failed

Newbie

While loading the Thingworx composer I am getting error "Failed to return license click check" and loading is failed

when i am loading thingworx composer i get an alert message saying failed to return license click check and thingworx is not loading

12 REPLIES 12

Re: While loading the Thingworx composer I am getting error "Failed to return license click check" and loading is failed

Hi Priyanshi Saxena​, please check this article: https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS189387and let us know if it answers your problem.

Re: While loading the Thingworx composer I am getting error "Failed to return license click check" and loading is failed

I have already read this document but it only states the possible causes without any substantial solution to it and furthermore the log files of error doesnt give any meaningful error message.

Re: While loading the Thingworx composer I am getting error "Failed to return license click check" and loading is failed

the only understandable error message which i found in tomcat log was :

The web application [/Thingworx] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

Can we comprehend anything from this?

Re: While loading the Thingworx composer I am getting error "Failed to return license click check" and loading is failed

Hi Priyanshi, could you please attach/copy paste your tomcat log here?

Re: While loading the Thingworx composer I am getting error "Failed to return license click check" and loading is failed

21-Mar-2017 13:15:02.765 INFO [Thread-47] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]

21-Mar-2017 13:15:02.770 INFO [Thread-47] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"]

21-Mar-2017 13:15:02.822 INFO [Thread-47] org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina

21-Mar-2017 13:15:04.098 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [/Thingworx] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

21-Mar-2017 13:15:04.098 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [/Thingworx] registered the JDBC driver [com.microsoft.sqlserver.jdbc.SQLServerDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

21-Mar-2017 13:15:04.100 SEVERE [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [/Thingworx] created a ThreadLocal with key of type [org.owasp.esapi.reference.AbstractAuthenticator.ThreadLocalUser] (value [org.owasp.esapi.reference.AbstractAuthenticator$ThreadLocalUser@6e767ba1]) and a value of type [org.owasp.esapi.User$1] (value [org.owasp.esapi.User$1@700f9d42]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.

21-Mar-2017 13:15:04.101 SEVERE [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [/Thingworx] created a ThreadLocal with key of type [org.owasp.esapi.reference.AbstractAuthenticator.ThreadLocalUser] (value [org.owasp.esapi.reference.AbstractAuthenticator$ThreadLocalUser@6e767ba1]) and a value of type [org.owasp.esapi.User$1] (value [org.owasp.esapi.User$1@700f9d42]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.

21-Mar-2017 13:15:04.101 SEVERE [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [/Thingworx] created a ThreadLocal with key of type [org.owasp.esapi.reference.AbstractAuthenticator.ThreadLocalUser] (value [org.owasp.esapi.reference.AbstractAuthenticator$ThreadLocalUser@6e767ba1]) and a value of type [org.owasp.esapi.User$1] (value [org.owasp.esapi.User$1@700f9d42]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.

21-Mar-2017 13:15:04.102 SEVERE [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [/Thingworx] created a ThreadLocal with key of type [org.owasp.esapi.reference.AbstractAuthenticator.ThreadLocalUser] (value [org.owasp.esapi.reference.AbstractAuthenticator$ThreadLocalUser@6e767ba1]) and a value of type [org.owasp.esapi.User$1] (value [org.owasp.esapi.User$1@700f9d42]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.

21-Mar-2017 13:15:04.102 SEVERE [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [/Thingworx] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@162cc6c6]) and a value of type [java.util.Stack] (value [[SuperUser:User]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.

21-Mar-2017 13:15:04.128 INFO [Thread-47] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]

21-Mar-2017 13:15:04.145 INFO [Thread-47] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]

Re: While loading the Thingworx composer I am getting error "Failed to return license click check" and loading is failed

My tomcat is started but when i typ localhost:8080 in my browser it keeps on loading

Re: While loading the Thingworx composer I am getting error "Failed to return license click check" and loading is failed

This is my Application log error

[message: loader constraint violation: when resolving interface method "javax.servlet.http.HttpServletRequest.getInputStream()Ljavax/servlet/ServletInputStream;" the class loader (instance of org/apache/catalina/loader/WebappClassLoader) of the current class, com/thingworx/webservices/context/HttpExecutionContext, and the class loader (instance of java/net/URLClassLoader) for the method's defining class, javax/servlet/ServletRequest, have different Class objects for the type javax/servlet/ServletInputStream used in the signature]

2017-03-21 11:49:51.825+0530 [L: ERROR] [O: c.t.w.BaseService] [I: ] [U: Administrator] [S: ] [T: http-nio-8080-exec-8] Internal error: java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.http.HttpServletRequest.getInputStream()Ljavax/servlet/ServletInputStream;" the class loader (instance of org/apache/catalina/loader/WebappClassLoader) of the current class, com/thingworx/webservices/context/HttpExecutionContext, and the class loader (instance of java/net/URLClassLoader) for the method's defining class, javax/servlet/ServletRequest, have different Class objects for the type javax/servlet/ServletInputStream used in the signature

2017-03-21 11:49:51.827+0530 [L: ERROR] [O: c.t.w.BaseService] [I: ] [U: Administrator] [S: ] [T: http-nio-8080-exec-8] [context: com.thingworx.webservices.context.HttpExecutionContext@5527ee19][message: loader constraint violation: when resolving interface method "javax.servlet.http.HttpServletRequest.getInputStream()Ljavax/servlet/ServletInputStream;" the class loader (instance of org/apache/catalina/loader/WebappClassLoader) of the current class, com/thingworx/webservices/context/HttpExecutionContext, and the class loader (instance of java/net/URLClassLoader) for the method's defining class, javax/servlet/ServletRequest, have different Class objects for the type javax/servlet/ServletInputStream used in the signature]

2017-03-21 11:49:51.829+0530 [L: ERROR] [O: c.t.w.BaseService] [I: ] [U: Administrator] [S: ] [T: http-nio-8080-exec-8] [context: com.thingworx.webservices.context.HttpExecutionContext@5527ee19]

2017-03-21 11:49:51.829+0530 [L: ERROR] [O: c.t.w.BaseService] [I: ] [U: Administrator] [S: ] [T: http-nio-8080-exec-8] Error sending response: java.lang.NullPointerException

Highlighted

Re: While loading the Thingworx composer I am getting error "Failed to return license click check" and loading is failed

Re-install your tomcat , and Import again Thingworx

Re: While loading the Thingworx composer I am getting error "Failed to return license click check" and loading is failed

Could you please check your tomcat configuration and ensure it points to the correct java path? The library should be located in the <java folder>/\bin\server\jvm.dll

How much space do you have on your harddrive?