Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-648

Xalan is missing from the demo applications WEB-INF/lib folder.

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Highest Highest
    • 1.2.1
    • 1.2
    • Demo Application
    • None

      When trying to access the demo application you will receive the following exception:

      javax.servlet.ServletException: Filter execution threw an exception
      	org.apache.jsp.index_jsp._jspService(index_jsp.java:44)
      	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)
      	com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:189)
      	com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
      	com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
      	com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)
      	com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:33)
      
      root cause
      
      javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
      	javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
      	com.opensymphony.xwork.util.DomHelper$DOMBuilder.<clinit>(DomHelper.java:168)
      	com.opensymphony.xwork.util.DomHelper.parse(DomHelper.java:116)
      	com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile(XmlConfigurationProvider.java:641)
      	com.opensymphony.xwork.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:91)
      	com.opensymphony.xwork.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:86)
      	com.opensymphony.xwork.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
      	com.opensymphony.xwork.DefaultActionProxy.<init>(DefaultActionProxy.java:60)
      	com.opensymphony.xwork.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:46)
      	com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:264)
      	com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202)
      	org.apache.jsp.index_jsp._jspService(index_jsp.java:44)
      	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)
      	com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:189)
      	com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
      	com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
      	com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)
      	com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:33)
      
      note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
      

      xalan needs to be added to the project.

      This problem does not occur on the mac, and has been verified on a windows machine.

            [CWD-648] Xalan is missing from the demo applications WEB-INF/lib folder.

            This has been resolved by adjusting the pom.xml to include the xml libraries listed above.

            David O'Flynn [Atlassian] added a comment - This has been resolved by adjusting the pom.xml to include the xml libraries listed above.

            To fix this issue manually remove the following jar files from Crowd's tomcat directory:

            C:\crowd-1.2.0\apache-tomcat-5.5.20\common\endorsed\xercesImpl.jar
            C:\crowd-1.2.0\apache-tomcat-5.5.20\common\endorsed\xml-apis.jar
            

            And restart Tomcat.

            Justin Koke added a comment - To fix this issue manually remove the following jar files from Crowd's tomcat directory: C:\crowd-1.2.0\apache-tomcat-5.5.20\common\endorsed\xercesImpl.jar C:\crowd-1.2.0\apache-tomcat-5.5.20\common\endorsed\xml-apis.jar And restart Tomcat.

              justen.stepka@atlassian.com Justen Stepka [Atlassian]
              justen.stepka@atlassian.com Justen Stepka [Atlassian]
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: