glassfish
  1. glassfish
  2. GLASSFISH-19863

using REST to configure-batch-runtime always fails

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0_b79
    • Fix Version/s: 4.0_b81
    • Component/s: batch
    • Labels:
      None

      Description

      Calling configure-batch-runtime is giving back a status 405 FAILURE.
      I believe i am passing in the correct payload and using the correct endpoint.

      [#|2013-03-10T21:00:27.225-0700|SEVERE|glassfish 4.0|org.glassfish.admingui|_ThreadID=78;_ThreadName=admin-listener(1);_TimeMillis=1362974427225;_LevelValue=1000;|
      RestResponse.getResponse() gives FAILURE. endpoint = 'http://localhost:4848/management/domain/configure-batch-runtime'; attrs = '

      {executorServiceLookupName=java:comp/DefaultManagedExecutorService, dataSourceLookupName=jdbc/__TimerPool}

      '|#]

        Activity

        Hide
        Mahesh Kannan added a comment -

        svn commit -m "Fix for 19863: The RestEndpoint.opType should have been a POST (instead of a GET)"
        Sending batch-connector/src/main/java/org/glassfish/batch/ConfigureBatchRuntime.java
        Sending batch-connector/src/main/java/org/glassfish/batch/ListBatchJobExecutions.java
        Sending batch-connector/src/main/java/org/glassfish/batch/ListBatchRuntimeConfiguration.java
        Transmitting file data ...
        Committed revision 60482.

        Show
        Mahesh Kannan added a comment - svn commit -m "Fix for 19863: The RestEndpoint.opType should have been a POST (instead of a GET)" Sending batch-connector/src/main/java/org/glassfish/batch/ConfigureBatchRuntime.java Sending batch-connector/src/main/java/org/glassfish/batch/ListBatchJobExecutions.java Sending batch-connector/src/main/java/org/glassfish/batch/ListBatchRuntimeConfiguration.java Transmitting file data ... Committed revision 60482.

          People

          • Assignee:
            Mahesh Kannan
            Reporter:
            Anissa Lam
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: