Skip to content

DiscoverDomain (online) encountered an unexpected runtime exception. Exception: exceptions.AttributeError #1608

Closed
@RogierEnders

Description

@RogierEnders

I'm trying to generate a model file of an existing online domain but discoverDomain encountered a runtime exception.

The domain has a persistent store of type "JDBCStore" with a target "wls_server1". The store is configured with the property "create tabel from ddl file" with the value "weblogic/store/io/jdbc/ddl/oracle_blob_securefile.ddl".

The discoverdomain script can't handle this situation. When I remove the value of the property "create tabel from ddl file", the script ends normally.

The log file
discoverDomain.log.error.log

A part of the stdout.
####<13 Jan 2025 21:47:58> <get_jdbc_stores> <Discovering 3 JDBC Stores>
####<13 Jan 2025 21:47:58> <get_jdbc_stores>
####<13 Jan 2025 21:48:00> <get_jdbc_stores>
####<13 Jan 2025 21:48:02> <get_jdbc_create_script> <Adding JDBC Store jdbcSafStoreWLS1 create DDL file /u01/app/oracle/domains/dm-poo662-wls-o/weblogic/store/io/jdbc/ddl/oracle_blob_securefile.ddl to archive>
####<13 Jan 2025 21:48:02>

Issue Log for discoverDomain version 4.3.0 running WebLogic version 12.2.1.4.0.220105 in online mode against server using WebLogic version 12.2.1.4.0:

WARNING Messages:

    1. WLSDPLY-06642: Custom Keystore file kss://owsm/keystore at location /Server is a kss type which is not currently supported. The Custom Keystore file will not be added to the archive file. Use export / import to add the file to the target domain
    2. WLSDPLY-06642: Custom Keystore file kss://owsm/truststore at location /Server is a kss type which is not currently supported. The Custom Keystore file will not be added to the archive file. Use export / import to add the file to the target domain
    3. WLSDPLY-06642: Custom Keystore file kss://owsm/keystore at location /Server/NetworkAccessPoint is a kss type which is not currently supported. The Custom Keystore file will not be added to the archive file. Use export / import to add the file to the target domain
    4. WLSDPLY-06642: Custom Keystore file kss://owsm/keystore at location /Server/NetworkAccessPoint is a kss type which is not currently supported. The Custom Keystore file will not be added to the archive file. Use export / import to add the file to the target domain
    5. WLSDPLY-06642: Custom Keystore file kss://owsm/keystore at location /Server/NetworkAccessPoint is a kss type which is not currently supported. The Custom Keystore file will not be added to the archive file. Use export / import to add the file to the target domain
    6. WLSDPLY-06140: Unable to cd to the expected path /SecurityConfiguration/dm-poo662-wls-o/Realms/myrealm/AuthenticationProviders/Trust Service Identity Asserter constructed from location context model_folders = ['SecurityConfiguration', 'Realm', 'AuthenticationProvider', 'TrustServiceIdentityAsserter'],  'name_tokens' = {'REALM': 'myrealm','SECURITYCONFIGURATION': 'dm-poo662-wls-o','DOMAIN': 'dm-poo662-wls-o','PROVIDER': 'Trust Service Identity Asserter','SECUREMODE': 'dm-poo662-wls-o'}; the current folder and its sub-folders cannot be discovered: cd(/SecurityConfiguration/dm-poo662-wls-o/Realms/myrealm/AuthenticationProviders/Trust Service Identity Asserter) in online mode failed: Error occurred while performing cd : Error while browsing MBeans : java.lang.ClassNotFoundException: oracle.security.jps.wls.providers.trust.TrustServiceIdentityAsserterMBean 

Use dumpStack() to view the full stacktrace :

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.AttributeError

Total: SEVERE : 1 WARNING : 6

Remote discovery created a model that references files or directories on the remote machine that could not be collected. Please collect the items at the paths listed below and add them to the archive file at the specified locations.

TODO Messages:

    1. WLSDPLY-06042: Please create the FILE_STORE in the archive file at wlsdeploy/stores/UMSJMSFileStore.
    2. WLSDPLY-06042: Please create the FILE_STORE in the archive file at wlsdeploy/stores/mds-owsm.

discoverDomain.sh failed (exit 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