reinstall ambari-server and agents, then run ambari-server upgrade, then
start ambari-server and agents and when you browse to the url, hit control
shift R. Check in /var/log/ambari-server/ambari-server.log for any errors.

On Tue, Nov 3, 2015 at 8:27 AM, Loïc Chanel <loic.cha...@telecomnancy.net>
wrote:

> Hi,
>
> As it's been a month since I sent this mail, I repost it because I'm still
> stuck.
> Could someone help me locating the origin of the bug ? And/Or how to solve
> it.
>
> Thanks in advance for your help,
>
>
> Loïc
>
> Loïc CHANEL
> System & virtualization engineer
> TO - XaaS Ind - Worldline (Villeurbanne, France)
>
> 2015-10-16 15:22 GMT+02:00 Loïc Chanel <loic.cha...@telecomnancy.net>:
>
>> Hi all,
>>
>> As I just upgraded my Ambari cluster to Ambari 2.1.2, I was trying to
>> update my cluster to HDP 2.3 when I encountered a major error.
>> Indeed, when I go to Stack and Versions and I click on Manage Version
>> button, I get an HTTP 500 error, with the following stack :
>>
>> HTTP ERROR 500
>>
>> Problem accessing /views/ADMIN_VIEW/2.1.2/INSTANCE/. Reason:
>>
>>     Server Error
>>
>> Caused by:
>>
>> java.lang.IllegalStateException: No WebApplicationContext found: no 
>> ContextLoaderListener registered?
>>      at 
>> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:159)
>>      at 
>> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1467)
>>      at 
>> org.apache.ambari.server.api.AmbariPersistFilter.doFilter(AmbariPersistFilter.java:47)
>>      at 
>> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1467)
>>      at 
>> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)
>>      at 
>> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
>>      at 
>> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
>>      at 
>> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
>>      at 
>> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
>>      at 
>> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
>>      at 
>> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
>>      at 
>> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
>>      at 
>> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
>>      at 
>> org.apache.ambari.server.controller.AmbariHandlerList.processHandlers(AmbariHandlerList.java:209)
>>      at 
>> org.apache.ambari.server.controller.AmbariHandlerList.processHandlers(AmbariHandlerList.java:197)
>>      at 
>> org.apache.ambari.server.controller.AmbariHandlerList.handle(AmbariHandlerList.java:132)
>>      at 
>> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
>>      at org.eclipse.jetty.server.Server.handle(Server.java:370)
>>      at 
>> org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
>>      at 
>> org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
>>      at 
>> org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
>>      at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
>>      at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
>>      at 
>> org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
>>      at 
>> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
>>      at 
>> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
>>      at 
>> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
>>      at 
>> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
>>      at java.lang.Thread.run(Thread.java:744)
>>
>>
>> What's even more surprising is I can find in the server's architecture
>> the corresponding page, which have been generated by Ambari, but it seems
>> there is a Jetty error preventing me to access this page.
>> Do anyone as an idea about how to solve this ?
>>
>> Thanks in advance for your help,
>> Regards,
>>
>>
>> Loïc
>>
>> Loïc CHANEL
>> System & virtualization engineer
>> TO - XaaS Ind - Worldline (Villeurbanne, France)
>>
>
>

Reply via email to