[ 
https://issues.apache.org/jira/browse/AMBARI-12321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14904196#comment-14904196
 ] 

Hudson commented on AMBARI-12321:
---------------------------------

FAILURE: Integrated in Ambari-branch-2.1 #583 (See 
[https://builds.apache.org/job/Ambari-branch-2.1/583/])
AMBARI-12321. error ambari-view example (hello-spring-view) 
java.lang.AbstractMethodError. (Nitiraj Rathore via yusaku) (yusaku: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=78578ae880b7a879176a94cdde20edce0dff89e9)
* contrib/views/utils/pom.xml
* contrib/views/files/pom.xml
* contrib/views/capacity-scheduler/pom.xml
* contrib/views/hive/pom.xml
* contrib/views/pig/pom.xml


> error ambari-view example (hello-spring-view)
> ---------------------------------------------
>
>                 Key: AMBARI-12321
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12321
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-views
>    Affects Versions: 2.1.0
>         Environment: Sandbox (HDP 2.3)
>            Reporter: Seungyeop Shin
>            Assignee: Nitiraj Singh Rathore
>             Fix For: 2.1.3
>
>         Attachments: AMBARI-12321_branch-2.1.patch
>
>
> When I was practice "hello-spring-view" on ambari(2.1.0) for spring web app 
> in view, an error is occured the view page.
> Problem accessing /views/HELLO_SPRING/1.0.0/INSTANCE/. Reason:
>     Server Error
> Caused by:
> java.lang.AbstractMethodError: 
> javax.servlet.jsp.PageContext.getELContext()Ljavax/el/ELContext;
>       at 
> org.apache.jasper.runtime.PageContextImpl.evaluateExpression(PageContextImpl.java:994)
>       at 
> org.apache.jsp.WEB_002dINF.jsp.hello_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.hello_jsp:68)
>       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
>       at 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
>       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:770)
>       at 
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)
>       at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
>       at 
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:575)
> - I had to move the view.xml file in "hello-spring-view" to src/main/webapp, 
> since ambari couldn't extract war file in 
> /var/lib/ambari-server/resources/views/work automatically. That means ambari 
> can't recognize view package if the view.xml file isn't located in root of 
> the view package.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to