RE: EOF and Tomcat Issue.
RE: EOF and Tomcat Issue.
- Subject: RE: EOF and Tomcat Issue.
- From: <email@hidden>
- Date: Tue, 24 Feb 2004 09:26:51 +0100
- Thread-topic: EOF and Tomcat Issue.
Hi!
I have never even come close to Tomcat. Thus I can't really help you out here.
Yet there is a thought that crossed my mind: are your classes loaded by the same class loader than the EOF classes? If they are not, you might run into trouble. E.g. if EOF classes were loaded by a classloader higher up the hierarchy they may not instantiate your EO classes.
Pierre.
-----Original Message-----
From: John Martyniak [mailto:email@hidden]
Sent: Monday, February 23, 2004 10:09 PM
To: WebObjects
Subject: EOF and Tomcat Issue.
I am developing a pure EOF application, which I have running on tomcat 4.0.6
if I completely specify all of the jars, frameworks, etc in the Classpath
with (setclasspath.sh).
However I would like to to upgrade to tomcat 4.1.2x, and so far with no
luck. I tried the same tactic by including everything in the Classpath in
the same way that I did with 4.0.6 and didn't work the same way.
I am able load my models, and perform fetches, however the result of the
fetches returns only EOGenerics and not my custom classes with all of the
business logic.
My first thought was that for some reason EOF was unable to bind to the
classes but they are in my WEB-INF/classes directory, and they are obviously
found at come level because I don't get an error when I use them. The error
I get is a ClassCast Exception when trying to convert from EOGeneric to User
(my class).
Does anybody have any ideas?? Has anybody come across this problem before?
I have really been kind of tearing my hair out over this.
Any help would be greatly appreciated.
Thanks in advance,
-John
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
**********************************************************************
This email and any files transmitted with it are intended solely for
the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the sender
of this message. (email@hidden)
This email message has been checked for the presence of computer
viruses; however this protection does not ensure this message is
virus free.
Banque centrale du Luxembourg; Tel ++352-4774-1; http://www.bcl.lu
**********************************************************************
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.