Hessian Error on OBA 1.1.15

135 views
Skip to first unread message

Colin McGlynn

unread,
Sep 13, 2016, 1:20:09 PM9/13/16
to onebusaway-developers
Hello Everyone,

I'm having trouble getting a server up and running with GTFS for Edmonton ETS.

I spun up a new server, from a backup image of a working server that's running onebusaway-transit-data-federation-webapp-1.1.15.
Then I built a new bundle for Edmonton using GTFS from TransitFeeds and it seemed to build just fine, with no errors.
After replacing the old bundle with the new bundle and restarting tomcat I got this error:

Cannot connect to Hessian remote service at [http://localhost:8080/onebusaway-transit-data-federation-webapp/remoting/transit-data-service]; nested exception is com.caucho.hessian.client.HessianConnectionException: HessianProxy cannot connect to 'http://localhost:8080/onebusaway-transit-data-federation-webapp/remoting/transit-data-service

I know that it has been mentioned on this listserve that, that error means that the api-webapp isn't able to communicate with the transit data service over the configured url. In the past when I've seen this, it has usually meant that data-sources.xml was misconfigured. However, in this instance, I don't think that could be the case since it was working with the other agency's bundle.

So, I'm thinking that maybe there is an issue with the bundle that I'm building, but it isn't returning as an error during the build.  Does that seem like a likely candidate for his error? Any thought's on how I can troubleshoot this? Thanks!

Sheldon A. Brown

unread,
Sep 13, 2016, 2:21:44 PM9/13/16
to onebusaway...@googlegroups.com
Yes, my thoughts as well, its quite possible the bundle has issues. I
would suggest:

1) verify that the bundle build did complete successfully. Sometimes
its hard to tell with all of the information logging. Search for
Exceptions
2) If you've got a valid bundle, make sure its deployed properly and
all permissions are correct
2) If you trust the bundle deployment, find where the transit data
service is logging to and check for any exceptions on startup. Feel
free to post them here.

Good luck,

Sheldon
> --
> 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 post to this group, send email to onebusaway...@googlegroups.com.
> Visit this group at https://groups.google.com/group/onebusaway-developers.
> For more options, visit https://groups.google.com/d/optout.

Colin McGlynn

unread,
Sep 13, 2016, 2:34:24 PM9/13/16
to onebusaway...@googlegroups.com
Hey Sheldon,

Thanks for the help!

1) I just rebuilt the bundle and didn't get any Exceptions or Errors.  I did get these three warnings.  Do you think any of them are significant?

2016-09-13 18:28:56,754 WARN  [AbstractEhcacheRegionFactory.java:153] : Couldn't find a specific ehcache configuration for cache named [org.onebusaway.transit_data_federation.impl.realtime.history.ScheduleDeviationHistory]; using defaults.

2016-09-13 18:28:56,821 WARN  [EhcacheAccessStrategyFactoryImpl.java:44] : read-only cache configured for mutable entity [org.onebusaway.transit_data_federation.impl.realtime.history.ScheduleDeviationHistory]

2016-09-13 18:28:56,829 WARN  [AbstractEhcacheRegionFactory.java:153] : Couldn't find a specific ehcache configuration for cache named [org.onebusaway.transit_data_federation.impl.realtime.BlockLocationRecord]; using defaults.


--
You received this message because you are subscribed to a topic in the Google Groups "onebusaway-developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/onebusaway-developers/MM6B0Fk-SeE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to onebusaway-developers+unsub...@googlegroups.com.
To post to this group, send email to onebusaway-developers@googlegroups.com.



--
Colin McGlynn \ Project Manager \ TransitScreen
co...@transitscreen.com \ 301-512-8054
1776 Campus, 1133 15th Street NW, 12th Floor, Washington, DC 20005  
Serving 15 North American Cities and now featuring SmartWalk live projections

Sheldon A. Brown

unread,
Sep 13, 2016, 2:51:22 PM9/13/16
to onebusaway...@googlegroups.com
No, I agree, that doesn't look significant.

