In server mode, port 8080
is used by default. If you'd like to change the port number (e.g., port 80
), you can use the command line parameter -port 80
:
java -jar target/gtfs-realtime-validator-webapp-1.0.0-SNAPSHOT.jar -port 80
We use Hibernate to manage data persistence to a database. To allow you to get the tool up and running quickly, we use the embedded HSQLDB by default. This is not recommended for a production deployment.
Hibernate configuration can be changed in src/main/resources/hibernate.cfg.xml
to store data in any relational database. You might want to check out the following resources for getting started:
A list of all the dialect properties for specific database versions is shown here.
If you'd like to change the logging level, for example to see all debug statements, in src/main/resources/simplelogger.properties
change the following line to say DEBUG
:
org.slf4j.simpleLogger.defaultLogLevel=DEBUG
DEBUG
level will show the output for all rule validation in the log.
WARN
will show a smaller number of informational messages.
We support a command-line batch processing mode for archived GTFS-realtime files. See the gtfs-realtime-validator-lib README page for details, including command-line configuration options for the batch processing mode.