• support[@]kurinchilion.com
  • +1 (888) 666-4252

How to setup Apache Tomcat, Java on CentOS?

Nov 15, 2012 - by kurinchilamp 403 Views
Below set of steps involve setting up Tomcat 6 on CentOS 5 with Java 1.6 Download Apache Tomcat $ wget http://apache.parentingamerica.com/tomcat/tomcat-6/v6.0.36/bin/apache-tomcat-6.0.36.tar.gz Go to opt/ folder and extract Tomcat $ cd /opt $ tar -xzf apache-tomcat-6.0.36.tar.gz Create a tomcat user $ useradd -d /opt/apache-tomcat-6.0.36/ tomcatuser Change user permission on tomcat folder $ chown -R tomcatuser:tomcatuser apache-tomcat-6.0.36 (more…)
Continue Reading

How to install java 6 on CentOS 5 and remove other JDK, JRE version?

Nov 14, 2012 - by kurinchilamp 420 Views
At the time of writing this article Java 6 (update 37) was available at http://www.java.com/en/download/manual_v6.jsp First set up a folder where you want to install java $ cd /opt $ wget http://download.oracle.com/otn-pub/java/jdk/6u37-b06/jdk-6u37-linux-x64-rpm.bin $ chmod +x jdk-6u37-linux-x64-rpm.bin $ ./jdk-6u37-linux-x64-rpm.bin (more…)
Continue Reading

How to check, remove JRE, JDK, OPENJDK installation?

Nov 13, 2012 - by kurinchilamp 375 Views
To check the current installation of java $ rpm -qa | grep jre $ rpm -qa | grep jdk $ rpm -qa | grep openjdk To remove the java installs $ yum erase jre jdk openjdk
Continue Reading

How to install and setup Fail2ban on CentOS?

Nov 12, 2012 - by kurinchilamp 393 Views
Fail2ban is a software used to ban IP's which shows strange behavior. It can be configured to reject IP's for a certain amount of time. To install Fail2ban we need to download the application from the source. Login as the root user and go to /opt $ cd /opt $ wget http://downloads.sourceforge.net/project/fail2ban/fail2ban-stable/fail2ban-0.8.4/fail2ban-0.8.4.tar.bz2?use_mirror=transact Next unzip the downloaded file $ tar -xf fail2ban-0.8.4.tar.bz2 $ cd fail2ban-0.8.4 (more…)
Continue Reading

Java Tomcat – SEVERE: Catalina.stop: java.net.ConnectException: Connection refused

Oct 30, 2012 - by kurinchilamp 390 Views
This error pops up when you try to stop the Tomcat server when the server has not started. If you restart the Tomcat server, the error vanishes.
Continue Reading

Java: non-static method cannot be referenced from a static context

Oct 08, 2012 - by kurinchilamp 326 Views
Main is a static code block and to call a method within the same class you need to declare the other method also as static if you would want to execute the method during run time without instantiating it as an object. Static methods are class methods and the methods without static keyword in them are instance methods.
Continue Reading

TECHNOLOGY DEV STACK

Following are some of the technologies that we use to build and maintain solutions for our clients.