Your log indicates that the config file is invalid, which clearly means that someone has modified it.
I would like to hear an explanation on how it happened, if you haven't changed it.
This is my config file Anton, just me and a partner have been doing changes within the file, after analyzing, it is modified for ports and IP's, what could possibly have gone wrong? Or if we could access to the fresh config file, so we can update it on our system.
This is a wrong config file. You shouldn't change default.xml.
Also, there is no need to post whole file. I'm not going to look through it. If you changed something, just show the change.
This are the changes I am suspecting we have done earlier...
<entry key='web.enable'>true</entry>
<entry key='web.port'>8082</entry>
Can you show me the path to a fresh config file so we can start over?
You can get it from GitHub release version tag.
No luck with new config file, I checked it but no luck.
This is what my wrapper is showing>
WARNING|wrapper|Service traccar|17-08-30 16:54:55|YAJSW: yajsw-stable-12.09
WARNING|wrapper|Service traccar|17-08-30 16:54:55|OS : Windows 10/10.0/amd64
WARNING|wrapper|Service traccar|17-08-30 16:54:55|JVM : Oracle Corporation/1.8.0_144/C:\Program Files\Java\jre1.8.0_144/64
INFO|wrapper|Service traccar|17-08-30 16:54:55|start delay: 0
INFO|wrapper|Service traccar|17-08-30 16:54:55|started process with pid 10696
INFO|10696/0|Service traccar|17-08-30 16:54:56|[INFO] StandardFileSystemManager - Using "C:\Users\INMSA\AppData\Local\Temp\vfs_cache" as temporary files store.
INFO|10696/0|Service traccar|17-08-30 16:54:57|java.lang.reflect.InvocationTargetException
INFO|10696/0|Service traccar|17-08-30 16:54:57| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO|10696/0|Service traccar|17-08-30 16:54:57| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO|10696/0|Service traccar|17-08-30 16:54:57| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO|10696/0|Service traccar|17-08-30 16:54:57| at java.lang.reflect.Method.invoke(Unknown Source)
INFO|10696/0|Service traccar|17-08-30 16:54:57| at org.rzo.yajsw.app.WrapperJVMMain.executeMain(WrapperJVMMain.java:60)
INFO|10696/0|Service traccar|17-08-30 16:54:57| at org.rzo.yajsw.app.WrapperJVMMain.main(WrapperJVMMain.java:43)
INFO|10696/0|Service traccar|17-08-30 16:54:57|Caused by: java.util.InvalidPropertiesFormatException: org.xml.sax.SAXParseException; lineNumber: 27; columnNumber: 2; The markup in the document following the root element must be well-formed.
INFO|10696/0|Service traccar|17-08-30 16:54:57| at sun.util.xml.PlatformXmlPropertiesProvider.load(Unknown Source)
INFO|10696/0|Service traccar|17-08-30 16:54:57| at java.util.Properties$XmlSupport.load(Unknown Source)
INFO|10696/0|Service traccar|17-08-30 16:54:57| at java.util.Properties.loadFromXML(Unknown Source)
INFO|10696/0|Service traccar|17-08-30 16:54:57| at org.traccar.Config.load(Config.java:32)
INFO|10696/0|Service traccar|17-08-30 16:54:57| at org.traccar.Context.init(Context.java:209)
INFO|10696/0|Service traccar|17-08-30 16:54:57| at org.traccar.Main.main(Main.java:35)
INFO|10696/0|Service traccar|17-08-30 16:54:57| ... 6 more
INFO|10696/0|Service traccar|17-08-30 16:54:57|Caused by: org.xml.sax.SAXParseException; lineNumber: 27; columnNumber: 2; The markup in the document following the root element must be well-formed.
INFO|10696/0|Service traccar|17-08-30 16:54:57| at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
INFO|10696/0|Service traccar|17-08-30 16:54:57| at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)
INFO|10696/0|Service traccar|17-08-30 16:54:57| at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
INFO|10696/0|Service traccar|17-08-30 16:54:57| at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
INFO|10696/0|Service traccar|17-08-30 16:54:57| at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)
INFO|10696/0|Service traccar|17-08-30 16:54:57| at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$TrailingMiscDriver.next(Unknown Source)
INFO|10696/0|Service traccar|17-08-30 16:54:57| at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
INFO|10696/0|Service traccar|17-08-30 16:54:57| at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
INFO|10696/0|Service traccar|17-08-30 16:54:57| at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
INFO|10696/0|Service traccar|17-08-30 16:54:57| at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
INFO|10696/0|Service traccar|17-08-30 16:54:57| at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
INFO|10696/0|Service traccar|17-08-30 16:54:57| at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
INFO|10696/0|Service traccar|17-08-30 16:54:57| at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
INFO|10696/0|Service traccar|17-08-30 16:54:57| at sun.util.xml.PlatformXmlPropertiesProvider.getLoadingDoc(Unknown Source)
INFO|10696/0|Service traccar|17-08-30 16:54:57| ... 12 more
INFO|wrapper|Service traccar|17-08-30 16:54:57|calling onStop
INFO|wrapper|Service traccar|17-08-30 16:54:57|Win service stop - timeout: 30000
INFO|wrapper|Service traccar|17-08-30 16:54:57|Win service wrapper.control -> stopping application
INFO|wrapper|Service traccar|17-08-30 16:54:57|Win service stop - after shutdown
INFO|wrapper|Service traccar|17-08-30 16:54:57|Win service stop - before notify
INFO|wrapper|Service traccar|17-08-30 16:54:57|Win service terminated
Besides, we have not made any large modification to the config, as advertised, we only tried a different port. Traccar started up a couple times and kept running well before it crashed to never start again. When it crashed, we were not doing any changes to the config file. That is why it was a bit odd why it crashed and didnt come up running again.
The error is the same. Error message tells you exactly where the problem is. You clearly have an issue in the config file, which means that you have modified it.
I found the problem, it was on the secondary config file, there was an entry after </properties>
The problem is now that it keeps loading and it does not appear the login page. What could possibly wen't wrong?
From my wrapper:
INFO|wrapper|Service traccar|17-08-30 17:42:24|start delay: 0
INFO|wrapper|Service traccar|17-08-30 17:42:24|started process with pid 9004
INFO|9004/0|Service traccar|17-08-30 17:42:25|[INFO] StandardFileSystemManager - Using "C:\WINDOWS\TEMP\vfs_cache" as temporary files store.
INFO|9004/0|Service traccar|17-08-30 17:42:26|[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
INFO|9004/0|Service traccar|17-08-30 17:42:27|[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
INFO|9004/0|Service traccar|17-08-30 17:42:27|INFO 8/30/17 5:42 PM: liquibase: Clearing database change log checksums
INFO|9004/0|Service traccar|17-08-30 17:42:27|INFO 8/30/17 5:42 PM: liquibase: Successfully acquired change log lock
INFO|9004/0|Service traccar|17-08-30 17:42:27|INFO 8/30/17 5:42 PM: liquibase: Successfully released change log lock
INFO|9004/0|Service traccar|17-08-30 17:42:27|INFO 8/30/17 5:42 PM: liquibase: Successfully acquired change log lock
INFO|9004/0|Service traccar|17-08-30 17:42:29|INFO 8/30/17 5:42 PM: liquibase: Reading from PUBLIC.DATABASECHANGELOG
INFO|9004/0|Service traccar|17-08-30 17:42:29|INFO 8/30/17 5:42 PM: liquibase: Reading from PUBLIC.DATABASECHANGELOG
INFO|9004/0|Service traccar|17-08-30 17:42:29|INFO 8/30/17 5:42 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8-dropuniquetoken::author: Change set changelog-3.8::changelog-3.8-dropuniquetoken::author failed, but failOnError was false. Error: Constraint "UK_USER_TOKEN" not found; SQL statement:
INFO|9004/0|Service traccar|17-08-30 17:42:29|ALTER TABLE PUBLIC.users DROP CONSTRAINT uk_user_token [90057-196] [Failed SQL: ALTER TABLE PUBLIC.users DROP CONSTRAINT uk_user_token]
INFO|9004/0|Service traccar|17-08-30 17:42:29|INFO 8/30/17 5:42 PM: liquibase: Successfully released change log lock
INFO|9004/0|Service traccar|17-08-30 17:42:29|[main] INFO org.eclipse.jetty.util.log - Logging initialized @4687ms
INFO|9004/0|Service traccar|17-08-30 17:42:30|[main] INFO org.eclipse.jetty.server.Server - jetty-9.2.22.v20170606
INFO|9004/0|Service traccar|17-08-30 17:42:31|[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@51efb731{/api,null,AVAILABLE}
INFO|9004/0|Service traccar|17-08-30 17:42:31|[main] INFO org.eclipse.jetty.server.ServerConnector - Started ServerConnector@707e4fe4{HTTP/1.1}{0.0.0.0:8082}
INFO|9004/0|Service traccar|17-08-30 17:42:31|[main] INFO org.eclipse.jetty.server.Server - Started @6625ms
I fixed it, all in the config file.
Many thanks Anton!
I am having issues starting traccar Server. It has a fresh install with no changes in the config file.
Here is the info on my wrapper: