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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

602 views 20 11
Join discussion

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