Install Tomcat 7 on Linux and Enable Security

Last updated on May 5th, 2016 at 01:36 amInstall tomcat 7 on Linux, I am using Centos 7.0 for this tutorial Install and configure tomcat in 5 steps and Enable security for Tomcat Web Application Manager 1)Download Tomcat 7 from https://tomcat.apache.org/download-70.cgi Direct download link I have used here is http://www.us.apache.org/dist/tomcat/tomcat-7/v7.0.67/bin/apache-tomcat-7.0.67.zip 2)Login to your linux machine […]

How to connect to MySQL database using servlet

Last updated on April 20th, 2022 at 10:00 amIn java we can make use of Servlets to connect to Mysql database and Display results in html. Name of my database as My_test and display the column with the name Firstname from table named Employees. Modify localhost to the name or ip address of the server […]

Categories
Jboss

How to fix com.arjuna.ats.arjuna.logging.arjLogger Periodic recovery in Jboss [Solved]

Sometimes Jboss server.log gets filled up with the below Periodic recovery first pass and second pass messages which is always annoying DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery – first pass DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] StatusModule: first pass DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_3] – TORecoveryModule – first pass DEBUG [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.firstpass] Local XARecoveryModule – first pass DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery – second […]

Read file using servlet

Last updated on November 16th, 2015 at 09:51 amIn Java we can write a Servlet that can be used to read any file by providing its absolute path and display its content in a web browser. You can modify the script according to your needs. This script can be used for text files, shell scripts, […]