You have extra spaces in your XML, which makes it invalid. Also it should be "entry" (all lower case).
i have try but not function:
this is my file traccar.xml:
<entry key='web.address'>http://151.47.69.76</entry>
my tracker-server.log:
2018-08-21 00:29:14 INFO: Operating system name: Windows 7 version: 6.1 architecture: amd64
2018-08-21 00:29:14 INFO: Java runtime name: Java HotSpot(TM) 64-Bit Server VM vendor: Oracle Corporation version: 25.131-b11
2018-08-21 00:29:14 INFO: Memory limit heap: 1804mb non-heap: 0mb
2018-08-21 00:29:14 INFO: Character encoding: UTF-8 charset: UTF-8
2018-08-21 00:29:14 INFO: Version: 4.0-SNAPSHOT
2018-08-21 00:29:19 INFO: Starting server...
2018-08-21 00:29:19 INFO: [70ff2ebf] connected
...
2018-08-21 00:29:19 INFO: [db261a1c] connected
2018-08-21 00:29:19 INFO: [316da9e4] connected
2018-08-21 00:29:20 WARN: Unresolved address - SocketException (... < WebServer:197 < Main:40 < ...)
and wrapper.log
WARNING|wrapper|Service traccar|18-08-21 00:29:09|YAJSW: yajsw-stable-12.12
WARNING|wrapper|Service traccar|18-08-21 00:29:09|OS : Windows 7/6.1/amd64
WARNING|wrapper|Service traccar|18-08-21 00:29:09|JVM : Oracle Corporation/1.8.0_131/C:\Program Files\Java\jre1.8.0_131/64
...
INFO|2972/0|Service traccar|18-08-21 00:29:20|[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.t.w.@52b959df{/,null,AVAILABLE}
INFO|2972/0|Service traccar|18-08-21 00:29:20|[main] WARN org.eclipse.jetty.util.component.AbstractLifeCycle - FAILED ServerConnector@38588dea{HTTP/1.1}{http://151.47.69.76:8082}: java.net.SocketException: Unresolved address
INFO|2972/0|Service traccar|18-08-21 00:29:20|java.net.SocketException: Unresolved address
INFO|2972/0|Service traccar|18-08-21 00:29:20| at sun.nio.ch.Net.translateToSocketException(Unknown Source)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at sun.nio.ch.Net.translateException(Unknown Source)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at sun.nio.ch.Net.translateException(Unknown Source)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at org.eclipse.jetty.server.Server.doStart(Server.java:366)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at org.traccar.web.WebServer.start(WebServer.java:197)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at org.traccar.Main.main(Main.java:40)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at java.lang.reflect.Method.invoke(Unknown Source)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at org.rzo.yajsw.app.WrapperJVMMain.executeMain(WrapperJVMMain.java:60)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at org.rzo.yajsw.app.WrapperJVMMain.main(WrapperJVMMain.java:43)
INFO|2972/0|Service traccar|18-08-21 00:29:20|Caused by: java.nio.channels.UnresolvedAddressException
INFO|2972/0|Service traccar|18-08-21 00:29:20| at sun.nio.ch.Net.checkAddress(Unknown Source)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
INFO|2972/0|Service traccar|18-08-21 00:29:20| ... 15 more
INFO|2972/0|Service traccar|18-08-21 00:29:20|[main] WARN org.eclipse.jetty.util.component.AbstractLifeCycle - FAILED org.eclipse.jetty.server.Server@1ac730cd: java.net.SocketException: Unresolved address
INFO|2972/0|Service traccar|18-08-21 00:29:20|java.net.SocketException: Unresolved address
INFO|2972/0|Service traccar|18-08-21 00:29:20| at sun.nio.ch.Net.translateToSocketException(Unknown Source)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at sun.nio.ch.Net.translateException(Unknown Source)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at sun.nio.ch.Net.translateException(Unknown Source)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at org.eclipse.jetty.server.Server.doStart(Server.java:366)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at org.traccar.web.WebServer.start(WebServer.java:197)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at org.traccar.Main.main(Main.java:40)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at java.lang.reflect.Method.invoke(Unknown Source)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at org.rzo.yajsw.app.WrapperJVMMain.executeMain(WrapperJVMMain.java:60)
INFO|2972/0|Service traccar|18-08-21 00:29:20| at org.rzo.yajsw.app.WrapperJVMMain.main(WrapperJVMMain.java:43)
INFO|2972/0|Service traccar|18-08-21 00:29:20|Caused by: java.nio.channels.UnresolvedAddressException
INFO|2972/0|Service traccar|18-08-21 00:29:20| at sun.nio.ch.Net.checkAddress(Unknown Source)
FINEST|2972/0|Service traccar|18-08-21 00:29:20| at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
FINEST|2972/0|Service traccar|18-08-21 00:29:20| ... 15 more
That's because you are using "web.address" instead of correct "web.url". Please be more careful and double check everything that you are doing before asking for help.
ok i view and have change
Now function correct thx
Hello Tananaev, I noticed that e-mail notifications in both version 3.17 and 4.0 I receive with the link of the position that occurred the event points to the following link: (http://127.0.1.1:8082/?eventId= xx).
Looking in the forum I saw that this problem is well known and as a solution it is indicated to use the "web.url" parameter.
In fact I tried to insert the following parameter directly into the traccar.xml file, but the application fails me and does not start.
here's what I put in the traccar.xml file:
<Entry key = 'web.url'> http://12.345.678.9 </ entry>
or:
<Entry key = 'web.url'> http://demo.pippo.com </ entry>
Because?
Thx Luca