Forums de discussion

Massive exception when content save

petar tahchiev, modifié il y a 12 années.

Massive exception when content save

New Member Publications: 3 Date d'inscription: 13/03/12 Publications récentes
Hi everyone,

I just downloaded the latest Liferay (6.1.0-ce-GA1) and started it. After that I went to ControlPanel->WebContent and wanted to edit the Welcome web content that comes with Liferay. I didnt make ANY change at all!!!! But when I save it I see a massive exception in the logs(1) and the page is saved as HTML+CSS(2).

1) Tomcat logs:

16:58:14,184 ERROR [LocaleTransformerListener:129] 
com.liferay.portal.kernel.xml.DocumentException: Error on line 4 of document  : The entity "reg" was referenced, but not declared. Nested exception: The entity "reg" was referenced, but not declared.
	at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:403)
	at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:381)
	at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:413)
	at com.liferay.portal.kernel.xml.SAXReaderUtil.read(SAXReaderUtil.java:151)
	at com.liferay.portlet.journal.util.LocaleTransformerListener.replace(LocaleTransformerListener.java:96)
	at com.liferay.portlet.journal.util.LocaleTransformerListener.onXml(LocaleTransformerListener.java:61)
	at com.liferay.portlet.journal.model.impl.JournalArticleImpl.getContentByLocale(JournalArticleImpl.java:48)
	at org.apache.jsp.html.portlet.journal.article.content_jsp._jspService(content_jsp.java:1006)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at com.liferay.portal.kernel.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:45)
	at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:323)
	at com.liferay.taglib.util.IncludeTag._doInclude(IncludeTag.java:418)
	at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:92)
	at org.apache.jsp.html.taglib.ui.form_005fnavigator.page_jsp._jspService(page_jsp.java:509)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at com.liferay.portal.kernel.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:45)
	at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:323)
	at com.liferay.taglib.util.IncludeTag._doInclude(IncludeTag.java:418)
	at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:92)
	at org.apache.jsp.html.portlet.journal.edit_005farticle_jsp._jspService(edit_005farticle_jsp.java:2522)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at com.liferay.portal.kernel.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:45)
	at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:323)
	at com.liferay.taglib.util.IncludeTag._doInclude(IncludeTag.java:418)
	at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:92)
	at org.apache.jsp.html.common.themes.portlet_jsp._jspService(portlet_jsp.java:3809)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:70)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530)
	at com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:316)
	at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:120)
	at com.liferay.portal.struts.PortletRequestProcessor.doInclude(PortletRequestProcessor.java:281)
	at com.liferay.portal.struts.PortletRequestProcessor.doForward(PortletRequestProcessor.java:251)
	at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
	at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:302)
	at com.liferay.portal.struts.PortletRequestProcessor.processForwardConfig(PortletRequestProcessor.java:389)
	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
	at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:230)
	at com.liferay.portlet.StrutsPortlet.include(StrutsPortlet.java:239)
	at com.liferay.portlet.StrutsPortlet.doView(StrutsPortlet.java:152)
	at com.liferay.portal.kernel.portlet.LiferayPortlet.doDispatch(LiferayPortlet.java:211)
	at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
	at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
	at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:651)
	at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:722)
	at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:426)
	at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1215)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:70)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530)
	at com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:4735)
	at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1455)
	at com.liferay.portlet.layoutconfiguration.util.RuntimePortletImpl.processPortlet(RuntimePortletImpl.java:213)
	at com.liferay.portlet.layoutconfiguration.util.RuntimePortletImpl.processPortlet(RuntimePortletImpl.java:135)
	at com.liferay.portlet.layoutconfiguration.util.RuntimePortletImpl.processPortlet(RuntimePortletImpl.java:122)
	at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:54)
	at com.liferay.portlet.layoutconfiguration.util.velocity.PortletLogic.processContent(PortletLogic.java:75)
	at com.liferay.portlet.layoutconfiguration.util.velocity.TemplateProcessor.processMax(TemplateProcessor.java:83)
	at sun.reflect.GeneratedMethodAccessor1642.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)
	at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342)
	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
	at org.apache.velocity.Template.merge(Template.java:328)
	at org.apache.velocity.Template.merge(Template.java:235)
	at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:381)
	at com.liferay.portal.velocity.VelocityEngineImpl.mergeTemplate(VelocityEngineImpl.java:184)
	at com.liferay.portal.kernel.velocity.VelocityEngineUtil.mergeTemplate(VelocityEngineUtil.java:61)
	at com.liferay.portlet.layoutconfiguration.util.RuntimePortletImpl.processTemplate(RuntimePortletImpl.java:277)
	at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:118)
	at org.apache.jsp.html.portal.layout.view.control_005fpanel_jsp._jspService(control_005fpanel_jsp.java:681)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:70)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530)
	at com.liferay.portal.action.LayoutAction.includeLayoutContent(LayoutAction.java:412)
	at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:680)
	at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:244)
	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:174)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:533)
	at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:510)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	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:113)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:201)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
	at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:240)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:70)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
	at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:135)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
	at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:304)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
	at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:123)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:201)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
	at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:241)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
	at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:55)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
	at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:240)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
	at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
	at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:80)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:208)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:184)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:164)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:164)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:184)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:70)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
