jasperreports: email configuration (gmail)

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}”/> […]

ubuntu: webadmin installation

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 […]

jasperreports: installation

INSTALATION PROCESS 1. INSTALL JAVA sudo apt-get install openjdk-6-jdk 1.1. SETUP JAVA_HOME sudo vim /etc/profile Add the following code to the profile JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 export JAVA_HOME PATH=$JAVA_HOME/bin:$PATH export PATH 1.2. Reboot the Server 1.3. Check if JAVA_HOME has been successfully setup. […]

ubuntu: relevant and useful commands

Example of the Command FIND How to find all the Logs on your server find / -iname ‘*.log’ find /var/spool/asterisk/monitor/ -iname ‘*0414*’ Change server Timezone dpkg-reconfigure tzdata Restart Openbravo Tomcat /etc/init.d/openbravo-tomcat restart To Check if your server is 32 or […]

openbravo: modifying document templates

The original and operating templates are in the following path:   /opt/OpenbravoERP-3.0/tomcat/webapps/openbravo/src-loc/design/org/openbravo/erpCommon/ad_reports Note that there are other paths where you’re able to find the same reports but this is the “production” location.   Modify Templates The first thing you will […]

ubuntu: define java_home linux

  Open up your profile vim /etc/profile Add the following code to the profile JAVA_HOME=/usr/lib/jvm/java-6-openjdk export JAVA_HOME PATH=$JAVA_HOME/bin:$PATH export PATH To check if JAVA is set up correctly… echo $JAVA_HOME   Take note that is very important to know what […]