ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-12321) error ambari-view example (hello-spring-view)
Date Wed, 23 Sep 2015 06:46:04 GMT

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

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

SUCCESS: Integrated in Ambari-trunk-Commit #3491 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3491/])
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=3df60b4fb2e78fe27e97063260d2a2172304fe63)
* contrib/views/hive/pom.xml
* contrib/views/capacity-scheduler/pom.xml
* contrib/views/utils/pom.xml
* contrib/views/pig/pom.xml
* contrib/views/files/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)

Mime
View raw message