Test your Application Locally in a Docker Setup

Procedure

  1. Execute the following command in a docker terminal:
    docker run -ti -e "EMS_URL=tcp://54.67.133.122:7222" bwce-soap-jms-app
    
    
  2. Execute the following command to views the logs to make sure that the application has successfully started:
    docker logs <container name>
    
    
  3. Check the logs to make sure application has run successfully.
    You should see some message like below:
    13:49:06.733 INFO [Framework Event Dispatcher: Equinox Container: 608aaa95-52d7-0015-1f90-d3fd61937bf8] com.tibco.thor.frwk.Application - Started by BusinessStudio, ignoring .enabled settings. 
    13:49:11.962 INFO [bwEngThread:In-Memory Process Worker-6] c.t.b.p.g.L.t.b.s.b.s.j.Z.Log - Output of getCityInfo : 61801 Urbana Illinois Urbana, Illinois, United States 40.11 88.207 
    Output of getCityDistance : Distance between two cities is : 4 miles. 61801 61820 Urbana Champaign Illinois Illinois Urbana, Illinois, United States Champaign, Illinois, United States