Problems Installing, missing JRE

Toftager10 years ago

Hi

I'm trying to install on a Windows 2012 R2 Server, but am getting this error message.

"This application requires Java Runtime Environment version 1.6 or later. Please download and install the JRE and run this setup again."

I have installed Java and verified that it is running on Java.com

Any hints what to do?

/Peter

Anton Tananaev10 years ago

Is your Windows 32 or 64 bit? Which version of Traccar have you downloaded (32/64 bit)? Which version of Java do you have (32/64 bit)?

Toftager10 years ago

My Windows is Windows Server 2012 R2 - 64bit.

Not sure if Java is 32/64 bit. Installed by going to java.com

Version reported is:

C:>java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) Client VM (build 25.45-b02, mixed mode, sharing)

Tried both the 32/64bit installation package of traccar. Same error

/Peter

Toftager10 years ago

Just installed Java 64bit..

And now the installer works..

I assumed Java was installed in 64bit on a 64bit system. But guess not.

Thanks for the help :)

rahulzeel10 years ago

Hello,

  1. I have installed JRE jre1.8.0_40.
  2. Installed "traccar-windows-64-2.12".
    But still not able to launch "http://localhost:8082/"

Log file Data:
STATUS | wrapperm | 2015/04/29 14:21:25 | Traccar service installed.
STATUS | wrapper | 2015/04/29 14:22:52 | --> Wrapper Started as Service
STATUS | wrapper | 2015/04/29 14:22:52 | Java Service Wrapper Community Edition 64-bit 3.5.26
STATUS | wrapper | 2015/04/29 14:22:52 | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2015/04/29 14:22:52 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2015/04/29 14:22:52 |
STATUS | wrapper | 2015/04/29 14:22:52 | Launching a JVM...
INFO | jvm 1 | 2015/04/29 14:22:54 | WrapperManager: Initializing...
INFO | jvm 1 | 2015/04/29 14:23:02 | 2015-04-29 14:23:02.073:INFO:oejs.Server:jetty-8.1.16.v20140903
INFO | jvm 1 | 2015/04/29 14:23:02 | 2015-04-29 14:23:02.595:INFO:oejw.WebInfConfiguration:Extract jar:file:/C:/Program%20Files%20(x86)/Traccar/traccar-web.war!/ to C:\Windows\Temp\jetty-0.0.0.0-8082-traccar-web.war-_-any-\webapp
INFO | jvm 1 | 2015/04/29 14:23:04 | 2015-04-29 14:23:03.940:INFO:oejw.StandardDescriptorProcessor:NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
INFO | jvm 1 | 2015/04/29 14:23:04 | 2015-04-29 14:23:04.032:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8082
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp:
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: Encountered an error running main:
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: org.jboss.netty.channel.ChannelException: Failed to bind to: 0.0.0.0/0.0.0.0:5001
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:272)
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: at org.traccar.TrackerServer.start(TrackerServer.java:134)
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: at org.traccar.ServerManager.start(ServerManager.java:201)
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: at org.traccar.Main.main(Main.java:34)
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: at java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:325)
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: at java.lang.Thread.run(Unknown Source)
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: Caused by: java.net.BindException: Address already in use: bind
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: at sun.nio.ch.Net.bind0(Native Method)
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: at sun.nio.ch.Net.bind(Unknown Source)
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: at sun.nio.ch.Net.bind(Unknown Source)
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: at org.jboss.netty.channel.socket.nio.NioServerBoss$RegisterTask.run(NioServerBoss.java:193)
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: at org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:391)
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:315)
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: at org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42)
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
INFO | jvm 1 | 2015/04/29 14:23:04 | WrapperSimpleApp Error: ... 1 more
STATUS | wrapper | 2015/04/29 14:23:06 | <-- Wrapper Stopped

Please help us to install the server application

Anton Tananaev10 years ago

Now the problem is that you have some other process that uses port 5001.

rahulzeel10 years ago

Thanks for your quick reply. I removed the app which was using the Port 5001.
Now the Traccar Server app working... Thanks a lot.

I am using Red Mi (Xiaomi) Mobile (Android 4.2) , how to find the suitable Port number for Client Application?

Thanks

Anton Tananaev10 years ago

If you are using Traccar Client, then default port is 5005.

rahulzeel10 years ago

Yes I am using Traccar Client. My external IP is 118.189.5.54 and internal IP is 10.88.2.226.

Have configured Traccer Client with Server IP address 118.189.5.54 and Port 5005. But every time, got "Connection Failed". Please let me know anything best I can do to solve the same.

Anton Tananaev10 years ago

Your port is closed (check https://www.traccar.org/port-check/).

There must be some problem with router or firewall.

rahulzeel10 years ago

Yes, that port is closed. Request has been sent to System Administrator to open the port 5005.

Just to check with you, do we need to open any ports than 5005, so that I can inform system admin accordingly.

We will using Traccar Client Mobile App to send information.

Anton Tananaev10 years ago

For Traccar Client you need only 5005. If you want web interface to be available remotely you need to open port 8082. If you plan to use other devices you need to open corresponding ports as well (see https://www.traccar.org/devices/).

rahulzeel10 years ago

My external IP is 118.189.5.54 and internal IP is 10.88.2.226. As per our network administrator, he has open the port 5005. But when I used http://www.tananaev.com/port.html link, it shows port is closed.

Network admin as advised us to verify that 10.88.2.226 port 5005 is open and Traccar Application is Listening to that port. Please advice us on how we can do that?

rahulzeel10 years ago

Hello, our admin asking to configure traccar server to point to internal ip 10.88.2.226. It is currently pointing to 0.0.0.0

C:\Users\DataDiodeRX>netstat -an | find "5005"
TCP 0.0.0.0:5005 0.0.0.0:0 LISTENING
TCP [::]:5005 [::]:0 LISTENING

Anton Tananaev10 years ago

Traccar is listening on all interface (0.0.0.0 means all interfaces). You can also tell it to listen on a particular one, but it won't fix the problem:

<entry key='http.address'>10.88.2.226</entry>