Failing to push into repository or managing branch permissions after upgrade

お困りですか?

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

コミュニティに質問

症状

When attempting to push to repository, or manage branch permissions receive the error

SEVERE: Servlet.service() for servlet [plugins] in context with path [] threw exception
com.atlassian.plugin.PluginException: Didn't find any configuration service for bundle com.atlassian.bitbucket.bitbucket-branch-utils nor any entities scanning for default AO packages.

These messages come up on atlassian-bitbucket.log:

2013-11-01 11:06:14,056 INFO  [localhost-startStop-1]  c.a.s.i.server.BuildInfoLogger Starting Bitbucket Server 2.8.2 (75809c6 built on Mon Oct 14 13:04:18 PDT 2013)
2013-11-01 11:06:14,056 INFO  [localhost-startStop-1]  c.a.s.i.server.BuildInfoLogger JVM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.7.0_45-b18
2013-11-01 11:06:14,961 INFO  [localhost-startStop-1]  c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory C:\bitbucket-home for 4408@spdg-PC
2013-11-01 11:06:26,224 INFO  [localhost-startStop-1]  c.a.s.i.hook.DefaultHookService Hook callback socket listening on 127.0.0.1:55194
2013-11-01 11:06:29,983 WARN  [ThreadPoolAsyncTaskExecutor::Thread 19]  o.s.beans.TypeConverterDelegate PropertyEditor [com.sun.beans.editors.EnumEditor] found through deprecated global PropertyEditorManager fallback - consider using a more isolated form of registration, e.g. on the BeanWrapper/BeanFactory!
2013-11-01 11:06:31,309 ERROR [FelixDispatchQueue]  c.a.p.o.c.f.FelixOsgiContainerManager Framework error in bundle com.atlassian.bitbucket.repository-ref-sync
java.lang.AbstractMethodError: com.mysql.jdbc.PreparedStatement.setCharacterStream(ILjava/io/Reader;J)V
...
...
2013-11-01 01:11:47,040 ERROR [scheduler_Worker-10]  c.a.s.a.ui.internal.AuditCleanUpJob Failed to clean up the audit entries table
com.atlassian.plugin.PluginException: Didn't find any configuration service for bundle com.atlassian.bitbucket.bitbucket-audit nor any entities scanning for default AO packages.

...

Caused by: com.atlassian.activeobjects.osgi.NoServicesFoundException: Was expecting one service reference for interface <com.atlassian.activeobjects.config.ActiveObjectsConfiguration> and filter <(com.atlassian.plugin.key=com.atlassian.bitbucket.bitbucket-audit)>. Got null ! You should check whether an ActiveObjectsPluginException was thrown at startup. It will give you more information about potential errors in the <ao> module in your atlassian-plugin.xml.
....
....

原因

This issue happens due to an incompatibility between the your JDBC driver and Java version.

This is the message that shows it (right after Bitbucket Server is started):

2013-11-01 11:06:31,309 ERROR [FelixDispatchQueue]  c.a.p.o.c.f.FelixOsgiContainerManager Framework error in bundle com.atlassian.bitbucket.repository-ref-sync
java.lang.AbstractMethodError: com.mysql.jdbc.PreparedStatement.setCharacterStream(ILjava/io/Reader;J)V
...

ソリューション

Your current JDBC MySQL driver is of an older version. The link for downloading the right connector to MySQL as well as the indication of which one to download is here.

Please also check your system configuration against our Supported platforms documents to make sure you are using a supported version of MySQL.

最終更新日 2018 年 11 月 2 日

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

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