What does the tomcat log look like when you startup the transit data service?

Sheldon
>> > email to onebusaway-devel...@googlegroups.com.
>> > To post to this group, send email to
>> > onebusaway...@googlegroups.com.
>> > Visit this group at
>> > https://groups.google.com/group/onebusaway-developers.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "onebusaway-developers" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/onebusaway-developers/MM6B0Fk-SeE/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> onebusaway-devel...@googlegroups.com.
>> To post to this group, send email to
>> onebusaway...@googlegroups.com.
>> Visit this group at https://groups.google.com/group/onebusaway-developers.
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> --
> Colin McGlynn \ Project Manager \ TransitScreen
> co...@transitscreen.com \ 301-512-8054
> 1776 Campus, 1133 15th Street NW, 12th Floor, Washington, DC 20005
> Serving 15 North American Cities and now featuring SmartWalk live
> projections
>
> --
> 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 post to this group, send email to onebusaway...@googlegroups.com.

Sean Barbeau

unread,
Sep 13, 2016, 3:22:59 PM9/13/16
to onebusaway-developers
I recall having a similar issue when building and swapping in a new bundle.  IIRC it had to do with some files not being overwritten either during bundle build, or copying in the new bundle.  As a standard practice I started deleting the entire directory where I was building the bundle before building it, and deleting the entire directory of where I was reading the bundle into the webapps before copying over the bundle.  This ensures that both the build and runtime load are clean, and don't contain any old files from the previous bundle.

Sean
>> > To post to this group, send email to
>> > Visit this group at
>> > https://groups.google.com/group/onebusaway-developers.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "onebusaway-developers" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/onebusaway-developers/MM6B0Fk-SeE/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> To post to this group, send email to
>> Visit this group at https://groups.google.com/group/onebusaway-developers.
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> --
> Colin McGlynn \ Project Manager \ TransitScreen
> co...@transitscreen.com \ 301-512-8054
> 1776 Campus, 1133 15th Street NW, 12th Floor, Washington, DC 20005
> Serving 15 North American Cities and now featuring SmartWalk live
> projections
>
> --
> 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

Sheldon A. Brown

unread,
Sep 13, 2016, 4:20:23 PM9/13/16
to onebusaway...@googlegroups.com
Good advice!
>> >> > email to onebusaway-devel...@googlegroups.com.
>> >> > To post to this group, send email to
>> >> > onebusaway...@googlegroups.com.
>> >> > Visit this group at
>> >> > https://groups.google.com/group/onebusaway-developers.
>> >> > For more options, visit https://groups.google.com/d/optout.
>> >>
>> >> --
>> >> You received this message because you are subscribed to a topic in the
>> >> Google Groups "onebusaway-developers" group.
>> >> To unsubscribe from this topic, visit
>> >>
>> >> https://groups.google.com/d/topic/onebusaway-developers/MM6B0Fk-SeE/unsubscribe.
>> >> To unsubscribe from this group and all its topics, send an email to
>> >> onebusaway-devel...@googlegroups.com.
>> >> To post to this group, send email to
>> >> onebusaway...@googlegroups.com.
>> >> Visit this group at
>> >> https://groups.google.com/group/onebusaway-developers.
>> >> For more options, visit https://groups.google.com/d/optout.
>> >
>> >
>> >
>> >
>> > --
>> > Colin McGlynn \ Project Manager \ TransitScreen
>> > co...@transitscreen.com \ 301-512-8054
>> > 1776 Campus, 1133 15th Street NW, 12th Floor, Washington, DC 20005
>> > Serving 15 North American Cities and now featuring SmartWalk live
>> > projections
>> >
>> > --
>> > 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 post to this group, send email to
>> > onebusaway...@googlegroups.com.
>> > Visit this group at
>> > https://groups.google.com/group/onebusaway-developers.
>> > For more options, visit https://groups.google.com/d/optout.
>
> --
> 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 post to this group, send email to onebusaway...@googlegroups.com.

Colin McGlynn

