Traccar is not restart after changes in configuration xml file

ashvini8 years ago

When I make any changes in configuration xml file and restart to service ,

I receive this error

[root@vps ~]# /opt/traccar/bin/traccar start
Starting traccar...
Waiting for traccar......
WARNING: traccar may have failed to start.
Anton Tananaev8 years ago

Check logs files for detailed error information.

ashvini8 years ago
STATUS | wrapper  | 2016/10/14 04:13:49 | --> Wrapper Started as Daemon
...
STATUS | wrapper  | 2016/10/14 05:27:41 | <-- Wrapper Stopped
STATUS | wrapper  | 2016/10/14 05:27:41 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2016/10/14 05:27:41 | Java Service Wrapper Community Edition 64-bit 3.5.28
STATUS | wrapper  | 2016/10/14 05:27:41 |   Copyright (C) 1999-2016 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper  | 2016/10/14 05:27:41 |     http://wrapper.tanukisoftware.com
STATUS | wrapper  | 2016/10/14 05:27:41 | 
STATUS | wrapper  | 2016/10/14 05:27:41 | Launching a JVM...
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperManager: Initializing...
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp: 
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: Encountered an error running main:
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: java.util.InvalidPropertiesFormatException: org.xml.sax.SAXParseException; lineNumber: 37; columnNumber: 103; The reference to entity "autoReconnect" must end with the ';' delimiter.
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at java.util.XMLUtils.load(XMLUtils.java:76)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at java.util.Properties.loadFromXML(Properties.java:868)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at org.traccar.Config.load(Config.java:29)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at org.traccar.Context.init(Context.java:141)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at org.traccar.Main.main(Main.java:35)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at java.lang.reflect.Method.invoke(Method.java:606)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:325)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at java.lang.Thread.run(Thread.java:745)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: Caused by: org.xml.sax.SAXParseException; lineNumber: 37; columnNumber: 103; The reference to entity "autoReconnect" must end with the ';' delimiter.
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1465)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(XMLDocumentFragmentScannerImpl.java:1844)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3058)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:504)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:338)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at java.util.XMLUtils.getLoadingDoc(XMLUtils.java:102)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	at java.util.XMLUtils.load(XMLUtils.java:74)
INFO   | jvm 1    | 2016/10/14 05:27:42 | WrapperSimpleApp Error: 	... 10 more
STATUS | wrapper  | 2016/10/14 05:27:44 | <-- Wrapper Stopped
STATUS | wrapper  | 2016/10/14 05:40:54 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2016/10/14 05:40:54 | Java Service Wrapper Community Edition 64-bit 3.5.28
STATUS | wrapper  | 2016/10/14 05:40:54 |   Copyright (C) 1999-2016 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper  | 2016/10/14 05:40:54 |     http://wrapper.tanukisoftware.com
STATUS | wrapper  | 2016/10/14 05:40:54 | 
STATUS | wrapper  | 2016/10/14 05:40:55 | Launching a JVM...
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperManager: Initializing...
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp: 
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: Encountered an error running main:
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: java.util.InvalidPropertiesFormatException: org.xml.sax.SAXParseException; lineNumber: 37; columnNumber: 103; The reference to entity "autoReconnect" must end with the ';' delimiter.
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at java.util.XMLUtils.load(XMLUtils.java:76)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at java.util.Properties.loadFromXML(Properties.java:868)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at org.traccar.Config.load(Config.java:29)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at org.traccar.Context.init(Context.java:141)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at org.traccar.Main.main(Main.java:35)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at java.lang.reflect.Method.invoke(Method.java:606)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:325)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at java.lang.Thread.run(Thread.java:745)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: Caused by: org.xml.sax.SAXParseException; lineNumber: 37; columnNumber: 103; The reference to entity "autoReconnect" must end with the ';' delimiter.
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1465)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(XMLDocumentFragmentScannerImpl.java:1844)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3058)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:504)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:338)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at java.util.XMLUtils.getLoadingDoc(XMLUtils.java:102)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	at java.util.XMLUtils.load(XMLUtils.java:74)
INFO   | jvm 1    | 2016/10/14 05:40:55 | WrapperSimpleApp Error: 	... 10 more
STATUS | wrapper  | 2016/10/14 05:40:58 | <-- Wrapper Stopped
Anton Tananaev8 years ago

Your XML file is incorrect.

ashvini8 years ago

where is mistake , pls identified to

Anton Tananaev8 years ago

Here is the problem:

lineNumber: 37; columnNumber: 103; The reference to entity "autoReconnect" must end with the ';' delimiter.