Jasper Reports

JasperReports: Email Configuration (GMAIL)

Posted on

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}"/> <property name="username" value="${report.scheduler.mail.sender.username}"/> <property name="password" value="${report.scheduler.mail.sender.password}"/> <property name="protocol" value="${report.scheduler.mail.sender.protocol}"/> <property name="port" value="${report.scheduler.mail.sender.port}"/> <property name="javaMailProperties"> <props> […]

Ubuntu

Ubuntu: WebAdmin Installation

Posted on

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 the following command sudo dpkg -i webmin_1.580_all.deb This will install webmin now you need to […]