unread,
Sep 19, 2016, 5:38:02 PM9/19/16
to onebusaway-developers
Sean, 
Thanks for the suggestion. I stopped Tomcat, deleted the old bundle folder locally and on the server, rebuilt the bundle and then placed the new one on the server.  I'm getting the same results, so I don't think that was the issue.

Sheldon,
Here is the Tomcat log output.  It looks pretty much the same as the error that the API is responding with.  Does anything stand out to you?

Thanks again for your help guys!

2016-09-19 16:56:05,437 WARN  [ExceptionInterceptor.java:80] : exception for action: url=/api/where/arrivals-and-departures-for-stop!show?id=edmonton_1001&key=iqZaz2x4CrmXDJ6AzS059X6o3H3ys2


org.springframework.remoting.RemoteConnectFailureException: Cannot connect to Hessian remote service at [http://localhost:8080/onebusaway-transit-data-federation-webapp/remoting/transit-data-service]; nested exception is com.caucho.hessian.client.HessianConnectionException: HessianProxy cannot connect to 'http://localhost:8080/onebusaway-transit-data-federation-webapp/remoting/transit-data-service


        at org.springframework.remoting.caucho.HessianClientInterceptor.convertHessianAccessException(HessianClientInterceptor.java:262)


        at org.springframework.remoting.caucho.HessianClientInterceptor.invoke(HessianClientInterceptor.java:231)


        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)


        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)


        at com.sun.proxy.$Proxy34.getStopWithArrivalsAndDepartures(Unknown Source)


        at org.onebusaway.api.actions.api.where.ArrivalsAndDeparturesForStopAction.show(ArrivalsAndDeparturesForStopAction.java:98)


        at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)


        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


        at java.lang.reflect.Method.invoke(Method.java:622)


        at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450)


        at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289)


        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252)


        at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138)


        at org.onebusaway.api.actions.api.ExceptionInterceptor.intercept(ExceptionInterceptor.java:56)


        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


        at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138)


        at org.onebusaway.api.actions.api.ApiKeyInterceptor.intercept(ApiKeyInterceptor.java:72)


        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


        at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138)


        at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:100)


        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


        at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138)


        at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265)


        at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)


        at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)


        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


        at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138)


        at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)


        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


        at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138)


        at org.apache.struts2.rest.ContentTypeInterceptor.intercept(ContentTypeInterceptor.java:66)


        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


        at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138)


        at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:254)


        at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)


        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


        at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138)


        at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:191)


        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


        at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138)


        at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:91)


        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


        at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138)


        at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:252)


        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


        at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138)


        at org.onebusaway.presentation.impl.StackInterceptor.intercept(StackInterceptor.java:71)


        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


        at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138)


        at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)


        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


        at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138)


        at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141)


        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


        at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138)


        at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:254)


        at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)


        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


        at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138)


        at org.apache.struts2.interceptor.ProfilingActivationInterceptor.intercept(ProfilingActivationInterceptor.java:104)


        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


        at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138)


        at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:256)


        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


        at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138)


        at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145)


        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


        at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138)


        at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:139)


        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


        at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138)


        at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171)


        at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)


        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


        at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138)


        at org.apache.struts2.interceptor.MessageStoreInterceptor.intercept(MessageStoreInterceptor.java:197)


        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


        at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138)


        at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)


        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


        at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138)


        at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:193)


        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


        at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138)


        at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:189)


        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)


        at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138)


        at com.opensymphony.xwork2.DefaultActionProxy.execute(DefaultActionProxy.java:147)


        at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:562)


        at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)


        at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)


        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)


        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)


        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)


        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)


        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)


        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)


        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)


        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)


        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)


        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)


        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)


        at java.lang.Thread.run(Thread.java:701)


