Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

1 comment

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

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