Fórum
Jsp Issue in Liferay portal 6.1.1
Muhammad Amir Hanif, modificado 10 Anos atrás.
Jsp Issue in Liferay portal 6.1.1
Junior Member Postagens: 28 Data de Entrada: 16/05/13 Postagens Recentes
Hi,
Getting the below mentioned error when deploying Liferay-portal-6.1.1 on weblogic 11g
<0000JwE6qgMDsXSemDYBTJ1HfPXV000001> <1370331382369> <BEA-101342> <liferay-portal-6: Error(s) encountered while pre-compiling jsp jspURI
configuration.jsp:17:18: Error in "init.jsp" at line 249: The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit
<%@ include file="/html/portlet/asset_publisher/init.jsp" %>
Regards,
Muhammad Amir Hanif
Getting the below mentioned error when deploying Liferay-portal-6.1.1 on weblogic 11g
<0000JwE6qgMDsXSemDYBTJ1HfPXV000001> <1370331382369> <BEA-101342> <liferay-portal-6: Error(s) encountered while pre-compiling jsp jspURI
configuration.jsp:17:18: Error in "init.jsp" at line 249: The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit
<%@ include file="/html/portlet/asset_publisher/init.jsp" %>
Regards,
Muhammad Amir Hanif
sam md, modificado 8 Anos atrás.
RE: Jsp Issue in Liferay portal 6.1.1
New Member Postagens: 13 Data de Entrada: 23/11/15 Postagens Recentes
Hi bro,
Did you get the answer? I am also getting the same error. Can you please reply me if you did got the answer
Thank you
Did you get the answer? I am also getting the same error. Can you please reply me if you did got the answer
Thank you
Shiva Krishna Goud, modificado 8 Anos atrás.
RE: Jsp Issue in Liferay portal 6.1.1
Regular Member Postagens: 110 Data de Entrada: 02/01/15 Postagens RecentesMuhammad Amir Hanif:
Hi,
Getting the below mentioned error when deploying Liferay-portal-6.1.1 on weblogic 11g
<0000JwE6qgMDsXSemDYBTJ1HfPXV000001> <1370331382369> <BEA-101342> <liferay-portal-6: Error(s) encountered while pre-compiling jsp jspURI
configuration.jsp:17:18: Error in "init.jsp" at line 249: The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit
<%@ include file="/html/portlet/asset_publisher/init.jsp" %>
Regards,
Muhammad Amir Hanif
normally in liferay tomcat folder/conf/web.xml
inside web.xml modify the tag
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>mappedfile</param-name>
<param-value>false</param-value>
</init-param>
</servlet>
this will fix issue or else you can go with other alternative <jsp:include page="/html/portlet/asset_publisher/init.jsp" />
Shiva Krishna Goud, modificado 8 Anos atrás.
RE: Jsp Issue in Liferay portal 6.1.1
Regular Member Postagens: 110 Data de Entrada: 02/01/15 Postagens Recentessam md:
Hi SHiva,
I am using maven instead of tomcat. CAN you tell me how can I avoid this issue for maven please.
Thank you
Sam
maven is build automation tool ant tomcat is server .
once try using this
<jsp:include page="/html/portlet/asset_publisher/init.jsp" />
Kanwar Yuvraj Singh, modificado 6 Anos atrás.
RE: Jsp Issue in Liferay portal 6.1.1
New Member Postagens: 10 Data de Entrada: 01/04/15 Postagens RecentesShiva goud:
Muhammad Amir Hanif:Hi,
Getting the below mentioned error when deploying Liferay-portal-6.1.1 on weblogic 11g
<0000JwE6qgMDsXSemDYBTJ1HfPXV000001> <1370331382369> <BEA-101342> <liferay-portal-6: Error(s) encountered while pre-compiling jsp jspURI
configuration.jsp:17:18: Error in "init.jsp" at line 249: The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit
<%@ include file="/html/portlet/asset_publisher/init.jsp" %>
Regards,
Muhammad Amir Hanif
normally in liferay tomcat folder/conf/web.xml
inside web.xml modify the tag
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>mappedfile</param-name>
<param-value>false</param-value>
</init-param>
</servlet>
this will fix issue or else you can go with other alternative <jsp:include page="/html/portlet/asset_publisher/init.jsp" />
@Muhammad Amir Hanif: Did you try the fix provided by Shiva goud related to changes in web.xml in tomcat/conf folder? Did it work?
Rohit Rai, modificado 6 Anos atrás.
RE: Jsp Issue in Liferay portal 6.1.1
New Member Mensagem: 1 Data de Entrada: 12/07/13 Postagens Recentes
Hi All,
Well the suggestion to add the following did work for most of the stuff except the
However every time I try to get into the
Well the suggestion to add the following did work for most of the stuff except the
Plugins Installationon the Control Panel.
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>fork</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>xpoweredBy</param-name>
<param-value>false</param-value>
</init-param>
However every time I try to get into the
Plugins Installationto install a custom plugin I get the same exception.
SEVERE: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: [468] in the generated java file: [C:\XXXXX\apache-tomcat\apache-tomcat-7.0.84\work\Catalina\localhost\_\org\apache\jsp\html\portlet\admin\view_jsp.java]
The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit
Stacktrace:
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366)
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:498)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:379)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:341)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:660)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:364)
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:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:743)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:603)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:542)
at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegisterDispatcher.java:53)
at com.liferay.portal.servlet.PACLRequestDispatcherWrapper.doDispatch(PACLRequestDispatcherWrapper.java:90)
at com.liferay.portal.servlet.PACLRequestDispatcherWrapper.include(PACLRequestDispatcherWrapper.java:54)
at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:345)
David H Nebinger, modificado 6 Anos atrás.