How To Build And Deploy EAR In TIBCO Using Designer and Administrator

By | November 6, 2013

In our tutorial Step by Step: Developing SOAP Web Service in TIBCO we created a service and tested it using Tibco designer Tester and SOAP UI. In this post, I will share steps for creating an EAR of a web service and then deploying it in TIBCO Admiistrator.

Creating EAR of a Web Service in Tibco Designer:

Once we have validated our project successfully without any errors in TIBCO Designer, we are good to go for creation of EAR (Enterprise Archive) file for deployment on a TIBCO server using administrator.

To Create EAR in Tibco designer in your deployment folder, follow the steps as shown in the picture below:

create ear in tibco designer

It will create EAR as shown below:




Now we need to add our service in EAR. For adding any processes or services in EAR, we first need to add Process Archive in our EAR. This is done by following the below steps:

add process archive

Now we need to add our Service to process archive. This can be done by going to Process Archive and then using the binocular to add new processes or services as shown below:

add service to the process archive


When we add service to process archive, all relevant processes (processes which are part of our service) are automatically added.

process automatically addes to archive


Our web service also uses many XML Schema files, JDBC and HTTP connections etc. All these dependencies are handled by TIBCO designer itself. In Shared Archive dependencies, these resources get added automatically as shown in below diagram:

shared archive dependencies

Now we are sure that all our required resources (processes, services, schemas, connections) are correctly added in the archive so we can go for building the archive. This can be done using Build Archive button at the bottom:

build archive

On successful build, archive will be stored in the path specified in the File Location above.


Deploying EAR in Tibco Administrator:

After successful creation of EAR in Tibco designer, you need to move towards TIBCO Administrator for its deployment. We assume that you have already created a domain using domain utility and your Tibco administrator is all set for deployment of a new EAR.

Go to Tibco Administrator and navigate towards All Applications in the left side menu under Application Management hierarchy. Now choose New Application from the top menu as shown below:

application management new application


You will be directed to a new page where you will be asked to browse for your EAR file which you want to deploy.

browse ear file


After selecting required EAR, press OK button. You will be directed to configuration page where you can do all necessary configurations for your archive.

deployed configurations

Since our EAR consists of a web service so we would like to get WSDL from a deployed service. For this, we need to do some configurations for Process Archive.par in its Advanced Tab.

  • Specify IP address in Value of this configuration field should be IP address of machine where service is deployed.
  • Specify Port number in You can specify any available port in this field.
  • Set value of to true.

Configuration changes to enable as shown below:

administrator configurations to get wsdl of deployed service

After making above configuration changes, we are done with configuration changes as we don’t have any other configurations required for our service. Press Save button after these changes.  Now we are all set to deploy our EAR.

Press Deploy button. Service will get deployed and all its configurations will be shown as Synchronized:

ear deployment status check

Now we need to check the status of service instance. It takes some time for service instance to get started depending on your Server specifications and load. Status of Service Instance of deployed EAR can be checked as shown below:

service instance status check

Getting Concrete WSDL URL from a deployed Service in Tibco Administrator:

Now our EAR is deployed successfully, synchronized correctly and its service instance running fine. We can now get its WSDL from our web browser as well. IP address and Port that we specified for and in the configuration are used to get the WSDL URL.

For example, if IP address was set as and Port was set as 8087 in configuration, we can get URL of Concrete WSDL by going to following link on our browser:

getting wsdl url of deployed service

We are now done with our EAR deployment. You can give above highlighted WSDL url to any client for consuming this deployed web service.



Ajmal Abbasi

Ajmal Hussain Abbasi is Integration Consultant By Profession with more than 7 years experience in TIBCO products. He has extensive practical knowledge of TIBCO Business Works, TIBCO Spotfire, TIBCO BE, EMS and TIBCO ActiveSpaces. He has worked on a number of highly critical integration projects in Telecom sector by using his skills in Tibco Designer, Adapters, TIBCO EMS, RV, Administrator, TIBCO BE, TIBCO ActiveSpaces etc. Ajmal Abbasi is also experienced in developing solutions using Oracle PL/Sql, Linux and Java. You can contact Ajmal Abbasi for Consultancy, Technical Assistance and Technical Discussions.

More Posts - Website - Facebook - LinkedIn

