'extractBundledPlugins Couldn't find atlassian-bundled-plugins.zip on classpath' Due to Solaris TAR Utility

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

When configuring Confluence to use a datasource, the following errors appear in the atlassian-confluence.log:

2008-04-18 12:22:17,243 ERROR [http-8080-Processor3] [springframework.web.context.ContextLoader] initWebApplicationContext Context initialization failed
-- url: /setup/setupdatasourcedb.action | userName: anonymous | action: setupdatasourcedb
org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is java.lang.UnsupportedOperationException
Caused by: java.lang.UnsupportedOperationException
	at org.apache.tomcat.dbcp.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:116)
	at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:554)

And:

2008-04-18 12:21:35,336 ERROR http-8080-Processor3 atlassian.confluence.plugin.ConfluencePluginManager extractBundledPlugins Couldn't find atlassian-bundled-plugins.zip on classpath
– url: /setup/setupdatasourcedb.action | userName: anonymous | action: setupdatasourcedb

または

Jun 8, 2011 12:37:42 AM org.apache.catalina.core.StandardHostValve custom
SEVERE: Exception Processing ErrorPage[errorCode=500, location=/500page.jsp]
org.apache.jasper.JasperException: An exception occurred processing JSP page /500page.jsp at line 62
59:         A system error has occurred — our apologies!
60:     </p>
61:     <p>
62:         For immediate troubleshooting, consult our <strong><a href="<%= I18NSupport.getText("url.confluence.knowledge.base") %>">knowledge base</a></strong> for a solution.
63:     </p>
64:     <p>
65:         If you would like to receive support from Atlassian's support team, ask your
Stacktrace:
	at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:519)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:410)
.....
Caused by: javax.servlet.ServletException: java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.confluence.util.I18NSupport
	at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:865)
	at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:794)
	at org.apache.jsp._500page_jsp._jspService(_500page_jsp.java:855)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
	... 36 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.confluence.util.I18NSupport
	at org.apache.jsp._500page_jsp._jspService(_500page_jsp.java:156)
	... 39 more

原因

Using Sun Solaris's built in tar utility can cause files with long paths to be cut off. E.g. confluence/WEB-INF/classes/com/atlassian/confluence/setup/atlassian-bundled-plugins.zip is considered a long path.

Similar issues are known to occur with the AIX version of zip.

ソリューション

 You need to use GNU tar when untarring your install file as described in Installing Confluence Standalone on Unix.

最終更新日 2017 年 8 月 22 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.