Server from source under windows 10

Hi guys,
I would like to run the server from the source by using windows 10.
I made the following changes:

default.xml

I created this folder by myself

....entry key='web.path'>C:\Source\traccar\web</entry>   

I created this folder & file by myself

....entry key='logger.file'>C:\Source\traccar\logs\tracker-server.log</entry>

Port change because I had a port conflict

....entry key='carscop.port'>7040</entry>

debug.xml

....entry key='config.default'>C:\Source\git\traccar\setup\default.xml</entry>
....entry key='web.path'>C:\Source\git\traccar\traccar-web\web</entry>
....entry key='database.url'>jdbc:h2:C:\Source\git\traccar\target\database</entry>

I can now start the application withoutr any problems

....
....
....
2019-02-11 13:29:31  INFO: jetty-9.4.14.v20181114; built: 2018-11-14T21:20:31.478Z; git: c5450.....ad9e6; jvm 1.8.0_201-b09
2019-02-11 13:29:32  INFO: Started o.t.w.@12abdfb{/,null,AVAILABLE}
2019-02-11 13:29:32  INFO: DefaultSessionIdManager workerName=node0
2019-02-11 13:29:32  INFO: No SessionScavenger set, using defaults
2019-02-11 13:29:32  INFO: node0 Scavenging every 600000ms
2019-02-11 13:29:33  INFO: Started o.e.j.s.ServletContextHandler@2539cd1c{/,null,AVAILABLE}
2019-02-11 13:29:33  INFO: Started ServerConnector@7ea0dd99{HTTP/1.1,[http/1.1]}{0.0.0.0:8082}
2019-02-11 13:29:33  INFO: Started @9082ms

But I get a 404 after starting the application: http://localhost:8082/

My tracker-server.log is empty.

What can i do next?

Best regards,
Michael

Anton Tananaev6 years ago

The error means that web app files are missing, so my guess would be that location is wrong or some files are missing.