Getting Http 503 error code Service Unavailable on running quick start assembly API web app and assembly webapp

19 views
Skip to first unread message

Harsh Sharma

unread,
Jan 26, 2024, 2:06:52 AMJan 26
to onebusaway-developers
Hello Community,
I want to run the  onebusaway-quickstart-assembly-api-webapp.war for which I followed the quick start guide. I used the UI interface to insert link and path to GTFS. I guess that everything went well because I got a message at the end saying :-

Your OneBusAway instance has started.  Browse to:
=
= http://localhost:8080/
=
= to see your instance in action.

But when I go to  http://localhost:8080/ on my browser I always get 503 error code saying service unavailable.

It would be really appreciable if anybody help me in resolving this? 
Thanks in advance
Regards
Harsh Sharma

Harsh Sharma

unread,
Jan 26, 2024, 6:45:50 AMJan 26
to onebusaway-developers
Update
I am using Java 17 on windows 11 64 bit OS.
Here is the complete error message:-

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)


Regards
Harsh Sharma
Reply all
Reply to author
Forward
0 new messages