Defer transaction processing until WebSphere Process Server (WPS) is open for e-business in a clustered environment

Technote (troubleshooting)


Problem(Abstract)

Exceptions and incorrect processing behavior can be seen if transactions are being processed prior to the local server is ready for e-business. Messages are sent to remote servers in the cluster for processing, which can lead to exceptions or incorrect transaction processing.

Cause

When a server is starting, sometimes an application might start before the server is ready and open for e-business. In a clustered environment, the Message Driven Bean (MDB) might have messages in its queue. If the local server is not open for e-business and is still starting, the message off the queue is sent remotely to another server in the cluster. This scenario might lead to unexpected results if remote servers are processing the transaction and send it back to the local node after processing.

You might see the following exceptions, which is not a complete list:

  • com.ibm.ejs.container.HomeDisabledException
  • NameNotFoundException

Resolving the problem

Enable the following Java virtual machine (JVM) property:
com.ibm.ejs.j2c.J2CServerListener.deferEndpointActivation = true



This property should not have any risk or drawbacks. However, it is a good practice to use it in a test environment before implementing it in production.


Related information

PK73716: APPLICATIONS MAY PROCESS INBOUND JCA WORK BEFO
PK80671

Rate this page:

(0 users)Average rating

Document information


More support for:

WebSphere Process Server
General

Software version:

7.0, 7.0.0.1, 7.0.0.2, 7.0.0.3, 7.0.0.4, 7.0.0.5

Operating system(s):

AIX, HP-UX, Linux, Linux zSeries, Solaris, Windows

Reference #:

1616077

Modified date:

2012-11-06

Translate my page

Machine Translation

Content navigation