Professional Documents
Culture Documents
Designed for Tibco EMS 4.0 and BEA WebLogic Server 8.1 for HP Integrity Servers
Table of Contents
Executive Summary ......................................................................................................................... 2
Architectural Design and Configuration .............................................................................................. 3
Software Components.................................................................................................................. 3
Hardware Components ................................................................................................................ 3
Test Results .................................................................................................................................... 3
WebLogic and Tibco EMS Integration............................................................................................. 3
Tibco EMS Integration with MedRec JMS Communication................................................................... 4
Recommendations........................................................................................................................... 6
Tibco EMS Configuration.............................................................................................................. 6
Appendix A: Hardware Environment.................................................................................................. 7
HP Integrity rx2600 for Tibco EMS................................................................................................. 7
HP Integrity rx2600 for JMS Listener............................................................................................... 7
HP Integrity rx7620 for BEA WebLogic........................................................................................... 7
HP Integrity rx8620 for Oracle Database ........................................................................................ 7
HP Integrity rx2600 Web Servers .................................................................................................. 7
Appendix B: Software Environment.................................................................................................... 8
Application Server....................................................................................................................... 8
JMS Server................................................................................................................................. 8
JMS Listener ............................................................................................................................... 8
Database Server ......................................................................................................................... 8
Web Server ............................................................................................................................... 8
Call to action ................................................................................................................................. 9
Table of Figures
Figure 1 - Topology Diagram ...................................................................................................2
Figure 2 - WebLogic console ...................................................................................................4
Figure 3 - MedRec Application Flow .........................................................................................5
Executive Summary
The Tibco integration scenario described in this white paper incorporates the HP-UX 11i v2 Operating
Environment, HP Integrity servers, BEA WebLogic Server 8.1, and Tibco EMS 4.0. Tibco Enterprise
Message Service provides fully compliant Java Message Service (JMS) capabilities as well as several
value-added features. The testing focused on validating the integration between the application and
middleware tiers. The efforts detailed in this document include the following:
• JMS enablement and integration with BEA WebLogic Server
• Load testing of the fully integrated application infrastructure
Tibco EMS was successfully integrated with the sample J2EE application, MedRec, in BEA WebLogic.
Future testing will include advanced features of EMS such as fault tolerance and load balancing.
Load testing of the infrastructure successfully validated the integration of BEA WebLogic and Tibco
EMS. The BEA WebLogic Administration Console was used to configure Tibco EMS as a foreign,
stand-alone, JMS provider. WebLogic application clustering was also implemented in this
environment. The test scenario applied load to the application which then triggered WebLogic to
connect to designated queues and transmit messages via Tibco EMS. Tibco EMS server usage was
monitored through the BEA WebLogic Server administration console. To summarize, the test efforts
described here validate the following:
ü Successful implementation of BEA WebLogic, including foreign JMS server integration using
Tibco EMS
ü Successful BEA WebLogic application deployment including JMS functionality
ü Successful integration and deployment of the application infrastructure
hp hp hp
work stati on workstati on work stati on
x w5000 x w5000 x w5000
Test Clients A
U
T
O
INh M
P 182E
U p 5N
T U
A
U
T
O
I
N
Pp 5E
U N
T U
M
h182
A
U
T
O
INh M
P 182
T U
E
U p 5N
hp
integrity hp
Web Servers
rp2600 int eg rity
rp2600
rx2600 rx2600
hp
in tegrity
rp2600
Standby
Standby Attention Remote Power
Attention Remote Run Fault SP Present Power
Run Fault SP Present Power
Power
rx2600
JMS Listener
rx7620 rx7620
READY
ALARM
MESSAGE
Servers EMERGENCY
UNIT
EMERGENCY
POWER OFF
2
Architectural Design and Configuration
Software Components
The objective of this whitepaper is to demonstrate the successful integration and deployment of BEA
WebLogic Server with Tibco Enterprise Message Service, within the HP-UX 11i v2 Operating
Environment. The software infrastructure for this environment includes:
HP-UX 11i v2 Operating Environment
Tibco Enterprise Message Service 4.0
BEA WebLogic Server 8.1
Oracle Database 9i RAC
HP-UX Apache-based Web Server
Hardware Components
The test environment uses HP Integrity servers. The architecture is multi-tiered, modeling customer
usage of hardware and software components.
Database Servers: An HP Integrity rx8620 Server was subdivided into two hard partitions.
Oracle 9i RAC was installed onto these partitions. Storage for the Oracle instances was provided by
an HP SureStore XP128 disk array.
Application Servers: BEA WebLogic Server was installed on two hard partitions on an HP Integrity
rx7620 Server. Using WebLogic application clustering, both partitions were installed with instances
of the WebLogic Server. The Avitek Medical Record (MedRec) application was utilized to exercise
the J2EE environments.
JMS Server: Tibco EMS was installed on an HP Integrity rx2600 Server.
JMS Consumer Application: A JMS application was created in Java, using Tibco JMS classes.
This application consumes the messages from the Tibco EMS queues. This application was run on an
HP Integrity rx2600 Server.
Web Servers: Two HP Integrity rx2600 Servers were deployed in the web tier. Both servers ran
HP-UX Apache-based Web Server.
Test Results
The testing objectives were to verify the full integration of the hardware and software components and
to validate JMS communication between BEA WebLogic and Tibco EMS.
3
• Edit MedRec EJBs to point to the proper queue connection factories
• Add Tibco tibjms.jar to the classpath in the MedRec application start script
• Rebuild and redeploy the MedRec application
• Restart the MedRec application
From the Tibco EMS console, issue 'show queues' to verify the configuration of the JMS parameters.
tcp://ems:7222> show queues
Queue Name SNFGXIBCT Pre Rcvrs Msgs Size
MAIL.QUEUE --------- 5* 8 0 0.0 Kb
REGISTRATION.QUEUE --------- 5* 8 0 0.0 Kb
XML_UPLOAD.QUEUE --------- 5* 8 0 0.0 Kb
This output shows the remote Tibco EMS queues are actively recognized by the MedRec application
and ready for JMS traffic. Notice that under the heading 'Rcvrs', each of the queues indicates multiple
available receivers. This validates the initial integration of a stand-alone messaging solution with a
J2EE application running on BEA WebLogic.
4
• Create JMS consumer application in Java to receive the messages from Tibco EMS
• Set the size and number of JMS messages to be transmitted with each MedRec event
• Rebuild and redeploy the MedRec application
Applying load to the web servers produced JMS traffic between MedRec and Tibco EMS. The result
of this load was visible by running a 'show queues' command on the Tibco EMS administration
console:
tcp://ems:7222> show queues
Queue Name SNFGXIBCT Pre Rcvrs Msgs Size
login.queue_1 --------- 5* 1 6256 6.8 MB
login.queue_2 --------- 5* 1 8039 8.7 MB
login.queue_3 --------- 5* 1 7915 8.5 MB
login.queue_4 --------- 5* 1 7862 8.5 MB
login.queue_5 --------- 5* 1 6256 6.8 MB
Messages were extracted from the queue by the consumer application. This application read and
verified each of the messages as they were received from the queue. Message sizes ranging from
1KB to 50KB were used for the test.
MedRec Application
Tibco EMS
S
JM
Queue n
Event x JMS
5
Recommendations
Note: The following modification is required for any scenario which uses an external Tibco EMS
server.
This configuration change is reflected in the factories.conf file located in the /opt/tibco/ems/bin
directory. Once this modification is complete, the proper connection factory URL is returned when
MedRec connects to Tibco EMS.
6
Appendix A: Hardware Environment
HP Integrity rx2600 for Tibco EMS
Number Memory
Description Comment
of CPUs (GB)
7
Appendix B: Software Environment
Application Server
Bundle Description
JMS Server
Bundle Description
JMS Listener
Bundle Description
Database Server
Bundle Description
Web Server
Bundle Description
8
Call to action
www.hp.com/go/bea
www.hp.com/go/hpux11i