Modify This Singleton Service

post

/management/weblogic/{version}/edit/singletonServices/{name}

Modify this singleton service.

Request

Supported Media Types
Path Parameters
Header Parameters
  • The 'X-Requested-By' header is used to protect against Cross-Site Request Forgery (CSRF) attacks. The value is an arbitrary name such as 'MyClient'.
Body ()

Must contain the modified singleton service model.

Root Schema : Singleton Service
Type: object
Show Source
  • Default Value: 2

    A migratable service could fail to come up on every possible configured server. This attribute controls how many further attempts, after the service has failed on every server at least once, should be tried. Note that each attempt specified here indicates another full circuit of migrations amongst all the configured servers. So for a 3-server cluster, and a value of 2, a total of 4 additional migrations will be attempted. (the original server is never a valid destination)

  • Server References
    Title: Server References
    Contains the array of server references.

    Return a list of servers that are candidates to host the services deployed to this migratable target. If the ConstrainedCandidateServer list is empty, all servers in the cluster are returned. If the ConstrainedCandidateServer is not empty those servers only will be returned. The user preferred server will be the first element in the list returned.

  • The fully qualified name of a class to load and run. The class must be on the server's classpath.

    For example, mycompany.mypackage.myclass

    Constraints

    • legal null
  • Cluster Reference
    Title: Cluster Reference
    Contains the cluster reference.

    Returns the cluster this singleton service is associated with.

    Constraints

    • restart required
  • Server References
    Title: Server References
    Contains the array of server references.

    Returns the (user restricted) list of servers that may host the migratable target. The target will not be allowed to migrate to a server that is not in the returned list of servers. This feature is used to e.g. configure the two server that have access to a dual ported disk. All servers in this list must be part of the cluster that is associated with the migratable target.

    Constraints

    • restart required
  • Read Only: true
    Default Value: false

    Return whether the MBean was created dynamically or is persisted to config.xml

  • Server Reference
    Title: Server Reference
    Read Only: true
    Contains the server reference.

    Returns the name of the server that currently hosts the singleton service.

  • Read Only: true

    Return the unique id of this MBean instance

  • Default Value: 300000

    Controls how long of a pause there should be between the migration attempts described in getAdditionalMigrationAttempts(). Note that this delay only happens when the service has failed to come up on every server. It does not cause any sort of delay between attempts to migrate otherwise.

  • Read Only: true

    The user-specified name of this MBean instance.

    This name is included as one of the key properties in the MBean's javax.management.ObjectName

    Name=user-specified-name

    Constraints

    • legal null
  • Optional information that you can include to describe this configuration.

    WebLogic Server saves this note in the domain's configuration file (config.xml) as XML PCDATA. All left angle brackets (<) are converted to the xml entity <. Carriage returns/line feeds are preserved.

    Note: If you create or edit a note from the Administration Console, the Administration Console does not preserve carriage returns/line feeds.

  • Items
    Title: Items

    Return all tags on this Configuration MBean

  • Read Only: true

    Returns the type of the MBean.

    Constraints

    • unharvestable
  • Server Reference
    Title: Server Reference
    Contains the server reference.

    Returns the server that the user prefers the singleton service to be active on.

Nested Schema : Server References
Type: array
Title: Server References
Contains the array of server references.

Return a list of servers that are candidates to host the services deployed to this migratable target. If the ConstrainedCandidateServer list is empty, all servers in the cluster are returned. If the ConstrainedCandidateServer is not empty those servers only will be returned. The user preferred server will be the first element in the list returned.

Show Source
Nested Schema : Cluster Reference
Type: array
Title: Cluster Reference
Contains the cluster reference.

Returns the cluster this singleton service is associated with.

Constraints

  • restart required
Show Source
Nested Schema : Server References
Type: array
Title: Server References
Contains the array of server references.

Returns the (user restricted) list of servers that may host the migratable target. The target will not be allowed to migrate to a server that is not in the returned list of servers. This feature is used to e.g. configure the two server that have access to a dual ported disk. All servers in this list must be part of the cluster that is associated with the migratable target.

Constraints

  • restart required
Show Source
Nested Schema : Server Reference
Type: array
Title: Server Reference
Read Only: true
Contains the server reference.

Returns the name of the server that currently hosts the singleton service.

Show Source
Nested Schema : Items
Type: array
Title: Items

Return all tags on this Configuration MBean

Show Source
Nested Schema : Server Reference
Type: array
Title: Server Reference
Contains the server reference.

Returns the server that the user prefers the singleton service to be active on.

Show Source
Nested Schema : Server Reference
Type: object
Title: Server Reference
Contains the server reference.
Show Source
Nested Schema : Identity
Type: array
Title: Identity
DOC TEAM TBD - describe an identity - it's a reference to another WLS REST resource.
Show Source
Nested Schema : Server Reference
Type: object
Title: Server Reference
Contains the server reference.
Show Source
Nested Schema : Identity
Type: array
Title: Identity
DOC TEAM TBD - describe an identity - it's a reference to another WLS REST resource.
Show Source
Security
  • Type: basic
    Description: A user in the Admin security role.
Back to Top

Response

200 Response

Back to Top