Caused by: com.caucho.hessian.client.HessianConnectionException: HessianProxy cannot connect to 'http://localhost:8080/onebusaway-transit-data-federation-webapp/remoting/transit-data-service


        at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:194)


        at com.sun.proxy.$Proxy33.getStopWithArrivalsAndDepartures(Unknown Source)


        at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)


        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


        at java.lang.reflect.Method.invoke(Method.java:622)


        at org.springframework.remoting.caucho.HessianClientInterceptor.invoke(HessianClientInterceptor.java:222)


        ... 101 more


Caused by: java.io.FileNotFoundException: http://localhost:8080/onebusaway-transit-data-federation-webapp/remoting/transit-data-service


        at sun.reflect.GeneratedConstructorAccessor48.newInstance(Unknown Source)


        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)


        at java.lang.reflect.Constructor.newInstance(Constructor.java:534)


        at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1549)


        at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1545)


        at java.security.AccessController.doPrivileged(Native Method)


        at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1543)


        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1194)


        at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:179)


        ... 106 more


Caused by: java.io.FileNotFoundException: http://localhost:8080/onebusaway-transit-data-federation-webapp/remoting/transit-data-service


        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)


        at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:397)


        at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:168)


        ... 106 more

>> >> > To post to this group, send email to
>> >> > onebusaway...@googlegroups.com.
>> >> > Visit this group at
>> >> > https://groups.google.com/group/onebusaway-developers.
>> >> > For more options, visit https://groups.google.com/d/optout.
>> >>
>> >> --
>> >> You received this message because you are subscribed to a topic in the
>> >> Google Groups "onebusaway-developers" group.
>> >> To unsubscribe from this topic, visit
>> >>
>> >> https://groups.google.com/d/topic/onebusaway-developers/MM6B0Fk-SeE/unsubscribe.
>> >> To unsubscribe from this group and all its topics, send an email to
>> >> To post to this group, send email to
>> >> onebusaway...@googlegroups.com.
>> >> Visit this group at
>> >> https://groups.google.com/group/onebusaway-developers.
>> >> For more options, visit https://groups.google.com/d/optout.
>> >
>> >
>> >
>> >
>> > --
>> > Colin McGlynn \ Project Manager \ TransitScreen
>> > co...@transitscreen.com \ 301-512-8054
>> > 1776 Campus, 1133 15th Street NW, 12th Floor, Washington, DC 20005
>> > Serving 15 North American Cities and now featuring SmartWalk live
>> > projections
>> >
>> > --
>> > 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
>> > To post to this group, send email to
>> > onebusaway...@googlegroups.com.
>> > Visit this group at
>> > https://groups.google.com/group/onebusaway-developers.
>> > For more options, visit https://groups.google.com/d/optout.
>
> --
> 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

Barbeau, Sean

unread,
Sep 19, 2016, 5:48:55 PM9/19/16
to onebusaway...@googlegroups.com

Colin,

Do you see any errors or warnings if you stop Tomcat, and restart, deploying only the onebusway-transit-data-federation-webapp?

 

It seems like that webapp isn’t starting properly, which is why the api-webapp can’t find it.

 

Sean

>> >> > To post to this group, send email to
>> >> > onebusaway...@googlegroups.com.
>> >> > Visit this group at
>> >> > https://groups.google.com/group/onebusaway-developers.
>> >> > For more options, visit https://groups.google.com/d/optout.
>> >>
>> >> --
>> >> You received this message because you are subscribed to a topic in the
>> >> Google Groups "onebusaway-developers" group.
>> >> To unsubscribe from this topic, visit
>> >>
>> >> https://groups.google.com/d/topic/onebusaway-developers/MM6B0Fk-SeE/unsubscribe.
>> >> To unsubscribe from this group and all its topics, send an email to

>> >> To post to this group, send email to
>> >> onebusaway...@googlegroups.com.
>> >> Visit this group at
>> >> https://groups.google.com/group/onebusaway-developers.
>> >> For more options, visit https://groups.google.com/d/optout.
>> >
>> >
>> >
>> >
>> > --
>> > Colin McGlynn \ Project Manager \ TransitScreen
>> > co...@transitscreen.com \ 301-512-8054
>> > 1776 Campus, 1133 15th Street NW, 12th Floor, Washington, DC 20005
>> > Serving 15 North American Cities and now featuring SmartWalk live
>> > projections
>> >
>> > --
>> > 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

