Friday, May 15, 2015

WC_PERSISTENT | SESSION TIMEOUT !! 30 MINUTES DEFAULT




WC_PERSISTENT cookie is used to track session management in websphere commerce and session timeout is managed in WAS console. This is for global flag. If you want to enable them at the store level, this can be set using at STORE table by setting column PERSISTENTSESSION for corresponding store.


Dynacache on off | from WAS Console

On toolkit, Right click on server1-->

WAS console and remove check box on Enable servlet caching to turn off dynacache, and click apply  , save and restart server.

Saturday, May 9, 2015

Access your AWS linux instance from windows

The traditional SSH into Unix is not supported directly. You need to generate a pair of RSA keys and add public key to EC2 to login.

On your windows instance: You have to the following steps. Putty does not support the private key format (.pem) generated by Amazon EC2 so you have to generated keys using Git Bash and then convert them into keys in PuttyGen.

  • PuTTY does not natively support the private key format (.pem) generated by Amazon EC2. 

  • Install Putty (Download). 
  • Install PuttyGen, (Download).
  • Download and Install Git Bash (Download link)
  • Open Git Bash --It opens a console
  • Run the following command ssh-keygen -t rsa 
           Generating public/private rsa key pair.
              Enter file in which to save the key (/c/Users/admin/.ssh/id_rsa):
    • The above process generates a public key and a private key.
    • Open puttyGen and load private key and save private key. 
    • Open putty and in settings -->SSH->Auth--Add your private key