Install Tibco Gems Download
Hi, I have dowloaded the zip.But I am unable to run gems. Below error TIBEMSROOT=C: Program Files tibco bw6 ems 8.4 bin.
In this procedure, you will learn how to integrate Kaazing WebSocket Gateway and TIBCO Enterprise Message Service (TIBCO EMS), a standards-based enterprise messaging platform.
To Integrate TIBCO Enterprise Message Service
TIBCO Enterprise Message Service (TIBCO EMS) is a standards-based enterprise messaging platform. The Gateway supports integration with TIBCO EMS 5.x or higher, and 4.x versions.
To configure the Gateway to work with these versions of TIBCO EMS, perform the following steps:
- Install TIBCO EMS following the instructions in the TIBCO EMS documentation. The directory that contains the application server installation is referred to as TIBCO_HOME.
Copy the JAR files listed in the following table to GATEWAY_HOME/lib from the appropriate directory in your TIBCO_HOME (for TIBCO EMS 5.x or higher: TIBCO_HOME/ems/version/lib; for TIBCO 4.x: TIBCO_HOME/ems/clients/java):
TIBCO EMS 5.x or higher TIBCO EMS 4.4.3 TIBCO EMS 4.1 - jms.jar (jms-2.0.jar in EMS 8)
- tibcrypt.jar
- tibjms.jar
- tibjmsadmin.jar
- tibjmsapps.jar
- tibrvjms.jar
- jaxp.jar
- jms.jar
- jndi.jar
- jta-spec1_0_1.jar
- tibcrypt.jar
- tibjms.jar
- tibjmsadmin.jar
- tibjmsapps.jar
- tibrvjms.jar
- crimson.jar
- jaxp.jar
- jcert.jar
- jms.jar
- jndi.jar
- jnet.jar
- jsse.jar
- jta-spec1_0_1.jar
- tibcrypt.jar
- tibjms.jar
- tibjmsadmin.jar
- tibjmsapps.jar
- tibrvjms.jar
Note: Instead of copying the required TIBCO EMS jar files to GATEWAY_HOME/lib, you can also modify the gateway.start or gateway.start.bat startup file to add these .JAR files (in their original TIBCO_HOME locations) to the CLASSPATH when the Gateway starts.
- If you are using TIBCO EMS 5.x or higher, open the TIBCO_HOME/ems/version/bin/factories.conf file. Otherwise, skip to Step 7.
- Configure the file according to the TIBCO EMS 5.x or higher documentation. You can alternatively copy the contents of the file from the TIBCO EMS 5.x or higher samples (TIBCO_HOME/ems/version/samples/config) into the factories.conf file.
- Update the factories.conf to enable the Gateway to access TIBCO EMS. For a local Kaazing WebSocket Gateway, you can use the following configuration:
For a remote Kaazing WebSocket Gateway, you can use the following configuration, where tibco.example.com is the address of TIBCO EMS. - Save the factories.conf file.
- Open the file GATEWAY_HOME/conf/gateway-config.xml in a text editor and locate the jms service element (search for 'jms').
Update the jms service element properties section as shown in the following example (changes shown in lines 6-19). This example is for use with TIBCO EMS 5.1 or higher, and uses the default credentials (username admin with no password).
Note: The following example uses the default credentials (username admin with no password). If you change the credentials, you will need to update these credentials accordingly. See also Secure the Connection from the Gateway to the Message Broker for more information about accessing a secured message broker from the Gateway.
You can use TopicConnectionFactory or QueueConnectionFactory in the connection.factory.name element, as appropriate.
- The
connection.security.principal
andconnection.security.credentials
elements are used for all message brokers that require client authentication. Theenv.java.naming.security.principal
andenv.java.naming.security.credentials
elements are only used for TIBCO EMS because of the implementation of TIBCO EMS connection factory. The TIBCO EMS connection factory does a remote connection to the message broker, and therefore must provide credentials. Theenv.java.naming.security.principal
andenv.java.naming.security.credentials
elements instruct the TIBCO EMS connection factory on which credentials to use. For more information, see Properties for the jms Service. - If TIBCO EMS is unable to detect connection loss and free up durable subscribers when a Gateway instance shuts down unexpectedly, see the troubleshooting information in TIBCO EMS Unable to Free Up Durable Subscribers.
To verify that the JMS integration is working, perform the following steps:
- Start the TIBCO EMS Server.
- Start the Gateway as described in Setting Up Kaazing WebSocket Gateway.
- In a browser, navigate to the out of the box demos at http://localhost:8001/demo/.
- Click the JavaScript demo.
- Change the value for Location to ws://localhost:8001/jms.
- Change the value of all Destination text boxes to an existing topic or queue, for example /topic/testTopic. This example assumes that the topic
testTopic
exists. For information on creating topics and queues, see the documentation for TIBCO EMS (search for 'create topic' or 'create queue' in the Command Listing.) - Click Connect.
The message 'CONNECT: ws://localhost:8001/jms' should appear in the log window followed by the message 'CONNECTED:'. - Click Subscribe.
- Click Send. You should see the message that you sent in the message log.
Subscription and Destination Support
Kaazing WebSocket Gateway integration with TIBCO Enterprise Message Service has the following subscription and destination support: Zuma revenge apk free download.
- Durable subscriptions are supported
- Dynamic destinations are supported. Add the destination.strategyproperty to the jms section and set its value to session to support destination lookups without using JNDI. This configuration instructs the Gateway to obtain Topic and Queue objects using the createTopic() and createQueue() JMS API methods instead of performing JNDI lookups.
- Static destinations are supported
Notes
- To learn how to secure your JMS configuration, see Checklist: Secure Your JMS Configuration.
You can also connect to your TIBCO EMS 4.4.3 or higher server using SSL. To do so, set the protocol of the env.java.naming.provider.url property to ssl. For example:
<env.java.naming.provider.url>ssl://localhost:7222</env.java.naming.provider.url>
See Also
- For information on troubleshooting JMS integration, see Troubleshoot JMS Integration.
- For information on troubleshooting JMS clients, see Troubleshoot Your Clients.
- For general troubleshooting information, see Checklist: Troubleshoot Kaazing WebSocket Gateway.