[opencms-dev] "No XML schema set for content definition" error on direct edit

Andrew Myers am2605 at gmail.com
Thu May 22 01:56:46 CEST 2008


Hi,

I've created a template which has some directly editable components,
defined like this:

         	<cms:template element="announcements">
         		<cms:include element="announcements" editable="true"/>
         	</cms:template>

On my development box they work fine, but on my production server I
get the error shown below when I press the "edit" icon.

I am guessing this is because I installed everything from the install
wizard on my own PC, but my host only installed the bare minimum of
modules on the production server.

Is anyone able to give me a pointer as to what I am missing and how
best to fix this error?

Many thanks in advance,
Andrew.

javax.servlet.ServletException: javax.servlet.jsp.JspException: No XML
schema set for content definition.
	at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:839)
	at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:776)
	at org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.editors.editor_005fmain_jsp._jspService(editor_005fmain_jsp.java:58)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
	at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:194)
	at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169)
	at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:1172)
	at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:423)
	at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:173)
	at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:1206)
	at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:1150)
	at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:964)
	at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1494)
	at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:152)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
	at java.lang.Thread.run(Thread.java:595)



More information about the opencms-dev mailing list