Have you checked logs?
No,logs don't have any error details. I checked in the logs folder in the installed directory
Error should be in the log. I guess you are looking at the wrong file.
Yes, here is the error log:
INFO|4516/0|Service traccar|18-06-12 10:52:23|[qtp1457499015-37] WARN org.eclipse.jetty.servlet.ServletHandler -
INFO|4516/0|Service traccar|18-06-12 10:52:23|javax.servlet.ServletException: org.glassfish.jersey.server.ContainerException: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:489)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.eclipse.jetty.server.Server.handle(Server.java:499)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:258)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at java.base/java.lang.Thread.run(Unknown Source)
INFO|4516/0|Service traccar|18-06-12 10:52:23|Caused by: org.glassfish.jersey.server.ContainerException: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.glassfish.jersey.servlet.internal.ResponseWriter.rethrow(ResponseWriter.java:278)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.glassfish.jersey.servlet.internal.ResponseWriter.failure(ResponseWriter.java:260)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:509)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:334)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)
INFO|4516/0|Service traccar|18-06-12 10:52:23| ... 21 more
INFO|4516/0|Service traccar|18-06-12 10:52:23|Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.glassitsolutions.api.SecurityRequestFilter.decodeBasicAuth(SecurityRequestFilter.java:38)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.glassitsolutions.api.SecurityRequestFilter.filter(SecurityRequestFilter.java:66)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.glassfish.jersey.server.ContainerFilteringStage.apply(ContainerFilteringStage.java:132)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.glassfish.jersey.server.ContainerFilteringStage.apply(ContainerFilteringStage.java:68)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.glassfish.jersey.process.internal.Stages.process(Stages.java:197)
INFO|4516/0|Service traccar|18-06-12 10:52:23| at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:318)
INFO|4516/0|Service traccar|18-06-12 10:52:23| ... 30 more
I'm guessing that you are using old version of Traccar and new version of Java. You need to upgrade one or downgrade the other one.
I have installed AWS on my local machine and everything works fine there. Now I installed the same on a AWS Windows Server 2016. In AWS the server gets installed but the API call return the below error:
<!DOCTYPE> <html> <head> <title>Error</title> </head> <html> <body>500 - Server Error</body> </html>
This is happening for all the API's like get users,get devices etc.
Kindly suggest. I have enabled all the necessary ports on AWS.