jasperreports: email configuration (gmail)

posted on: Tibco - Jasper Reports

1.1. Edit js.quartz.properties sudo vim /opt/jasperreports-server-cp-5.1.0/apache-tomcat/webapps/jasperserver/WEB-INF/js.quartz.properties report.scheduler.mail.sender.host=smtp.gmail.com report.scheduler.mail.sender.username=username@gmail.com report.scheduler.mail.sender.password=s3cr3t report.scheduler.mail.sender.from=username@gmail.com report.scheduler.mail.sender.protocol=smtps report.scheduler.mail.sender.port=465 1.2. Edit "applicationContext-report-scheduling.xml"   sudo vim /opt/jasperreports-server-cp-5.1.0/apache-tomcat/webapps/jasperserver/WEB-INF/applicationContext-report-scheduling.xml   Add the following Lines to the Code. <prop key="mail.smtps.auth">true</prop> <prop key="mail.smtps.starttls.enable">true</prop> As seen below:   <bean id="reportSchedulerMailSender"> <property name="host" value="${report.scheduler.mail.sender.host}"/> […]

Read more >

jasperreports: same file for server and desktop

posted on: Tibco - Jasper Reports

http://stackoverflow.com/questions/7413216/linking-subreports-in-ireport-so-they-also-work-in-jasper-server   The best solution to this is to add an additional parameter like $P{IsOnServer}. Set the default value to true. For your subreport expression use this: $P{IsOnServer} ? "repo:mySubReport.jrxml" : "/local/path/to/mySubReport.jasper" When you run the report in iReport, you'll be prompted […]

Read more >

ubuntu: webadmin installation

posted on: Ubuntu

Preparing your system Open the terminal and run the following command sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python Now you need to dpwnload webmin deb package using the following command wget http://prdownloads.sourceforge.net/webadmin/webmin_1.580_all.deb Install downloaded package using […]

Read more >