Updating Deployment Results in weblogic.management.ManagementException: [J2EE:160257] (Doc ID 2219883.1)

Last updated on FEBRUARY 03, 2017

Applies to:

Oracle WebLogic Server - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

Below error happens when updating the deployment by uploading application files from local machine to remote server:

 
Steps to reproduce:

1.deploy the application

① login to admin console
② click deployment
③ click [lock & edit]
④ click [install]
⑤ click [upload file]  *uploading files from local to remote server
⑥ click [next] after selecting the deployment ***.war from local to deployment archive text area
⑦ click [next] by defalut setting
⑧ click [next] by defalut setting
⑨ click [next] after selecting target server
⑨ click [finish]
⑪ click [activate midification] *1

*1 Below path is displayed after installing the deployment ***.war.
<DOMAIN_NAME>/servers/<SERVER_NAME>/ upload/ ***. war/ app/ ***. war

2.update the application

① login to admin console
② click deployment
③ click [lock & edit]
④ select the deployment ***.war
⑤ click [update]
⑥ click [path change]
⑦ click [upload file]  *uploading files from local to remote server
⑧ click [next]
⑨ click [next] after selecting the deployment ***.war from local to deployment archive text area
⑦ click [next] by defalut setting
⑧ click [next] by default setting *2
⑨ click [finish]

*2 Below path is displayed after selecting ***.war to update.
<DOMAIN_NAME>/servers/<SERVER_NAME>/ upload/ ***. war

Changes

When installing a deployment by uploading application war files from local  machine to remote server, the paths of deployment are different:

Before wls12.1.3:<DOMAIN_NAME>/servers/<SERVER_NAME>/ upload/ ***. war/ app/ ***. war

After 12.2.1:        <DOMAIN_NAME>/servers/<SERVER_NAME>/ upload/ ***. war

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