Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-931

Getting "The ResourceConfig instance does not contain any root resource classes" when trying to configure Jira Fisheye Plugin

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 1.6.6
    • Fix Version/s: None
    • Component/s: API
    • Labels:
      None
    • Environment:

      JIRA 3.13.4

    • Symptom Severity:
      Major
    • Regular Expression:
      The ResourceConfig instance does not contain any root resource classes

      Description

      Symptoms

      This is mostly seen when trying to configure Jira Fisheye Plugin, but can also occur if you are trying to login using the Rest API.

      The error throw in your Jira logs will look like:

      2009-05-19 14:02:29,838 http-8080-Processor25 ERROR [fisheye.rest.fisheye.FishEyeRestAuthenticationManagerImpl] Failed to authenticate user 'username': http://FISHEYE_HOST:8060/rest-service/auth-v1/login?password=********&userName=username returned 500 Internal Server Error
      2009-05-19 14:02:29,838 http-8080-Processor25 ERROR [jira.ext.fisheye.FishEyeManagerImpl] Failed to retrieve FishEye repositories from http://FISHEYE_HOST:8060/ 
      java.io.IOException: Failed to authenticate with FishEye. See logs for more details.
      	at com.atlassian.jira.ext.fisheye.rest.fisheye.FishEyeRestAuthenticationManagerImpl.authenticate(FishEyeRestAuthenticationManagerImpl.java:43)
      	at com.atlassian.jira.ext.fisheye.rest.fisheye.FishEyeRestAuthenticationManagerImpl.authenticateWithCrucible(FishEyeRestAuthenticationManagerImpl.java:58)
      

      In your fisheye-error.log.* logs you see:

      2009-05-19 16:07:14,311 ERROR [btpool0-3] org.mortbay.log sun.reflect.NativeMethodAccessorImpl-invoke0 - /rest-service/auth-v1/login
      com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
      	at com.sun.jersey.impl.application.WebApplicationImpl.processRootResources(WebApplicationImpl.java:774)
      	at com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:671)
      	at com.sun.jersey.spi.spring.container.servlet.SpringServlet.initiate(SpringServlet.java:66)
      

      Your Fishye server is installed on a windows machine under a folder which contains a space, for example "C:\Program Files\crucible-1.6.6".

      To check where your Fisheye is installed go to Fisheye Administration > Sys Info/Support > System Info, and check your FISHEYE_HOME variable which represents where your Fisheye or Crucible is installed.

      Workaround

      Move your Fisheye or Crucible Installation to somewhere without a space, for example C:\crucible-1.6.6

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Last commented:
                  7 years, 14 weeks, 2 days ago