>> > To post to this group, send email to
>> > onebusaway...@googlegroups.com.
>> > Visit this group at
>> > https://groups.google.com/group/onebusaway-developers.
>> > For more options, visit https://groups.google.com/d/optout.
>
> --
> 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

> To post to this group, send email to onebusaway...@googlegroups.com.
> Visit this group at https://groups.google.com/group/onebusaway-developers.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "onebusaway-developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/onebusaway-developers/MM6B0Fk-SeE/unsubscribe.

To unsubscribe from this group and all its topics, send an email to onebusaway-devel...@googlegroups.com.

Sheldon A. Brown

unread,
Sep 22, 2016, 8:43:30 AM9/22/16
to onebusaway...@googlegroups.com
Yes. On that machine try: (assuming Linux/Unix)

wget http://localhost:8080/onebusaway-transit-data-federation-webapp/ -O -

You should get a simple HTML index page that says
onebusaway-transit-data-federation-webapp

If you get back anything else, then the transit data federation web
app is not deployed or did not start up correctly. Check your ports
and assure yourself the transit data federation web app is in fact on
localhost on port 8080, and that it successfully launched.

Sheldon

Colin McGlynn

unread,
Sep 23, 2016, 3:42:34 PM9/23/16
to onebusaway-developers
I got a 404 error when I tried going to http://localhost:8080/onebusaway-transit-data-federation-webapp/
Now that I know that is a good test, I deployed a new server (from an image of a working OBA server) and tried the same URL.  This time, it worked. I got a "Hello World" message.  So then I replaced that working transit-bundle-agencies file with the one I had created for Edmonston. The I restarted Tomcat and once again http://localhost:8080/onebusaway-transit-data-federation-webapp/ gave me a 404.  SoI think something about this bundle is causing the onebusaway transit data federation webapp to crash?


I guess, I'll try building a new 1.1.13 server and bundle to see if the issue is related to this release or not. 
>>> >> > To post to this group, send email to
>>> >> > onebusaway...@googlegroups.com.
>>> >> > Visit this group at
>>> >> > https://groups.google.com/group/onebusaway-developers.
>>> >> > For more options, visit https://groups.google.com/d/optout.
>>> >>
>>> >> --
>>> >> You received this message because you are subscribed to a topic in the
>>> >> Google Groups "onebusaway-developers" group.
>>> >> To unsubscribe from this topic, visit
>>> >>
>>> >>
>>> >> https://groups.google.com/d/topic/onebusaway-developers/MM6B0Fk-SeE/unsubscribe.
>>> >> To unsubscribe from this group and all its topics, send an email to
>>> >> To post to this group, send email to
>>> >> onebusaway...@googlegroups.com.
>>> >> Visit this group at
>>> >> https://groups.google.com/group/onebusaway-developers.
>>> >> For more options, visit https://groups.google.com/d/optout.
>>> >
>>> >
>>> >
>>> >
>>> > --
>>> > Colin McGlynn \ Project Manager \ TransitScreen
>>> > co...@transitscreen.com \ 301-512-8054
>>> > 1776 Campus, 1133 15th Street NW, 12th Floor, Washington, DC 20005
>>> > Serving 15 North American Cities and now featuring SmartWalk live
>>> > projections
>>> >
>>> > --
>>> > 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
>>> > To post to this group, send email to
>>> > onebusaway...@googlegroups.com.
>>> > Visit this group at
>>> > https://groups.google.com/group/onebusaway-developers.
>>> > For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> 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
>> To post to this group, send email to onebusaway...@googlegroups.com.
>> Visit this group at https://groups.google.com/group/onebusaway-developers.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "onebusaway-developers" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/onebusaway-developers/MM6B0Fk-SeE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> To post to this group, send email to onebusaway...@googlegroups.com.
> Visit this group at https://groups.google.com/group/onebusaway-developers.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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

