cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Gentry" <>
Subject Re: Using Cayenne withTomcat gives ClassCastException
Date Wed, 01 Nov 2006 19:54:14 GMT
I never got that when I used Tomcat with Tapestry.  How are you
starting Tomcat up?  I always used the Tomcat plugin for Eclipse and
it worked pretty well.  Another option for development is to use
Jetty/Jetty Launcher/Eclipse.  Jetty starts up much faster.  As for
hot code replacement, it works pretty well as long as I edit inside a
method.  It fails if I add class instance variables or modify the
method's signature.


On 11/1/06, John <> wrote:
> Hello,
> I use Cayenne with Tapestry and tomcat.
> I fetch data from the DB using Cayenne The application runs well until I make change
on the Java file like I have to restart TOMCAT new. Restarting the Application doesnot
solve the problem.
> Changing the or Home.html does not create the error.
> The error i get is:
> ------------------------------------------------------------------------
>       java.lang.ClassCastException
>       de.model.MenuObject cannot be cast to de.model.MenuObject
> ------------------------------------------------------------------------
> Anybody knows why or how can i solve this?
> I face this problem only with Cayenne, cos using a sample List does not creates this
> Thx in advance.

View raw message