Export
connect(‘weblogic’,’weblogic’, ‘t3://localhost:8003′)
domainRuntime()
cd(‘/DomainServices/DomainRuntimeService/DomainConfiguration/DomainA/SecurityConfiguration/DomainA/DefaultRealm/myrealm/AuthenticationProviders/DefaultAuthenticator’)
cmo.exportData(‘DefaultAtn’,’c:/export.ldif’, Properties())
Import
connect(‘weblogic’,’weblogic’, ‘t3://localhost:8003′)
domainRuntime()
cd(‘/DomainServices/DomainRuntimeService/DomainConfiguration/DomainB/SecurityConfiguration/DomainB/DefaultRealm/myrealm/AuthenticationProviders/DefaultAuthenticator’)
cmo.importData(‘DefaultAtn’,’c:/export.ldif’, Properties())
Faisal, this post really helped.Thanks a lot!!FromAnup & RaviKiran Mane
How to import if the Authenticator is a customized one which connects to Database??
I am sorry, but you question is not very clear.
What do you want to achieve?
How can I export JDBC, JMS and Work Managers configurations from one domain to another domain using WLST?
Hi Ram,
You can create a domain template and create a new domain from that template.
Thanks
Export
connect(‘weblogic’,’weblogic’, ‘t3://localhost:8003′)
domainRuntime()
cd(‘/DomainServices/DomainRuntimeService/DomainConfiguration/DomainA/SecurityConfiguration/DomainA/DefaultRealm/myrealm/AuthenticationProviders/DefaultAuthenticator’)
cmo.exportData(‘DefaultAtn’,’c:/export.ldif’, Properties())
Above code not working for exporting users to a file, can you please suggest how to resolve the issue:
File “”, line 164, in cd
File “”, line 553, in raiseWLSTException
WLSTException: Error cding to the MBean