Just tested rev. 1330085 Server timezone GMT-7 User timezone GMT-4 Event created for 2012.04.26 12:00 is displayed as expected
On Wed, Apr 25, 2012 at 00:36, Joseph Karwat <[email protected]> wrote: > We have found the same bug. > > Joseph Karwat | CEO | 415-462-0263 | JellVideo | www.jellnet.com | > JELL NETWORKS, INC. > Enterprise Video Collaboration Solutions > > Click Here to Register for your JellVideo Collaboration Account > > > -----Original Message----- > From: Naveed Nazir [mailto:[email protected]] > Sent: Tuesday, April 24, 2012 9:37 AM > To: [email protected] > Subject: Re: Which files to replace > > Seba, > I was finally able to rebuild the system -- svn checkout revision 1328886. > For some reason the folder build/lib/anakia was not populated by anonymous > checkout -- took me a while to figure it out and manually grab files from > the workspace. > > The time shift problem is still there but has changed slightly -- now it is > a 24 hour shift. I am located in ET (GMT-4) and scheduled a meeting for > 12:00 on 26 April 2012. It shows up as 12:00 on 25 April 2012. I have tried > with several timezones, but this shift for 24 hours is always there. > The server is located at PDT (GMT-7) and the debug log is reproduced below. > Please help. > Thanks > Naveed > > > DEBUG 04-24 09:14:31.195 CalendarService.java 45180139 135 > org.openmeetings.app.remote.CalendarService [NioProcessor-2] - > saveAppointMent users_id:2 DEBUG 04-24 09:14:31.197 Usermanagement.java > 45180141 1473 org.openmeetings.app.data.user.Usermanagement > [NioProcessor-2] > - Usermanagement.getUserById DEBUG 04-24 09:14:31.206 CalendarService.java > 45180150 151 org.openmeetings.app.remote.CalendarService [NioProcessor-2] - > timezone > > sun.util.calendar.ZoneInfo[id="America/New_York",offset=-18000000,dstSavings > > =3600000,useDaylight=true,transitions=235,lastRule=java.util.SimpleTimeZone[ > > id=America/New_York,offset=-18000000,dstSavings=3600000,useDaylight=true,sta > > rtYear=0,startMode=3,startMonth=2,startDay=8,startDayOfWeek=1,startTime=7200 > > 000,startTimeMode=0,endMode=3,endMonth=10,endDay=1,endDayOfWeek=1,endTime=72 > 00000,endTimeMode=0]] > DEBUG 04-24 09:14:31.206 CalendarService.java 45180150 152 > org.openmeetings.app.remote.CalendarService [NioProcessor-2] - > appointmentstartStr 25.04.2012 12:00:00 DEBUG 04-24 09:14:31.206 > CalendarService.java 45180150 153 > org.openmeetings.app.remote.CalendarService [NioProcessor-2] - > appointmentendStr 25.04.2012 13:00:00 DEBUG 04-24 09:14:31.207 > CalendarService.java 45180151 154 > org.openmeetings.app.remote.CalendarService [NioProcessor-2] - > appointmentstart Wed Apr 25 09:00:00 PDT 2012 DEBUG 04-24 09:14:31.207 > CalendarService.java 45180151 155 > org.openmeetings.app.remote.CalendarService [NioProcessor-2] - > appointmentend Wed Apr 25 10:00:00 PDT 2012 DEBUG 04-24 09:14:31.207 > AppointmentLogic.java 45180151 149 > org.openmeetings.app.data.calendar.management.AppointmentLogic > [NioProcessor-2] - Appointmentlogic.saveAppointment DEBUG 04-24 > 09:14:31.209 > OpenXGHttpClient.java 45180153 318 > org.openmeetings.app.sip.xmlrpc.OpenXGHttpClient [NioProcessor-2] - SIP is > disabled DEBUG 04-24 09:14:31.243 AppointmentLogic.java 45180187 186 > org.openmeetings.app.data.calendar.management.AppointmentLogic > [NioProcessor-2] - Appointmentlogic.saveAppointment : Room - 11 DEBUG 04-24 > 09:14:31.243 AppointmentLogic.java 45180187 187 > org.openmeetings.app.data.calendar.management.AppointmentLogic > [NioProcessor-2] - Appointmentlogic.saveAppointment : Reminder - 3 DEBUG > 04-24 09:14:31.244 Roommanagement.java 45180188 232 > org.openmeetings.app.data.conference.Roommanagement [NioProcessor-2] - > getRoombyId : 11 DEBUG 04-24 09:14:31.247 Usermanagement.java 45180191 1473 > org.openmeetings.app.data.user.Usermanagement [NioProcessor-2] - > Usermanagement.getUserById DEBUG 04-24 09:14:31.253 AppointmentDaoImpl.java > 45180197 218 org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl > [NioProcessor-2] - addAppointment appointmentstart :1: 25.04.2012 09:00:00 > PDT (-0700) DEBUG 04-24 09:14:31.253 AppointmentDaoImpl.java 45180197 221 > org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl [NioProcessor-2] > - addAppointment appointmentend :1: 25.04.2012 10:00:00 PDT (-0700) DEBUG > 04-24 09:14:31.253 AppointmentReminderTypDaoImpl.java 45180197 51 > org.openmeetings.app.data.calendar.daos.AppointmentReminderTypDaoImpl > [NioProcessor-2] - AppointmentReminderTypById: 3 DEBUG 04-24 09:14:31.255 > AppointmentCategoryDaoImpl.java 45180199 52 > org.openmeetings.app.data.basic.Configurationmanagement [NioProcessor-2] - > getAppointmentCategoryById: 1 DEBUG 04-24 09:14:31.363 > AppointmentLogic.java > 45180307 375 org.openmeetings.app.data.calendar.management.AppointmentLogic > [NioProcessor-2] - getAppointMentById DEBUG 04-24 09:14:31.365 > MeetingMemberLogic.java 45180309 319 > org.openmeetings.app.data.calendar.management.MeetingMemberLogic > [NioProcessor-2] - getMemberById DEBUG 04-24 09:14:31.366 > MeetingMemberDaoImpl.java 45180310 52 > org.openmeetings.app.data.calendar.daos.MeetingMemberDaoImpl > [NioProcessor-2] - getMeetingMemberById: 3 DEBUG 04-24 09:14:31.390 > MeetingMemberLogic.java 45180334 108 > org.openmeetings.app.data.calendar.management.MeetingMemberLogic > [NioProcessor-2] - :::: addMeetingMember ..... 3 DEBUG 04-24 09:14:31.393 > MeetingMemberLogic.java 45180337 147 > org.openmeetings.app.data.calendar.management.MeetingMemberLogic > [NioProcessor-2] - Reminder for Appointment : iCal mail ### SENDING iCAL > EMAIL DEBUG 04-24 09:14:31.394 Invitationmanagement.java 45180338 532 > org.openmeetings.app.data.conference.Invitationmanagement [NioProcessor-2] > - > addInvitationIcalLink DEBUG 04-24 09:14:31.395 Invitationmanagement.java > 45180339 570 org.openmeetings.app.data.conference.Invitationmanagement > [NioProcessor-2] - addInvitationIcalLink : rawHash = > InvitationHash1335284071395 DEBUG 04-24 09:14:31.395 Roommanagement.java > 45180339 232 org.openmeetings.app.data.conference.Roommanagement > [NioProcessor-2] - getRoombyId : 11 DEBUG 04-24 09:14:31.406 > IcalHandler.java 45180350 81 org.openmeetings.utils.mail.MailHandler > [NioProcessor-2] - Icalhandler method type : REQUEST DEBUG 04-24 > 09:14:31.407 AppointmentLogic.java 45180351 375 > org.openmeetings.app.data.calendar.management.AppointmentLogic > [NioProcessor-2] - getAppointMentById DEBUG 04-24 09:14:31.407 > Usermanagement.java 45180351 1473 > org.openmeetings.app.data.user.Usermanagement [NioProcessor-2] - > Usermanagement.getUserById DEBUG 04-24 09:14:31.525 IcalHandler.java > 45180469 149 org.openmeetings.utils.mail.MailHandler [NioProcessor-2] - > Generating Meeting UID : 20120424T161431Z-uidGen@openmeeting > DEBUG 04-24 09:14:31.526 Invitationmanagement.java 45180470 908 > org.openmeetings.app.data.conference.Invitationmanagement [NioProcessor-2] > - > BEGIN:VCALENDAR PRODID:-//Events Calendar//iCal4j 1.0//EN > CALSCALE:GREGORIAN > VERSION:2.0 > BEGIN:VEVENT > DTSTAMP:20120424T161431Z > DTSTART:20120425T090000 > DTEND:20120425T100000 > SUMMARY:New Event12on26 > TZID:America/New_York > DESCRIPTION: > http://yxz.kkjkj.net:5080/openmeetings/?invitationHash=619ec05bb > 71be868d92eedf6e349a3fd&language=1 > SEQUENCE:1 > UID:20120424T161431Z-uidGen@openmeeting > ATTENDEE;ROLE=CHAIR;CN=Naveed Nazir:mailto:[email protected] > ORGANIZER;CN=naveed:mailto:[email protected] > END:VEVENT > END:VCALENDAR > > DEBUG 04-24 09:14:31.529 MailThread.java 45180473 151 > org.openmeetings.utils.mail.MailHandler [taskExecutor-4] - Message sending > in progress DEBUG 04-24 09:14:31.529 MailThread.java 45180473 152 > org.openmeetings.utils.mail.MailHandler [taskExecutor-4] - To: > [email protected] DEBUG 04-24 09:14:31.529 MailThread.java 45180473 > 153 > org.openmeetings.utils.mail.MailHandler [taskExecutor-4] - Subject: New > OpenMeetings conference: New Event12on26 25.04.2012 12:00:00 EDT (-0400) - > 25.04.2012 13:00:00 EDT (-0400) DEBUG 04-24 09:14:31.529 MailThread.java > 45180473 77 org.openmeetings.utils.mail.MailHandler [taskExecutor-4] - > getMessage DEBUG 04-24 09:14:31.534 MailThread.java 45180478 113 > org.openmeetings.utils.mail.MailHandler [taskExecutor-4] - setReplyTo > [email protected] DEBUG 04-24 09:14:31.534 MailiCalThread.java > 45180478 > 60 org.openmeetings.utils.mail.MailiCalThread [taskExecutor-4] - > setMessageBody for iCal message DEBUG 04-24 09:14:31.592 > Invitationmanagement.java 45180536 972 > org.openmeetings.app.data.conference.Invitationmanagement [NioProcessor-2] > - > getInvitationbyId DEBUG 04-24 09:14:31.600 MeetingMemberLogic.java 45180544 > 305 org.openmeetings.app.data.calendar.management.MeetingMemberLogic > [NioProcessor-2] - updateMeetingMember DEBUG 04-24 09:14:31.601 > MeetingMemberDaoImpl.java 45180545 147 > org.openmeetings.app.data.calendar.daos.MeetingMemberDaoImpl > [NioProcessor-2] - DEBUG 04-24 09:14:32.605 CalendarWebService.java > 45181549 > 733 org.openmeetings.axis.services.CalendarWebService [http-0.0.0.0-5080-5] > - currentWeekDay -- 1 DEBUG 04-24 09:14:32.605 CalendarWebService.java > 45181549 734 org.openmeetings.axis.services.CalendarWebService > [http-0.0.0.0-5080-5] - firstDayInWeek -- 0 DEBUG 04-24 09:14:32.606 > AppointmentDaoImpl.java 45181550 720 > org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl > [http-0.0.0.0-5080-5] - Start Sun Apr 01 00:00:00 PDT 2012 End Sun May 13 > 23:59:00 PDT 2012 DEBUG 04-24 09:14:32.618 AppointmentDaoImpl.java 45181562 > 746 org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl > [http-0.0.0.0-5080-5] - > org.openmeetings.app.persistence.beans.calendar.Appointment@4a60287 > DEBUG 04-24 09:14:32.619 MeetingMemberDaoImpl.java 45181563 93 > org.openmeetings.app.data.calendar.daos.MeetingMemberDaoImpl > [http-0.0.0.0-5080-5] - getMeetingMemberByAppointmentId: 3 DEBUG 04-24 > 09:14:32.642 CalendarWebService.java 45181586 771 > org.openmeetings.axis.services.CalendarWebService [http-0.0.0.0-5080-5] - > startWeekDay 2Sun Apr 01 01:00:00 PDT 2012 DEBUG 04-24 09:14:32.643 > CalendarWebService.java 45181587 772 > org.openmeetings.axis.services.CalendarWebService [http-0.0.0.0-5080-5] - > startWeekDay Number of appointments 1 > > > > > ________________________________ > From: "[email protected]" <[email protected]> > To: [email protected]; Naveed Nazir > <[email protected]> > Sent: Sunday, April 15, 2012 8:31 AM > Subject: Re: Which files to replace > > You might svn update or use the next nightly build, > http://svn.apache.org/viewvc?view=revision&revision=1326317 > Should fix the problem. > > Thanks for your reports, > Sebastian > > 2012/4/14 Naveed Nazir <[email protected]> > > > Seba, > > > > Here is another log for meeting scheduled from client in EDT (GMT -4) > > for > > 15:00 ET on April 17th. This is showing as 12:00 EDT on April 16th. > > The first line in the log shows the actual time on the server machine. > > > > Hope this helps. > > Thanks > > Naveed > > > > > > openmeeting> date > > Sat Apr 14 11:49:40 PDT 2012 > > openmeeting> tail -f /opt/red5/log/jvm.stdout > > > > DEBUG 04-14 11:50:49.644 CalendarService.java 139366419 131 > > org.openmeetings.app.remote.CalendarService [NioProcessor-8] - > > saveAppointMent users_id:2 DEBUG 04-14 11:50:49.647 > > OpenXGHttpClient.java 139366422 318 > > org.openmeetings.app.sip.xmlrpc.OpenXGHttpClient [NioProcessor-8] - > > SIP is disabled DEBUG 04-14 11:50:49.705 Roommanagement.java 139366480 > > 232 org.openmeetings.app.data.conference.Roommanagement > > [NioProcessor-8] - getRoombyId : 54 DEBUG 04-14 11:50:49.753 > > Usermanagement.java 139366528 1473 > > org.openmeetings.app.data.user.Usermanagement [NioProcessor-8] - > > Usermanagement.getUserById DEBUG 04-14 11:50:49.758 > > AppointmentDaoImpl.java 139366533 218 > > org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl > > [NioProcessor-8] > > - addAppointment appointmentstart :1: 16.04.2012 09:00:00 PDT (-0700) > > DEBUG 04-14 11:50:49.758 AppointmentDaoImpl.java 139366533 221 > > org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl > > [NioProcessor-8] > > - addAppointment appointmentend :1: 16.04.2012 10:00:00 PDT (-0700) > > DEBUG 04-14 11:50:49.759 AppointmentReminderTypDaoImpl.java 139366534 > > 51 > > org.openmeetings.app.data.calendar.daos.AppointmentReminderTypDaoImpl > > [NioProcessor-8] - AppointmentReminderTypById: 3 DEBUG 04-14 > > 11:50:49.760 AppointmentCategoryDaoImpl.java 139366535 52 > > org.openmeetings.app.data.basic.Configurationmanagement > > [NioProcessor-8] - > > getAppointmentCategoryById: 1 > > > > > > > > ________________________________ > > From: "[email protected]" <[email protected]> > > To: [email protected]; Naveed Nazir < > >[email protected]> > > Sent: Saturday, April 14, 2012 3:00 AM > > Subject: Re: Which files to replace > > > > And with "machine" I really mean the date/time of the machine > > openmeetings is running, _not_ the config key in OpenMeetings > > > Administration > Configuration :) > > > > 2012/4/14 [email protected] <[email protected]> > > > > > Could you have a look at what is as date/time in the field > > > appointment_starttime appointment_endtime > > > > > > In the database? This date/time has NO timezone info. It is on the > > > local timezone of the machine. > > > > > > Sebastian > > > > > > 2012/4/13 Naveed Nazir <[email protected]> > > > > > >> Hello Sebastian, > > >> I used the svn head from 10 days ago and used the build file that > > >> came with it. > > >> My problem is similar to the problem that Maxim is reporting in the > > >> emails "Testing new Calendar UI in Your timezone" > > >> > > >> The problem is reproducible. I am located in EDT (GMT-4) and the > > >> server is located in PDT (GMT-7). Profiles have the correct entries > > >> in the configuration. This is what happens when I schedule a > > >> meeting for April > > 17 > > >> at 12:00 EDT (noon) it shows up in my calendar on April 16 at 09:00 > > (EDT). > > >> > > >> Here is an excerpt from jvm.stdout > > >> DEBUG 04-13 09:08:32.073 CalendarService.java 43228848 131 > > >> org.openmeetings.app.remote.CalendarService [NioProcessor-3] - > > >> saveAppointMent users_id:2 DEBUG 04-13 09:08:32.077 > > >> OpenXGHttpClient.java 43228852 318 > > >> org.openmeetings.app.sip.xmlrpc.OpenXGHttpClient [NioProcessor-3] - > > >> SIP > > is > > >> disabled > > >> DEBUG 04-13 09:08:32.122 Roommanagement.java 43228897 232 > > >> org.openmeetings.app.data.conference.Roommanagement > > >> [NioProcessor-3] - getRoombyId : 50 DEBUG 04-13 09:08:32.125 > > >> Usermanagement.java 43228900 1473 > > >> org.openmeetings.app.data.user.Usermanagement [NioProcessor-3] - > > >> Usermanagement.getUserById DEBUG 04-13 09:08:32.131 > > >> AppointmentDaoImpl.java 43228906 218 > > >> org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl > > [NioProcessor-3] > > >> - addAppointment appointmentstart :1: 16.04.2012 06:00:00 PDT > > >> (-0700) DEBUG 04-13 09:08:32.131 AppointmentDaoImpl.java 43228906 > > >> 221 org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl > > [NioProcessor-3] > > >> - addAppointment appointmentend :1: 16.04.2012 07:00:00 PDT (-0700) > > >> DEBUG 04-13 09:08:32.132 AppointmentReminderTypDaoImpl.java > > >> 43228907 51 > > >> org.openmeetings.app.data.calendar.daos.AppointmentReminderTypDaoIm > > >> pl [NioProcessor-3] - AppointmentReminderTypById: 3 DEBUG 04-13 > > >> 09:08:32.133 AppointmentCategoryDaoImpl.java 43228908 52 > > >> org.openmeetings.app.data.basic.Configurationmanagement > > [NioProcessor-3] - > > >> getAppointmentCategoryById: 1 > > >> DEBUG 04-13 09:08:32.352 MeetingMemberLogic.java 43229127 319 > > >> org.openmeetings.app.data.calendar.management.MeetingMemberLogic > > >> [NioProcessor-3] - getMemberById > > >> DEBUG 04-13 09:08:32.353 MeetingMemberDaoImpl.java 43229128 52 > > >> org.openmeetings.app.data.calendar.daos.MeetingMemberDaoImpl > > >> [NioProcessor-3] - getMeetingMemberById: 66 DEBUG 04-13 > > >> 09:08:32.379 MeetingMemberLogic.java 43229154 108 > > >> org.openmeetings.app.data.calendar.management.MeetingMemberLogic > > >> [NioProcessor-3] - :::: addMeetingMember ..... 3 DEBUG 04-13 > > >> 09:08:32.383 MeetingMemberLogic.java 43229158 147 > > >> org.openmeetings.app.data.calendar.management.MeetingMemberLogic > > >> [NioProcessor-3] - Reminder for Appointment : iCal mail ### SENDING > > >> iCAL EMAIL > > >> > > >> Notice that what ever shows as appointment time in the server is > > >> the > > time > > >> the meeting gets scheduled for. > > >> > > >> I added an instrumentation line just below the first line in the > > >> log above, but it is not showing up. I want to trace / debug as to > > >> where the shift is coming from. Please help. > > >> > > >> Thanks > > >> Naveed > > >> > > >> > > >> > > >> > > >> > > >> ________________________________ > > >> From: "[email protected]" <[email protected]> > > >> To: [email protected]; Naveed Nazir < > > >>[email protected]> > > >> Sent: Friday, April 13, 2012 3:50 AM > > >> Subject: Re: Which files to replace > > >> > > >> Hallo Naveed, > > >> > > >> can you please tell us which version of OpenMeetings you are using? > > >> > > >> Sebastian > > >> > > >> 2012/4/13 Naveed Nazir <[email protected]> > > >> > > >> > My openmeetings install is working but not showing proper times > > >> > in the invitations. Times are shifting back by 27 hours. To > > >> > understand the problem I have added some instrumentation code to > > >> > a file and rebuilt > > the > > >> > openmeetings with ant. I replaced the three jars in the /opt/red5 > > folder > > >> > with the new jars from dist folder, but my changes are not showing > up. > > >> > Which files do I need to replace? > > >> > > > >> > Any idea on where to look for the time shift problem. > > >> > > > >> > Thanks > > >> > Naveed > > >> > > > >> > > >> > > >> > > >> -- > > >> Sebastian Wagner > > >> https://twitter.com/#!/dead_lock > > >> http://www.openmeetings.de > > >> http://www.webbase-design.de > > >> http://www.wagner-sebastian.com > > >> [email protected] > > >> > > > > > > > > > > > > -- > > > Sebastian Wagner > > > https://twitter.com/#!/dead_lock > > > http://www.openmeetings.de > > > http://www.webbase-design.de > > > http://www.wagner-sebastian.com > > > [email protected] > > > > > > > > > > > -- > > Sebastian Wagner > > https://twitter.com/#!/dead_lock > > http://www.openmeetings.de > > http://www.webbase-design.de > > http://www.wagner-sebastian.com > > [email protected] > > > > > > -- > Sebastian Wagner > https://twitter.com/#!/dead_lock > http://www.openmeetings.de > http://www.webbase-design.de > http://www.wagner-sebastian.com > [email protected] > > -- WBR Maxim aka solomax
