After countless hours, you finally finished a secure java server ready for deployment.
If you installed clean copy of Ubuntu 12.04 server or updated it, you may face following error during run time.
This is known bug with OpenJDK that has not been resolved yet.
This can be fixed by editing following file:
Find following line:
And change to following lines:
Now your server will not crash!! or you have another fun problem with deal with!