Hi Ruwan,

I think you will need to add the following property to wso2server.sh and
the wso2server.bat appropriately.. It was discuss in [1].

-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false \


[1] - http://mail.wso2.org/mailarchive/dev/2014-April/029523.html

Thanks,
Harsha

On Fri, Jun 26, 2015 at 12:24 PM, Ruwan Abeykoon <ruw...@wso2.com> wrote:

> Hi Registry/Governance team,
>
> The issue I am getting is due to couple of places in carbon-registry and
> carbon-governance e.g. in [1]
>
> <carbon:breadcrumb
>  label="<%=request.getParameter("breadcrumb")%>"
> topPage="true"
> request="<%=request%>"/>
>
> I think having quote in the "label" attribute is wrong.
> can we change them to something like
>
> <carbon:breadcrumb
> label="${param[\"breadcrumb\"]}"
> topPage="true"
> request="<%=request%>"/>
>
>
> [1]
> https://github.com/wso2/carbon-governance/blob/065e7ee6511d5608694b93abab8b340c87a666d0/components/governance/org.wso2.carbon.governance.generic.ui/src/main/resources/web/generic/list.jsp
>
> On Thu, Jun 25, 2015 at 11:39 AM, Ruwan Abeykoon <ruw...@wso2.com> wrote:
>
>> Hi Carbon team,
>> I am getting an exception in all the registry ui pages along the line of
>> $subject.  It could be a missing or incompatible jar related to jasper
>> compiler.
>>
>> Running Carbon 4.4.0
>> JDK : 1.7.0_79
>>
>> What could be the cause?
>>
>> Part of the stack trace, hope this is sufficient --
>> ---------------------------------------------------------------
>>
>> Caused by: org.apache.jasper.JasperException: An exception occurred
>> processing JSP page /relations/relations.jsp at line 28
>>
>>
>> 25: <jsp:include page="../relations/relations-i18n-ajaxprocessor.jsp"/>
>>
>> 26: <script type="text/javascript"
>> src="../relations/js/relations.js"></script>
>>
>> 27:
>>
>> 28: <jsp:include page="../relations/dependencies.jsp"/>
>>
>> 29:
>>
>> 30: <jsp:include page="../relations/associations.jsp"/>
>>
>> 31:
>>
>>
>>
>> Stacktrace:
>>
>> at
>> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)
>>
>> at
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)
>>
>> at
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
>>
>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>
>> at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
>>
>> at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>
>> at
>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
>>
>> at
>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
>>
>> at
>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
>>
>> at
>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>
>> at
>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>
>> at
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
>>
>> at
>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
>>
>> at
>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
>>
>> at
>> org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37)
>>
>> at
>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:369)
>>
>> at
>> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)
>>
>> at
>> org.apache.jsp.resources.resource_jsp._jspService(resource_jsp.java:456)
>>
>> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>
>> at
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
>>
>> ... 102 more
>>
>> Caused by: org.apache.jasper.JasperException: An exception occurred
>> processing JSP page /relations/dependencies.jsp at line 131
>>
>>
>> 128:         <% String url =
>> "../relations/association-list-ajaxprocessor.jsp?type=depends&path=" +
>> request.getParameter("path").replaceAll("&","%26"); %>
>>
>> 129:         <div id="dependenciesDiv">
>>
>> 130:
>>
>> 131:             <jsp:include page="<%=url%>"/>
>>
>> 132:         </div>
>>
>> 133:     </div>
>>
>> 134: </fmt:bundle>
>>
>>
>>
>> Stacktrace:
>>
>> at
>> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)
>>
>> at
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)
>>
>> at
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
>>
>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>
>> at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
>>
>> at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>
>> at
>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
>>
>> at
>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
>>
>> at
>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
>>
>> at
>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>
>> at
>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>
>> at
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
>>
>> at
>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
>>
>> at
>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
>>
>> at
>> org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37)
>>
>> at
>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:369)
>>
>> at
>> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)
>>
>> at
>> org.apache.jsp.relations.relations_jsp._jspService(relations_jsp.java:103)
>>
>> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>
>> at
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
>>
>> ... 126 more
>>
>> Caused by: org.apache.jasper.JasperException:
>> java.lang.ClassNotFoundException:
>> org.apache.jsp.relations.association_002dlist_002dajaxprocessor_jsp
>>
>> at
>> org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:177)
>>
>> at
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
>>
>> at
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
>>
>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>
>> at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
>>
>> at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>
>> at
>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
>>
>> at
>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
>>
>> at
>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
>>
>> at
>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>
>> at
>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>
>> at
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
>>
>> at
>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
>>
>> at
>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
>>
>> at
>> org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37)
>>
>> at
>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:369)
>>
>> at
>> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)
>>
>> at
>> org.apache.jsp.relations.dependencies_jsp._jspService(dependencies_jsp.java:277)
>>
>> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>
>> at
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
>>
>> ... 150 more
>>
>> Caused by: java.lang.ClassNotFoundException:
>> org.apache.jsp.relations.association_002dlist_002dajaxprocessor_jsp
>>
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>>
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>>
>> at java.security.AccessController.doPrivileged(Native Method)
>>
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>>
>> at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:132)
>>
>> at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:63)
>>
>> at
>> org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:121)
>>
>> at
>> org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:172)
>>
>> ... 175 more
>>
>>
>> --
>>
>> *Ruwan Abeykoon*
>> *Architect,*
>> *WSO2, Inc. http://wso2.com <http://wso2.com/> *
>> *lean.enterprise.middleware.*
>>
>> email: ruw...@wso2.com
>> phone:(+94) 777739736
>>
>
>
>
> --
>
> *Ruwan Abeykoon*
> *Architect,*
> *WSO2, Inc. http://wso2.com <http://wso2.com/> *
> *lean.enterprise.middleware.*
>
> email: ruw...@wso2.com
> phone:(+94) 777739736
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Harsha Kumara
Software Engineer, WSO2 Inc.
Mobile: +94775505618
Blog:harshcreationz.blogspot.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to