In a distributed system you usually install the SCS, then the DB and then the Apllication Server. Sounds to me you are trying to install the application server first.
What DB are you working with?, what procedure have you followed?... All the installation details for a distributed system are on the Installation Guide.
Regards,
Juan