Error during 3.1 Installation

jaimzj9 years ago

Dear Anton,

Please do help, as I am switching from 2.12 to 3.1 (as fresh installation)

  1. I Managed to fix the Ansi-quote error already.

  2. Java 7 version installed.

error I am receiving is as below

INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: Encountered an error running main:
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: java.util.InvalidPropertiesFormatException: org.xml.sax.SAXParseException; lineNumber: 4; columnNumber: 1; Content is not allowed in prolog.
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at java.util.XMLUtils.load(XMLUtils.java:76)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at java.util.Properties.loadFromXML(Properties.java:868)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at org.traccar.Config.load(Config.java:27)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at org.traccar.Context.init(Context.java:89)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at org.traccar.Main.main(Main.java:26)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at java.lang.reflect.Method.invoke(Method.java:606)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:325)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at java.lang.Thread.run(Thread.java:745)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: Caused by: org.xml.sax.SAXParseException; lineNumber: 4; columnNumber: 1; Content is not allowed in prolog.
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:441)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:368)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1437)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:999)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:347)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at java.util.XMLUtils.getLoadingDoc(XMLUtils.java:102)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	at java.util.XMLUtils.load(XMLUtils.java:74)
INFO   | jvm 1    | 2015/08/15 22:45:23 | WrapperSimpleApp Error: 	... 10 more
jaimzj9 years ago

Dear Anton,

I was able to resolve it, It was my own mistake based on the error, I realised later.

I had made changes in the traccar config file, which were invalid/formats etc.

this has been resolved, and I now have 3.1 sucessfully running.

  • James