Hello Daniel, Could you please perform kind of "detective" work? According to google this might be due to more than one jar file with same classes?
The archives are: webapps/openmeetings/WEB-INF/lib/geronimo-javamail_1.4_spec-bundle-1.7.1.jar webapps/openmeetings/WEB-INF/lib/mail-jar-1.4.7.jar Additionally you may have other *mail*.jar files in your CLASSPATH (in your java etc.) Could you please try to remove above jars one by one and try to reproduce the problem? Additionally please search *mail*jar files in your system? On Thu, Oct 24, 2013 at 9:35 AM, Daniel Baker <i...@collisiondetection.biz>wrote: > Hi Maxim, > > I tried sending a calender notification and invitation email to my own > email and nothing is being sent out. > > I confirmed this with Wireshark and no smtp messages are leaving this host. > > > I have looked at the /usr/lib/red52/log/openmeetings.log again and there > seems to be a *security error* : > > > > > > > DEBUG 10-24 09:18:40.039 AppointmentDaoImpl.java 665610300 937 > org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl > [org.springframework.schedul$ > DEBUG 10-24 09:18:40.040 AppointmentDaoImpl.java 665610301 938 > org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl > [org.springframework.schedul$ > DEBUG 10-24 09:18:40.043 AppointmentLogic.java 665610304 408 > org.openmeetings.app.data.calendar.management.AppointmentLogic > [org.springframework.sched$ > DEBUG 10-24 09:19:47.808 InvitationService.java 665678069 90 > org.openmeetings.app.remote.InvitationService [NioProcessor-2] - > sendInvitationHash: > INFO 10-24 09:19:47.809 InvitationService.java 665678070 102 > org.openmeetings.app.remote.InvitationService [NioProcessor-2] - > validFromHour: 9 > INFO 10-24 09:19:47.809 InvitationService.java 665678070 103 > org.openmeetings.app.remote.InvitationService [NioProcessor-2] - > validFromMinute: 19 > DEBUG 10-24 09:19:47.820 InvitationService.java 665678081 143 > org.openmeetings.app.remote.InvitationService [NioProcessor-2] - > addAppointment offset :$ > DEBUG 10-24 09:19:47.821 Invitationmanagement.java 665678082 138 > org.openmeetings.app.data.conference.Invitationmanagement > [NioProcessor-2] - http://1$ > DEBUG 10-24 09:19:47.823 Roommanagement.java 665678084 232 > org.openmeetings.app.data.conference.Roommanagement [NioProcessor-2] - > getRoombyId : 9 > DEBUG 10-24 09:19:47.832 MailThread.java 665678093 151 > org.openmeetings.utils.mail.MailHandler [taskExecutor-2] - Message > sending in progress > DEBUG 10-24 09:19:47.833 MailThread.java 665678094 152 > org.openmeetings.utils.mail.MailHandler [taskExecutor-2] - > To:daniel.baker.cit...@gmail.com > DEBUG 10-24 09:19:47.833 MailThread.java 665678094 153 > org.openmeetings.utils.mail.MailHandler [taskExecutor-2] - Subject: > Invitation to OpenMeetings > DEBUG 10-24 09:19:47.833 MailThread.java 665678094 77 > org.openmeetings.utils.mail.MailHandler [taskExecutor-2] - getMessage*ERROR > 10-24 09:19:47.839 MailThread.java 665678100 160 > org.openmeetings.utils.mail.MailHandler [taskExecutor-2] - [mail send] > java.lang.SecurityException: null > at javax.mail.Session.getDefaultInstance(Session.java:137) > ~[geronimo-javamail_1.4_spec-bundle-1.6.jar:1.6] > at > org.openmeetings.utils.mail.MailThread$MailSenderTask.getMessage(MailThread.java:101) > [openmeetings-2.0.0-SNAPSHOT.jar:na] > at > org.openmeetings.utils.mail.MailThread$MailSenderTask.send(MailThread.java:156) > [openmeetings-2.0.0-SNAPSHOT.jar:na] > at > org.openmeetings.utils.mail.MailThread$MailSenderTask.run(MailThread.java:73) > [openmeetings-2.0.0-SNAPSHOT.jar:na] > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > [na:1.6.0_30] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > [na:1.6.0_30] > at java.lang.Thread.run(Thread.java:662) [na:1.6.0_30] > DEBUG 10-24 09:20:20.030 Sessionmanagement.java 665710291 468 > org.openmeetings.app.data.basic.Sessionmanagement > [org.springframework.scheduling.quartz$ > DEBUG 10-24 09:20:20.033 Sessionmanagement.java 665710294 452 > org.openmeetings.app.data.basic.Sessionmanagement* > [org.springframework.scheduling.quartz$ > DEBUG 10-24 09:20:20.034 Sessionmanagement.java 665710295 472 > org.openmeetings.app.data.basic.Sessionmanagement > [org.springframework.scheduling.quartz$ > DEBUG 10-24 09:20:20.035 MeetingReminderJob.java 665710296 34 > org.openmeetings.app.quartz.scheduler.MeetingReminderJob > [org.springframework.scheduling$ > DEBUG 10-24 09:20:20.038 AppointmentDaoImpl.java 665710299 937 > org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl > [org.springframework.schedul$ > DEBUG 10-24 09:20:20.039 AppointmentDaoImpl.java 665710300 938 > org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl > [org.springframework.schedul$ > DEBUG 10-24 09:20:20.042 AppointmentLogic.java 665710303 408 > org.openmeetings.app.data.calendar.management.AppointmentLogic > [org.springframework.sched$ > DEBUG 10-24 09:22:00.035 MeetingReminderJob.java 665810296 34 > org.openmeetings.app.quartz.scheduler.MeetingReminderJob > [org.springframework.scheduling$ > DEBUG 10-24 09:22:00.039 AppointmentDaoImpl.java 665810300 937 > org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl > [org.springframework.schedul$ > DEBUG 10-24 09:22:00.039 AppointmentDaoImpl.java 665810300 938 > org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl > [org.springframework.schedul$ > DEBUG 10-24 09:22:00.043 AppointmentLogic.java 665810304 408 > org.openmeetings.app.data.calendar.management.AppointmentLogic > [org.springframework.sched$ > > > > How would I remove this security error ? > > > On 10/24/2013 08:48 AM, Maxim Solodovnik wrote: > > Please try to enter the room and send invitation to your own email address > Is it successful? > In case OM logs have no errors could you check the logs of your mail > server? > > > On Thu, Oct 24, 2013 at 8:43 AM, daniel baker < > daniel.baker.cit...@gmail.com> wrote: > >> Hi Maxim, >> >> I have the email server/port/user password configured. >> >> I checked the logs and this is some of the latest output from >> /usr/lib/red52/log/openmeetings.log >> >> >> DEBUG 10-24 08:13:40.035 MeetingReminderJob.java 661710296 34 >> org.openmeetings.$ >> DEBUG 10-24 08:13:40.039 AppointmentDaoImpl.java 661710300 937 >> org.openmeetings$ >> DEBUG 10-24 08:13:40.040 AppointmentDaoImpl.java 661710301 938 >> org.openmeetings$ >> DEBUG 10-24 08:13:40.043 AppointmentLogic.java 661710304 408 >> org.openmeetings.a$ >> DEBUG 10-24 08:15:20.029 Sessionmanagement.java 661810290 468 >> org.openmeetings.$ >> DEBUG 10-24 08:15:20.031 Sessionmanagement.java 661810292 452 >> org.openmeetings.$ >> DEBUG 10-24 08:15:20.031 Sessionmanagement.java 661810292 472 >> org.openmeetings.$ >> DEBUG 10-24 08:15:20.036 MeetingReminderJob.java 661810297 34 >> org.openmeetings.$ >> DEBUG 10-24 08:15:20.039 AppointmentDaoImpl.java 661810300 937 >> org.openmeetings$ >> DEBUG 10-24 08:15:20.040 AppointmentDaoImpl.java 661810301 938 >> org.openmeetings$ >> DEBUG 10-24 08:15:20.043 AppointmentLogic.java 661810304 408 >> org.openmeetings.a$ >> >> >> I am not sure what this output means or how to solve my problem from it. >> >> Thanks for the help, >> >> Dan >> >> >> >> >> >> >> On 10/23/13, Maxim Solodovnik <solomax...@gmail.com> wrote: >> > To send emails from OM you need to set up email >> server/port/user/password >> > If everything set and emails are not sent, please check openmeetings.log >> > for any errors. >> > >> > >> > On Wed, Oct 23, 2013 at 3:59 PM, Daniel Baker >> > <i...@collisiondetection.biz>wrote: >> > >> >> Hi, >> >> >> >> Is there a bug or setting i'm missing. No emails are being sent from >> the >> >> calender event notification. >> >> >> >> Im using OpenMeetings_2.0_Moodle_2.2.3_**Ubuntu_12.04. >> >> >> >> I’ve tried email types iCal and simple email but nothing is sent. >> >> >> >> I have checked to see if emails are leaving my host with Wireshark and >> >> nothing is being sent out. >> >> >> >> Emails are being sent out ok from Moodle for sign ups. Can someone >> please >> >> advise on how to set the calender notification up correctly. >> >> >> >> >> >> Thanks, >> >> >> >> Dan >> >> >> > >> > >> > >> > -- >> > WBR >> > Maxim aka solomax >> > >> > > > > -- > WBR > Maxim aka solomax > > > -- WBR Maxim aka solomax