JIRA Restart after restoring data throws "java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter"
Problem
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)
Diagnosis
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.
Cause
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.
Resolution
- Shutdown JIRA
- Find the plugin that has BLOB datatype
- Remove the plugin from the
$JIRA_HOME/plugins/installed-plugins
Restart JIRA
Last modified on Apr 7, 2016
Powered by Confluence and Scroll Viewport.