how do we remove plug-in's from a HSQLDB

Confluence web interface is not accessible due to an incompatible plug-in. I want to remove the plug-in but i'm using a HSQLDB database.

startup error:

java.lang.RuntimeException: javax.servlet.ServletException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'preRender' in class com.adaptavist.confluence.theme.engine.core.BuilderVelocityHelper threw exception java.lang.NoClassDefFoundError: com/atlassian/plugin/osgi/spring/SpringContainerAccessor at engine/theme/login.vmd[line 28, column 16]


I've cleared the plugin cache folders as per article


but cannot delete from PLUGINDATA where PLUGINDATAID='XXXXXX'; as it's a HSQLDB not a MySQL database. unless I can run SQL against a "HSQLDB" DB??


I want to remove the "adaptavist" as per

2 answers

1 accepted

Shutddown Confluence, take a backup of your homefolder und read this link:

Use the manager from HSQLDB, Squirrel, or any Java-IDE to connect to your HSQLDB.

As long confluence is stopped, you can do any delete operations on the db, you want wink

hi - thanks I did find that article and have been able to remove the offending row. Here's some easy commands


java -cp "C:\Program Files\Atlassian\Confluence\confluence\WEB-INF\lib\hsqldb-2.3.0.jar" org.hsqldb.util.DatabaseManager -user sa -url "jdbc:hsqldb:C:/Program Files/Atlassian/Application Data/confluence/database/confluencedb;shutdown=true"

select PLUGINDATAID, PLUGINKEY, FILENAME, LASTMODDATE from PLUGINDATA where pluginkey like '%adaptavist%';

delete from PLUGINDATA where PLUGINDATAID='8978433';

now confluence starts up - presto!



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Tuesday in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

205 views 2 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you