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

Tags

MacOS: Setup latest java version with different JDK version using Homebrew

Dec 05, 2022 - by kurinchilamp / Linux Server / Post Comment
Homebrew installs java at /usr/local/Cellar/openjdk/. There may be a requirement where you may need to run multiple version of java on the same MacOS. It involves few steps that we need to follow to setup and configure the needed version on our machines. (more…)
Continue Reading

How to fix Hibernate MySql connection timeout issue (solved)?

Mar 17, 2013 - by kurinchilamp / Java, MySql / Post Comment
When we began creating an application using Struts2 framework with Hibernate and MySQL, we ran into a problem which was related to MySQL timing out its connection after a span of 8 hours when left unused. It conceived a lot of time at our end but we were able to nail down the issue at the end. Steps that we had taken to correct the issue related to Hibernate MySql connection timeout problem are listed below - Download Hibernate C3P0 and copy .jar files - Set c3p0.properties - Make changes to hibernate.cfg.xml - Test MySQL connection timeout - Hibernate, MySQL connection timeout related error messages (more…)
Continue Reading

How to setup Apache Tomcat, Java on CentOS?

Nov 15, 2012 - by kurinchilamp / Java / Post Comment
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 / Java / Post Comment
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 / Java / Post Comment
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

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

Oct 30, 2012 - by kurinchilamp / Java / Post Comment
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

TECHNOLOGY DEV STACK

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