Synesso
Synesso

Reputation: 38988

Modifying application startup order via wsadmin

Is it possible to modify the value of an application's startup-order using either AdminApp.install(...) or any other wsadmin command?

This property is under Enterprise Applications > application name > Startup behavior > Startup order

Upvotes: 1

Views: 2528

Answers (1)

Synesso
Synesso

Reputation: 38988

Apparently, it can be done like this:

AdminConfig.modify(
  AdminConfig.showAttribute(
    AdminConfig.getid("/Deployment:applicationname/"),
    "deployedObject"),
  [['startingWeight','99']])

In typical, straight-forward wsadmin style. >.<

Upvotes: 4

Related Questions