Sun Java logo     Previous      Contents      Next     

Sun logo
Sun Java System Application Server 8.1 Enterprise Edition 2005Q1 Error Message Reference 

Chapter 5
EJB Error Messages

This chapter describes messages for errors with a EJB prefix.


EJB5013

Message

Problem occurred while deserializing stateful bean state.

Solutions/Workarounds

Check the application classpath to ensure that all classes needed during deserialization are available.


EJB5017

Message

An error occurred during the removal of an entity bean. One common cause is when the application throws a system exception from the ejbRemove method of an entity bean.

Solutions/Workarounds

Check the exception stack trace to see if the exception originated from the entity bean implementation class.


EJB5031

Message

An error occurred while looking up a Read Only Bean Notifier. The most common cause for this failure is that the string supplied to the getReadOnlyBeanNotifier method either does not refer to a read-only bean.

Solutions/Workarounds

Check the application code that calls this method to make sure the string passed in refers to a valid read-only bean.


EJB5069

Message

The bean's Home or LocalHome does not define a no-arg create method.

Solutions/Workarounds

Check the Home or LocalHome interface for the appropriate create method signature. Running the verifier will help identify the error as well.


EJB5071

Message

Some problem occurred during the beforeCompletionphase of the transaction lifecycle. This error often happens when application code throws a system exception from its ejbStore method or if the transaction manager encounters a system exception.

Solutions/Workarounds

Check the stack trace to see if the exception originated from the application's ejbStore method. Also check the resource configuration to ensure that all resource managers involved in the transaction are configured properly and healthy.


EJB5090

Message

Problem during EJB container runtime initialization. See stack trace for more details. Some common causes are global JNDI name conflicts, classnotfound errors, and configuration errors for resources needed by the EJB.

Solutions/Workarounds

If the EJB has a Remote view, check that its JNDIname does not clash with any other EJB's JNDI name or any other globalJNDI name. Check that all needed classes are available to the EJB. Also ensure that any resources needed by the EJB are available. If the EJB uses a data source make sure the corresponding database is running. If it uses a queue makes sure the physical queue has been created.


EJB5111

Message

This error indicates a mismatch in the required method signature rules between a method defined on a [Home, Remote, LocalHome, Local] interface and the corresponding bean implementation class. E.g., this would happen if a create method in a Home interface did not have a matching ejbCreate method in the bean class.

Solutions/Workarounds

Run the verifier tool to check that the methods defined on the bean class are correct with respect to the exposed interface.


EJB5117

Message

Error while creating the persistent representation of an EJB timer. This typically means there is some configuration error or runtime problem with the EJB timer service data source.

Solutions/Workarounds

Double-check the JDBC data source (and its associated connection pool) assigned to the timer-data source element in domain.xml. Common causes are that the database is not running, the timer table has not been created within that database, or that the connection pool's JDBC driver URL information is incorrect.


EJB5128

Message

A problem occurred while the container was activating a stateful session bean. One possible cause is that the bean code threw a system exception from its ejbActivate method.

Solutions/Workarounds

Check the stack trace to see whether the exception was thrown from the ejbActivate method and if so double-check the application code to determine what caused the exception.


EJB5129

Message

An error occurred during the afterCompletion phase of the transaction lifecycle.

Solutions/Workarounds

Check stack trace for details of error encountered by EJB container



Previous      Contents      Next     


Part No: 819-0791.   Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved.