cancel
Showing results for 
Search instead for 
Did you mean: 

Recommended database patch 7252962 fails to update classes12.zip

audunlea_hansen
Active Participant
0 Kudos

Have an db on linux, RHEL5 with 10.2.0.4_64

When I try to install patch 7252962 listed in the recommended list, it fails with updating classes12.zip:

The following actions have failed:

Jar not applied /oracle/stage/patcher/7252962/files//jdbc/lib/classes12.zip/oracle/jdbc/driver/OraclePreparedStatement.class to /oracle/HRS/102_64/jdbc/lib/classes12.zip... 'invalid entry compressed size (expected 31214 but got 30948 bytes)'

Jar not applied /oracle/stage/patcher/7252962/files//jdbc/lib/classes12.zip/oracle/jdbc/driver/OraclePreparedStatement$PushedBatch.class to /oracle/HRS/102_64/jdbc/lib/classes12.zip... 'invalid entry compressed size (expected 31214 but got 30948 bytes)'

Jar not applied /oracle/stage/patcher/7252962/files//jdbc/lib/classes12.zip/oracle/sql/NUMBER.class to /oracle/HRS/102_64/jdbc/lib/classes12.zip... 'invalid entry compressed size (expected 31214 but got 30948 bytes)'

OPatch failed with error code 73

Have anyone got trouble with this Generic patch or an idea of what's wrong?

Regards

Audun

Accepted Solutions (1)

Accepted Solutions (1)

stefan_koehler
Active Contributor
0 Kudos

Hello Audun,

which OPatch version do you use?

Oracle describes such a behavior in metalink note #603465.1 with OPatch 10.2.0.4.3.

Regards

Stefan

Answers (2)

Answers (2)

vince_laurent
Active Participant
0 Kudos

Here is what I ended up doing as oraSID

% mkdir /tmp/classes12

% cd /tmp/classes12

% cp $ORACLE_HOME/jdbc/lib/classes12.zip .

% jar xvf classes12.zip

% jar cvf classes12_new.zip oracle javax

% cd $ORACLE_HOME/jdbc/lib

% mv classes12.zip classes12_old.zip

% cp /tmp/classes12/classes12_new.zip classes12.zip

% ls -al classes12*.zip

% rm -rf /tmp/classes12

audunlea_hansen
Active Participant
0 Kudos

There are 2 ways to solve this problem:

1. Regenerate the zip-file as seen in the previous message in this treat, or

2. Download and install the latest version of OPatch.

I ended up with the opatch update.

/Audun

audunlea_hansen
Active Participant
0 Kudos

Found the ansver. See Note 603465.1 on Metalink

Regards

Audun