Can't Login to Jira after installing Confluence

Jeremiah van Oosten
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 21, 2022

We have been running Jira (server) for more than a year without much issues.

This week we installed Confluence on the same server and tried to configure Confluence logins to use the Jira credentials from our Jira server.

During the process of configuring Confluence (I can't provide details as I was not the one who did this step) it seems that we managed to completely break the ability to login to Jira resulting in a 500 error page from `plugins/servlet/samlconsumer`.

From what I can tell, the Jira database still contains data but I noticed that the cwd_user table is completely empty and that feels wrong to me.

We provision users from LDAP but Jira authentication happens through SAML SSO (with Azure AD as the SAML provider). Shouldn't the cwd_user table show the users who have logged in with SAML (I really have no clue what this table is supposed to have in it).

Long story short, I'm pretty sure it was the Confluence configuration step that broke our Jira logins, but I have no idea how to fix it...

Any clues would be appreciated.

1 answer

0 votes
Jeremiah van Oosten
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 21, 2022

The only thing I see in the atlassian-jira.log file is:

 

2022-10-21 09:43:10,518+0200 http-nio-8080-exec-18 ERROR anonymous 583x1000x1 16e1i9k 145.101.165.175,127.0.0.1 /plugins/servlet/samlconsumer [o.a.c.c.C.[Catalina].[localhost].[/]] Unhandled exception occurred whilst decorating page

Followed by and huge stack trace and then:

2022-10-21 09:43:10,521+0200 http-nio-8080-exec-18 ERROR      [o.a.c.c.C.[.[localhost].[/].[servlet-module-container-servlet]] Servlet.service() for servlet [servlet-module-container-servlet] in context with path [] threw exception
And another stack trace.

 And then:

2022-10-21 09:43:10,660+0200 http-nio-8080-exec-18 ERROR      [c.a.j.web.servlet.InternalServerErrorServlet] {errorId=8ca28165-e59f-409f-8bc8-139ac4acd1d1, interpretedMsg=, cause=java.lang.NullPointerException, stacktrace=java.lang.NullPointerException
and again, another stack trace...
I'm not sure that helps at all.
Florian Bonniec
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 21, 2022

Hi, 

 

Does Jira and Confluence running on the same server with no context for each app ?

Not sure it's the same issues but when installing Jira and Confluence on the same server you had to configure context in server.xml. Otherwise you had login issues.

 

Does it work back when Confluence is down ?

 

(3) https://confluence.atlassian.com/jirakb/login-screen-loops-back-to-login-screen-with-no-error-when-using-correct-username-and-password-874784386.html

Suggest an answer

Log in or Sign up to answer