Saturday, December 20, 2014

git clone openshift project from another machine

if you get this error when you try to git clone a project from openshift

Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

it means your private ssh key does not match the public key that is existing in the openshift - settings - keys section.

Follow the below link:

https://developers.openshift.com/en/managing-remote-connection.html#setting-up-ssh-keys

easiest way is to install the rhc client tool.

rhc setup

Thursday, December 18, 2014

Friday, December 12, 2014

Wednesday, August 27, 2014

Heap and PermGen Space

The heap stores all of the objects created by your Java program. The heap's contents is monitored by the garbage collector, which frees memory from the heap when you stop using an object

The perm space refers to a special part of the heap. It holds meta-data describing user classes.

Wednesday, May 7, 2014

Setting up MVN with a Terminal.bat file

SET JAVA_HOME=C:\Program Files\Java\jdk1.6.0_45
SET PATH=%PATH%;c:\mywork\programs\apache-maven-3.2.1-bin\apache-maven-3.2.1\bin
start cmd /k echo Hello, World!

CNTRL R to work in all terminals.

Added the line
export PROMPT_COMMAND='history -a'
in vi /home/byorn/.bashrc at the very end.