Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do.
-- Steve Jobs
Showing posts with label MySQL. Show all posts
Showing posts with label MySQL. Show all posts

Sunday, September 18, 2011

How to deal with "java.lang.OutOfMemoryError: PermGen space" error | Stack Overflow

How to deal with "java.lang.OutOfMemoryError: PermGen space" error - Stack Overflow
Recently I ran into this error in my web application:
java.lang.OutOfMemoryError: PermGen space
It's a typical Hibernate/JPA + IceFaces/JSF application running on Tomcat 6 and JDK 1.6.
Apparently this can occur after redeploying an application a few times.

Saturday, September 17, 2011

Tweaking The Grails Datasource To Cope With MySQL’s Foibles – Transentia

Tweaking The Grails Datasource To Cope With MySQL’s Foibles – Transentia
The application I am maintaining is falling prey to MySQL’s infamous “kill connections after 8 hours of inactivity” feature.
The users arrive each morning to find that their application is unworkable, ‘cos all the connections have “gone away.”
This IS a feature and not a bug, and it does make sense (the server has to manage its resources appropriately [for it] and 8 hours is as good a timeout as 1 or 1000)…but it is darned inconvenient, nonetheless.

Tuesday, August 2, 2011

how to install MySQL on ubuntu 10.10

how to install MySQL on ubuntu 10.10
On Ubuntu 10.10(Maverick Meerkat) MySQL(server/client) Database Management System is recommended because it’s free,open source,fast and easy to install.MySQL is one of the most widely used DBMS specifically for web development.PHP+MySQL is a De Facto standard for creating dynamic websites.The most widely preferred cms(Content Management System) i.e wordpress(This blog is also running on wordpress) also uses PHP+MySQL to generate dynamic pages.

Deploy Grails Apps in 3 simple steps on Tomcat and MySQL « Maikel Alderhout's Blog

Deploy Grails Apps in 3 simple steps on Tomcat and MySQL « Maikel Alderhout's Blog
For a Grails project we use Tomcat for our demo environment on Windows. Our Grails App is using MySQL as datasource. Here are 3 simple steps to get your Grails Apps deployed.

Deploy Grails Apps in 3 simple steps to Amazon Beanstalk « Maikel Alderhout's Blog

Deploy Grails Apps in 3 simple steps to Amazon Beanstalk « Maikel Alderhout's Blog

We can easy deploy the Grails WAR file to Amazon Beanstalk in 3 simple steps:

  • We have to create an Amazon Web Services Account (this part is not described is this post)
  • We have to make a MySQL database. We use Amazon RDS
  • We have to make the Amazon Elastic Beanstalk and deploy the WAR

Sunday, July 24, 2011

Andrew Taylor » Blog Archive » Getting Started with Grails and MySQL - Code n' stuff

Andrew Taylor » Blog Archive » Getting Started with Grails and MySQL - Code n' stuff

Out of the box, grails is set up with a HSQLDB database ready to go. While HSQLDB is great for early development, eventually most projects have to migrate to a real database system. If you’re using a hosting service for your app, such as CloudFoundry, it will probably end up being MySQL.

Here’s my checklist of things to do to convert a project from the default HSQLDB settings to MySQL.

Thursday, July 21, 2011

Idiot's guide to Tomcat 6 & Grails with JNDI DataSource | Refactor

Idiot's guide to Tomcat 6 & Grails with JNDI DataSource | Refactor
Ok, I found information on how to do this a little bit scattered and some gotchas, so this blog post is just a quick idiot's guide on how to setup Grails with a JNDI DataSource on Tomcat 6 with Mysql.