Archives

Setup Custom Domain on Heroku from GoDaddy

Add new custom domain to Heroku Add both with www. and no www. domain names. It will look like the following Login to Godaddy and add/edit host:www to your heroku app, it will looks like follows: Add a forwarding rule to that http://example.com will be directed to http://www.example.com

Rate this:

Read More

New-Relic Add-on for Java Application on Heroku Setup

Add New Relic Agent Dependency pom.xml build tag Create newrelic.yml and save to project route (same level as pom.xml) Add the following flag to your JAVA_OPTS config var on Heroku:

Rate this:

Read More

Setup Memcached on Heroku

Add memcachedcloud to your project: heroku addons:add memcachedcloud 1. Setup Memcached Configuration 2. Setup Memcached Service 1. Setup Memcached Configuration 2. Setup Memcached Service

Rate this:

Read More

Setup Quartz on Heroku

There are two ways to use Quartz on Heroku: 1. Setup your own Quartz on Heroku 2. Use Heroku Quartz Addon 1. Setup your own Quartz on Heroku Create Postgres db: heroku addons:add heroku-postgresql:dev Get Postgres properties: heroku config Use these properties to specify your: org.quartz.dataSource.dataSource.URL org.quartz.dataSource.dataSource.user org.quartz.dataSource.dataSource.password Your quartz.properties file Create your Quartz tables […]

Rate this:

Read More

Setup Postgres, Mongodb and Redis on Heroku

Below is the instruction to setup Postgres, Mongodb and Redis on Heroku: Setup Postgres heroku addons:add heroku-postgresql:dev Setup MongoDB heroku addons:add mongohq:sandbox Setup Redis heroku addons:add rediscloud:20

Rate this:

Read More

Jdbc, Hibernate, Jpa, Spring Data setup with no xml

Below is a very easy way in Spring to create DataSources with no XML: 1. DataSource 1.1 Define DataSource Interface 1.2 Implement DataSource Interface 1.3 Test if DataSource is connected 2. Jdbc 2.1 Define Jdbc Configuration 2.2 Define Jdbc Service 2.3 Test Jdbc Service 3. Hibernate 3.1 Define Hibernate Configuration 3.2 Define Hibernate Service 3.3 […]

Rate this:

Read More

Datapower NTP Service Setup

Setup your Datapower NTP Service for syncronized logging time across multiple Datapower Appliances. If you don’t have an NTP Server use the following address: pool.ntp.org

Rate this:

Read More

Websphere MQ Cluster Tutorial

How to create a Websphere MQ Cluster: Step 1: Open Websphere MQ Explorer and create two Queue Managers that will be part of the cluster. Step 2: Right click on Queue Manager Cluster and Select New->Queue Manager Cluster Step 3: Specify the following information: Cluster Name First Queue Manager Second Queue Manager Cluster Receiver Channel for First […]

Rate this:

Read More

Websphere Transformation Extender Launcher Tutorial

So how do you set up Websphere Transformation Extender Launcher to automatically transform incoming files with the correct transformation map en produce an output map. With this the launcher also comes with the Launcher Management Console which provides you detailed information on the status of transformed files. The Launcher Monitor provides you a graphical interface […]

Rate this:

Read More