01-12-2011 05:45 AM
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.
01-21-2011 08:19 AM
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 )
01-21-2011 09:00 AM
Yes. That was it. Io used the .bin and it worked.
Thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide