patch 118541-40 for Commucications Express errors
I'm trying to install patch 118541-40 to allow users in Communications Express to view there calendars now that the year switched to 2007.
Here is what I have done so far.
# patchadd /var/spool/patch/118541-40
# /opt/SUNWuwc/sbin/patch-config -d /var/opt/SUNWuwc /opt/SUNWuwc/install/patch/118541-40
# /opt/SUNWuwc/sbin/install-newconfig -d /var/opt/SUNWuwc /opt/SUNWuwc/install/patch/118541-40
after doing the last command I get the following error.
# /opt/SUNWuwc/sbin/install-newconfig -d /var/opt/SUNWuwc /opt/SUNWuwc/install/patch/118541-40
Log file is: /opt/SUNWuwc/install/patch/118541-40/install-newconfig_20070108105956.log
-- Package base directory is: /opt/SUNWuwc
--
=======
-- ERROR: /opt/SUNWuwc/install/patch/118541-40/save/WEB-INF/domain/uwcdomainconfig.proper ties.new has diff3 conflicts in it
=======
-- ERROR: /opt/SUNWuwc/install/patch/118541-40/save/uwc/common/login.jsp.new has diff3 conflicts in it
--
-- 2 errors found, please correct and rerun the
-- utility. No change was made to the system.
Exiting with status=2 ...
Can anyone tell me what this means exactly or how to fix the problem?
Thanks
# 2
How was it fixed?
Am having the following error:
-- ERROR: /app/SUNWweb/SUNWuwc/install/patch/118540-40/save/WEB-INF/domain/uwcdomainconfi g.properties.new has diff3 conflicts in it
--
-- 1 errors found, please correct and rerun the
-- utility. No change was made to the system.
Exiting with status=1 ...
Hope someone can help
SKCa at 2007-7-8 2:22:48 >

# 6
Worked it out (just required reading the diff manpages a bit), for other people..
When you get the error like this:
=======
-- ERROR: /opt/SUNWuwc/install/patch/118541-42/save/WEB-INF/domain/uwcdomainconfig.properties.new has diff3 conflicts in it
Open up the file specified here and look for a bit that looks something like this:
<<<<<<< /opt/SUNWuwc/install/patch/118541-42/save/WEB-INF/domain/uwcdomainconfig.properties.new
uwc-user-attr-icsExtendedUserPrefs-ceDefaultAlarmStart=PT0H30M
uwc-user-attr-icsExtendedUserPrefs-ceNotifyEnable=1
=======
uwc-user-attr-icsExtendedUserPrefs-ceDefaultAlarmStart=P15M
uwc-user-attr-icsExtendedUserPrefs-ceNotifyEnable=0
>>>>>>> /opt/SUNWuwc/lib/config-templates/uwcdomainconfig.properties
The bit above the "======" signs is in the new patch file, the bit below is in the config template. You simply have to decide which settings you want to keep and delete the rest. In my case (new install) I kept the new settings and deleted all other lines, so the above would end up looking like this:
uwc-user-attr-icsExtendedUserPrefs-ceDefaultAlarmStart=PT0H30M
uwc-user-attr-icsExtendedUserPrefs-ceNotifyEnable=1
Note that you delete the lines starting <<<, >>> and === as well. Once done, run the new-config bit again, exactly as before, and it will patch.
Josh