silenco Posted January 22, 2009 Share Posted January 22, 2009 Hi!I have a problem with the smtp authentication for JasperServer Version 3.0.0. and 3.1.0.I've tried the mail configuration for both versions (3.0.0. and 3.1.0)... each of them with two different mailserver/accounts.The error is always the same - "authentication required". (see below)Our Server Administrator ensured me that there had been no attempt for any authentication.Entering a password in the config file (V3.1.0 js.quartz.properties // V3.0.0 js.mail.properties) or leaving it blank won't make a difference. All other settings in the config file are applied correctly after a restart. Does anyone have any idea? Can anybody approve, that the smtp authentication in Version V 3.x is working at all?Thanks very much! Cheers,simon Code: Post Edited by Simon Landes at 01/22/09 14:55 Link to comment Share on other sites More sharing options...
Gaby38 Posted January 22, 2009 Share Posted January 22, 2009 Hi Simon,I got the same problem a couple of week. I couldnot access a smtp server with authentication. With Mozilla thunderbird , it worked but with jasperserver (3.1) I got the same error as you. As I was hurried, I put in place a vpn with a relay server which was in a domain agreed by the smtp server of my provider.So I confirm that I could not connect with authentication to a smtp server with jasperserver 3.1Post Edited by Gabriel Entressangle at 01/22/09 19:14Post Edited by Gabriel Entressangle at 01/22/09 19:14 Link to comment Share on other sites More sharing options...
silenco Posted January 23, 2009 Author Share Posted January 23, 2009 Hi Gabriel,thanks a lot for your quick reply!It's good having the certainty that I'm not crazy ... spent a whole day on that!I'm going to open a bug report for that issue. Jasper-Team, is there parhaps any known solution for that already? Thanks.Simon Link to comment Share on other sites More sharing options...
silenco Posted January 23, 2009 Author Share Posted January 23, 2009 Bug Tracker:http://jasperforge.org/tracker/index.php?func=detail&aid=3487&group_id=112&atid=378&action=browsePost Edited by Simon Landes at 01/23/09 10:44 Link to comment Share on other sites More sharing options...
lucianc Posted January 23, 2009 Share Posted January 23, 2009 Could you edit $TOMCAT/webapps/jasperserver/WEB-INF/applicationContext-report-scheduling.xml, find a bean named reportSchedulerMailSender and add the following property:<property name="javaMailProperties"> <props> <prop key="mail.smtp.auth">true</prop> </props></property>Try again to send an email after restarting JasperServer.Regards,LucianPost Edited by Lucian Chiriţă at 01/23/09 12:51 Link to comment Share on other sites More sharing options...
Gaby38 Posted January 24, 2009 Share Posted January 24, 2009 Lucian,I did the change you suggested and had a first try : it seems OK. I will try Monday with the whole mail list .Thanks for the work-around.Gaby Link to comment Share on other sites More sharing options...
silenco Posted January 24, 2009 Author Share Posted January 24, 2009 Hi Lucian, many thanks for your reply! It worked perfectly well. Thanks a lot ! Cheers,Simon Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now