AnsweredAssumed Answered

Problems installing Alfresco Web Editor

Question asked by sselvan on Jul 27, 2010
Latest reply on Jul 31, 2010 by dmihelj
I am following http://wiki.alfresco.com/wiki/Web_Editor to install the Alfresco web editor and trying to open the sample application (customer.war) in browser. I am getting this error at that time (when I access http://localhost:8080/customer).

Please help…

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: An exception occurred processing JSP page /includes/body.jsp at line 4

1: <body>
2:   
3:    <h1>
4:       <customer:property nodeRef="<%=mainTextNodeRef%>" property="cm:title" />
5:       <awe:markContent id="<%=mainTextNodeRef%>" title="Edit Press Release" />
6:    </h1>
7:   


Stacktrace:
   org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   org.alfresco.web.awe.filter.WebEditorFilter.doFilter(WebEditorFilter.java:70)

root cause

javax.servlet.ServletException: javax.servlet.jsp.JspException: org.json.JSONException: A JSONObject text must begin with '{' at character 1
   org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:852)
   org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
   org.apache.jsp.index_jsp._jspService(index_jsp.java:266)
   org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   org.alfresco.web.awe.filter.WebEditorFilter.doFilter(WebEditorFilter.java:70)

root cause

javax.servlet.jsp.JspException: org.json.JSONException: A JSONObject text must begin with '{' at character 1
   org.customer.PropertyTag.doStartTag(PropertyTag.java:114)
   org.apache.jsp.index_jsp._jspService(index_jsp.java:118)
   org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   org.alfresco.web.awe.filter.WebEditorFilter.doFilter(WebEditorFilter.java:70)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.
Apache Tomcat/6.0.18

Outcomes