Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WLS_domain issue #552

Open
satheesanraja opened this issue Apr 17, 2019 · 6 comments
Open

WLS_domain issue #552

satheesanraja opened this issue Apr 17, 2019 · 6 comments

Comments

@satheesanraja
Copy link

Hi,

I need you help when i am calling the WLS_Domain module for the domain instance . Puppet is calling default domain. Not the domain which i created. It saying the below error. kindly help on this i am stuck with this.

Debug: Your environment has been set.

Debug:

Debug: Initializing WebLogic Scripting Tool (WLST) ...

Debug:

Debug: Welcome to WebLogic Server Administration Scripting Shell

Debug:

Debug: Type help() for help on available commands

Debug:

Debug: wls:/offline> execfile('/tmp/wlstCommonScript.py20190417-19335-8npod2')

Debug: wls:/offline> domain = 'default'

Debug: wls:/offline> tmp_script = '/tmp/wlstScriptdefault.out'

Debug: wls:/offline> use_default_value_when_empty = True

Debug: wls:/offline> weblogicUser = 'weblogic'

Debug: wls:/offline> weblogicPassword = 'weblogic1'

Debug: wls:/offline> connect('weblogic','weblogic1','t3://10.11.3.132:7001')

Debug: Connecting to t3://10.11.3.132:7001 with userid weblogic ...

Debug: wls:/offline> execfile('/tmp/wlstScript20190417-19335-1mvgwff.py')

Debug: Error: No domain or domain template has been read.

Debug: Error: No domain or domain template has been read.

Debug: get att Name

Debug:

Debug: You will need to be connected to a running server to execute this command

Debug:

Debug: error retrieving fields do ls()

Debug: Error: No domain or domain template has been read.

Debug: Unexpected error: exceptions.AttributeError

@biemond
Copy link
Owner

biemond commented Apr 17, 2019

please use wls_settings and use this name as a namespace in all the wls custom providers names. default it will use the default when it is not specified

@satheesanraja
Copy link
Author

Thanks. just for confirmation "use this name as a namespace" means the name i have to give domain that i created?.

@satheesanraja
Copy link
Author

i am getting this error
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Could not find resource 'icon_wls::domain[base_domain]' in parameter 'require' on node

@satheesanraja
Copy link
Author

Hi,

My wls_setting is like this

wls_setting_instances:
'base_domain':
user: *wls_os_user
weblogic_home_dir: *wls_weblogic_home_dir
connect_url: "t3://10.11.3.132:7001"
weblogic_user: *wls_weblogic_user
weblogic_password: *domain_wls_password
post_classpath: '/apps/oracle/product/fmw/middleware12c/oracle_common/modules/internal/features/jrf_wlsFmw_oracle.jrf.wlst.jar'
use_default_value_when_empty: false
require: icon_wls_admin::Domain['base_domain']
debug_module: false

Is this correct

@satheesanraja
Copy link
Author

Hi,

I am getting this error. Kindly help me to proceed with this

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Invalid relationship: Wls_setting[default] { require => orawls::domain[base_domain] }, because orawls::domain[base_domain] doesn't seem to be in the correct format. Resource references should be formatted as: Classname['title'] or Modulename::Classname['title'] (take careful note of the capitalization).
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants