Steps to help resolve EJB problems
Before beginning the troubleshooting process, it might be helpful to
review the educational material, tutorials, and demonstrations concerning
EJBs and other WebSphere Application Server functionality that is
available in the IBM
Education Assistant.
A good starting point for troubleshooting is the document available here.
JNDI Problems
- Are you experiencing a problem doing a JNDI lookup of an EJB?
- Yes, review this technote
and the TroubleShooting
document for JNDI Naming problems.
- No, continue to the next question.
- Does a NameNotFoundException occur when the JNDI lookup of
the EJB is done?
- Do you have any other problem accessing the EJB through JNDI?
- Yes, review this article
from the WebSphere Application Server Information Center.
- No, continue to question 1 under CORBA
Problems.
CORBA Problems
- Does a CORBA error occur when your EJB client application tries to
access the EJB?
- Yes, review this technote
and the TroubleShooting
document for Object Request Broker (ORB) problems.
- No, continue to the next question.
- Does an org.omg.CORBA.TRANSIENT: Connection refused error
occur?
- Yes, review this technote.
- No, continue to the next question.
- Does an org.omg.CORBA.SystemException occur when the
application attempts to use an EJB handle?
- Yes, review this technote.
- No, continue to question 1 under Transaction
Problems.
Transaction Problems
- Is the problem related to transactions?
- Yes, review the TroubleShooting document for
Transaction problems and continue to the next question.
- No, continue to question 1 under Database
Connection and Connection Pooling Problems.
- Is the problem related to a transaction timeout (WTRN0006W
warnings appear in the SystemOut.log file)?
- Does the following error occur?
J2CA0023E: A two phase XA
operation, prepare, was invoked. This resource adapter from datasource
jdbc/IVP does not support two phase processing. |
|
- Yes, review this technote.
- No, continue to the next question.
|
|
- Does a TransactionRolledbackException occur?
- Yes, review this technote
and this technote.
- No, continue to question 1 under Database
Connection and Connection Pooling Problems.
Database Connection and Connection Pooling Problems
- Is the problem related to database connectivity or connection pooling?
- Yes, review the TroubleShooting document for
Connection Pooling problems.
- No, continue to question 1 under Access Intent
Problems.
Access Intent Problems
- Is the problem related to the access intent policy for your
container-managed persistence (CMP) entity beans?
- Yes, review this technote,
and this technote.
- No, continue to the next question.
- Does a database deadlock occur when the pessimistic update access
intent is used?
- Yes, review this technote.
- No, continue to question 1 under Persistence
Problems.
Persistence Problems
- Is the problem related to the Persistence Manager Cache feature?
- Yes, review this technote.
- No, continue to the next question.
- Do PMGR1012E and PMGR0000E errors occur when your
CMP entity beans try to connect to the backend database?
- Yes, review this technote.
- No, continue to question 1 under Web Services
Problems.
Web Services Problems
- Does a java.net.SocketTimeoutException: Read timed out occur
when trying to invoke a Web service from an EJB?
- Yes, review this technote.
- No, continue to the next question.
- Review the WebSphere Application Server V5.0,
V5.1,
or V6.0
Information Center, or the WebSphere
Application Server support site for additional information that might
help you to resolve the problem.
What to do next
If the preceding troubleshooting steps did not solve your problem, see
the MustGather
for EJB Container problems to continue investigation. |