Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-15418

The REST method to get the server status not working

    XMLWordPrintable

Details

    Description

      The REST API point /rest/api/latest/server that normally should show the status of the instance is not working.

      The corresponding POST for /rest/api/latest/server/pause and /rest/api/latest/server/resume works but throws same errors as in the case of the GET. The following is thrown in the logs:

      2015-01-07 18:50:08,075 ERROR [http-bio-10572-exec-17] [FiveOhOh] 500 Exception was thrown.
      2015-01-07 18:50:22,111 ERROR [http-bio-10572-exec-13] [ContainerResponse] A message body writer for Java class com.atlassian.bamboo.plugins.rest.model.server.RestServerStatusInfo, and Java type class com.atlassian.bamboo.plugins.rest.model.server.RestServerStatusInfo, and MIME media type application/xml was not found
      2015-01-07 18:50:22,113 ERROR [http-bio-10572-exec-13] [ContainerResponse] The registered message body writers compatible with the MIME media type are:
      application/xml ->
        com.sun.jersey.core.impl.provider.entity.XMLJAXBElementProvider$App
        com.sun.jersey.core.impl.provider.entity.DocumentProvider
        com.sun.jersey.core.impl.provider.entity.SourceProvider$SourceWriter
        com.sun.jersey.core.impl.provider.entity.XMLRootElementProvider$App
        com.sun.jersey.core.impl.provider.entity.XMLListElementProvider$App
      */* ->
        com.sun.jersey.core.impl.provider.entity.FormProvider
        com.sun.jersey.core.impl.provider.entity.StringProvider
        com.sun.jersey.core.impl.provider.entity.ByteArrayProvider
        com.sun.jersey.core.impl.provider.entity.FileProvider
        com.sun.jersey.core.impl.provider.entity.InputStreamProvider
        com.sun.jersey.core.impl.provider.entity.DataSourceProvider
        com.sun.jersey.core.impl.provider.entity.XMLJAXBElementProvider$General
        com.sun.jersey.core.impl.provider.entity.ReaderProvider
        com.sun.jersey.core.impl.provider.entity.DocumentProvider
        com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider
        com.sun.jersey.core.impl.provider.entity.SourceProvider$SourceWriter
        com.sun.jersey.server.impl.template.ViewableMessageBodyWriter
        com.sun.jersey.json.impl.provider.entity.JSONJAXBElementProvider$General
        com.sun.jersey.json.impl.provider.entity.JSONArrayProvider$General
        com.sun.jersey.json.impl.provider.entity.JSONObjectProvider$General
        com.sun.jersey.json.impl.provider.entity.JSONWithPaddingProvider
        com.sun.jersey.core.impl.provider.entity.XMLRootElementProvider$General
        com.sun.jersey.core.impl.provider.entity.XMLListElementProvider$General
        com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider$General
        com.sun.jersey.json.impl.provider.entity.JSONListElementProvider$General
        com.sun.jersey.json.impl.provider.entity.JacksonProviderProxy
      
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              smaiyaki Sultan Maiyaki (Inactive)
              Votes:
              7 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: