cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1298
Views
0
Helpful
2
Replies

CPAM Upgrade Fails

wazaberry
Level 1
Level 1

Hi,

I am trying to upgrade CPAM 1.1.0 to CPAM 1.2. I followed the upgrade steps in the upgrade guide but the upgrade fails houwever. Below is the log from the webapp log. Can you help tell me what is wrong here?

Thanks

2011-01-13 01:30:13,395 http-8443-2 DEBUG webadmin - : Starting pre-upgrade using cpam-1125-1.2.0_0.2.40.upgrade.zip.
2011-01-13 01:30:33,696 http-8443-2 DEBUG webadmin - : Copied upgrade file to /opt/cisco/cpam/apache-tomcat/temp/upgrade.jar
2011-01-13 01:30:33,698 http-8443-2 DEBUG webadmin - : /usr/bin/jarsigner -keystore /opt/cisco/cpam/keystores/keystore.jks -storepass changeit -verify -verbose -certs /opt/cisco/cpam/apache-tomcat/temp/upgrade.jar 
2011-01-13 01:30:34,006 Thread-31 DEBUG webadmin - : stdout..
2011-01-13 01:30:48,802 Thread-31 DEBUG webadmin - : 
s = signature was verified 
m = entry is listed in manifest
k = at least one certificate was found in keystore
i = at least one certificate was found in identity scope

no manifest.
jar is unsigned. (signatures missing or not parsable)

2011-01-13 01:30:48,802 Thread-31 DEBUG webadmin - : stderr..
2011-01-13 01:30:48,807 Thread-31 DEBUG webadmin - : 
2011-01-13 01:30:48,808 http-8443-2 DEBUG webadmin - : Process Status 0
2011-01-13 01:30:48,812 http-8443-2 DEBUG webadmin - webadmin.logic.StateMachine : Got jar entry cpam-1125-1.2.0_0.2.40.upgrade.bin
2011-01-13 01:30:48,812 http-8443-2 DEBUG webadmin - webadmin.logic.StateMachine : Got jar entry cpac_rn_1_2_0.pdf
2011-01-13 01:30:48,812 http-8443-2 ERROR webadmin - : Upgrade failed.
java.io.IOException: Illegal upgrade file, doesn't contain required script.

2 Replies 2

guidovans
Level 1
Level 1

are you upgrading using the .bin or .zip file ? you must use the .b

in file. ( cpam-1125-1.2.0_0.2.40.upgrade.bin )

Yes. That was it. Io used the .bin and it worked.

Thanks