sarting server manually

imukunzi8 years ago

Hello, I am creating tracker-server.jar file to deploy the sever and I am getting error below what could be the reason ? Please advise how to fix this issue.On the other side server works fine when I run it in netbeans.

Innocent

D:\traccar>java -jar tracker-server.jar conf/traccar.xml
[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
INFO 5/3/17 11:42 AM: liquibase: Clearing database change log checksums
INFO 5/3/17 11:42 AM: liquibase: Successfully acquired change log lock
INFO 5/3/17 11:42 AM: liquibase: Successfully released change log lock
INFO 5/3/17 11:42 AM: liquibase: Successfully acquired change log lock
INFO 5/3/17 11:42 AM: liquibase: Successfully released change log lock
Exception in thread "main" liquibase.exception.ChangeLogParseException: ./schema/changelog-master.xml does not exist
        at liquibase.parser.core.xml.XMLChangeLogSAXParser.parseToNode(XMLChangeLogSAXParser.java:100)
        at liquibase.parser.core.xml.AbstractChangeLogParser.parse(AbstractChangeLogParser.java:17)
        at liquibase.Liquibase.getDatabaseChangeLog(Liquibase.java:229)
        at liquibase.Liquibase.update(Liquibase.java:202)
        at liquibase.Liquibase.update(Liquibase.java:192)
        at liquibase.Liquibase.update(Liquibase.java:188)
        at org.traccar.database.DataManager.initDatabaseSchema(DataManager.java:145)
        at org.traccar.database.DataManager.<init>(DataManager.java:71)
        at org.traccar.Context.init(Context.java:207)
        at org.traccar.Main.main(Main.java:35)
Anton Tananaev8 years ago

As you can see from the message, you are missing a changelog file.

imukunzi8 years ago

thanks, it's working now.