最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to export osb resources sbconfig.jar to a directory using WLST - Stack Overflow

programmeradmin3浏览0评论

I login to Oracle Service Bus web console below URL.

https://mybank:7001/servicebus/faces/resources

I click on Export icon -> "export resources" -> export contents(resources + include resource dependencies) -> Export(button) to /tmp/sbconfig.jar.

"All projects" should be checked and "protect sensitive data" should be unchecked.

Need wlst script for this export activity.

I tried the below but it fails:

wls:/base_domain/domainRuntime/DomainServices/ALSBConfiguration> domainRuntime()
Already in Domain Runtime Tree
wls:/base_domain/domainRuntime/DomainServices/ALSBConfiguration> cd('/DomainServices/ALSBConfiguration')
wls:/base_domain/domainRuntime/DomainServices/ALSBConfiguration> configMBean = getMBean('/DomainServices/ALSBConfiguration')
wls:/base_domain/domainRuntime/DomainServices/ALSBConfiguration> exportParams = configMBean.createExportParams()
Traceback (innermost last):
  File "<console>", line 1, in ?
AttributeError: createExportParams

as well as this:

wls:/base_domain/domainRuntime/DomainServices/ALSBConfiguration> sessionMBean = findService("ALSBConfiguration", "com.bea.wli.config.session.ALSSessionManager")

wls:/base_domain/domainRuntime/DomainServices/ALSBConfiguration>     exportParams = sessionMBean.getExportSettings()
Traceback (innermost last):
  File "<console>", line 1, in ?
AttributeError: 'NoneType' object has no attribute 'getExportSettings'
wls:/base_domain/domainRuntime/DomainServices/ALSBConfiguration>

Can you please suggest?

发布评论

评论列表(0)

  1. 暂无评论