pentaho Posted February 4, 2009 Share Posted February 4, 2009 How to implement Report Scheduler in JASPER SERVER.....I have refered the Jasper Intellegence User's Guide for Report Scheduler info....The published 5 Reports in jasper server, & used one Report scheduleded to work on specific date and time.........I have added folder to store pdf output files and enterd emailid to sent an attachment of the scheduled report output........Report executed on specific time and pdf stored in the folder, but i'm not getting any email attachment report output........To get an report email output attachment, any setting i need to make.........I'm not getting emails from the scheduleded reports.........How exactly email (scheduled reports outputs attachments) works in jasper server..... Link to comment Share on other sites More sharing options...
rkm258 Posted February 4, 2009 Share Posted February 4, 2009 Hi, In JasperServer Pro, there is a file named js.quartz.properties file in WEB-INF dir. Set host, username, password and from email address information in that file for the properties having report.scheduler.mail.sender as the prefix.Ram Link to comment Share on other sites More sharing options...
pentaho Posted February 5, 2009 Author Share Posted February 5, 2009 Hi,My js.quartz.properties file contains the following default values.........What values i need to Change here.......... # This file is now just a pass-through for stuff in the # file referenced by the Maven js.quartz.properties file.quartz.delegateClass=org.quartz.impl.jdbcjobstore.StdJDBCDelegatequartz.tablePrefix=QRTZ_quartz.extraSettings=report.scheduler.mail.sender.host=mail.localhost.comreport.scheduler.mail.sender.username=adminreport.scheduler.mail.sender.password=passwordreport.scheduler.mail.sender.from=admin@localhost.comreport.scheduler.mail.sender.protocol=smtpreport.scheduler.mail.sender.port=25report.scheduler.web.deployment.uri=http://localhost:8080/jasperserver-pro Link to comment Share on other sites More sharing options...
anandharaj Posted February 5, 2009 Share Posted February 5, 2009 You need to change the value of parameters:report.scheduler.mail.sender.host=mail.localhost.comreport.scheduler.mail.sender.username=adminreport.scheduler.mail.sender.password=passwordreport.scheduler.mail.sender.from=admin@localhost.comreport.scheduler.mail.sender.protocol=smtpreport.scheduler.mail.sender.port=25 Link to comment Share on other sites More sharing options...
deepskansal Posted February 6, 2009 Share Posted February 6, 2009 Hi Anand,I tried using below mentioned information, however it did'nt work for me. report.scheduler.mail.sender.host=mail.localhost.comreport.scheduler.mail.sender.username= (Username that I am using to login to jasper server)report.scheduler.mail.sender.password= (Password that I am using to login to jasper server)report.scheduler.mail.sender.from=admin@localhost.comreport.scheduler.mail.sender.protocol=smtpreport.scheduler.mail.sender.port=25 Any further explanation on the same would be great. Thanks,Deepak Post Edited by Deepak Kansal at 02/06/09 09:07 Link to comment Share on other sites More sharing options...
DocJones Posted February 6, 2009 Share Posted February 6, 2009 Heyas,you have to enter host &credentials of your internal mail server (exchange, notes, ...) into the correct fields. sender.from should be something like "jasperserver@<yourdomain.com>" and is the sending address shown in the mails you will receive.regardsMarc Link to comment Share on other sites More sharing options...
Gaby38 Posted February 6, 2009 Share Posted February 6, 2009 Hello,I would add some complements to Marc's answer.First, you are not obliged to provide credentials if your smtp relay is working without that. But, most of time, this relay will check that the sender is in the "network domain" it is in charge of. If it is the case, credentials are not mandatory else you have to provide credentials.Then, there is a "bug" in jasperserver : by default it doesn't send credentials to the sendmail server even if you set a login/password in js.quartz.properties file, so your mail request is denied.Lucianc on this forum gave the work-around about this bug : make a search.Gaby 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