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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

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

psaxena
1-Visitor

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
sbalta
13-Aquamarine
(To:psaxena)

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.

psaxena
1-Visitor
(To:sbalta)

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.

psaxena
1-Visitor
(To:psaxena)

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?

supandey
19-Tanzanite
(To:psaxena)

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

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"]

psaxena
1-Visitor
(To:psaxena)

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

psaxena
1-Visitor
(To:psaxena)

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

posipova
20-Turquoise
(To:psaxena)

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?

Hi Polina,

Yes the path is correct and I have enough hard disk space available around 400gb so that is not the issue.

mpatel-21
12-Amethyst
(To:psaxena)

Re-install your tomcat , and Import again Thingworx

uninstalling tomcat and then reinstalling it might result in loss of my thingworx data. Could you please elaborate the step by step procedure to be followed so that i don't loose my previous data.

psaxena
1-Visitor
(To:psaxena)

My Thingworx composer is loading properly on my server in which thingworx is installed but when i access it from another system using the ip of the server it gives me the error failed to return license.

I have already added the inbound and outbound rules in the firewall for 8080 port to allow access from any ip.

Announcements


Top Tags