Thursday, September 28, 2023

EAR - Local Deployment - BW 6.X

Here, I am going to explain how to create enterprise archive file (ear) and deploy it on local BW runtime.

Step 1: How to create an enterprise archive file (EAR)



If you have configured GIT in Business Studio, then you can check out code directly to Git Hub.

Step 2 : Below mentioned steps to be followed before deploying ear in local BW run-time.

Create domain:
Go to: C:\tibco_install_6\bw\6.5\bin>bwadmin.exe
Syntax: create domain <domain-name>

bwadmin[admin]> create domain tibco6x_domain

To see list of domains:

bwadmin[admin]> show domains


Create AppSpace:
Syntax: create appspace <appspace-name>

create appspace tibco6x_appspace

Create AppNode:
Syntax: create appnode <appnode_name>

create appnode orderAppNode1




All the folders are created as shown below


-bin folder basically contains .bat files to start and stop the node.
startBWAppNode.bat - to start the node
stopBWAppNode.bat - to stop the node

Open the startBWAppNode.bat (Run as Administrator), then you can see the process in Win(Task Manager)


Upload ear file
Syntax: upload "relative path of ear file"

Use forward slash (/) for Windows

C:/Users/Lenovo/Desktop/EAR/Demohello.application_1.0.0.ear

Deploy ear file

-show archives

To see list of archives files

Syntax: deploy <application name>

-show applications
Finally, start the application
Syntax: start <application-name> <version>


Test your application logic and check the logs and your desired output.

log folder - contains application log.


That's all about deployment, now you can test the application and check the logs.

******************************************************


Thanks for reading.


No comments:

Post a Comment

XML Palette Activities

The XML palette provides activities for parsing XML strings into schemas and rendering schemas into XML strings Parse XML: Parse XML  is use...