Deploying the JMS Basic Application

The following steps describe how to deploy the application to your Cloud Foundry environment.

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 Save the file.
    As the manifest file contains the service name, the ems service will automatically bind to this application at deployment.
  4. In your Cloud Foundry environment change to the directory where you placed your EAR file.
  5. Execute the following command:
    cf push -f manifest.yml
    
    
    To see the log output use the command cf logs <application name> --recent.

    For example,

    cf logs tibco.bwce.sample.palette.jms.Basic.application --recent 
    
    
    If the application deploys successfully, you will see a similar output in the console log.
    00:48:07.621 INFO  [bwEngThread:In-Memory Process Worker-1] c.t.b.p.g.L.t.b.s.p.j.B.m.LogBeforeReq - Sending The Request
    00:48:07.645 INFO  [bwEngThread:In-Memory Process Worker-2] c.t.b.p.g.L.t.b.s.p.j.B.m.LogAfterReply - ***** JMSRequestReply Received the Response ****==*** Sending A Reply Back For Request Message Received *****
    00:48:07.645 INFO  [bwEngThread:In-Memory Process Worker-3] c.t.b.p.g.L.t.b.s.p.j.B.m.LogReceiveMessage - Received a Queue Message. Request = Sending a Request JMS Message. JMSMessageID = ID:EMS-SERVER.95A15639F97F35:1