Caused by: org.dom4j.DocumentException: Error on line 4 of document  : The entity "reg" was referenced, but not declared. Nested exception: The entity "reg" was referenced, but not declared.
	at org.dom4j.io.SAXReader.read(SAXReader.java:482)
	at org.dom4j.io.SAXReader.read(SAXReader.java:365)
	at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:400)
	... 230 more

2) The way the content is saved:

<style type="text/css"> .welcome { border: 1px solid #A7A6A9; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; color: #333; font-size: 1.21em; margin-bottom: 15px; padding: 10px; } .welcome .intro { font-size: 1.5em; } .welcome h2, .welcome h4 { margin: 0 0 .5em; } .welcome h3 { clear: both; margin: .5em 0 .15em; } .welcome h4 { color: #28477C; padding: .5em 0 0; } .welcome img.right { float: right; margin-left: 10px; } .welcome img.left { float: left; margin-right: 10px; } .welcome blockquote { font-family: "Garamond", "Georgia", Times, serif; font-size: 1.5em; font-style: italic; line-height: 1; } .welcome hr { border: none; border-bottom: 1px solid #CCC; border-top: 1px solid #EEE; clear: both; padding: 0; }</style> <div class="welcome"> <h2> Welcome!</h2> <img alt="Shared Workspaces" class="right" src="/image/10180/db4066b5-ad36-42a4-87b0-36afe9df3f11"> <p class="intro"> Thank you for your interest in Liferay Portal, the leading open source web platform for the enterprise.</p> <p> Enterprises around the world use Liferay Portal to build solutions that deliver immediate results and long-term value. Application integration, web publishing, social networking, and team collaboration are just a few of the use-cases for Liferay Portal. Learn how Liferay can help your organization by test-driving some of the various features on this site.</p> <h4> An All-in-One Package</h4> <p> Liferay Portal is lightweight but also feature-rich, with broad product capabilities (over 70 out-of-the-box portlets) to provide immediate return on investment:</p> <ul> <li> <p> Content &amp; Document Management with Microsoft Office integration</p> </li> <li> <p> Flexible Web Publishing and Shared Workspaces</p> </li> <li> <p> Enterprise Collaboration</p> </li> <li> <p> Built-in Social Networking and Mashups</p> </li> <li> <p> Enterprise Portal framework and Identity Management</p> </li> </ul> <h4> Built for the End-User</h4> <p> Liferay values the importance of communication and knowledge-sharing between users. For that reason, Liferay Portal was designed with usability in mind. Increase productivity by creating workspaces and workflows for documents, content and more. Create a central hub of data and collaboration for your entire team.</p> <p> Test drive how collaboration and knowledge management might work depending on your user role.</p> <img alt="Liferay Community Image" class="right" src="/image/10180/9ea8fc22-f245-43f2-b3cc-ebac09e23bc0"> <h4> Open &amp; Flexible for the Developer</h4> <ul> <li> <p> SOA - Streamline development with built-in developer tools, LDAP, web services, and Spring-based architecture. Rapidly produce portlets and applications that are customizable to your needs.</p> </li> <li> <p> Enterprise Integration - Liferay Portal meets industry standards to reduce risk and increase reusability within the product.</p> </li> <li> <p> Mashups - Liferay supports mashup development with support for widgets, Facebook® integration, iGoogle® support, and GoogleMaps®.</p> </li> </ul> <h4> Ready for the Enterprise</h4> <img alt="Platform Image" class="right" src="/image/10180/42d224eb-fec8-4132-a4d4-a7e97619e9bb"> <ul> <li> Granular management of user roles</li> <li> Highly scalable, supporting millions of users, daily page hits and more</li> <li> Supports both horizontal and vertical scaling methodologies</li> <li> Clusterable configuration for high availability</li> <li> Implements top ten OWASP-recommended security practices</li> <li> Options for Terracotta, Oracle RAC, and other scalability soluti ons</li> <li> Deployable to the Cloud and available as SaaS</li> </ul> <h3> About Liferay, Inc</h3> <h4> Independent Market Leader</h4> <p> As the only major independent portal vendor in the market without a stack agenda, Liferay is committed to making technology decisions based on customer satisfaction, not on maximizing revenue from other product lines.</p> <p> Liferay, Inc. offers a full suite of professional services built around our technology:</p> <ul> <li> <a href="http://www.liferay.com/services/subscription">Enterprise Support</a></li> <li> <a href="http://www.liferay.com/services/training">Training</a> customizable to fit your organization's needs.</li> <li> <a href="http://www.liferay.com/services/consulting">Consulting services for</a> every stage of the application lifecycle.</li> </ul> <h4> International, Cross-Industry Solution Provider</h4> <p> <img alt="Cisco" src="/image/10180/abca53f0-5218-4b42-b64f-df7173677230"> <img alt="Sesame Street" src="/image/10180/54fa524d-1b39-4036-8540-7aeddf3d489c"> <img alt="Société Génerale" src="/image/10180/e844221b-cbfe-4703-8b00-76ee571921e2"> <img alt="T-Mobile" src="/image/10180/d1ac6602-ec55-4d6f-8fd6-7d7c005d7da1"> <img alt="BARCLAYS" src="/image/10180/e017296a-7434-4178-958b-37086df30adf"> <img alt="AutoZone" src="/image/10180/e8433999-457c-42ce-8bc0-0f8666385f3a"> <img alt="China Mobile" src="/image/10180/e51570b2-3499-4072-bbbf-51edfba78b51"></p> <p> For other case studies and more, visit&nbsp;<a href="http://www.liferay.com/products/liferay-portal/stories"><u>Liferay: Stories</u></a>.<br> To learn more about Liferay's products and services, please visit <a href="http://www.liferay.com/"><u>www.liferay.com</u></a>.</p> <p> Visit us: <a href="http://www.liferay.com/"><u>Liferay.com</u></a></p> <p> Follow us: <a href="http://twitter.com/liferay" target="_blank">twitter.com/liferay</a></p> <p> Like us: <a href="http://facebook.com/liferay" target="_blank">facebook.com/liferay</a></p> </div>


Thank you
thumbnail
Hitoshi Ozawa, modifié il y a 12 années.

RE: Massive exception when content save

Liferay Legend Publications: 7942 Date d'inscription: 24/03/10 Publications récentes
Are you using the Tomcat bundle on Windows?

page is saved as HTML+CSS(2).

Do you mean this is the content of the database when you save the page? Which table and which column?
Tibor Kiss, modifié il y a 11 années.

RE: Massive exception when content save

Junior Member Publications: 52 Date d'inscription: 29/01/07 Publications récentes
I have completely different content... just one simple like this
<p>that is</p>

it is enough to throw the same error.

And I have the same error on two different instances, on different computers.
thumbnail
Hitoshi Ozawa, modifié il y a 11 années.

RE: Massive exception when content save

Liferay Legend Publications: 7942 Date d'inscription: 24/03/10 Publications récentes
Don't edit the demo web content. Delete the web content portlet on the page and add a new web content portlet from the "Add" menu. Enter your content in that.
Tibor Kiss, modifié il y a 11 années.

RE: Massive exception when content save

Junior Member Publications: 52 Date d'inscription: 29/01/07 Publications récentes
Finally I investigated what was the exact cause.
I had in my text a registered trademark symbol. Even if I copied through plain text editor or with formatting information, the same issue I had.
The registered trademark symbol could broke my page and all the html markup just suddenly transformed into a textual content, I mean all the html markup has just being made visible in the FCKEditor, but when I tried to save, the exception has been thrown, plus the content appeared as an empty content.
Interesting is that after I messed the content with this, the simplest markup looked like it is invalid. But this was a side effect.

So I tried to drop that content, recreate again until I could isolate the problem. The solution was that instead of directly writing the registered trademark symbol into the formatted text, I turned the FCKEditor into html markup view and there I added
<sup>®</sup>

Then I saved with success. (this is that content, there you can see around 3 registered trademark symbols)

But this is not enough. Once you open that content again, the FCKEditor automatically shows the registered trademark symbol and if you would like to save it again, the same problem just appears again. Until I noticed that before every new save action, I had to go into html code view with FCKEditor and change it back the registered symbol to the html markup one, mentioned previously.

My database is mysql utf8 and the jdbc connection url is
jdbc:mysql://localhost/liferay?useUnicode=true&amp;characterEncoding=UTF-8


Apparently for me this seems to be the problem of the FCKEditor and their integration into the Liferay.
thumbnail
Hitoshi Ozawa, modifié il y a 11 années.

RE: Massive exception when content save

Liferay Legend Publications: 7942 Date d'inscription: 24/03/10 Publications récentes
Yes, there's some character limitation. I've experienced it and there have been other posts about it too. As you've stated, it's the problem with the editor and Liferay.com has been fixing third party software to make them work. I've been fixing these in my Japanese version but I'm integrating with Japanese third party software so it probably won't work for other language users. Have you tried changing the default editor?
#
# You can configure individual JSP pages to use a specific implementation of
# the available WYSIWYG editors: ckeditor, fckeditor, liferay, simple,
# tinymce, or tinymcesimple.
#
editor.wysiwyg.portal-web.docroot.html.portlet.journal.edit_article_content.jsp=ckeditor
editor.wysiwyg.portal-web.docroot.html.portlet.journal.edit_article_content_xsd_el.jsp=ckeditor
editor.wysiwyg.portal-web.docroot.html.portlet.journal.edit_configuration.jsp=ckeditor
thumbnail
Abhed Dekavadiya, modifié il y a 11 années.

RE: Massive exception when content save

Junior Member Publications: 74 Date d'inscription: 05/10/10 Publications récentes
Hi Tibor,

Did you found any solution for this? I am facing the same issue on Liferay 6.1.0 (GA1) for another editor "ckeditor".
Your suggested work-around is also not working for me.

kind regards,
Abhed Dekavadiya