AnsweredAssumed Answered

AVMRemote violates loader constraints problem

Question asked by grumpy.burton on Mar 22, 2007
Latest reply on Mar 26, 2007 by grumpy.burton
Any idea what might cause the following? I've been doing something like it in JSPs and have not moved it into a taglib and get the following…

Thanks,
Alex.

XSLTRenderingEngine render = new XSLTRenderingEngine();
FormDataFunctions ef = new ServletContextFormDataFunctionsAdapter(pageContext.getServletContext());
docs = ef.parseXMLDocuments(this.getWcmForm(), this.getRoot());


java.lang.LinkageError: Class org/alfresco/service/cmr/remote/AVMRemote violates loader constraints
   java.lang.ClassLoader.defineClass1(Native Method)
   java.lang.ClassLoader.defineClass(ClassLoader.java:620)
   java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
   org.alfresco.catalina.loader.AVMWebappClassLoader.findClassInternal(AVMWebappClassLoader.java:1854)
   org.alfresco.catalina.loader.AVMWebappClassLoader.findClass(AVMWebappClassLoader.java:908)
   org.alfresco.catalina.loader.AVMWebappClassLoader.loadClass(AVMWebappClassLoader.java:1361)
   org.alfresco.catalina.loader.AVMWebappClassLoader.loadClass(AVMWebappClassLoader.java:1240)
   java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
   org.alfresco.web.forms.FormDataFunctions.parseXMLDocuments(FormDataFunctions.java:93)
   org.alfresco.web.forms.ServletContextFormDataFunctionsAdapter.parseXMLDocuments(ServletContextFormDataFunctionsAdapter.java:78)
   au.com.objectconsulting.alfresco.tags.AlfrescoWCMTag.process(AlfrescoWCMTag.java:88)
   au.com.objectconsulting.alfresco.tags.AlfrescoWCMTag.doStartTag(AlfrescoWCMTag.java:128)
   org.apache.jsp.process_005funit.index_jsp._jspx_meth_aw_content_0(index_jsp.java:117)
   org.apache.jsp.process_005funit.index_jsp._jspService(index_jsp.java:81)
   org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   org.alfresco.filter.CacheControlFilter.doFilter(CacheControlFilter.java:151)

Outcomes