20 thoughts on “How To Build And Deploy EAR In TIBCO Using Designer and Administrator

  1. Ahmad Syahruddin

    Just for tips :
    – never using others browser except Internet Explorer.. may be you will get different response that should come when using IE.

    I tried many times using other than IE with frustate result,. After change using IE all result was fine.


    1. yossa

      When I hit http://IP:PORT/inspection.wsil, I don’t get the following url of the concret wsdl. I get the abstract tag with the following content in “Generated by TIBCO Business Works”. but I don’t the get “description” tag.

      For the previous problem I added the xsd’s files manually in the .ear archive and the it works fine.

      for this new problem, any help?

  2. Pingback: TIBCO Domain Utility: How to Create a new Administrator Domain--Step By Step Tutorial | Tibco Guide

  3. Komal

    Dear Ajmal,

    Thanks for the wonderful article.
    I have a issue.
    I am not able to get the concreate WSDL through the Administrator from the browser by : http://:/inspection.wsil
    I receive the 404:Page not found error
    Can you let me know what is the pblm.

    My service is up and running.

    1. Ajmal Abbasi Post author

      Dear Komal,

      If your service is up and running you should be able to access the concrete WSDL by typing the following URL:


      (IP address should be same as the one you specify
      Port should be same as the one specified for

      Also make sure that is set to TRUE

  4. Shivendra SIngh

    Hi Ajmal ,
    I have deployed my service instance in Tibco Admin but after click on deploy option service instance is in Starting Up Mode and hence service is running. Other service instances deployed by other people on the same Tibco Admin Machine ist running properly.
    Please help me with the issue As soon as possible.


    1. Shivendra SIngh

      correcting the typo mistake. My Service instance is not running.

  5. tibcobeginertuan

    can i set the port to get wsdl the same? Examples i have two services with same port 8010 to get wsdl of both? Can i do it?

  6. umamahesh

    hi Ajmal
    this is umamahesh again
    your tutorials are very helpful,thanks alot for that.
    now i am requesting you to post a tutorial on script deployment
    which is very confusing to me.
    thank you

  7. mohit jain

    While clicking on build archive, I get below error in designer 5.5 for a code built in 5.5:

    java.lang.IllegalArgumentException: Duplicate NameValuePair detected when trying to add NameValuePair MessageEncoding to NameValuePairs DD Global Variables
    at com.tibco.archive.helpers.NameValuePairs.addNameValuePair(
    at javax.swing.AbstractButton.fireActionPerformed(
    at javax.swing.AbstractButton$Handler.actionPerformed(
    at javax.swing.DefaultButtonModel.fireActionPerformed(
    at javax.swing.DefaultButtonModel.setPressed(
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(
    at java.awt.Component.processMouseEvent(
    at javax.swing.JComponent.processMouseEvent(
    at java.awt.Component.processEvent(
    at java.awt.Container.processEvent(
    at java.awt.Component.dispatchEventImpl(
    at java.awt.Container.dispatchEventImpl(
    at java.awt.Component.dispatchEvent(
    at java.awt.LightweightDispatcher.retargetMouseEvent(
    at java.awt.LightweightDispatcher.processMouseEvent(
    at java.awt.LightweightDispatcher.dispatchEvent(
    at java.awt.Container.dispatchEventImpl(
    at java.awt.Window.dispatchEventImpl(
    at java.awt.Component.dispatchEvent(
    at java.awt.EventQueue.dispatchEvent(
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(
    at java.awt.EventDispatchThread.pumpEvents(
    at java.awt.EventDispatchThread.pumpEvents(

    But when I do in designer 5.6 for a code built in designer 5.6… it is creating successfully.
    Please tell me if any file is missing for designer 5.5?

    1. Shreya

      Hello any help for the above issue..i’m facing the same issue..i have designer 5.5, any help to avoid this error.

  8. Reddy

    Hi Ajmal,

    plz post step by step procedure of deploying ear in admin through appmanage utility.


  9. Pingback: TIBCO AppManage Utility EAR Deployment Step By Step Tutorial | TutorialsPedia

  10. Mehdi


    Thanks for the tutorial. Could you please give us some more information about the Shared Archive ?
    I’ve encountered this issue where some .xsd files are missing in a deployed project, eventhough they seem to appear in the Dependencies tab of the Shared Archive component.
    This problem appears when I use the buildear utility. When I build an .ear in the Designer however, I don’t have this issue…
    My questions would be : is it required to add xsd files in the Resource tab of the Shared Archive ?
    Is there any difference when I build a ear file through the buildear or the Designer ?

    Thank you.

  11. Thanh

    if i deploy continuos, what will happen to my Tibco server. Will My system bee at fault ?

  12. yossa

    xsd’s schemas are not added automatically in my .ear file.
    Please Can somebody tell me why?


Leave a Reply

Your email address will not be published. Required fields are marked *