Skip to content

cannot delete a network channel using Update Domain Tool in online mode #1663

@rjnkmr

Description

@rjnkmr

I cannot delete a network channel using the Update Domain Tool in online mode.

For example, I have a domain with an admin server and a managed server called node1

To add a channel, i can use this config below and Update Domain Tool in online mode (it works)

topology:    
    Server:
        node1:
            NetworkAccessPoint:
                testT3:
                    AcceptBacklog: 50
                    CompleteMessageTimeout: 60
                    Enabled: 'true'
                    HttpEnabledForThisProtocol: 'true'
                    IdleConnectionTimeout: 65
                    ListenAddress: myserver
                    ListenPort: '8999'
                    LoginTimeoutMillis: 5000
                    OutboundEnabled: 'true'
                    Protocol: t3s
                    PublicAddress: myserver
                    PublicPort: '8999'
                    TunnelingClientPingSecs: 45
                    TunnelingClientTimeoutSecs: 40
                    TunnelingEnabled: 'false'
                    TwoWaySSLEnabled: 'false'
                  

To delete, I use this configuration my_diff_model.yaml, which can be generated using Compare Model Tool also with full model.

topology:
    Server:
        node1:
            NetworkAccessPoint:                
                '!testT3': {}`

After running the updateDomain.sh in online mode, as below, i get the output as shown:
updateDomain.sh -admin_user myadmin -admin_pass_file my_pass_file -admin_url t3://${ADMIN_LISTEN_ADDRESS_HTTP}:${ADMIN_LISTEN_PORT_HTTP} -model_file my_diff_model.yaml

...
####<Oct 27, 2025 8:20:08 PM> <INFO> <TopologyUpdater> <_add_named_elements> <WLSDPLY-09608> <Updating Server node1>
####<Oct 27, 2025 8:20:08 PM> <INFO> <deployer_utils> <delete_named_element> <WLSDPLY-09110> <Deleting NetworkAccessPoints testT3>
####<Oct 27, 2025 8:20:09 PM> <INFO> <TopologyUpdater> <_add_named_elements> <WLSDPLY-09608> <Updating Server node1>
####<Oct 27, 2025 8:20:09 PM> <WARNING> <deployer_utils> <delete_named_element> <WLSDPLY-09109> <Unable to delete NetworkAccessPoints testT3, name does not exist>
####<Oct 27, 2025 8:20:09 PM> <INFO> <LibraryHelper> <install_domain_libraries> <WLSDPLY-12213> <The model did not specify any domain libraries to install>
####<Oct 27, 2025 8:20:09 PM> <INFO> <LibraryHelper> <extract_classpath_libraries> <WLSDPLY-12216> <The archive file was not provided so there are no classpath libraries to extract>
####<Oct 27, 2025 8:20:09 PM> <INFO> <LibraryHelper> <install_domain_scripts> <WLSDPLY-12241> <The model did not specify any domain scripts to install>

Issue Log for updateDomain version 4.3.8 running WebLogic version 14.1.1.0.0.250630 in online mode against server using WebLogic version 14.1.1.0.0.250630:

WARNING Messages:

        1. WLSDPLY-09109: Unable to delete NetworkAccessPoints testT3, name does not exist

Total:   SEVERE :    0  WARNING :    1

updateDomain.sh completed but with some issues (exit code = 1)`

The channel is in fact deleted (as viewed in the weblogic console), but i get a WARNING as above with exit code 1

So for me, these are the Issues or Bugs:

  • exit code is 1 despite WARNING only (without SEVERE) and it does not agree with the documented exit codes here Update Domain Tool
  • Channel is deleted in spite of the message 1. WLSDPLY-09109: Unable to delete NetworkAccessPoints testT3, name does not exist

So using Update Domain Tool in online mode: adding a channel works but deleting not as above.

I have tried using the latest weblogic-deploy-tooling version 4.3.8 along with fewer older versions too but got the same result.
Weblogic 14.1.1 with Java 11 is used above, but I guess the result would be the same with other combinations too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions