Hey, kind folks,

I am running openmeetings_1_9_1_r4707 on CentOS 5.7 with a mysql data
store, and I can't seem to get email delivery working, either via
local or remote smtp servers, TLS or plain text.  The
username/password/protocol/etc all look correct, and work from other
interfaces.   (telnet, mail client, and webmail)  I get
"java.lang.SecurityException: Access to default session denied", and
though I see lots of folks asking about this in the forums, none of
the solutions suggested there seem to help in this case.

The most frustrating thing is that the user gets no feedback that
email did not go, it looks like it worked.  Any ideas most
appreciated.

Carlos


Here's the stack trace from an "invite" attempt:

==> openmeetings.log <==
DEBUG 01-05 13:50:04.460 InvitationService.java 16828404 70
org.openmeetings.app.remote.InvitationService [NioProcessor-9] -
sendInvitationHash:
 INFO 01-05 13:50:04.461 InvitationService.java 16828405 82
org.openmeetings.app.remote.InvitationService [NioProcessor-9] -
validFromHour: 13
 INFO 01-05 13:50:04.461 InvitationService.java 16828405 83
org.openmeetings.app.remote.InvitationService [NioProcessor-9] -
validFromMinute: 49
DEBUG 01-05 13:50:04.480 InvitationService.java 16828424 124
org.openmeetings.app.remote.InvitationService [NioProcessor-9] -
addAppointment offset :: 46800000
DEBUG 01-05 13:50:04.482 Invitationmanagement.java 16828426 118
org.openmeetings.app.data.conference.Invitationmanagement
[NioProcessor-9] - http://208.93.118.94:5080/openmeetings/
DEBUG 01-05 13:50:04.483 Roommanagement.java 16828427 193
org.openmeetings.app.data.conference.Roommanagement [NioProcessor-9] -
getRoombyId : 12
DEBUG 01-05 13:50:04.500 MailThread.java 16828444 89
org.openmeetings.utils.mail.MailHandler [mailTaskExecutor-3] - Message
sending in progress
DEBUG 01-05 13:50:04.501 MailThread.java 16828445 90
org.openmeetings.utils.mail.MailHandler [mailTaskExecutor-3] -   From:
ad...@jellnet.com
DEBUG 01-05 13:50:04.501 MailThread.java 16828445 91
org.openmeetings.utils.mail.MailHandler [mailTaskExecutor-3] -   To:
cagu...@gmail.com
DEBUG 01-05 13:50:04.501 MailThread.java 16828445 92
org.openmeetings.utils.mail.MailHandler [mailTaskExecutor-3] -
Subject: Invitation to OpenMeetings
ERROR 01-05 13:50:04.503 MailThread.java 16828447 150
org.openmeetings.utils.mail.MailHandler [mailTaskExecutor-3] - [mail
send]
java.lang.SecurityException: Access to default session denied
       at javax.mail.Session.getDefaultInstance(Session.java:311)
~[mail-1.4.jar:1.4]
       at 
org.openmeetings.utils.mail.MailThread$MailSenderTask.send(MailThread.java:115)
[openmeetings.jar:na]
       at 
org.openmeetings.utils.mail.MailThread$MailSenderTask.run(MailThread.java:69)
[openmeetings.jar:na]
       at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[na:1.7.0_02]
       at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[na:1.7.0_02]
       at java.lang.Thread.run(Thread.java:722) [na:1.7.0_02]

Reply via email to