Constant 503 Error

57 views
Skip to first unread message

Cameron Manley

unread,
Mar 25, 2017, 9:59:01 AM3/25/17
to onebusaway-developers
Hello,

I keep getting a 503 error when I try to run the OBA Quickstart program using this GTFS Feed https://transitfeeds.com/p/dart/26
Am I doing something wrong on my end when I go to access http://localhost:8080/ ?

Thanks, 

Cameron
Screen Shot 2017-03-24 at 3.28.54 PM.png

Sheldon A. Brown

unread,
Mar 25, 2017, 10:07:53 AM3/25/17
to onebusaway...@googlegroups.com
Hi Cameron!

Have you checked the logs to see if startup was successful?  HTTP 503 in this case means the server isn't ready most likely due to a configuration issue. 

Sent from my mobile device (I'll be brief)
--
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.
<Screen Shot 2017-03-24 at 3.28.54 PM.png>

Cameron Manley

unread,
Apr 2, 2017, 7:28:30 PM4/2/17
to onebusaway-developers
Yes. For some reason the logs say the build was successful, but the 503 error persists. I was able to get it working by generating the transit bundle first then running the web app, instead of running both together.


On Saturday, March 25, 2017 at 9:07:53 AM UTC-5, Sheldon A. Brown wrote:
Hi Cameron!

Have you checked the logs to see if startup was successful?  HTTP 503 in this case means the server isn't ready most likely due to a configuration issue. 

Sent from my mobile device (I'll be brief)

On Mar 24, 2017, at 4:32 PM, Cameron Manley <camero...@gmail.com> wrote:

Hello,

I keep getting a 503 error when I try to run the OBA Quickstart program using this GTFS Feed https://transitfeeds.com/p/dart/26
Am I doing something wrong on my end when I go to access http://localhost:8080/ ?

Thanks, 

Cameron

--
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-developers+unsub...@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,
Apr 3, 2017, 6:52:31 AM4/3/17
to onebusaway...@googlegroups.com
Great -- glad to hear got past your problem.

What set of instructions are you following? Because the transit data
bundle is a dependency of the webapp (actually the transit data
service) so perhaps we can make that more clear.

Sheldon



On Sun, Apr 2, 2017 at 7:28 PM, Cameron Manley <camero...@gmail.com> wrote:
> Yes. For some reason the logs say the build was successful, but the 503
> error persists. I was able to get it working by generating the transit
> bundle first then running the web app, instead of running both together.
>
> On Saturday, March 25, 2017 at 9:07:53 AM UTC-5, Sheldon A. Brown wrote:
>>
>> Hi Cameron!
>>
>> Have you checked the logs to see if startup was successful? HTTP 503 in
>> this case means the server isn't ready most likely due to a configuration
>> issue.
>>
>> Sent from my mobile device (I'll be brief)
>>
>> On Mar 24, 2017, at 4:32 PM, Cameron Manley <camero...@gmail.com> wrote:
>>
>> Hello,
>>
>> I keep getting a 503 error when I try to run the OBA Quickstart program
>> using this GTFS Feed https://transitfeeds.com/p/dart/26
>> Am I doing something wrong on my end when I go to access
>> http://localhost:8080/ ?
>>
>> Thanks,
>>
>> Cameron
>>
>> --
>> 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.
>>
>> <Screen Shot 2017-03-24 at 3.28.54 PM.png>
>
> --
> 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.

Harsh Sharma

unread,
Jan 26, 2024, 6:45:50 AMJan 26
to onebusaway-developers
Hello,
May you please tell me How to resolve this issue? I am also getting 503 error code I followed the quick start guide to run the instance on a windows 11 64 bit OS with java 17. I am very new to oneBusAway. When I run it using GUI I simply get the following error:-
HTTP ERROR 500

Problem accessing /. Reason:
Service unavailable

Then I run it using cmd I get this error:-
HTTP ERROR 500

Problem accessing /. Reason:

PWC6033: Unable to compile class for JSP PWC6199: Generated servlet error: The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files PWC6199: Generated servlet error: java.util.Vector cannot be resolved to a type PWC6199: Generated servlet error: _jspx_dependants cannot be resolved

Caused by:org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP PWC6199: Generated servlet error: The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files PWC6199: Generated servlet error: java.util.Vector cannot be resolved to a type PWC6199: Generated servlet error: _jspx_dependants cannot be resolved at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:123) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:296) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:376) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:437) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:608) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:360) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352) at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:96) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.onebusaway.quickstart.bootstrap.WebappBootstrapMain$WelcomeFileHandler.handle(WebappBootstrapMain.java:198) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:346) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411) at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:241) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) at java.base/java.lang.Thread.run(Thread.java:833)


Powered by Jetty://

I am using Bart's GTFS feed and Bart's realtime GTFS feed as used in the guide.
Note:- only tripupdate and alerts Url is avaible for GTFS realtime feed.

Please help me as soon as possible

Thanks in advance

Regards
Harsh Sharma

Aaron Brethorst

unread,
Jan 26, 2024, 11:03:26 AMJan 26
to onebusaway...@googlegroups.com
Hi Harsh - That Quickstart guide is outdated. Per the edit from October 2021: The below QuickStart instructions are for version v1.x, which is outdated. Components like the web interface in v1 may not work.

The homepage of the Wiki has more recent instructions, but documentation on the project is generally outdated and needs some work. I hope you can make progress by following the guide for the 2.x version of the software, but I will personally be unable to help you further on this matter. Hopefully someone else from this mailing list can help further.

Best,
Aaron 

----

Aaron Brethorst
Executive Director, Open Transit Software Foundation

Gazi Baştuğ

unread,
Jan 30, 2024, 2:17:36 PMJan 30
to onebusaway-developers
I think
The java version you have installed is 17.
You must install Java 11

25 Mart 2017 Cumartesi tarihinde saat 16:59:01 UTC+3 itibarıyla camero...@gmail.com şunları yazdı:

Gazi Baştuğ

unread,
Jan 30, 2024, 4:47:12 PMJan 30
to onebusaway...@googlegroups.com
There are many errors in that document, it is not up to date. I need to give you the current version that I compiled under eclipse. Do not run with Jetty, please use tomcat. First, make sure that you have converted the gtfs format you downloaded exactly without any errors. But please use java 11 and set its parameters. Java 17 string problems may occur. Under Git, there is a version that I compiled with Eclipse, which works without any problems.

You are getting a 503 error because your war file is corrupt.

I repeat this because you are using Java 17, it is compiled on Java 11.
30 Oca 2024 Sal ÖS 10:17 tarihinde Gazi Baştuğ <gazi....@gmail.com> şunu yazdı:
--
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.
Reply all
Reply to author
Forward
0 new messages