web server - Borland Technical Publications

web server - Borland Technical Publications web server - Borland Technical Publications

techpubs.borland.com
from techpubs.borland.com More from this publisher
12.11.2014 Views

Tibco Integrating clustered Tibco servers into BES The fault tolerant Tibco JMS server pair is represented in BES as a redundancy group Managed Object. Although there are two Tibco servers running, BES shows the pair of servers as a single Managed Object. The definition for the Redundancy Group Managed Object is shown below: Note The Tibco servers in the example above are running on different hosts. Configuring clients for fault tolerant Tibco connections To connect to a backup server in the event of failure of a primary server, a client application must specify multiple server URLs in the jndi-object XML for the connection factories as below: jms/XAQueueConnectionFactory com.tibco.tibjms.TibjmsXAQueueConnectionFactory serverUrl String localhost:7222,hnguyen:7222 jms/QueueConnectionFactory com.tibco.tibjms.TibjmsQueueConnectionFactory serverUrl String localhost:7222,hnguyen:7222 jms/XATopicConnectionFactory com.tibco.tibjms.TibjmsXATopicConnectionFactory serverUrl String localhost:7222,hnguyen:7222 jms/TopicConnectionFactory com.tibco.tibjms.TibjmsTopicConnectionFactory Chapter 24: JMS provider pluggability 225

Sonic serverUrl String localhost:7222,hnguyen:7222 Enabling Security for Tibco Note For information on SSL, please refer to the Tibco documentation. Tibco documentation is located in \jms\tibco\doc\html. To enable security for Tibco, you can either modify the tibjmsd.conf file located in: / /var/domains/base/configurations// mos/tibco/tibjmsd.conf, or you can set it using the Tibco Admin tool. 1 From the Tools menu in Borland Management Console launch the Tibco Admin Console tool. 2 Type connect. 3 Enter Login name and Password. 4 Once connected, type set server authorization=enabled. 5 Security is now enabled. For client authentication, users should be created and added to an authorization group. For instance, create a user using the command: create user [] [password=]. 6 Add a member, type add member [,,...]. Disabling security for Tibco Set the server authorization to disabled: set server authorization=disabled. Sonic Sonic has achieved the runtime level of pluggability which is determined by compliance to the J2EE specification. Configuring Admin Objects for Sonic Sonic's admin object properties are defined in BES and can be configured graphically using the Borland Deployment Descriptor Editor. See “Setting Admin Objects Using Borland Deployment Descriptor” on page 222. 226 BES Developer’s Guide

Tibco<br />

Integrating clustered Tibco <strong>server</strong>s into BES<br />

The fault tolerant Tibco JMS <strong>server</strong> pair is represented in BES as a redundancy group<br />

Managed Object. Although there are two Tibco <strong>server</strong>s running, BES shows the pair of<br />

<strong>server</strong>s as a single Managed Object. The definition for the Redundancy Group<br />

Managed Object is shown below:<br />

<br />

<br />

Note<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

The Tibco <strong>server</strong>s in the example above are running on different hosts.<br />

Configuring clients for fault tolerant Tibco connections<br />

To connect to a backup <strong>server</strong> in the event of failure of a primary <strong>server</strong>, a client<br />

application must specify multiple <strong>server</strong> URLs in the jndi-object XML for the<br />

connection factories as below:<br />

<br />

jms/XAQueueConnectionFactory<br />

com.tibco.tibjms.TibjmsXAQueueConnectionFactory<br />

<br />

<strong>server</strong>Url<br />

String<br />

localhost:7222,hnguyen:7222<br />

<br />

<br />

<br />

jms/QueueConnectionFactory<br />

com.tibco.tibjms.TibjmsQueueConnectionFactory<br />

<br />

<strong>server</strong>Url<br />

String<br />

localhost:7222,hnguyen:7222<br />

<br />

<br />

<br />

jms/XATopicConnectionFactory<br />

com.tibco.tibjms.TibjmsXATopicConnectionFactory<br />

<br />

<strong>server</strong>Url<br />

String<br />

localhost:7222,hnguyen:7222<br />

<br />

<br />

jms/TopicConnectionFactory<br />

com.tibco.tibjms.TibjmsTopicConnectionFactory<br />

<br />

Chapter 24: JMS provider pluggability 225

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!