AnsweredAssumed Answered

XSL Rendition - Could not compile stylesheet...

Question asked by desropolis on Dec 2, 2008
Latest reply on Feb 15, 2011 by jameszh
I am working through the WCM 2.1 Product Evaluation Guide using the Alfresco Enterpise 3.0 release.

When I attempt to create the first press release (WorldEconomicForum_Tech_Pioneer) I get the following exception:
Error generating rendition using press-release.xsl: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet

The stacktrace is as follows:
09:50:40,832 DEBUG [org.alfresco.web.forms.RenderingEngineTemplateImpl] processed pattern <#ftl ns_prefixes={
"alf":"http://www.alfresco.org",
"chiba":"http://chiba.sourceforge.net/xforms",
"ev":"http://www.w3.org/2001/xml-events",
"pr":"http://www.alfresco.org/alfresco/pr",
"xf":"http://www.w3.org/2002/xforms",
"xhtml":"http://www.w3.org/1999/xhtml",
"xs":"http://www.w3.org/2001/XMLSchema",
"xsi":"http://www.w3.org/2001/XMLSchema-instance"}>
/${webapp}/media/releases/content/${name}.${extension} as alfrescosample–admin–preview:/www/avm_webapps/ROOT/media/releases/content/WorldEconomicForum_Tech_Pioneer.html
09:50:40,879 DEBUG [org.alfresco.web.forms.RenderingEngineTemplateImpl] Created file node for file: alfrescosample–admin–preview:/www/avm_webapps/ROOT/media/releases/content/WorldEconomicForum_Tech_Pioneer.html
09:50:41,347 ERROR [org.alfresco.web.forms.XSLTRenderingEngine] javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
09:50:41,363 ERROR [org.alfresco.web.ui.common.Utils] Error generating rendition using press-release.xsl: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
org.alfresco.web.forms.RenderingEngine$RenderingException: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
   at org.alfresco.web.forms.XSLTRenderingEngine.render(XSLTRenderingEngine.java:500)
   at org.alfresco.web.forms.XSLTRenderingEngine.render(XSLTRenderingEngine.java:377)
   at org.alfresco.web.forms.RenderingEngineTemplateImpl.render(RenderingEngineTemplateImpl.java:332)
   at org.alfresco.web.forms.RenderingEngineTemplateImpl.render(RenderingEngineTemplateImpl.java:305)
   at org.alfresco.web.bean.wcm.CreateWebContentWizard.saveContent(CreateWebContentWizard.java:601)
   at org.alfresco.web.bean.wcm.CreateWebContentWizard$2.execute(CreateWebContentWizard.java:291)
   at org.alfresco.web.bean.wcm.CreateWebContentWizard$2.execute(CreateWebContentWizard.java:288)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:320)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:227)
   at org.alfresco.web.bean.wcm.CreateWebContentWizard.next(CreateWebContentWizard.java:299)
   at org.alfresco.web.bean.wizard.WizardManager.next(WizardManager.java:541)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:132)
   at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:61)
   at javax.faces.component.UICommand.broadcast(UICommand.java:109)
   at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:97)
   at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:171)
   at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)
   at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)
   at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:81)
   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:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
   at java.lang.Thread.run(Thread.java:619)
Caused by: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
   at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:825)
   at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:614)
   at org.alfresco.web.forms.XSLTRenderingEngine.render(XSLTRenderingEngine.java:481)
   … 38 more

I am running Windows XP using the jdk distributed with Alfresco.
I am running behind a firewall as well.

Thanks,
Dean

Outcomes