tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandros Kotsiras" <kotsi...@mediaondemand.com>
Subject RE: ClassCast - Error
Date Thu, 20 Jul 2000 16:44:12 GMT
I have the same ClassCastError problem.
It occurs when i modify a DBBean which is instantiated in the controller
servlet.
Probably it's becuase in my DBbeans i import a lot of libraries (JDBC
driver, JavaMail API, JNDI API etc) which i have
in the System Classpath.
I am not sure though...


-----Original Message-----
From: Rob S. [mailto:rslifka@home.com]
Sent: Thursday, July 20, 2000 11:34 AM
To: tomcat-user@jakarta.apache.org
Subject: RE: ClassCast - Error


> What we want to have, is that tomcat recognizes that a class has
> changed and
> does some kind of reload, so that there doesn*t occur any casting
> errors at
> this point. Is that possible??

In the Context element (in server.xml) for the context in question, add the
attribute:

reloadable="true"

HTH!

- r


Mime
View raw message