HOWTO
- https://danielveselka.blogspot.com/2024/03/weblogic-deploy-tool-discover-domain.html
- Secrets in model files https://oracle.github.io/weblogic-kubernetes-operator/managing-domains/domain-on-pv/model-files/#using-secrets-in-model-files
- WDT Model https://oracle.github.io/weblogic-deploy-tooling/concepts/model/
- WDT model samples https://oracle.github.io/weblogic-deploy-tooling/samples/
- JDBC model https://oracle.github.io/weblogic-deploy-tooling/samples/jdbc-model/
GitHub
Deploy DS and EAR via Weblogic console
Run discover.sh
dave@dave:/app/weblogic-deploy/bin$ ./discoverDomain.sh -oracle_home /app/weblogic -domain_home /app/weblogic/user_projects/domains/base_domain/ -archive_file /git/weblogic/wdt/DiscoveredABDataSourceEARDomain.zip -model_file /git/weblogic/wdt/DiscoveredABDataSourceEARDomain.yaml -admin_user weblogic -admin_url t3://dave:7001
JDK version is 11.0.22+9-LTS-219
JAVA_HOME = /usr/java/jdk-11
WLST_EXT_CLASSPATH = /app/weblogic-deploy/lib/weblogic-deploy-core.jar
CLASSPATH = /app/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
/app/weblogic/oracle_common/common/bin/wlst.sh /app/weblogic-deploy/lib/python/discover.py -oracle_home /app/weblogic -domain_home /app/weblogic/user_projects/domains/base_domain/ -archive_file /git/weblogic/wdt/DiscoveredABDataSourceEARDomain.zip -model_file /git/weblogic/wdt/DiscoveredABDataSourceEARDomain.yaml -admin_user weblogic -admin_url t3://dave:7001
Initializing WebLogic Scripting Tool (WLST) ...
Jython scans all the jar files it can find at first startup. Depending on the system, this process may take a few minutes to complete, and WLST may not return a prompt right away.
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
####<Apr 1, 2024 10:50:35 PM> <INFO> <WebLogicDeployToolingVersion> <logVersionInfo> <WLSDPLY-01750> <The WebLogic Deploy Tooling discoverDomain version is 3.5.4:.43d3afb:Mar 14, 2024 11:55 UTC>
####<Apr 1, 2024 10:50:35 PM> <INFO> <WLSDeployLoggingConfig> <logLoggingDirectory> <WLSDPLY-01755> <The discoverDomain program will write its log to directory /app/weblogic-deploy/logs>
####<Apr 1, 2024 10:50:35 PM> <INFO> <DomainTypedef> <__init__> <WLSDPLY-12328> <Domain type WLS type definition file /app/weblogic-deploy/lib/typedefs/WLS.json version WLS_14 does not contain a postCreateRcuSchemasScript section>
####<Apr 1, 2024 10:50:35 PM> <INFO> <DomainTypedef> <__init__> <WLSDPLY-12321> <Domain type WLS type definition file /app/weblogic-deploy/lib/typedefs/WLS.json version WLS_14 does not contain a postCreateDomainScript section>
Please enter the WebLogic administrator password:
####<Apr 1, 2024 10:50:40 PM> <INFO> <DomainTypedef> <__init__> <WLSDPLY-12328> <Domain type WLS type definition file /app/weblogic-deploy/lib/typedefs/WLS.json version WLS_14 does not contain a postCreateRcuSchemasScript section>
####<Apr 1, 2024 10:50:40 PM> <INFO> <DomainTypedef> <__init__> <WLSDPLY-12321> <Domain type WLS type definition file /app/weblogic-deploy/lib/typedefs/WLS.json version WLS_14 does not contain a postCreateDomainScript section>
####<Apr 1, 2024 10:50:40 PM> <INFO> <ModelContext> <__copy_from_args> <WLSDPLY-01050> <WebLogic version for aliases is 14.1.1.0.0>
####<Apr 1, 2024 10:50:40 PM> <INFO> <discover> <main> <WLSDPLY-06024> <No variable file provided. Model passwords will contain the token '-- FIX ME --'>
####<Apr 1, 2024 10:50:41 PM> <INFO> <discover> <_get_domain_name> <WLSDPLY-06022> <Discover domain base_domain>
####<Apr 1, 2024 10:50:42 PM> <INFO> <TopologyDiscoverer> <discover> <WLSDPLY-06600> <Discovering domain model topology>
####<Apr 1, 2024 10:50:43 PM> <INFO> <WlstHelper> <is_set> <WLSDPLY-00129> <Error calling isSet() for attribute ResourceManagement at location /: java.lang.AssertionError: java.lang.reflect.InvocationTargetException>
####<Apr 1, 2024 10:50:43 PM> <INFO> <Discoverer> <discover_domain_mbean> <WLSDPLY-06644> <Adding Domain AdminConsole>
####<Apr 1, 2024 10:50:43 PM> <INFO> <Discoverer> <discover_domain_mbean> <WLSDPLY-06644> <Adding Domain CdiContainer>
####<Apr 1, 2024 10:50:44 PM> <INFO> <Discoverer> <discover_domain_mbean> <WLSDPLY-06644> <Adding Domain JMX>
####<Apr 1, 2024 10:50:44 PM> <INFO> <Discoverer> <discover_domain_mbean> <WLSDPLY-06644> <Adding Domain JPA>
####<Apr 1, 2024 10:50:44 PM> <INFO> <Discoverer> <discover_domain_mbean> <WLSDPLY-06644> <Adding Domain JTA>
####<Apr 1, 2024 10:50:45 PM> <INFO> <Discoverer> <discover_domain_mbean> <WLSDPLY-06644> <Adding Domain Log>
####<Apr 1, 2024 10:50:45 PM> <INFO> <Discoverer> <discover_domain_mbean> <WLSDPLY-06644> <Adding Domain RestfulManagementServices>
####<Apr 1, 2024 10:50:45 PM> <INFO> <TopologyDiscoverer> <get_clusters> <WLSDPLY-06601> <Discovering 2 clusters>
####<Apr 1, 2024 10:50:45 PM> <INFO> <TopologyDiscoverer> <get_clusters> <WLSDPLY-06602> <Adding Cluster ClusterA>
####<Apr 1, 2024 10:50:48 PM> <INFO> <TopologyDiscoverer> <get_clusters> <WLSDPLY-06602> <Adding Cluster ClusterB>
####<Apr 1, 2024 10:50:50 PM> <INFO> <TopologyDiscoverer> <get_servers> <WLSDPLY-06603> <Discovering 5 servers>
####<Apr 1, 2024 10:50:50 PM> <INFO> <TopologyDiscoverer> <get_servers> <WLSDPLY-06604> <Adding Server AdminServer>
####<Apr 1, 2024 10:51:03 PM> <INFO> <TopologyDiscoverer> <get_servers> <WLSDPLY-06604> <Adding Server ManagedServerA1>
####<Apr 1, 2024 10:51:15 PM> <INFO> <TopologyDiscoverer> <get_servers> <WLSDPLY-06604> <Adding Server ManagedServerA2>
####<Apr 1, 2024 10:51:27 PM> <INFO> <TopologyDiscoverer> <get_servers> <WLSDPLY-06604> <Adding Server ManagedServerB1>
####<Apr 1, 2024 10:51:40 PM> <INFO> <TopologyDiscoverer> <get_servers> <WLSDPLY-06604> <Adding Server ManagedServerB2>
####<Apr 1, 2024 10:51:52 PM> <INFO> <TopologyDiscoverer> <get_migratable_targets> <WLSDPLY-06607> <Discovering 4 Migratable Targets>
####<Apr 1, 2024 10:51:52 PM> <INFO> <TopologyDiscoverer> <get_migratable_targets> <WLSDPLY-06608> <Adding Migratable Target ManagedServerA1 (migratable)>
####<Apr 1, 2024 10:51:52 PM> <INFO> <TopologyDiscoverer> <get_migratable_targets> <WLSDPLY-06608> <Adding Migratable Target ManagedServerA2 (migratable)>
####<Apr 1, 2024 10:51:53 PM> <INFO> <TopologyDiscoverer> <get_migratable_targets> <WLSDPLY-06608> <Adding Migratable Target ManagedServerB1 (migratable)>
####<Apr 1, 2024 10:51:53 PM> <INFO> <TopologyDiscoverer> <get_migratable_targets> <WLSDPLY-06608> <Adding Migratable Target ManagedServerB2 (migratable)>
####<Apr 1, 2024 10:51:53 PM> <INFO> <TopologyDiscoverer> <get_server_templates> <WLSDPLY-06605> <Discovering 0 server templates>
####<Apr 1, 2024 10:51:53 PM> <INFO> <TopologyDiscoverer> <get_unix_machines> <WLSDPLY-06609> <Discovering 2 Unix machines>
####<Apr 1, 2024 10:51:53 PM> <INFO> <TopologyDiscoverer> <get_machines> <WLSDPLY-06611> <Discovering 2 machines>
####<Apr 1, 2024 10:51:53 PM> <INFO> <TopologyDiscoverer> <get_machines> <WLSDPLY-06612> <Adding Machine machineA>
####<Apr 1, 2024 10:51:53 PM> <INFO> <TopologyDiscoverer> <get_machines> <WLSDPLY-06612> <Adding Machine machineB>
####<Apr 1, 2024 10:51:54 PM> <INFO> <TopologyDiscoverer> <discover_security_configuration> <WLSDPLY-06622> <Adding Security Configuration>
####<Apr 1, 2024 10:51:56 PM> <INFO> <TopologyDiscoverer> <get_embedded_ldap_configuration> <WLSDPLY-06639> <Skipping Embedded LDAP Server Configuration>
####<Apr 1, 2024 10:51:56 PM> <INFO> <TopologyDiscoverer> <_get_log_filters> <WLSDPLY-06628> <Discovering 0 Log Filters>
####<Apr 1, 2024 10:51:56 PM> <INFO> <TopologyDiscoverer> <_get_reliable_delivery_policies> <WLSDPLY-06630> <Discovering 0 Reliable Delivery Policies>
####<Apr 1, 2024 10:51:56 PM> <INFO> <TopologyDiscoverer> <_get_virtual_hosts> <WLSDPLY-06647> <Discovering 0 Virtual Hosts>
####<Apr 1, 2024 10:51:56 PM> <INFO> <TopologyDiscoverer> <_get_xml_entity_caches> <WLSDPLY-06632> <Discovering 0 XML Entity Caches>
####<Apr 1, 2024 10:51:56 PM> <INFO> <TopologyDiscoverer> <_get_xml_registries> <WLSDPLY-06634> <Discovering 0 XML Registries>
####<Apr 1, 2024 10:51:56 PM> <INFO> <TopologyDiscoverer> <_get_ws_securities> <WLSDPLY-06649> <Discovering 0 Web Service Securities>
####<Apr 1, 2024 10:51:56 PM> <INFO> <ResourcesDiscoverer> <discover> <WLSDPLY-06300> <Discovering domain model resources>
####<Apr 1, 2024 10:51:56 PM> <INFO> <GlobalResourcesDiscoverer> <get_self_tuning> <WLSDPLY-06441> <Adding Self Tuning>
####<Apr 1, 2024 10:51:56 PM> <INFO> <GlobalResourcesDiscoverer> <get_startup_classes> <WLSDPLY-06442> <Discovering 0 Startup Classes>
####<Apr 1, 2024 10:51:56 PM> <INFO> <GlobalResourcesDiscoverer> <get_shutdown_classes> <WLSDPLY-06445> <Discovering 0 Shutdown Classes>
####<Apr 1, 2024 10:51:56 PM> <INFO> <GlobalResourcesDiscoverer> <_get_webapp_container> <WLSDPLY-06615> <Cross Domain Security is enabled, do not remove SecurityConfiguration CredentialEncrypted>
####<Apr 1, 2024 10:51:56 PM> <INFO> <GlobalResourcesDiscoverer> <get_singleton_service> <WLSDPLY-06445> <Discovering 0 Shutdown Classes>
####<Apr 1, 2024 10:51:56 PM> <INFO> <GlobalResourcesDiscoverer> <get_jolt_connection_pool> <WLSDPLY-06449> <Discovering 0 Jolt Connection Pools>
####<Apr 1, 2024 10:51:56 PM> <INFO> <GlobalResourcesDiscoverer> <get_wtc_servers> <WLSDPLY-06451> <Discovering 0 WTC Servers>
####<Apr 1, 2024 10:51:56 PM> <INFO> <CommonResourcesDiscoverer> <get_datasources> <WLSDPLY-06340> <Discovering 1 JDBC System Resources>
####<Apr 1, 2024 10:51:56 PM> <INFO> <CommonResourcesDiscoverer> <get_datasources> <WLSDPLY-06341> <Adding JDBC System Resource JDBC-Data-Source-Oracle>
####<Apr 1, 2024 10:51:57 PM> <INFO> <CommonResourcesDiscoverer> <get_foreign_jndi_providers> <WLSDPLY-06342> <Discovering 0 Foreign JNDI Providers>
####<Apr 1, 2024 10:51:57 PM> <INFO> <CommonResourcesDiscoverer> <get_mail_sessions> <WLSDPLY-06344> <Discovering 0 Mail Sessions>
####<Apr 1, 2024 10:51:57 PM> <INFO> <CommonResourcesDiscoverer> <get_file_stores> <WLSDPLY-06346> <Discovering 0 File Stores>
####<Apr 1, 2024 10:51:58 PM> <INFO> <CommonResourcesDiscoverer> <get_jdbc_stores> <WLSDPLY-06350> <Discovering 0 JDBC Stores>
####<Apr 1, 2024 10:51:58 PM> <INFO> <CommonResourcesDiscoverer> <get_path_services> <WLSDPLY-06355> <Discovering 0 Path Services>
####<Apr 1, 2024 10:51:58 PM> <INFO> <JmsResourcesDiscoverer> <get_jms_servers> <WLSDPLY-06470> <Discovering 0 JMS Servers>
####<Apr 1, 2024 10:51:58 PM> <INFO> <JmsResourcesDiscoverer> <get_saf_agents> <WLSDPLY-06472> <Discovering 0 SAF Agents>
####<Apr 1, 2024 10:51:58 PM> <INFO> <JmsResourcesDiscoverer> <get_jms_system_resources> <WLSDPLY-06478> <Discovering 0 JMS System Resources>
####<Apr 1, 2024 10:51:58 PM> <INFO> <JmsResourcesDiscoverer> <get_jms_bridge_destinations> <WLSDPLY-06474> <Discovering 0 JMS Bridge Destinations>
####<Apr 1, 2024 10:51:58 PM> <INFO> <JmsResourcesDiscoverer> <get_jms_bridges> <WLSDPLY-06476> <Discovering 0 JMS Messaging Bridges>
####<Apr 1, 2024 10:51:58 PM> <INFO> <CommonResourcesDiscoverer> <get_wldf_system_resources> <WLSDPLY-06357> <Discovering 0 WLDF System Resources>
####<Apr 1, 2024 10:51:58 PM> <INFO> <CommonResourcesDiscoverer> <_get_named_resources> <WLSDPLY-06364> <Discovering 0 SystemComponent elements>
####<Apr 1, 2024 10:51:58 PM> <INFO> <CoherenceResourcesDiscoverer> <_get_coherence_clusters> <WLSDPLY-06311> <Discovering 0 Coherence Cluster System Resources>
####<Apr 1, 2024 10:51:58 PM> <INFO> <DeploymentsDiscoverer> <discover> <WLSDPLY-06380> <Discovering domain model deployments>
####<Apr 1, 2024 10:51:58 PM> <INFO> <DeploymentsDiscoverer> <get_applications> <WLSDPLY-06391> <Discovering 1 Applications>
####<Apr 1, 2024 10:51:58 PM> <INFO> <DeploymentsDiscoverer> <get_applications> <WLSDPLY-06392> <Adding Application basicWebapp>
####<Apr 1, 2024 10:51:58 PM> <INFO> <DeploymentsDiscoverer> <add_application_to_archive> <WLSDPLY-06394> <Add application basicWebapp binary /git/weblogic/dave-basic-project/dave-basic-webapp-project/target/basicWebapp.war to archive>
####<Apr 1, 2024 10:51:58 PM> <INFO> <MultiTenantDiscoverer> <discover> <WLSDPLY-06700> <Discover Multi-tenant>
####<Apr 1, 2024 10:51:58 PM> <INFO> <MultiTenantTopologyDiscoverer> <discover> <WLSDPLY-06709> <Discover Multi-tenant Topology>
####<Apr 1, 2024 10:51:58 PM> <INFO> <MultiTenantResourcesDiscoverer> <discover> <WLSDPLY-06707> <Discover Multi-tenant Resources>
####<Apr 1, 2024 10:51:58 PM> <INFO> <filter_helper> <apply_filters> <WLSDPLY-20017> <No filter configuration file /app/weblogic-deploy/lib/model_filters.json>
####<Apr 1, 2024 10:51:58 PM> <INFO> <filter_helper> <apply_filters> <WLSDPLY-20016> <No filters of type discover found in filter configuration file /app/weblogic-deploy/lib/model_filters.json>
####<Apr 1, 2024 10:51:58 PM> <INFO> <variable_injector> <inject_variables_keyword_file> <WLSDPLY-19519> <No variables were inserted into the model during variable replacement>
####<Apr 1, 2024 10:51:58 PM> <INFO> <Validator> <__validate_model_file> <WLSDPLY-05002> <Performing validation in TOOL mode for WebLogic Server version 14.1.1.0.0 and WLST ONLINE mode>
####<Apr 1, 2024 10:51:58 PM> <INFO> <Validator> <__validate_model_file> <WLSDPLY-05003> <Performing model validation on the /git/weblogic/wdt/DiscoveredABDataSourceEARDomain.yaml model file>
####<Apr 1, 2024 10:51:58 PM> <INFO> <Validator> <__validate_model_file> <WLSDPLY-05005> <Performing archive validation on the /git/weblogic/wdt/DiscoveredABDataSourceEARDomain.zip archive file>
####<Apr 1, 2024 10:51:58 PM> <INFO> <Validator> <__validate_model_section> <WLSDPLY-05008> <Validating the domainInfo section of the model file>
####<Apr 1, 2024 10:51:58 PM> <INFO> <Validator> <__validate_model_section> <WLSDPLY-05008> <Validating the topology section of the model file>
####<Apr 1, 2024 10:51:58 PM> <INFO> <Validator> <__validate_model_section> <WLSDPLY-05008> <Validating the resources section of the model file>
####<Apr 1, 2024 10:51:58 PM> <INFO> <Validator> <__validate_model_section> <WLSDPLY-05008> <Validating the appDeployments section of the model file>
Issue Log for discoverDomain version 3.5.4 running WebLogic version 14.1.1.0.0 online mode:
Total: SEVERE : 0 WARNING : 0
discoverDomain.sh completed successfully (exit code = 0)
Created model
$ cat /git/weblogic/wdt/DiscoveredABDataSourceEARDomain.yaml
# This model was created using the WebLogic Deploy Tooling 3.5.4 discoverDomain tool
# running in ONLINE mode against a domain using WebLogic Server 14.1.1.0.0.
#
domainInfo:
AdminUserName: --FIX ME--
AdminPassword: --FIX ME--
topology:
Name: base_domain
Cluster:
ClusterA: {}
ClusterB: {}
Server:
AdminServer:
Machine: machineA
ManagedServerA1:
ListenPort: 7003
Machine: machineA
Cluster: ClusterA
JTAMigratableTarget:
UserPreferredServer: ManagedServerA1
Cluster: ClusterA
ManagedServerA2:
ListenPort: 7004
Machine: machineA
Cluster: ClusterA
JTAMigratableTarget:
UserPreferredServer: ManagedServerA2
Cluster: ClusterA
ManagedServerB1:
ListenPort: 7005
Machine: machineB
Cluster: ClusterB
JTAMigratableTarget:
UserPreferredServer: ManagedServerB1
Cluster: ClusterB
ManagedServerB2:
ListenPort: 7006
Machine: machineB
Cluster: ClusterB
JTAMigratableTarget:
UserPreferredServer: ManagedServerB2
Cluster: ClusterB
MigratableTarget:
ManagedServerA1 (migratable):
Notes: This is a system generated default migratable target for a server.
Do not delete manually.
UserPreferredServer: ManagedServerA1
Cluster: ClusterA
ManagedServerA2 (migratable):
Notes: This is a system generated default migratable target for a server.
Do not delete manually.
UserPreferredServer: ManagedServerA2
Cluster: ClusterA
ManagedServerB1 (migratable):
Notes: This is a system generated default migratable target for a server.
Do not delete manually.
UserPreferredServer: ManagedServerB1
Cluster: ClusterB
ManagedServerB2 (migratable):
Notes: This is a system generated default migratable target for a server.
Do not delete manually.
UserPreferredServer: ManagedServerB2
Cluster: ClusterB
Machine:
machineA: {}
machineB: {}
SecurityConfiguration:
NodeManagerPasswordEncrypted: --FIX ME--
resources:
JDBCSystemResource:
JDBC-Data-Source-Oracle:
Target: ClusterA,ClusterB
JdbcResource:
DatasourceType: GENERIC
JDBCConnectionPoolParams:
TestTableName: SQL ISVALID
JDBCDataSourceParams:
JNDIName: jdbc/DaveOracle
JDBCDriverParams:
DriverName: oracle.jdbc.OracleDriver
PasswordEncrypted: --FIX ME--
URL: jdbc:oracle:thin:@//localhost:1521/DAVE_ORACLE
Properties:
user:
Value: weblogic
appDeployments:
Application:
basicWebapp:
SourcePath: wlsdeploy/applications/basicWebapp.war
ModuleType: war
Target: ClusterA,ClusterB
Created archive
$ unzip -l /git/weblogic/wdt/DiscoveredABDataSourceEARDomain.zip
Archive: /git/weblogic/wdt/DiscoveredABDataSourceEARDomain.zip
Length Date Time Name
--------- ---------- ----- ----
22119 04-01-2024 22:51 wlsdeploy/applications/basicWebapp.war
--------- -------
22119 1 file
Extract domain
$ ./extractDomainResource.sh -oracle_home /app/weblogic -domain_home /app/weblogic/user_projects/domains/base_domain/ -model_file /git/weblogic/wdt/DiscoveredABDataSourceEARDomain.yaml -output_dir /git/weblogic/wdt/resource/k8s/domainABDSEAR -target wko
JDK version is 11.0.22+9-LTS-219
JAVA_HOME = /usr/java/jdk-11
CLASSPATH = /app/weblogic-deploy/lib/weblogic-deploy-core.jar:/app/weblogic/wlserver/server/lib/weblogic.jar
JAVA_PROPERTIES = -Djava.util.logging.config.class=oracle.weblogic.deploy.logging.WLSDeployLoggingConfig -Dpython.cachedir.skip=true -Dpython.console=
/usr/java/jdk-11/bin/java -cp /app/weblogic-deploy/lib/weblogic-deploy-core.jar:/app/weblogic/wlserver/server/lib/weblogic.jar -Djava.util.logging.config.class=oracle.weblogic.deploy.logging.WLSDeployLoggingConfig -Dpython.cachedir.skip=true -Dpython.console= -Dpython.path=/app/weblogic/wlserver/common/wlst/modules/jython-modules.jar/Lib org.python.util.jython /app/weblogic-deploy/lib/python/extract_resource.py -oracle_home /app/weblogic -domain_home /app/weblogic/user_projects/domains/base_domain/ -model_file /git/weblogic/wdt/DiscoveredABDataSourceEARDomain.yaml -output_dir /git/weblogic/wdt/resource/k8s/domainABDSEAR -target wko
####<Apr 1, 2024 10:57:26 PM> <INFO> <WebLogicDeployToolingVersion> <logVersionInfo> <WLSDPLY-01750> <The WebLogic Deploy Tooling extractDomainResource version is 3.5.4:.43d3afb:Mar 14, 2024 11:55 UTC>
####<Apr 1, 2024 10:57:26 PM> <INFO> <WLSDeployLoggingConfig> <logLoggingDirectory> <WLSDPLY-01755> <The extractDomainResource program will write its log to directory /app/weblogic-deploy/logs>
####<Apr 1, 2024 10:57:26 PM> <INFO> <DomainTypedef> <__init__> <WLSDPLY-12328> <Domain type WLS type definition file /app/weblogic-deploy/lib/typedefs/WLS.json version WLS_14 does not contain a postCreateRcuSchemasScript section>
####<Apr 1, 2024 10:57:26 PM> <INFO> <DomainTypedef> <__init__> <WLSDPLY-12321> <Domain type WLS type definition file /app/weblogic-deploy/lib/typedefs/WLS.json version WLS_14 does not contain a postCreateDomainScript section>
####<Apr 1, 2024 10:57:26 PM> <INFO> <DomainTypedef> <__init__> <WLSDPLY-12328> <Domain type WLS type definition file /app/weblogic-deploy/lib/typedefs/WLS.json version WLS_14 does not contain a postCreateRcuSchemasScript section>
####<Apr 1, 2024 10:57:26 PM> <INFO> <DomainTypedef> <__init__> <WLSDPLY-12321> <Domain type WLS type definition file /app/weblogic-deploy/lib/typedefs/WLS.json version WLS_14 does not contain a postCreateDomainScript section>
####<Apr 1, 2024 10:57:26 PM> <INFO> <ModelContext> <__copy_from_args> <WLSDPLY-01050> <WebLogic version for aliases is 14.1.1.0.0>
####<Apr 1, 2024 10:57:26 PM> <INFO> <filter_helper> <apply_filters> <WLSDPLY-20016> <No filters of type extract found in filter configuration file /app/weblogic-deploy/lib/targets/wko/target.json>
####<Apr 1, 2024 10:57:26 PM> <INFO> <Validator> <__validate_model_file> <WLSDPLY-05002> <Performing validation in TOOL mode for WebLogic Server version 14.1.1.0.0 and WLST OFFLINE mode>
####<Apr 1, 2024 10:57:26 PM> <INFO> <Validator> <__validate_model_file> <WLSDPLY-05003> <Performing model validation on the /git/weblogic/wdt/DiscoveredABDataSourceEARDomain.yaml model file>
####<Apr 1, 2024 10:57:26 PM> <INFO> <Validator> <__validate_model_section> <WLSDPLY-05008> <Validating the domainInfo section of the model file>
####<Apr 1, 2024 10:57:26 PM> <INFO> <Validator> <__validate_model_section> <WLSDPLY-05008> <Validating the topology section of the model file>
####<Apr 1, 2024 10:57:27 PM> <INFO> <Validator> <__validate_model_section> <WLSDPLY-05008> <Validating the resources section of the model file>
####<Apr 1, 2024 10:57:27 PM> <INFO> <Validator> <__validate_model_section> <WLSDPLY-05008> <Validating the appDeployments section of the model file>
####<Apr 1, 2024 10:57:27 PM> <INFO> <Validator> <__validate_single_path_in_archive> <WLSDPLY-05025> <Attribute SourcePath in model location appDeployments:/Application/basicWebapp references archive entry wlsdeploy/applications/basicWebapp.war but the archive file was not provided>
####<Apr 1, 2024 10:57:27 PM> <INFO> <vz_config_helper> <_create_file> <WLSDPLY-01662> <Creating target configuration file /git/weblogic/wdt/resource/k8s/domainABDSEAR/wko-domain.yaml>
####<Apr 1, 2024 10:57:27 PM> <INFO> <crd_file_updater> <update_from_model> <WLSDPLY-01675> <Updating target output file "/git/weblogic/wdt/resource/k8s/domainABDSEAR/wko-domain.yaml" from the kubernetes section of the model>
Issue Log for extractDomainResource version 3.5.4 running WebLogic version 14.1.1.0.0 offline mode:
Total: SEVERE : 0 WARNING : 0
extractDomainResource.sh completed successfully (exit code = 0)
Created domain resource
$ cat /git/weblogic/wdt/resource/k8s/domainABDSEAR/wko-domain.yaml
apiVersion: weblogic.oracle/v8
kind: Domain
metadata:
name: base-domain
namespace: base-domain
labels:
weblogic.domainUID: base-domain
spec:
domainHome: /app/weblogic/user_projects/domains/base_domain/
domainHomeSourceType: FromModel
image: '{{{imageName}}}'
# Add any credential secrets that are required to pull the image
imagePullSecrets: []
webLogicCredentialsSecret:
name: base-domain-weblogic-credentials
serverPod:
env:
- name: JAVA_OPTIONS
value: -Dweblogic.StdoutDebugEnabled=false
- name: USER_MEM_ARGS
value: '-Djava.security.egd=file:/dev/./urandom -Xms64m -Xmx256m '
clusters:
- clusterName: ClusterA
# replicas: 99 # Set a specific replica count for this cluster
serverPod:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: weblogic.clusterName
operator: In
values:
- $(CLUSTER_NAME)
topologyKey: kubernetes.io/hostname
- clusterName: ClusterB
# replicas: 99 # Set a specific replica count for this cluster
serverPod:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: weblogic.clusterName
operator: In
values:
- $(CLUSTER_NAME)
topologyKey: kubernetes.io/hostname
configuration:
istio:
enabled: false
introspectorJobActiveDeadlineSeconds: 900
model:
domainType: WLS
modelHome: '{{{modelHome}}}'
runtimeEncryptionSecret: base-domain-runtime-encryption-secret
No comments:
Post a Comment