Deploying OneBusAway

44 views
Skip to first unread message

jnfrazao

unread,
Apr 13, 2012, 9:28:53 AM4/13/12
to onebusaway-users
Hi,
I´m trying to deploy the combined full webapp of OneBusAway, to see
how it works for a traffic agency in Portugal, but I´m having a few
problems. On the main page, everything is loaded, bus on the others,
like IPhone, it doesn´t happen. I think that something could be
missing in the data-sources.xml file, some beans. If it´s possible,
would you give me some help please?

Thank you
João Frazão
Novabase

Brian Ferris

unread,
Apr 15, 2012, 7:48:17 AM4/15/12
to onebusaw...@googlegroups.com
Hey João,

Could you try running the steps outlined in the OBA troubleshooting guide:

http://developer.onebusaway.org/modules/onebusaway-application-modules/current-SNAPSHOT/guides/troubleshooting-guide.html

And let me know what kind of results you get?

Thanks,
Brian

> --
> You received this message because you are subscribed to the Google Groups "onebusaway-users" group.
> To post to this group, send email to onebusaw...@googlegroups.com.
> To unsubscribe from this group, send email to onebusaway-use...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/onebusaway-users?hl=en.
>

jnfrazao

unread,
Apr 16, 2012, 6:00:40 AM4/16/12
to onebusaway-users
Hi Brian,
Thanks for your answer. On that guide, I found that my transit data
are not being loaded. I will tell you how I have done it, so you can
see if I'm doing something wrong.
I run the jar file to build the transit data bundle, in the command
line doing, "java -jar (jar file) (zip with the GTFS) (path to the
output)". I used a GTFS file available on Google as an example. The
path is created with no erros, with a lot of files inside. Then, I put
the directory of the output folder on a bean in data-sources.xml, as
you explain on the instalation guide. I run the app, with no erros,
but there no data loaded.
Do you have any ideia of what's hapening? What do we have to refer on
the path to our bundle on the data-sources.xml? The path or a specific
file created by the jar file?

Thanks,
Joao Frazao

On 15 Abr, 12:48, Brian Ferris <bdfer...@onebusaway.org> wrote:
> Hey João,
>
> Could you try running the steps outlined in the OBA troubleshooting guide:
>
> http://developer.onebusaway.org/modules/onebusaway-application-module...

jnfrazao

unread,
Apr 16, 2012, 9:02:07 AM4/16/12
to onebusaway-users
Never mind, Brian, it is already loading the data. When i get more
results, i'll tell you.

Thanks,
Joao Frazao

jnfrazao

unread,
Apr 16, 2012, 10:24:33 AM4/16/12
to onebusaway-users
Well, i have done the steps untill "Checking the SMS Webapp", and
everything seems to be ok with my transit data bundle. Now the problem
is what i have already told you. When I go to, for example,
Iphone_tools page, the images are not loaded, and the execution gives
an error. It is a NoSuchMethodExecption error and it says : "error
searching for action method="attachment" on action
class="org.onebusaway.webapp.actions.IndexAction"". What do you think
it may be? I've already sent an email to request a Key for the API. It
may be because of this?

Thanks,
João Frazão
Reply all
Reply to author
Forward
0 new messages