Unable to Start Tomcat after Confluence User Management Delegation to JIRA
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
症状
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
原因
Some Tomcat versions (usually when bundled from some Linux distributions) do not have the naming-factory-dbcp.jar file in the library.
ソリューション
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.
この内容はお役に立ちましたか?