Unable to Start Tomcat after Confluence User Management Delegation to JIRA

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

When delegating Confluence user management to JIRA, Tomcat does not start after setting up the datasource to JIRA.

catalina.out contains the following error:

Sep 4, 2009 2:10:44 PM org.apache.catalina.core.NamingContextListener addResource
WARNING: Failed to register in JMX: javax.naming.NamingException: Could not create resource factory instance [Root exception is
java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory]
2009-09-04 14:10:44,637 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 3.0.0_01 (build
#1627)
2009-09-04 14:10:44,845 INFO [main] [beans.factory.xml.XmlBeanDefinitionReader] loadBeanDefinitions Loading XML bean definitions
from class path resource [bootstrapContext.xml]
2009-09-04 14:10:45,209 INFO [main] [beans.factory.xml.XmlBeanDefinitionReader] loadBeanDefinitions Loading XML bean definitions
from class path resource [setupContext.xml]
Sep 4, 2009 2:10:59 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Sep 4, 2009 2:10:59 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/confluence] startup failed due to previous errors
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
Sep 4, 2009 2:11:01 PM org.apache.catalina.core.ApplicationContext log

Cause

Some Tomcat versions (usually when bundled from some Linux distributions) do not have the naming-factory-dbcp.jar file in the library.

Resolution

Download the version-appropriate Tomcat binary distribution from Apache's website, and copy the naming-factory-dbcp.jar file from <tomcat>/common/lib/ (Tomcat 5.x) or <tomcat>/lib (Tomcat 6.x) into the directory of the same name.

 

 

 

 

 

 

 

 

 

 

 

 

 

   

 

 

 

 

 

 

 

 

 

 

 

 

 

Last modified on Mar 30, 2016

Was this helpful?

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