Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2560B177F1 for ; Wed, 23 Sep 2015 06:46:08 +0000 (UTC) Received: (qmail 71451 invoked by uid 500); 23 Sep 2015 06:46:05 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 71414 invoked by uid 500); 23 Sep 2015 06:46:05 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 71398 invoked by uid 99); 23 Sep 2015 06:46:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2015 06:46:04 +0000 Date: Wed, 23 Sep 2015 06:46:04 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-12321) error ambari-view example (hello-spring-view) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)