Communication Express Vacation Message year higher than 2006

I use Java Enterprise System 2005Q4 with the following component is installed:

- Messaging (Mail)

- Calendar

- Instant Messaging

- Communication Express

- .... blah blah blah ... etc.

Had problem in the Vacation Message (on Communication Express web client) where I only can

choose the year from 2000 until 2006 only, I want to add 2007 and above.

i has edit

/opt/SUNWuwc/install/Uwc-config_20060520121541/WEB-INF/domain/en/i18n.propertie s

/opt/SUNWuwc/lib/config-templates/WEB-INF/domain/en/i18n.properties

/var/opt/SUNWuwc/staging/WEB-INF/domain/en/i18n.properties

/var/opt/WEB-INF/domain/en/i18n.properties

/var/opt/setup/Uwc-config_20060520121541/WEB-INF/domain/en/i18n.properties

but still ... out of luck

help me, please .... oh mama.

[839 byte] By [kassle] at [2007-11-26 11:22:19]
# 1
Hi,This is a common issue that was resolved in newer patches for UWC. What version of UWC are you currently running?showrev -p | grep uwcRegards,Shane.
shane_hjorth at 2007-7-7 3:37:38 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2

i would like to add additional years as well - does the latest uwc patch do this, or is editing the files mentioned still necessary?

i seem to have the latest (perhaps all the update scripts are not run) but my years only goes to 2006 as well.

Patch: 118540-21 Obsoletes: 117287-99, 117819-13, 119156-07 Requires: Incompatibles: Packages: SUNWuwc

Patch: 118540-23 Obsoletes: 117287-99, 117819-13, 119156-07 Requires: Incompatibles: Packages: SUNWuwc

starman7 at 2007-7-7 3:37:38 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3

Hi,

There was a bug with vacation messages and > 2006 which is fixed in 118540-27 and above (you need to log a support case to get a copy).

As to whether you need to edit uwc-user-attr-icsBeginYear and uwc-user-attr-icsEndYear in uwcdomainconfig.properties in 118540-23, I'm not sure.

I am running -37 at the moment and it seems to default to 2000-2036 if you have an invalid/incorrect setting for these parameters (which I do).

Regards,

Shane.

shane_hjorth at 2007-7-7 3:37:38 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 4

thanks for the info - i edited each of my 7 uwcdomainconfig.properties files adding the lines:

uwc-user-attr-icsBeginYear=2006

uwc-user-attr-icsEndYear=2013

under the other uwc-user-attr-ics attributes,

stopped the webserver, deleted the directory under ClassCache (in the webserver), restarted, and still in UWC the options for vacation message are 2000-2006.

could it be that -23 has no mechanism in it's java to account for updating these?

starman7 at 2007-7-7 3:37:38 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 5
Hi,You did run the post-patch patch-config and install-newconfig right?Shane.
shane_hjorth at 2007-7-7 3:37:38 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 6

Hi -

Thanks,

First, I removed the edits I made previous e.g. the start and end years.

I tried to repatch -23, but couldn't (by default), I did rerun the config and install scripts (in case I hadn't done so after the original patch installation). I stopped the webserver, cleared classcache, and restarted, but UWC still doesn't show years after 2006.

Are you suggesting to rerun those scripts after making the changes to the file(s)?

I have 7 on my system:

/opt/SUNWuwc/install/patch/118540-23/save/WEB-INF/domain/uwcdomainconfig.proper ties

/opt/SUNWuwc/install/Uwc-config_20060116161305/WEB-INF/domain/uwcdomainconfig.p roperties

/opt/SUNWuwc/lib/config-templates/WEB-INF/domain/uwcdomainconfig.properties

/opt/SUNWuwc/lib/config-templates/uwcdomainconfig.properties

/var/opt/SUNWuwc/staging/WEB-INF/domain/uwcdomainconfig.properties

/var/opt/SUNWuwc/WEB-INF/domain/uwcdomainconfig.properties

/var/opt/SUNWuwc/setup/Uwc-config_20060116161305/WEB-INF/domain/uwcdomainconfig .properties

.

.

starman7 at 2007-7-7 3:37:38 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 7

showrev -p | grep uwc

Patch: 118540-21 Obsoletes: 117287-99, 117819-13, 119156-07 Requires: Incompatibles: Packages: SUNWuwc

file:

/opt/SUNWuwc/lib/config-templates/WEB-INF/domain/uwcdomainconfig.properties

/opt/SUNWuwc/lib/config-templates/uwcdomainconfig.properties

/var/opt/SUNWappserver/domains/domain1/applications/backup/j2ee-modules/Communi cations_Express/staging/WEB-INF/domain/uwcdomainconfig.properties

/var/opt/SUNWappserver/domains/domain1/applications/backup/j2ee-modules/Communi cations_Express/WEB-INF/domain/uwcdomainconfig.properties

/var/opt/SUNWuwc/staging/WEB-INF/domain/uwcdomainconfig.properties

/var/opt/SUNWuwc/WEB-INF/domain/uwcdomainconfig.properties

/var/opt/SUNWuwc/setup/Uwc-config_20060520121541/WEB-INF/domain/uwcdomainconfig .properties

don't have property icsBeginYear

and why so difficult to download the patch ... *sigh*

http://sunsolve.sun.com/private-cgi/show.pl?target=patchpage

log-in .. then enter the patch number 118540 ... and ... say if i need to log-in ... *duh*

and around around .. like stupid.

if possible would you all to send the patch file to my mail erdian@softvation.com

and how to use the patch?

kassle at 2007-7-7 3:37:38 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 8
You have to add these attirbutes in uwcdomainconfig.properties located under 媎eploy_dir?WEB-INF/domain :uwc-user-attr-icsBeginYear=2000uwc-user-attr-icsEndYear=2036Restart Webcontainer.thanksRamya
ramya_ravi at 2007-7-7 3:37:38 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 9

