Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Re-deploy 'oracle.iam.ui.custom' shared library on OIM server

Narasimha Sharma-OracleOct 25 2017 — edited Nov 20 2017

I was trying to redeploy 'oracle.iam.ui.custom' library on OIM weblogic admin server through wlst script.

connect('user', 'pass', 't3//host:port'')

domainConfig()

edit()

startEdit()

redeploy(appName='oracle.iam.ui.custom', path='<OIM>/server/apps/oracle.iam.ui.custom-dev-starter-pack.war', stageMode='nostage', libraryModule='true')

save()

activate()

After redeployment, I noticed that the two applicaitons (below) which were referencing this library are no longer shown in the Overview Settings for oracle.iam.ui.custom(11.1.1,11.1.1) Library after deployment.

oracle.iam.console.identity.self-service.ear

oracle.iam.console.identity.sysadmin.ear

I referred below blog and deleted the newly redeployed 'oracle.iam.ui.custom' library and above two applications and started deploying again (library first, followed by applications)

https://blogs.oracle.com/weblogicserver/redeploying-libraries-in-iterative-development

Now the Library deployment state is 'New' is not turned to 'Active'.

wls:/oim_domain/edit> prog4.printStatus()

Current Status of your Deployment:

Deployment command type: deploy

Deployment State       : completed

Deployment Message     : [Deployer:149034]An exception occurred for task [Deployer:149117]deploy library oracle.iam.ui.custom [LibSpecVersion=11.1.1,LibImplVersion=11.1.1] on oim_cluster.: .

wls:/oim_domain/edit>

Also, when I am deploying the applications, I am getting below exception about other oracle.iam.ui.model library

WLSTException: Error occured while performing activate : Error while Activating changes. : [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.iam.ui.model, exact-match: false].

How do I correctly deploy the below 4 libraries and 2 applications using wlst script ?

oracle.iam.ui.custom

oracle.iam.ui.model

oracle.iam.ui.oia-view

oracle.iam.ui.view

oracle.iam.console.identity.self-service.ear

oracle.iam.console.identity.sysadmin.ear

This post has been answered by Narasimha Sharma-Oracle on Nov 20 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 18 2017
Added on Oct 25 2017
2 comments
361 views