Production side by side application redeployment does not work for portal applications. (Doc ID 1052217.1)

Last updated on JANUARY 03, 2017

Applies to:

Oracle WebLogic Portal - Version 10.2.0 to 10.2.1
Information in this document applies to any platform.

Symptoms


===================
The production redeployment feature with portal application is not working as described in the following link.
http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/prodOps/deployment.html#wp1048015

The production redeployment feature is not working at all. When we try to deploy the second version of application, the deployer command line hanging and that application always in 'deploy running' state. It never retires the first application and make the second application active. From thread dumps found that one thread stuck on following API call and causing the issue.

com.bea.p13n.util.lease.JDBCLeaseManager.obtainLease(JDBCLeaseManager.java:103

Follow the steps below to reproduce this issue.


1) Create a simple portal domain and create two simple portal applications with manifest verison 0.9GA and 1.0.
2) Deploy the 0.9GA version of application using following command
line option

java weblogic.Deployer -adminurl t3://localhost:7001 -user weblogic -password
weblogic -deploy -name TestEAR -source TestEAR.ear -targets AdminServer

3) Go to server console and change that application to Admin mode.

4) Now deploy the version 1.0 application using following command line.

java weblogic.Deployer -adminurl t3://localhost:7001 -user weblogic -password
weblogic -redeploy -name TestEAR -source C:\tmp\TestEAR.ear -targets
AdminServer

The above command hangs and finally die with timeout exception. In the sever
console the application state always show 'deploy running'.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms