JIRA Restart after restoring data throws "java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter"
問題
JIRA becomes unaccessible (blank page) upon restart after restoring data. The following is thrown in atlassian-jira.log
2016-01-04 08:48:05,019 localhost-startStop-1 ERROR [c.a.jira.upgrade.UpgradeLauncher] An Error occurred during UpgradeLauncher servlet context initialisation - javax/xml/bind/DatatypeConverter.
java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
at com.atlassian.dbexporter.node.stax.StaxStreamWriter$1.setContentAsBinary(StaxStreamWriter.java:108)
at com.atlassian.dbexporter.node.NodeBackup$RowDataNode.append(NodeBackup.java:238)
at com.atlassian.dbexporter.exporter.DataExporter.exportRow(DataExporter.java:171)
診断
The instance is running into an issue handling binary data. The next step is to see which table that has column with Binary datatype, in this case, it's BLOB datatype.
原因
An AO table has column with BLOB datatype. According to this documentation Developing your plugin with Active Objects, JIRA does not fully support BLOB datatype in AO.
ソリューション
- Jira をシャットダウンします。
- Find the plugin that has BLOB datatype
- Remove the plugin from the
$JIRA_HOME/plugins/installed-plugins
Jira を再起動します。
最終更新日 2016 年 4 月 7 日
Powered by Confluence and Scroll Viewport.