Wednesday, October 12, 2016

Embed Tomcat 8 Maximum cache size issue in Spring boot 1.4



If you are running Spring boot with an embed tomcat 8, you might you see the following error when you try to run you app:

consider increasing the maximum size of the cache 

Wednesday, July 6, 2016

How to stop node.js server?


You  can run the node server by typing:
node server.js
But how to stop it ? typing command CTRL+C  might not kill the process and then end up with error like the following 

Tuesday, January 5, 2016

Running a Java Program as a daemon (Background service) on *nix systems

How to run a Java Program as a daemon (Background service) on *nix systems?

Ever needed to run a Java program as a daemon (background service) on your *nix server? All you want is to run some basic operations such as start/stop/restart? then are not a lone.

Generate a unique N letters word sequence (by using relationship between Factoradic base system and Lexicographic Permutation Order of a String)

Lets say that you want to generate a unique 3 letters code sequence to be used as a primary key for some data recodes. Also let assume ...