--
You received this message because you are subscribed to the Google Groups "onebusaway-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onebusaway-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/onebusaway-developers/1160e8b7-f34b-41f0-a594-9e1b5edfb67eo%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/onebusaway-developers/CABJWPiHvCv%3Dx%3DHtRrnVi8XsjX%3DENRgj8To1poF-c9djDoTFLgg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/onebusaway-developers/CA%2B6LoSbGTT4FVd_dxMa87XfNn4Ci7vtHmb%2Bb7pKo4og-3YYHeQ%40mail.gmail.com.
available from the Server.
</snip a bunch of logging>
INFO [BundleManagementServiceImpl.java:xxx] : Refresh/reload of bundle data complete.
INFO [BundleManagementServiceImpl.java:xxx] : Garbage collection after bundle switch complete.
INFO [BundleManagementServiceImpl.java:xxx] : New bundle is now ready.
If you see these messages then the static data is loaded properly. If you do not see these, or can't find the log, don't continue until you verify the above.
* next verify the realtime data is matching to the static data, as Vincente says. You should see:
INFO [GtfsRealtimeSource.java:xxx] : Agency X has active vehicles=328 for updates=328 with most recent timestamp Sat Jan 09 09:48:16 EST 2021
If you don't see these messages, or if active vehicles is 0, then either your GtfsRealtime source is not configured properly, not connected to a feed as expected, or not matching to the static data. A hint here as well: the timezone of the system should match the timezone of the feed.
* next verify the API tier is properly hooked up to the TDS. Try something like this to verify:
wget -O - http://<api-server>:<api-port>/<api-context>/api/where/agencies-with-coverage.json?key=<key>
If this doesn't work, then verify your API data-sources is properly configured to point to your TDS.
* next verify the API tier has data, via something like this:
wget -O - http://<api-server>:<api-port>/<api-context>/api/where/vehicles-for-agency/1.json?key=<key>
If you are still stuck, please post your logs so I can dig deeper.
Good luck!
Sheldon
To view this discussion on the web visit https://groups.google.com/d/msgid/onebusaway-developers/CABJWPiGuzG-GM9qsNrLue8tq1vKEx3_5qkkJ-mDKQUOJvmPRJA%40mail.gmail.com.
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright (C) 2011 Metropolitan Transportation Authority
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<!-- 0 or more renderer elements -->
<!-- 0 or more appender elements -->
<appender name="ROLL" class="org.apache.log4j.rolling.RollingFileAppender">
<rollingPolicy class="org.apache.log4j.rolling.TimeBasedRollingPolicy">
<param name="FileNamePattern" value="/var/lib/oba/logs/tds.%d.log" />
</rollingPolicy>
<layout class="org.apache.log4j.PatternLayout">
<!-- The log message pattern -->
<param name="ConversionPattern" value="%d{ISO8601} %-5p [%F:%L] : %m%n" />
</layout>
</appender>
<appender name="stdout" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<!-- The log message pattern -->
<param name="ConversionPattern" value="%d{ISO8601} %-5p [%F:%L] : %m%n" />
</layout>
</appender>
<!-- 0 or more logger/category elements -->
<!-- org.onebusaway.transit_data_federation.impl.realtime.gtfs_realtime.GtfsRealtimeTripLibrary -->
<!--category name="org.onebusaway.transit_data_federation.impl.realtime.gtfs_realtime.GtfsRealtimeTripLibrary">
<priority value="debug" />
</category-->
<!--category name="org.onebusaway.transit_data_federation.impl.realtime.gtfs_realtime.GtfsRealtimeSource">
<priority value="debug" />
</category-->
<!-- 0 or 1 root elements -->
<root>
<priority value="info" />
<appender-ref ref="ROLL" />
</root>
<!-- 0 or 1 categoryFactory elements -->
</log4j:configuration>
To view this discussion on the web visit https://groups.google.com/d/msgid/onebusaway-developers/2592336c-369b-4b60-97b5-c9e596c13564n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/onebusaway-developers/CABJWPiFL5%3DrJ_Zm7nwNysgyjyk8grkAc8AMLb8U30h3cSf%2B-_g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/onebusaway-developers/aa511b3c-6f20-4c6f-9aab-712d38939dc0n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/onebusaway-developers/835aa40a-07d9-4609-8ff8-807480c08a2cn%40googlegroups.com.