Skip to content

WKTUI discover model (domain) gives WLSDPLY-20035 #245

Closed
@mikarinneoracle

Description

@mikarinneoracle

Running on OCI OL8 with a local WLS 1.4.1.1.0.0 running.

Discovery worked an empty WLS domain (no apps) but when I added a working webapp with ATP connection (everyhting works fine)the discovery gives me the error:

SEVERE Messages:

    **1. WLSDPLY-20035: discoverDomain encountered an unexpected runtime exception.  Please file an issue on GitHub and attach the log file and stdout. Exception: exceptions.OSError**

Full output:

JDK version is 11.0.10+8-LTS-162
JAVA_HOME = /usr/java/jdk-11.0.10
WLST_EXT_CLASSPATH = /opt/WebLogic Kubernetes Toolkit UI/tools/weblogic-deploy/lib/weblogic-deploy-core.jar
CLASSPATH = /opt/WebLogic Kubernetes Toolkit UI/tools/weblogic-deploy/lib/weblogic-deploy-core.jar
WLST_PROPERTIES = -Dcom.oracle.cie.script.throwException=true -Djava.util.logging.config.class=oracle.weblogic.deploy.logging.WLSDeployLoggingConfig
/u01/app/oracle/middleware/oracle_common/common/bin/wlst.sh /opt/WebLogic Kubernetes Toolkit UI/tools/weblogic-deploy/lib/python/discover.py -oracle_home /u01/app/oracle/middleware -java_home /usr/java/jdk-11.0.10 -domain_home /u01/app/oracle/middleware/wlserver/user_projects/domains/webapp -domain_type WLS -admin_url t3://localhost:7001 -admin_user weblogic -admin_pass Welcome1 -archive_file /home/opc/local-models/archive.zip -model_file /home/opc/local-models/model.yaml -variable_file /home/opc/local-models/variables.properties

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

####<Sep 13, 2023 9:59:37 AM> <The WebLogic Deploy Tooling discoverDomain version is 3.2.0:.3f64264:May 11, 2023 00:30 UTC>
####<Sep 13, 2023 9:59:37 AM> <The discoverDomain program will write its log to directory /home/opc/logs>
####<Sep 13, 2023 9:59:37 AM> <__copy_from_args> <WebLogic version for aliases is 12.2.1.4.0.230702>
####<Sep 13, 2023 9:59:37 AM>

####<Sep 13, 2023 9:59:39 AM> <_get_domain_name>
####<Sep 13, 2023 9:59:40 AM>
####<Sep 13, 2023 9:59:41 AM> <discover_domain_mbean>
####<Sep 13, 2023 9:59:41 AM> <discover_domain_mbean>
####<Sep 13, 2023 9:59:41 AM> <discover_domain_mbean>
####<Sep 13, 2023 9:59:42 AM> <discover_domain_mbean>
####<Sep 13, 2023 9:59:42 AM> <discover_domain_mbean>
####<Sep 13, 2023 9:59:42 AM> <discover_domain_mbean>
####<Sep 13, 2023 9:59:43 AM> <discover_domain_mbean>
####<Sep 13, 2023 9:59:43 AM> <get_clusters> <Discovering 0 clusters>
####<Sep 13, 2023 9:59:43 AM> <get_servers> <Discovering 1 servers>
####<Sep 13, 2023 9:59:43 AM> <get_servers>
####<Sep 13, 2023 9:59:53 AM> <get_migratable_targets> <Discovering 0 Migratable Targets>
####<Sep 13, 2023 9:59:53 AM> <get_server_templates> <Discovering 0 server templates>
####<Sep 13, 2023 9:59:53 AM> <get_unix_machines> <Discovering 0 Unix machines>
####<Sep 13, 2023 9:59:53 AM> <get_machines> <Discovering 0 machines>
####<Sep 13, 2023 9:59:53 AM> <discover_security_configuration>
####<Sep 13, 2023 9:59:56 AM> <get_embedded_ldap_configuration>
####<Sep 13, 2023 9:59:56 AM> <_get_log_filters> <Discovering 0 Log Filters>
####<Sep 13, 2023 9:59:56 AM> <_get_reliable_delivery_policies> <Discovering 0 Reliable Delivery Policies>
####<Sep 13, 2023 9:59:56 AM> <_get_virtual_hosts> <Discovering 0 Virtual Hosts>
####<Sep 13, 2023 9:59:56 AM> <_get_xml_entity_caches> <Discovering 0 XML Entity Caches>
####<Sep 13, 2023 9:59:56 AM> <_get_xml_registries> <Discovering 0 XML Registries>
####<Sep 13, 2023 9:59:56 AM> <_get_ws_securities> <Discovering 0 Web Service Securities>
####<Sep 13, 2023 9:59:56 AM>
####<Sep 13, 2023 9:59:56 AM> <get_self_tuning>
####<Sep 13, 2023 9:59:56 AM> <get_startup_classes> <Discovering 0 Startup Classes>
####<Sep 13, 2023 9:59:56 AM> <get_shutdown_classes> <Discovering 0 Shutdown Classes>
####<Sep 13, 2023 9:59:56 AM> <_get_webapp_container> <Cross Domain Security is enabled, do not remove SecurityConfiguration CredentialEncrypted>
####<Sep 13, 2023 9:59:56 AM> <get_singleton_service> <Discovering 0 Shutdown Classes>
####<Sep 13, 2023 9:59:56 AM> <get_jolt_connection_pool> <Discovering 0 Jolt Connection Pools>
####<Sep 13, 2023 9:59:56 AM> <get_wtc_servers> <Discovering 0 WTC Servers>
####<Sep 13, 2023 9:59:57 AM> <get_datasources> <Discovering 1 JDBC System Resources>
####<Sep 13, 2023 9:59:57 AM> <get_datasources>
####<Sep 13, 2023 9:59:58 AM>

Issue Log for discoverDomain version 3.2.0 running WebLogic version 12.2.1.4.0.230702 online mode:

SEVERE Messages:

    1. WLSDPLY-20035: discoverDomain encountered an unexpected runtime exception.  Please file an issue on GitHub and attach the log file and stdout. Exception: exceptions.OSError

Total: SEVERE : 1 WARNING : 0

discoverDomain.sh failed (exit code = 2)
/opt/WebLogic Kubernetes Toolkit UI/tools/weblogic-deploy/bin/discoverDomain.sh failed: Error: Exit with error code: 2

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