Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-28161

Should show 'Permission error' when JIRA unable to start SSO because fail to read the file 'crowd.properties'

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      If JIRA does not have the permission to read the file crowd.properties, it will have the following error:

      2012-05-07 14:05:08,757 main INFO      [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: /mnt/store/atlassian/jira/home/plugins/.bundled-plugins/workflow-designer-plugin-2.5.4.jar (1333044618000) created
      2012-05-07 14:05:13,884 main INFO      [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [crowd-rest-plugin, com.atlassian.gadgets.dashboard, com.atlassian.activeobjects.activeobjects-plugin, com.atlassian.jira.jira-project-config-plugin, com.atlassian.gadgets.embedded, com.atlassian.jira.jira-issue-link-applinks-common-plugin, com.atlassian.streams.streams-jira-plugin, com.atlassian.jira.plugin.ext.bamboo, com.atlassian.gadgets.opensocial, com.atlassian.jira.plugins.jira-importers-plugin, com.atlassian.plugins.rest.atlassian-rest-module, com.atlassian.sal.jira, com.atlassian.streams.core, crowd-rest-application-management, com.atlassian.jira.jira-view-issue-plugin, com.atlassian.oauth.serviceprovider, com.atlassian.upm.atlassian-universal-plugin-manager-plugin, com.atlassian.jira.plugins.jira-workflow-designer, com.atlassian.streams.streams-thirdparty-plugin, com.atlassian.gadgets.publisher, com.atlassian.jira.jira-issue-link-confluence-plugin, com.atlassian.jira.rest, com.atlassian.crowd.embedded.admin, com.atlassian.gadgets.directory, com.atlassian.streams.actions, com.atlassian.soy.soy-template-plugin, tac.jira.languages.ja_JP, com.atlassian.gadgets.oauth.serviceprovider, com.atlassian.streams, com.atlassian.applinks.applinks-plugin, com.atlassian.jira.jira-issue-link-remote-jira-plugin, com.atlassian.oauth.admin, com.atlassian.jira.gadgets, com.atlassian.support.stp, com.atlassian.jirafisheyeplugin], 60 seconds remaining
      2012-05-07 14:05:13,926 Spring executor 2 ERROR      [crowd.service.client.ClientResourceLocator] 
      java.net.MalformedURLException
      	at java.net.URL.<init>(URL.java:601)
      	at java.net.URL.<init>(URL.java:464)
      	at java.net.URL.<init>(URL.java:413)
      ...
      2012-05-07 14:05:14,227 Spring executor 2 ERROR      [plugin.osgi.factory.OsgiPlugin] Unable to start the Spring context for plugin com.atlassian.sal.jira
      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationController' defined in URL [bundle://67.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.sal.core.auth.SeraphAuthenticationController]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      	at java.security.AccessController.doPrivileged(Native Method)
      ...
      Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.sal.core.auth.SeraphAuthenticationController]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError
      ...
      Caused by: java.lang.ExceptionInInitializerError
      ...
      Caused by: java.lang.IllegalArgumentException: org.apache.commons.httpclient.URIException: URI-Reference required
      ...
      Caused by: org.apache.commons.httpclient.URIException: URI-Reference required
      ...
      2012-05-07 14:07:19,281 main ERROR      [atlassian.jira.startup.LauncherContextListener] Unable to start JIRA.
      java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.crowd.integration.rest.service.factory.RestCrowdHttpAuthenticationFactory
      	at com.atlassian.jira.security.login.SSOSeraphAuthenticator.<init>(SSOSeraphAuthenticator.java:26)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      

      It should have the 'Permission denied' error when JIRA failed to read the file.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              klfoong Foong (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: