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

Thingworx installation on tomcat

mtyago
11-Garnet

Thingworx installation on tomcat

I am installing ThingWorx_8.1_1.0 as per the guide.

Here is my setup

OS: Windows 7(this is not present on compatibilty matrix), however is it possible to still run the composer?

Rest of the versions are correct as per the matrix.

I have not configured anything about database, as i assume , the default thingworx war already takes care of it

after pasting the thuingworx.war in webapp

Tomcat gives the following log

--------------------

07-Feb-2018 12:06:23.507 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars

At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger fo

r a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs d

uring scanning can improve startup time and JSP compilation time.

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

        at java.io.WinNTFileSystem.createFileExclusively(Native Method)

        at java.io.File.createNewFile(File.java:1012)

        at com.thingworx.security.keystore.ThingworxKeyStore.createKeyStorePasswordFile(ThingworxKey

Store.java:102)

        at com.thingworx.system.configuration.PlatformSettings.<init>(PlatformSettings.java:665)

        at com.thingworx.system.configuration.PlatformSettings.getInstance(PlatformSettings.java:101

6)

        at com.thingworx.system.ThingWorxBootstrapper.contextInitialized(ThingWorxBootstrapper.java:

74)

        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)

        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)

        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)

        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)

        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)

        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)

        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

        at java.lang.Thread.run(Thread.java:745)

12:06:24.407 [localhost-startStop-1] ERROR c.t.system.ThingWorxBootstrapper - [message: The system c

annot find the path specified]

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

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

        at java.io.File.createNewFile(File.java:1012) ~[na:1.8.0_111]

        at com.thingworx.security.keystore.ThingworxKeyStore.createKeyStorePasswordFile(ThingworxKey

Store.java:102) ~[thingworx-common-8.1.0-b52.jar:na]

        at com.thingworx.system.configuration.PlatformSettings.<init>(PlatformSettings.java:665) ~[t

hingworx-platform-common-8.1.0-b52.jar:na]

        at com.thingworx.system.configuration.PlatformSettings.getInstance(PlatformSettings.java:101

6) ~[thingworx-platform-common-8.1.0-b52.jar:na]

        at com.thingworx.system.ThingWorxBootstrapper.contextInitialized(ThingWorxBootstrapper.java:

74) ~[thingworx-platform-common-8.1.0-b52.jar:na]

-----------------

full log is attached

1 ACCEPTED SOLUTION

Accepted Solutions
slangley
23-Emerald II
(To:mtyago)

Hi Manasvi.

It is possible to run ThingWorx on Windows 7.  The issue you describe can occur if you are installing on a server that was previously running ThingWorx.  If that is the case, please check both the User and System environment variables.  If you find variables that exist for a previous install, you will need to remove them and restart your system.

If this does not reflect your scenario, please provide additional information and we will be happy to assist further.  Which persistence provider are you using?  You indicated you had not configured anything in regard to the db.  If you're unsure, please provide the name of the ThingWorx file you downloaded as the name will indicate the persistence provider you are using.

Regards.

--Sharon

View solution in original post

3 REPLIES 3
slangley
23-Emerald II
(To:mtyago)

Hi Manasvi.

It is possible to run ThingWorx on Windows 7.  The issue you describe can occur if you are installing on a server that was previously running ThingWorx.  If that is the case, please check both the User and System environment variables.  If you find variables that exist for a previous install, you will need to remove them and restart your system.

If this does not reflect your scenario, please provide additional information and we will be happy to assist further.  Which persistence provider are you using?  You indicated you had not configured anything in regard to the db.  If you're unsure, please provide the name of the ThingWorx file you downloaded as the name will indicate the persistence provider you are using.

Regards.

--Sharon

mtyago
11-Garnet
(To:slangley)

Hi Sharon,

                Deleting Environment variable and restarting the system ,worked; it was indeed because of previous attempts at installation.

                And,yes I am using default db (H2) as persistence layer.

Thanks!

slangley
23-Emerald II
(To:mtyago)

So happy to hear that this resolved your issue.

--Regards.

Top Tags