Upgrading to Bamboo 1.2.1 on Tomcat 5

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptom

If you are upgrading to Bamboo 1.2.2 on Tomcat 5, the endorsed XML libraries (Specifically, 'xml-apis.jar' and 'xercesImpl.jar') in "../<Tomcat_install>/common/endorsed/" get loaded before Bamboo starts-up, which results in the exception below, as Bamboo uses the wrong XML libraries.


javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
at com.opensymphony.xwork.util.DomHelper$DOMBuilder.<clinit>(DomHelper.java:168)
at com.opensymphony.xwork.util.DomHelper.parse(DomHelper.java:116)
at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile(XmlConfigurationProvider.java:641)
at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:91)
at com.opensymphony.xwork.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:86)

2007-08-14 12:10:30 ApplicationDispatcher[/atlassian-bamboo-1.2.2] Servlet.service() for servlet action threw exception
java.lang.NullPointerException
at com.opensymphony.xwork.DefaultActionProxy.<init>(DefaultActionProxy.java:60)
at com.opensymphony.xwork.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:46)
at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:216)
at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)


2007-08-14 12:10:30 org.apache.catalina.core.StandardHostValve@e7e8eb: Exception Processing ErrorPage[errorCode=500, location=/500.action]
javax.servlet.ServletException
at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:236)
at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:476)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
\----\- Root Cause \----\-
java.lang.NullPointerException
at com.opensymphony.xwork.DefaultActionProxy.<init>(DefaultActionProxy.java:60)
at com.opensymphony.xwork.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:46)
at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:216)
at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Resolution

To fix this isssue;

  1. Stop your Tomcat5 application server.
  2. Remove the 'xml-apis.jar' and 'xercesImpl.jar' from "../<Tomcat_install>/common/endorsed/".
  3. Start Tomcat5, and upgrade to 1.2.2.

The error above seems to be persistent with Bamboo 1.2.2, and doesn't affect any other versions,

Should you have problems upgrading, please raise a support request at https://support.atlassian.com/

Last modified on Nov 21, 2012

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.