When running a MyST action such as update or provision you may encounter errors. Here you can find ways to help troubleshoot the errors.
If a MyST update action fails you can look at logs to have a rough idea of where and how the failure occurred.
wlst.log
shows the WLST commands run with the last entry being the failure.myst-diagnostic.log
provides debugging and a dumpStack()
of WLST upon errorThe create-domain action is a subset of the MyST Provision or Re-Provision action. If create-domain fails there are log files help identify the root cause.
wlst.log
shows the WLST commands run with the last entry being the failure.myst-diagnostic.log
provides debugging and a dumpStack()
of WLST upon error<myst_workspace>/wlstOfflineLogs_appsoa/wlst_YYYYMMDD.log
provides an extremely valuable capture of create-domain information.
For example if you specify the same ports twice this log file will show a port clash when creating a domain.The NPE generally means a required MyST property has not been set OR has been overriden to be blank (null). For blank (null) see During execution I get a java.lang.NullPointerException for more troubleshooting information.
If a resource was recently updated/added to MyST it's possible there is a missing property. For example when creating a JDBC DataSource the NAME property may have been missed.
When MyST runs an update a number of events occur. MyST uses Weblogic's session to make changes. It's been identified in particular cases the session activates however, MyST reports an attempted rollback (which doesn't actually occur).
Here is a high level explanation:
edit()
and startEdit()
activate()
Unfortunately due to how WebLogic throws the exception after activating changes we can perform the following workaround.
Run a MyST check-for-drift or dryrun to validate (and correct) any unexpected changes that have taken effect.
In future versions of MyST we may investigate a way to handle these particular scenarios.