Rolling Upgrade Fails With 404 Error On Oracle Application Server10.1.3.1 (Doc ID 453358.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Containers for J2EE - Version: 10.1.3.1
This problem can occur on any platform.

Symptoms

On Oracle Application Server 10.1.3.1.0, when attempting perform a rolling upgrade of a simple web application, the following error occurs.

ERROR
------
HTTP 500, 404 for the Requests submitted by JMeter


The issue can be reproduced by running the following test case:

1. On 10.1.3.1 oracle application server, create 4 OC4J containers
2. Group these 4 containers under the same group from EM
3. Deploy the same application on all 4 OC4J containers. You can write a simple JSP which queries the system date
4. Using JMETER(to simulate load), create a test plan and run the test to keep polling for the application that is deployed
5. Redeploy the application on any 1 OC4J while the JMETER test is running
6. After the run of the test, check the JMETER error logs
7. Also check the access logs of iAS

Found the 404 error at both places at the same timestamp when the application was being redeployed.

Redeployment done at 12:20:07

Error in JMETER's error logs(Only a few entries)
++++++++++++++++++++++++++++
1178086659948,10,ShowDateJSP,200,OK,HotDeployment 1-9,text,true
1178086659948,20,ShowDateJSP,404,Not Found,HotDeployment 1-6,text,false
1178086659958,10,ShowDateJSP,200,OK,HotDeployment 1-5,text,true
1178086659958,10,ShowDateJSP,200,OK,HotDeployment 1-8,text,true
1178086659908,10,ShowDateJSP,404,Not Found,HotDeployment 1-10,text,false
1178086659958,20,ShowDateJSP,404,Not Found,HotDeployment 1-2,text,false
1178086659958,20,ShowDateJSP,200,OK,HotDeployment 1-9,text,true
1178086659958,10,ShowDateJSP,200,OK,HotDeployment 1-4,text,true

Error in access logs(Only a few entries)
++++++++++++++++++++

152.69.166.159 - - [02/May/2007:12:20:07 +0530] "GET /testwar/ShowDate.jsp HTTP/1.1" 200 1854
152.69.166.159 - - [02/May/2007:12:20:07 +0530] "GET /testwar/ShowDate.jsp HTTP/1.1" 404 236
152.69.166.159 - - [02/May/2007:12:20:07 +0530] "GET /testwar/ShowDate.jsp HTTP/1.1" 404 236
152.69.166.159 - - [02/May/2007:12:20:07 +0530] "GET /testwar/ShowDate.jsp HTTP/1.1" 200 1854
152.69.166.159 - - [02/May/2007:12:20:07 +0530] "GET /testwar/ShowDate.jsp HTTP/1.1" 200 1854
152.69.166.159 - - [02/May/2007:12:20:07 +0530] "GET /testwar/ShowDate.jsp HTTP/1.1" 404 236
152.69.166.159 - - [02/May/2007:12:20:07 +0530] "GET /testwar/ShowDate.jsp HTTP/1.1" 200 1854
152.69.166.159 - - [02/May/2007:12:20:07 +0530] "GET /testwar/ShowDate.jsp HTTP/1.1" 200 1854
152.69.166.159 - - [02/May/2007:12:20:07 +0530] "GET /testwar/ShowDate.jsp HTTP/1.1" 404 236
152.69.166.159 - - [02/May/2007:12:20:07 +0530] "GET /testwar/ShowDate.jsp HTTP/1.1" 200 1854
152.69.166.159 - - [02/May/2007:12:20:07 +0530] "GET /testwar/ShowDate.jsp HTTP/1.1" 404 236
152.69.166.159 - - [02/May/2007:12:20:07 +0530] "GET /testwar/ShowDate.jsp HTTP/1.1" 200 1854
152.69.166.159 - - [02/May/2007:12:20:07 +0530] "GET /testwar/ShowDate.jsp HTTP/1.1" 200 1854
152.69.166.159 - - [02/May/2007:12:20:07 +0530] "GET /testwar/ShowDate.jsp HTTP/1.1" 200 1854
152.69.166.159 - - [02/May/2007:12:20:07 +0530] "GET /testwar/ShowDate.jsp HTTP/1.1" 404 236
152.69.166.159 - - [02/May/2007:12:20:07 +0530] "GET /testwar/ShowDate.jsp HTTP/1.1" 200 1854
152.69.166.159 - - [02/May/2007:12:20:07 +0530] "GET /testwar/ShowDate.jsp HTTP/1.1" 404 236

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