-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bundle building broken in v1 releases w/ JDK 9+ #244
Comments
Potentially looks like an issue loading blocks?
You might want to try a different GTFS file and see if you get the same result. JDK 13 is pretty new also in context of OBA development - you might want to try JDK 9 or so and see if that works. |
I've tried with multiple GTFS feeds including BART and it still fails. |
It failed with JDK 9 I think it has to do with calendar services, as that's where the first error occurs... |
Hmmm, not sure. Have you tried onebusaway-docker with v2 on the same GTFS feed? |
Annoyingly, I can't, my machine doesn't run Win10 Pro or Enterprise, only home edition. |
I'm in the same boat - my work machine is still on Windows 7. If it's a new feed, have you tried running it through validators to make sure it's correct? |
It clears Google with warnings (we have an extra column in trips that isn't in spec and we use the Google trip-to-trip transfers) |
Seems like these folks had the same issue... |
I don't think that's the same issue - some of the text in the error is similar but it seems you're hitting a different issue. If you send me the GTFS I'll try to run QuickStart from v1 on my machine and see if I hit the same issue as you. |
Hmm...I'm seeing the same thing with your GTFS on Windows 7 Enterprise with JDK 9.0.4 and onebusaway-quickstart-assembly-1.1.16-api-webapp.war. I launched from command line and then used the GUI wizard to select the GTFS, and didn't use any real-time info:
|
Same result using HART (Tampa) data from http://www.gohart.org/google/google_transit.zip |
So, 1.1.16 is old, but it looks like the wiki is still pointing to it. Here's 1.1.19, which is the last release prior to v2: |
Note that you'll need to delete your existing bundle directory before running 1.1.19, as the bundles can be OBA version-specific. However, even after doing this I'm still seeing the same in 1.1.19 using the GTFS in this thread as well as HART data. |
Hmmm...same with 1.1.15 too using the GTFS in this thread. |
Looks like an issue building the bundle - if I use 1.1.19 with HART data and chose the GUI option to only build the bundle, I get this:
|
I get a similar error if I just try to build a bundle using HART data with the stand-alone onebusaway-transit-data-federation-builder-1.1.19-withAllDependencies.jar. |
Are bundles generated in V2 compatible with V1? |
@dudebrains01 I don't think so, but I haven't tried. I'm a volunteer on the Android and Alexa apps and haven't set up my own OBA server in a while, so my knowledge is a bit dated. Worth a shot if you want to try. |
I'll give running V2 a shot but I have no clue how all of the Eclipse stuff works... (Coding is not something I know much about) |
@dudebrains01 Sounds good, let us know how it goes. A lot of the community-focused efforts is volunteer driven at the moment, and unfortunately we're still in the middle of transitioning from v1 to v2, without a great QuickStart experience for v2 yet. Hopefully someone has extra cycles to dedicate to this soon. |
Your problem is likely your JDK. To get oba-1.1.16 working, you'll likely need jdk1.6 if you can find it archived somewhere. |
IIRC I had successfully tested all this on JDK 8 (1.8) as well, so you may try that too. |
From https://groups.google.com/g/onebusaway-developers/c/6K4xdDYFulE/m/DW24sUZtBgAJ, it looks like you need to use Java 8 with OBA v1.x. |
Which version is most recent? I have little bit mess in knowledge. https://github.com/OneBusAway/onebusaway-docker Docker version also have above errors. There are some developers working on that or the server modules are abandoned? |
@Greg0 OBA server is still undergoing development and maintenance but like many open-source project some of the community aspects are volunteer-driven. v2 is the latest version, which should be accessible from links at: But you're right - that link is broken. OBA changed maven repositories and I believe that's why this isn't working. I'll see if I can track down the new links. The Docker version at https://github.com/OneBusAway/onebusaway-docker is community-maintained and IIRC that supports the v2 setup for schedule data but no real-time yet. If you'd like to contribute we'd welcome the help! |
@barbeau Thank you for your response. I'll give a try to newest v2. If you will find working URL please let me know. Nexus is not public so can't browse for packages. Honestly I have plan to make some docker images based on steps from docs. I can create some PR if that will work. Regards |
@Greg0 That would be great! IIRC OneBusAway/onebusaway-docker#20 is close to fixing a final issue, but it's just going to take some messing around with config files. I linked to a forum post in the last comments there that might be useful. |
@barbeau I have idea to automate docker images builds simply by github actions and publish them on for example Nexus or just link repo to docker Hub. Just to take advantage of ready to go images instead of self-building them locally. I'll read attached topic and I hope I'll return with some working ideas. Please let me know when you will find working url to latest version of webapps |
This would be great, but OBA requires XML files for configuration for GTFS data to use, GTFS Realtime URLs, etc., so this would somehow need to be injected into the build chain. |
I'll try figure it out. Files always can be mounted to container instead of attaching them to image. But It's only my thoughts I never ran OBA server 😊 |
I've found only version 2.0.0 files, but 2.0.55-cs is not present. I guess some builds failed |
Here's the new maven repo that should include all the artifacts (taken from OBA Android build.gradle):
|
I'm afraid I don't know hot to use that url to download *.war files of api-webapp |
That's the base url for a maven repository. If you are using maven it will
fill in the rest. In the case of the api webapp, it would be:
https://repo.camsys-apps.com/releases/org/onebusaway/onebusaway-api-webapp/2.0.55-cs/onebusaway-api-webapp-2.0.55-cs.war
(that's approximately
group/artifact/version/artifact-verssion(-classifier).type)
Sheldon
…On Sat, Oct 9, 2021 at 5:11 PM Grzegorz K ***@***.***> wrote:
I'm afraid I don't know hot to use that url to download *.war files of
api-webapp
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#244 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHUSHKZKQCAKAIKMHL25DDUGCVXRANCNFSM4KUDC3RA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@Greg0 So using looking at the guide: ...and following the pattern from Sheldon you'll use these files:
(there is also the browseable nexus referenced in the above guide at http://nexus.onebusaway.org/nexus/content/groups/public/org/onebusaway/, but that only includes up to v2.0.0) |
I am having issues running the Quickstart version of OBA (Quickstart 1.1.16 webapp + API)
I keep getting the following error:
ERROR [ContextLoader.java:220] : Context initialization failed
I am running Windows 10 and Java JDK Version 13.0.
console.log
Anyone have an idea on how to fix this?
Thanks
The text was updated successfully, but these errors were encountered: