Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

1 comment

Eddie Webbinaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 15, 2020 • edited

This may happen if Crowd is configured in `seraph-config.xml` but the file is not configured.  Why it complains about h2 DB is unclear, but you would see SSO/Crowd/Seraph related errors  above the H2 error in your atlassian-jira.log file.


Log in or Sign up to comment