OOPS - An error occurred; could not create document container message when using weblogs
Issue
Unable to do add entries a weblog, Modify an existing weblog or create a new weblog.
When trying to perform any of these actions the following error is displayed:
OOPS - An error occurred; could not create document container message when using weblogs
Stack trace shows the following:
OOPS - An error occurred.
Message: could not create document container
org.chiba.xml.xforms.exception.XFormsException: could not create document
container
at org.chiba.xml.xforms.ChibaBean.setXMLContainer(ChibaBean.java:322)
at
org.chiba.adapter.AbstractChibaAdapter.setXForms(AbstractChibaAdapter.java:149)
at
org.chiba.web.session.impl.AbstractXFormsSession.setXForms(AbstractXFormsSession.java:298)
at org.chiba.web.filter.XFormsFilterB.doFilter(XFormsFilterB.java:114)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xerox.docushare.amber.util.UTF8Filter.doFilter(UTF8Filter.java:28)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:686)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.xml.sax.SAXParseException: The entity name must immediately
follow the '&' in the entity reference.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
at org.chiba.xml.xforms.ChibaBean.setXMLContainer(ChibaBean.java:319)
... 21 more
Solution
If site has any customization verify that they are not causing the issue by doing the following:
1. Open Windows Explorer and browse to the \amber\templates\local directory.
Where is replaced with the installation directory for DocuShare. Depending on your installation environment the path may vary. The default installation path during installation is C:\Xerox\Docushare.
Note: If the local directory does not exist then the site most likely does not have customizations.
2. Rename the local directory temporarily.
3. Refresh the page and try recreating the issue. If the issue no longer occurs then it occurred due to a customization that will need to be fixed.
Solution Published: January 13th, 2012
Solution ID: 1026