Modifying application startup order via wsadmin
Question
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
La solution
Apparently, it can be done like this:
AdminConfig.modify(
AdminConfig.showAttribute(
AdminConfig.getid("/Deployment:applicationname/"),
"deployedObject"),
[['startingWeight','99']])
In typical, straight-forward wsadmin style. >.<
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow