Follow the instructions below for the application server you are using.

WebLogic
JBoss
WebSphere

Note: The instructions below assume you have WebSphere security disabled.