Skip to main content

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

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

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

Content navigation