Article - CS266265

Training and result microservices fail to start with error "maven/result-standalone.properties (Is a directory)" in ThingWorx Analytics 8.0

Modified: 27-Sep-2017   


Applies To

  • ThingWorx Platform 8.0
  • ThingWorx Analytics 8.0
  • Windows 7
  • Docker Toolbox

Description

  • docker deployment of training and result microservices fails on Windows machine (docker toolbox) with following error reported by docker logs <container name>
Exception in thread "main" java.io.FileNotFoundException: maven/result-standalone.properties (Is a directory)
        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(FileInputStream.java:195)
        at java.io.FileInputStream.<init>(FileInputStream.java:138)
        at org.springframework.core.io.FileSystemResource.getInputStream(FileSystemResource.java:115)
        at com.thingworx.analytics.ccc.configuration.FilepathPropertiesReader.read(FilepathPropertiesReader.java:29)
        at com.thingworx.analytics.ccc.dropwizard.utils.AnalyticsApplication$1.open(AnalyticsApplication.java:73)
        at io.dropwizard.configuration.YamlConfigurationFactory.build(YamlConfigurationFactory.java:78)
        at io.dropwizard.cli.ConfiguredCommand.parseConfiguration(ConfiguredCommand.java:124)
        at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:72)
        at io.dropwizard.cli.Cli.run(Cli.java:75)
        at io.dropwizard.Application.run(Application.java:79)
        at com.thingworx.analytics.results.ResultsApplication.main(ResultsApplication.java:44)

 
  • Command executed is of type
docker run -d -p 8080:8080 --name resultms0509 -v //D/TWatcherStorage/db:/tmp -v //D/microservices.properties:/maven/result-standalone.properties twxml/result-standalone:2.0.2 -jar maven/result-standalone-2.0.2-bin.jar server maven/results-h2-file.yml
  • ThingWatcher / Anomaly detection microservices do not work
This is a printer-friendly version of Article 266265 and may be out of date. For the latest version click CS266265