- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 66 Insurance
- 536.8K On-Premises Infrastructure
- 138.4K Analytics Software
- 38.6K Application Development Software
- 5.9K Cloud Platform
- 109.5K Database Software
- 17.6K Enterprise Manager
- 8.8K Hardware
- 71.2K Infrastructure Software
- 105.3K Integration
- 41.6K Security Software
deploy aar asset using wlst
We're trying to figure out how to deploy assets to WebCenter Portal using WLST.
We created PageTemplateAsset project which deploys perfectly fine to our WebCenter Portal while deployed via JDeveloper 22.214.171.124.0.
Unfortunately, we don't have an access to the WebLogic server where the application is going to be run and we have to prepare *.aar file which will be deployed using WLST scripts.
According to docs (WebCenter Portal Custom WLST Commands), we were trying to use importWebCenterResource() method.
We built an *.aar file using JDeveloper and tried to import the page template. This *.aar file is exactly the same as if we used ojdeploy tool.
Unfortunately, we receive the following error:
importWebCenerResource(appName="webcenter", fileName="/home/oracle/template.aar", resourceType="pageTemplate")Error occurred while performing importThe asset archive specified is invalid. Specify a valid archive, and try again.Check the WebCenter Portal log files for additional details.
Out of curiosity, we exported the template from the WebCenter Portal using exportWebCenterResource() method and the *.aar archive exported from the WCP was different to the one created by JDeveloper.
Providing this exported archive while invoking importWebCenterResource(), deployment finishes successfully.
Has anyone found a way to deploy a JDeveloper created template asset using WLST scripts only?
We also tried to follow Doc ID 1999250.1 to debug WLST commands. Unfortunately, providing mentioned parameters while running JDeveloper didn't change anything and no logs were written.