oracle / weblogic-deploy-tooling

WebLogic Deploy Tooling
https://oracle.github.io/weblogic-deploy-tooling/
Universal Permissive License v1.0
152 stars 90 forks source link

Configuring Default servers #1537

Closed hxd868 closed 5 months ago

hxd868 commented 5 months ago

Though we have specified to use the Custom Server Names starting with WLS_*, Along with them WDT also creating the default servers

How can we update WDT to not created these default servers

osb_server1 7003 osb_server1 osb_server1 date time cs-method ctx-ecid ctx-rid cs-uri sc-status bytes extended 30 0 osb_server1 defaultCoherenceCluster soa_server1 7004 soa_server1 soa_server1 date time cs-method ctx-ecid ctx-rid cs-uri sc-status bytes extended 30 0 soa_server1
robertpatrick commented 5 months ago

@hxd868 The servers are defines in the soa/osb domain extension templates (i.e., if you wrote your own WLST scripts to create the domain, you would also see these servers created) so the only thing you can do is tell WDT to delete them by doing something like this in your model file:

topology:
    Server:
        '!osb_server1':
        '!soa_server1':
        WLS_osb1:
            ...
        WLS_soa1:
            ...