It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

After enabling JOSSO authenticator, JIRA cannot connect to local database anymore

Hi folks,

I've installed a JIRA Server to try SSO Connection to it. So I do not have an external Database prepared, but use HB2 local database.

As soon as I activate the JOSSO SSO Authenticator in the seraph-config.xml file, the Application is not coming up again.

If I check the catalina.out, I see, that the application seems not be able to connect to the HB2 database anymore.

Do you have any suggestions? 

Here is a snippet of the error:

19-May-2018 21:52:16.060 SEVERE [Catalina-startStop-1] org.apache.catalina.startup.HostConfig.beforeStart Unable to create directory for deployment: /opt/atlassian/jira/conf/Catalina/localhost
2018-05-19 21:52:18,656 localhost-startStop-1 INFO [c.a.jira.startup.JiraHomeStartupCheck] The jira.home directory '/var/atlassian/application-data/jira' is validated and locked for exclusive use by this instance.
2018-05-19 21:52:18,715 localhost-startStop-1 ERROR [o.a.c.c.C.[Catalina].[localhost].[/]] Exception starting filter security
java.lang.NoClassDefFoundError: org/josso/gateway/identity/SSOUser


2018-05-19 21:52:18,928 localhost-startStop-1 ERROR [o.a.c.c.C.[Catalina].[localhost].[/]] Exception starting filter trustedapps
java.lang.NoClassDefFoundError: org/josso/gateway/identity/SSOUser
at java.lang.Class.getDeclaredConstructors0(Native Method)


2018-05-19 21:52:19,101 JIRA-Bootstrap INFO [c.a.j.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from /var/atlassian/application-data/jira/dbconfig.xml
2018-05-19 21:52:19,287 JIRA-Bootstrap ERROR [c.a.config.bootstrap.DefaultAtlassianBootstrapManager] Could not successfully test your database:
org.h2.jdbc.JdbcSQLException: IO Exception: "/var/atlassian/application-data/jira/database/" [90028-185]


2018-05-19 21:52:19,307 JIRA-Bootstrap ERROR [] JIRA couldn't connect to your database
2018-05-19 21:52:19,307 JIRA-Bootstrap ERROR [] JIRA failed to establish a connection to your database.


2018-05-19 21:52:19,379 localhost-startStop-1 ERROR [o.a.c.c.C.[Catalina].[localhost].[/]] Exception sending context destroyed event to listener instance of class com.atlassian.jira.startup.LauncherContextListener


If I undo the changes in seraph-config.xml, the Application starts normally.


Thanks Stefan



Log in or Sign up to comment
Community showcase
Published in Jira

Introducing new features for Jira Software Cloud's roadmap

Hi Atlassian community, A few months ago, we offered a sneak peak of the new hierarchy view on the roadmap. Thank you for all the feedback (and excitement) and for helping us shape the direction of...

24,962 views 116 86
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you