ramya -

what patch for uwc are you using, like kassle, i am using -23 - have made those changes to

/var/opt/SUNWuwc/WEB-INF/domain/uwcdomainconfig.properties, stopped, cleared classcache, and then restatrted the webserver.

but nothing has changed, the years still only go up to 2006.

i suspect w/ -23 it is not possible to get ths working by adding the attributes ...

any idea when a patch which supports upcoming years will be available to dowloand?

it is likely that people will soon start vacations that do not end this year.

.

starman7 at 2007-7-7 3:37:38 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 10
I'm very interesting in this patch too.If anyone has the patch higher then 118540-23, please e-mail it in monakhv@ot.ru
monakhv@otru at 2007-7-7 3:37:38 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 11
Hi,The only way to get a patch higher then the currently released patch (one publicly available) is to log a SUN support case. We are currently up to 118540-40.Regards,Shane.
shane_hjorth at 2007-7-7 3:37:38 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 12

Hi Shane - Can you confirm that with the currently released UWC patch (118540-23), it is not possible to have dates above 2006 in the autoreply?

Do you think sun will release a UWC patch that is compatible with upcoming years, before the new year?

FYI - A support case now costs $300.00.

starman7 at 2007-7-7 3:37:38 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 13

Got patch number 23, install it, insert iscBeginYear propertise, restart Application Server, and

Pray. Try the Vacation Message .... and ... still ... no change ... limited to 2006 *shrugh*

OK ... I'm surrounded by client. No much time ... the last change is hard-coding ... for a moments ...

to cold-down the situation.

Here is what I change in the UWC file

+ edit mailPreferencesVacation.jsp (located at /var/opt/SUNWuwc/uwc/common)

+ search for line "jato:combobox name="startYear" ... blah ... blah .. blah

uncomment this line so it's look like

<!-- REMARK BY KASSLE

<jato:combobox name="endYear" onChange="setDirtyCache()" />

-->

+ Add texts after the line above

<!-- ADD BY KASSLE -->

<select name="MailPreferencesVacation.startYear" onChange="setDirtyCache()">

<option value="2000">2000</option>

<option value="2001">2001</option>

<option value="2002">2002</option>

<option value="2003">2003</option>

<option value="2004">2004</option>

<option value="2005">2005</option>

<option value="2006">2006</option>

<option value="2007">2007</option>

<option value="2008">2008</option>

<option value="2009">2009</option>

<option value="2010">2010</option>

</select>

<!-- ADD BY KASSLE -->

+ Next, look for text "jato:combobox name="endYear" ... blah blah blah

Do the same like the startYear, so the result is like this:

<!-- REMARK BY KASSLE

<jato:combobox name="endYear" onChange="setDirtyCache()" />

-->

<!-- ADD BY KASSLE -->

<select name="MailPreferencesVacation.endYear" onChange="setDirtyCache()">

<option value="2000">2000</option>

<option value="2001">2001</option>

<option value="2002">2002</option>

<option value="2003">2003</option>

<option value="2004">2004</option>

<option value="2005">2005</option>

<option value="2006">2006</option>

<option value="2007">2007</option>

<option value="2008">2008</option>

<option value="2009">2009</option>

<option value="2010">2010</option>

</select>

<!-- ADD BY KASSLE -->

This solution is work, but not as good as if have the newest patch.

kassle at 2007-7-7 3:37:38 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 14
I'm running -37 and have installed it correctly; and I still only have up to 2006 in the list of years.
knabet at 2007-7-7 3:37:38 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 15

Found this info in earlier emails for you...

CR 6345815

fixed in 118540-39

There are two new parameter is added by fix of this bug in the

uwcdomainconfig.properties

uwc-user-attr-icsBeginYear and

uwc-user-attr-icsEndYear

It allows user to specify the range of the years he wants to display

in uwc.

But the limitation is the calendar year supports only till 2036 so

you can not set the value beyond 2036.

Thanks

Ramya

ramya_ravia at 2007-7-21 15:31:50 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 16
FYI - patch 118540-40 was released to the public on Dec. 21
reistra at 2007-7-21 15:31:50 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 17

Hi,

Just to update, i have managed to install the uwc-patch (118540-40), and eventually in result Vacation Message year + few other problems were solved.....

So in short Download the Patch from SUN Solve and Install it, & make your life easier............:D

========================ChaoOooOOOo=======================

Sp00ky_Geeka at 2007-7-21 15:31:50 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 18

I feel dumb asking this question especially since I think its due to my lack of knowledge with zones. I am having the same problem with UWC. I am using Solaris 10 with only a global zone. I have downloaded uwc patch 118540-42 and have tried to add it with patchadd. I get an error saying " Package SUNWuwc from directory SUNWuwc in patch 118540-42 is not installed on the system" and the patch does not install [I can not see it with showrev -p nor in /var/sadm/patch].

I also tried using Solaris Management Console 2.1 using its patch tool. Action -> add patch and I get an error saying "Some or all of the software packages that patch 118540-42 patches are not installed on the target host.".

I also looked for SUNWuwc with pgkinfo and there is no listing none of the JES comm suit e is found. Yet I know they are all in /opt and they are working fine.

Sorry if this question might be better suited for the zones forum but it all started with the uwc problem :^)

Thanks in Advance

-James

bdajamesa at 2007-7-21 15:31:50 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 19
By default, Messaging Server installs in a "global zone".In order to patch something installed in a global zone, you need to use the -g flag on patchadd.If you didn't install in a global zone, then you need to install the patch in the zone where you installed it . . .
jay_plesseta at 2007-7-21 15:31:50 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...