Deploying the EMS Secure Application

The following steps describe how to deploy the application to your Cloud Foundry environment using the cf command line interface tool.

Procedure

  1. Log into your Cloud Foundry environment using the cf command-line interface.
  2. Copy the manifest file from the samples directory to the location where you placed your EAR file in the previous section.
  3. Edit the path variable in the manifest.yml file. Set the path to the location of the EAR file and
  4. Save the file.
    As the manifest file contains the service name, the emsssl service will automatically bind to this application at deployment.
  5. In your Cloud Foundry environment change to the directory where you placed your EAR file.
  6. Execute the command
     
    cf push -f manifest.yml
    
    
    To see the log output use the command cf logs <application name> --recent
    cf logs tibco.bwce.sample.palette.jms.SSL.application --recent
    
    
    .

    If the application deploys successfully, you will see a similar output in the console log.

     
    16:08:26.311 [PVM:In-Memory STWorkProcessor:1] INFO c.t.b.p.g.L.t.b.p.j.G.Log2 - Message=Received message number 3. Message = This is message number 3
    16:08:26.315 [PVM:In-Memory STWorkProcessor:3] INFO c.t.b.p.g.L.t.b.p.j.G.Log2 - Message=Received message number 4. Message = This is message number 4
    16:08:26.318 [PVM:In-Memory STWorkProcessor:5] INFO c.t.b.p.g.L.t.b.p.j.G.Log2 - Message=Received message number 5. Message = This is message number 5