Hi,
Followed the instructions to install traccar on my server but when it comes to strat it i get:
[root@gaia web]# service traccar start
Starting traccar...
Waiting for traccar........
WARNING: traccar may have failed to start.
THis is the output of the "/opt/traccar/bin/traccar console" command:
[root@gaia web]# /opt/traccar/bin/traccar console
Running traccar...
wrapper | --> Wrapper Started as Console
wrapper | Java Service Wrapper Community Edition 32-bit 3.5.26
wrapper | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved.
wrapper | http://wrapper.tanukisoftware.com
wrapper |
wrapper | Launching a JVM...
jvm 1 | WrapperManager: Initializing...
jvm 1 | WrapperSimpleApp:
jvm 1 | WrapperSimpleApp Error: Encountered an error running main:
jvm 1 | java.lang.ClassNotFoundException: java.sql.SQLFeatureNotSupportedException not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:../lib/wrapper.jar,file:../tracker-server.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
jvm 1 | at java.net.URLClassLoader.findClass(libgcj.so.10)
jvm 1 | at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.10)
jvm 1 | at java.lang.ClassLoader.loadClass(libgcj.so.10)
jvm 1 | at java.lang.ClassLoader.loadClass(libgcj.so.10)
jvm 1 | at java.lang.reflect.Method.getType(libgcj.so.10)
jvm 1 | at java.lang.reflect.Method.getReturnType(libgcj.so.10)
jvm 1 | at gnu.java.beans.IntrospectionIncubator.addMethod(libgcj.so.10)
jvm 1 | at gnu.java.beans.IntrospectionIncubator.addMethods(libgcj.so.10)
jvm 1 | at java.beans.Introspector.getBeanInfo(libgcj.so.10)
jvm 1 | at com.mchange.v2.c3p0.management.DynamicPooledDataSourceManagerMBean.extractAttributeInfos(DynamicPooledDataSourceManagerMBean.java:568)
jvm 1 | at com.mchange.v2.c3p0.management.DynamicPooledDataSourceManagerMBean.reinitialize(DynamicPooledDataSourceManagerMBean.java:203)
jvm 1 | at com.mchange.v2.c3p0.management.DynamicPooledDataSourceManagerMBean.access$000(DynamicPooledDataSourceManagerMBean.java:76)
jvm 1 | at com.mchange.v2.c3p0.management.DynamicPooledDataSourceManagerMBean$1.propertyChange(DynamicPooledDataSourceManagerMBean.java:155)
jvm 1 | at java.beans.PropertyChangeSupport.firePropertyChange(libgcj.so.10)
jvm 1 | at java.beans.PropertyChangeSupport.firePropertyChange(libgcj.so.10)
jvm 1 | at com.mchange.v2.c3p0.impl.PoolBackedDataSourceBase.setConnectionPoolDataSource(PoolBackedDataSourceBase.java:70)
jvm 1 | at com.mchange.v2.c3p0.AbstractComboPooledDataSource.<init>(AbstractComboPooledDataSource.java:152)
jvm 1 | at com.mchange.v2.c3p0.AbstractComboPooledDataSource.<init>(AbstractComboPooledDataSource.java:138)
jvm 1 | at com.mchange.v2.c3p0.ComboPooledDataSource.<init>(ComboPooledDataSource.java:47)
jvm 1 | at org.traccar.database.DataManager.initDatabase(DataManager.java:103)
jvm 1 | at org.traccar.database.DataManager.<init>(DataManager.java:61)
jvm 1 | at org.traccar.Context.init(Context.java:92)
jvm 1 | at org.traccar.Main.main(Main.java:26)
jvm 1 | at java.lang.reflect.Method.invoke(libgcj.so.10)
jvm 1 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:325)
jvm 1 | at java.lang.Thread.run(libgcj.so.10)
wrapper | <-- Wrapper Stopped
Is there anything i can do to start traccar?
Thanks in advance
What Java version do you have?
[`root@gaia ~]# java -version
java version "1.5.0"
gij (GNU libgcj) version 4.4.7 20120313 (Red Hat 4.4.7-11)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[root@gaia~]#`]
It's an ancient version. You need at least 6. Next version would require at least Java 7.
Thank you very much. Will try tu update tomorrow and will let you know.
Thanks again!
Hi,
Followed the instructions to install traccar on my server but when it comes to strat it i get:
THis is the output of the "/opt/traccar/bin/traccar console" command:
Is there anything i can do to start traccar?
Thanks in advance