Colin McGlynn

unread,
Sep 23, 2016, 4:10:26 PM9/23/16
to onebusaway-developers
Okay, I just tried the same experiment on a 1.1.13 server and I got the same results.  So I guess it wasn't a recent code change that's at fault.
>>> >> > For more options, visit <a

Colin McGlynn

unread,
Sep 23, 2016, 4:17:28 PM9/23/16
to onebusaway-developers
Another thing, I just noticed that this agency has an unusually long calendar_dates.txt file. It has 25,899 lines. Could that be the issue?

Barbeau, Sean

unread,
Sep 23, 2016, 4:32:46 PM9/23/16
to onebusaway...@googlegroups.com

Perhaps – that’s an alternate (and not recommended) way to represent a schedule.  I know Sheldon has previously said that OBA can potentially have memory issues with that representation of the schedule.

 

I would think that if you get a 404 when hitting the server, you should be getting some errors in the System out when building the bundle or in Tomcat when starting up with onebusaway-transit-data-federation-webapp.  But you’re not seeing anything strange there?

>>> >> > To post to this group, send email to
>>> >> > onebusaway...@googlegroups.com.
>>> >> > Visit this group at
>>> >> > https://groups.google.com/group/onebusaway-developers.
>>> >> > For more options, visit <a

--
You received this message because you are subscribed to a topic in the Google Groups "onebusaway-developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/onebusaway-developers/MM6B0Fk-SeE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to onebusaway-devel...@googlegroups.com.


To post to this group, send email to onebusaway...@googlegroups.com.
Visit this group at https://groups.google.com/group/onebusaway-developers.

For more options, visit https://groups.google.com/d/optout.

Sheldon A. Brown

unread,
Sep 26, 2016, 9:26:21 AM9/26/16
to onebusaway...@googlegroups.com
Yes -- what Sean says.

OneBusAway uses Java's native serialization to load the bundle, which
recurses over an object graph. When you have a large calendar_date
file, you start seeing some pretty large stack sizes due to the depth
of the recursion. This can be countered by passing stack size
arguments to your JVM -- but as Sean points out, if this is the case
you should be seeing exceptions as OneBusAway tries to load the
bundle.

Also note that bundle versions are specific to OneBusAway versions.
Its important to match the version of the
onebusaway-transit-data-federated-builder with the
onebusaway-transit-data-federated-webapp.

Sheldon
> For more options, visit https://groups.google.com/d/optout.

Colin McGlynn

unread,
Sep 27, 2016, 12:24:41 PM9/27/16
to onebusaway-developers
I looked closer at calender_dates.txt and realized that it had so many entries because they are date and route unique.  I was able to update the file to reduce calender_dates.txt to just 94 entries (and also edited trips.txt to use the new serivce_ids).  The edited files once more built into a bundle just fine, but had the same errors once they were deployed.

Sheldon,
Yeah, that's a good reminder.  I've been careful to make sure I'm always using matching versions for onebusaway-transit-data-federated-builder and onebusaway-transit-data-federated-webapp. 

Thaks for all of your troubleshooting suggestions guys.  I'm going to kick this to a Java dev I work with and see if he can make any more progress.

>>>> >> > To post to this group, send email to
>>>> >> > onebusaway...@googlegroups.com.
>>>> >> > Visit this group at
>>>> >> > https://groups.google.com/group/onebusaway-developers.
>>>> >> > For more options, visit <a
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "onebusaway-developers" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/onebusaway-developers/MM6B0Fk-SeE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> To post to this group, send email to onebusaway...@googlegroups.com.
> Visit this group at https://groups.google.com/group/onebusaway-developers.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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

Colin McGlynn

unread,
Oct 4, 2016, 3:32:05 PM10/4/16
to onebusaway-developers
We figured it out, it turns out we were just trying to run it on too small of a server.  Once I bumped it up to a 2 GB server and adjusted the JAVA_OPTS to match it started working!
Thanks for everybody's help!
Reply all
Reply to author
Forward
0 new messages