My Oracle Support Banner

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

Last updated on AUGUST 23, 2023

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 to 12.2.1.3.0 [Release 12c]
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

a. Login to admin console
b. Click deployment
c. Click [lock & edit]
d. Click [install]
e. Click [upload file]  *uploading files from local to remote server
f.  Click [next] after selecting the deployment ***.war from local to deployment archive text area
g. Click [next] by default setting
h. Click [next] by default setting
i.  Click [next] after selecting target server
j.  Click [finish]
k. Click [activate modification] *1

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

2.Update the application

a. Login to admin console
b. Click deployment
c. Click [lock & edit]
d. Select the deployment ***.war
e. Click [update]
f.  Click [path change]
g. Click [upload file]  *uploading files from local to remote server
h. Click [next]
i.  Click [next] after selecting the deployment ***.war from local to deployment archive text area
j.  Click [next] by defalut setting
k. Click [next] by default setting *2
l.  Click [finish]

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

Note: The issue  happens on WebLogic 12.1.3 from PSU 12.1.3.0.181016, WebLogic 12.2.1 and later versions.

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.