Oracle TopLink Developer's Guide 10g Release 3 (10.1.3) B13593-01 |
|
![]() Previous |
![]() Next |
When the IBM WebSphere application server is started, it attempts to deploy the JAR files that are specified for deployment within the application server.
Exceptions that occur when the server is started are usually configuration problems that involve classpath issues, environment variable configuration, and database login configuration. Review the IBM WebSphere application server documentation after starting the server.
This section contains some of the exceptions that can be encountered when running the IBM WebSphere application server, along with their possible causes and recommended solutions.
[TopLink-1016]
). Exceptions observed here may be exceptions in reading in the properties file, or validation errors due to improper mappings.
Refer to the Database Exceptions (4002 – 4018) section in the TopLink Exception Reference chapter for detailed information on database exceptions that may occur; refer to the Communication Exceptions (12000 - 12003) section in the TopLink Exception Reference chapter for detailed information on communication exceptions that may occur.
oracle.toplink.exceptions.QueryException: The object <Object> of class <class> with identity hashcode <hashcode> is not from this Unit of Work object space but the parent session's. The object was never registered in this Unit of Work, but read from the parent session and related to an object registered in the Unit of Work. Ensure that you are correctly registering your objects. If you are still having problems, you can use the UnitOfWork.validateObjectSpace() method to help debug where the error occurred. Please see the manual and FAQ for more information.
ejbPassivate
method.ejbPassivate
method removes the bean.oracle.toplink.exceptions.ValidationException: Exception occurred in reflective EJB bean primary key extraction, please ensure your primary key object is defined correctly: key = 301, bean = <beanName>
oracle.toplink.exceptions.ValidationException: Cannot create or remove beans unless a JTS transaction is present, bean=<bean>
toplink.properties
file for the session specified on the toplink_session_name environment
variable cannot be found. The exception message returned is:
oracle.toplink.exceptions.ValidationException: The project class
<projectclass>
was not found for the
<toplink_session_name>
using default class loader.
oracle.toplink.exceptions.ValidationException: An exception occurred looking up or invoking the project amendment method,
<amendmentMethod>
on the class
<amendmentClass>
;
toplink.properties
file cannot be found. The exception message returned is:
oracle.toplink.exceptions.ValidationException: A toplink.properties resource bundle must be located on the classpath in a
TopLink directory.
toplink.properties
file is on the classpath.EXCEPTION DESCRIPTION: The descriptor for [<bean class>] was not found in the session [<session name>]. Check the project being used for this session.
toplink-ejb-jar.xml
file is the desired project. Also check that the project includes a descriptor for the missing bean class.toplink-ejb-jar.xml
file was not found. The exception message returned is:
No "meta-inf/toplink-ejb-jar.xml" could be found in your classpath. The CMP session could not be read in from file.
toplink-ejb-jar.xml
file is located in the deployed ejb-jar
file under the meta-inf
directory.toplink-ejb-jar.xml
file cannot be found. The exception message returned is:
EXCEPTION [TOPLINK-9002] (TopLink - X.X.X): oracle.toplink.exceptions.SessionLoaderExceptionEXCEPTION DESCRIPTION: Unable to load Project class [<project class>].
This section lists some of the common exceptions that can occur at run time when using the TopLink CMP for IBM WebSphere application server.
This section lists common exceptions that may occur when running the TopLink for IBM WebSphere application server Deploy Tool.
Note: The Deploy Tool calls external IBM classes to generate deployed code. Any exceptions that are thrown from these classes are written toSystem.out . Check Tracing to view the most detailed information. |