Vous êtes sur la page 1sur 7

WEBLOGIC CLUSTER

SESAM Installaiton Procedure 8 December, 2021


RESTRICTED TO NSE USAGE
Page iiof 7

SAI EXISTING ARCHITECTURE

SESAM Installaiton Procedure 8 December, 2021


RESTRICTED TO NSE USAGE
Page iiiof 7

SAI CODE CHANGES:-

1: Change connection factory name from “weblogic.jms.ConnectionFactory” to


“sai.jms.ConnectionFactory” in SaiDbPollerServlet.java, MailPollerServlet.java,
FileadeDbPollerServlet.java and CisDbPollerServlet.java.

2: Replace all “javax.jms.QueueConnectionFactory” with


“sai.jms.ConnectionFactory” in SAI_EDM Application

3: Add entry

<connection-factory-jndi-name>jms/sai/JMSConnectionFactoryLocal</connection-factory-jndi-
name>

SESAM Installaiton Procedure 8 December, 2021


RESTRICTED TO NSE USAGE
Page ivof 7

For each MDB in “weblogic-ejb-jar.xml”

<weblogic-enterprise-bean>
<ejb-name>FileadeOrderTracking</ejb-name>
<message-driven-descriptor>
<pool>
<max-beans-in-free-pool>1</max-beans-in-free-pool>
</pool>
<destination-jndi-name>sai/jms/topic/OrderImplementationTopic</destination-jndi-name>
<connection-factory-jndi-name>jms/sai/JMSConnectionFactoryLocal</connection-factory-
jndi-name>
</message-driven-descriptor>
<transaction-descriptor>
<trans-timeout-seconds>300</trans-timeout-seconds>
</transaction-descriptor>
<reference-descriptor>
</reference-descriptor>
</weblogic-enterprise-bean>

4: Add class PollerHelper.java in SAI_WEB APPLICATION.

5: Make changes in handleNotification()method of MailPollerServlet.java for taking lock on


MailBox.

MailPollerServlet.java

SESAM CHANGE:-
Add entry

<session-param>
<param-name>PersistentStoreType</param-name>
<param-value>replicated</param-value>
</session-param>

In Weblogic.xml.

SESAM Installaiton Procedure 8 December, 2021


RESTRICTED TO NSE USAGE
Page vof 7

Test scenario:
1. All Functional testing.
2. Load Testing.
3.

ADVANTAGE:-

1. By using Cluster the availability of resources will be double so it will improve Application
Performance.

RISK:-

1. As we are using Queue instead of Topic the order creation will be stopped if there is any
Non-Deliverable message is in Queue.

SESAM Installaiton Procedure 8 December, 2021


RESTRICTED TO NSE USAGE
Page viof 7

SESAM Installaiton Procedure 8 December, 2021


RESTRICTED TO NSE USAGE
Page viiof 7

SESAM Installaiton Procedure 8 December, 2021


RESTRICTED TO NSE USAGE

Vous aimerez peut-être aussi