473,491 Members | 2,179 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

EXCEPTION [TOPLINK-43] problems in Toplink 3.6, Oracle 8.1.7, Weblogic 8.1 SP1

When running an application under weblogic 8.1 in development
environment, where all classpaths are set up in the IDE before
launching the app server, the application runs fine. When deployed as
self-contained web app, application fails when trying to load the
toplink descriptors, claiming that it can not "missing class for
indicator field value" for a specific entity class. The class
inherits from an AbstractClass, both are defined in the descriptor
project files correctly, using the class name as the class identifier.

Anybody have any idea what causes these TOPLINK-43 errors? The manual
description of this error is not much help. The error message itself
seems to imply that it can not find this particular class, but right
before the project is loaded, I created a reference to that class, so
I know the class can be find by the JVM. Are there classloader issues
with toplink that I am perhaps not aware of?

Here is the stack trace. pd.contact.Person is the class that it
claims not to be able to find. In extends AbstractEntity.
AbstractEntity is set ot use class name as identifier field. Person
sets the parent descriptor to be AbstractEntity.

EXCEPTION [TOPLINK-43] (3.6 JDK1.2):
TOPLink.Public.Exceptions.DescriptorException
EXCEPTION DESCRIPTION: Missing class for indicator field value
[pd.contact.Person] of type [class java.lang.String].
DESCRIPTOR: Descriptor(pd.contact.AbstractEntity -->
[DatabaseTable(ENTITY)])
at TOPLink.Public.Exceptions.DescriptorException.miss ingClassForIndicatorFieldValue(DescriptorException .java:701)
at TOPLink.Public.PublicInterface.InheritancePolicy.c lassFromRow(InheritancePolicy.java:254)
at TOPLink.Private.Descriptors.ObjectBuilder.buildObj ect(ObjectBuilder.java:271)
at TOPLink.Public.QueryFramework.ObjectLevelReadQuery .buildObject(ObjectLevelReadQuery.java:197)
at TOPLink.Public.QueryFramework.ReadObjectQuery.exec ute(ReadObjectQuery.java:352)
at TOPLink.Public.QueryFramework.DatabaseQuery.execut e(DatabaseQuery.java:394)
at TOPLink.Public.QueryFramework.ReadQuery.execute(Re adQuery.java:99)
at TOPLink.Public.PublicInterface.Session.internalExe cuteQuery(Session.java:1628)
at TOPLink.Public.ThreeTier.ServerSession.internalExe cuteQuery(ServerSession.java:543)
at TOPLink.Public.PublicInterface.Session.executeQuer y(Session.java:921)
at TOPLink.Private.Indirection.QueryBasedValueHolder. instantiate(QueryBasedValueHolder.java:45)
at TOPLink.Private.Indirection.DatabaseValueHolder.ge tValue(DatabaseValueHolder.java:62)
at TOPLink.Private.Indirection.UnitOfWorkQueryValueHo lder.getValueFromWrappedValueHolder(UnitOfWorkQuer yValueHolder.java:59)
at TOPLink.Private.Indirection.UnitOfWorkValueHolder. instantiate(UnitOfWorkValueHolder.java:124)
at TOPLink.Private.Indirection.DatabaseValueHolder.ge tValue(DatabaseValueHolder.java:62)
Jul 17 '05 #1
0 2170

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2738
by: Nicolas Fleury | last post by:
Hi, I've made a small utility to re-raise an exception with the same stack as before with additional information in it. Since I want to keep the same exception type and that some types have very...
1
4195
by: Old Wolf | last post by:
1. What is the difference between #include <stdexcept> and #include <exception> ? 2. Is there a list somewhere of what each standard exception is used for? either to throw them, or throw...
11
3245
by: Master of C++ | last post by:
Hi, I am writing a simulation package in C++, and so far I've written about 8000 lines of code and have about 30 classes. I haven't used C++ exceptions so far (for various reasons). The only two...
4
15793
by: maricel | last post by:
I have the following base table structure - DDL: CREATE TABLE "ADMINISTRATOR"."T1" ( "C1" INTEGER NOT NULL ) IN "TEST_TS" ; ALTER TABLE "ADMINISTRATOR"."T1" ADD PRIMARY KEY
5
5800
by: PCC | last post by:
I am using the Exception Managment Application Block on Windows Server 2003 Enterprise and .NET v1.1. If I use the block with an ASP.NET web wervice or in a web application I get the following...
2
1413
by: Alex | last post by:
Hi. What would happen if an exception occurs inside a Finally block and at the same time inside the try another exception was thrown without been handled by any catch? Alejandro.
44
4155
by: craig | last post by:
I am wondering if there are some best practices for determining a strategy for using try/catch blocks within an application. My current thoughts are: 1. The code the initiates any high-level...
6
1742
by: Vadivel Kumar | last post by:
I've a problem in handling a custom exception The following is my custom exception class: public class AppException : public Exception { public AppException (string message, Exception...
11
1971
by: l.woods | last post by:
I want to set up my CATCH for a specific exception, but I really don't know which one of the multitude that it is. I am getting the exception now with Catch ex as Exception but I want to be...
2
6953
by: Darko Miletic | last post by:
Recently I wrote a dll in c++ and to simplify the distribution I decided to link with multithreaded static library (/MT or /MTd option). In debug everything works fine but in release I get this: ...
0
7190
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6858
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5451
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4881
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3086
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3076
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1392
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
280
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.