tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ALEXANDROS KOTSIRAS" <ALEXANDRO...@prodigy.net>
Subject Re: auto reloading of java bean classes
Date Fri, 01 Sep 2000 20:02:54 GMT
BTW autoreloading works for me but in most of the cases i get a
ClassCastException after i recompilre and reload
which of course forces me to restart Tomcat.
Is it because in my servlets/beans i am using classes which are loaded from
the System classpath like the JDBC driver ? ?

----- Original Message -----
From: sdevona <sdevona@tgmail.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Friday, September 01, 2000 3:45 PM
Subject: RE: auto reloading of java bean classes


> Here is an example that works for me.
> I am accessing my jsp's from the test\jsp directory.
> My classes are in the test\jsp\WEB-INF\classes directory and I have no
> problem reloading them.
>
> -----Original Message-----
> From: Sangeeta Saxena [mailto:sangeeta@altawave.com]
> Sent: Friday, September 01, 2000 2:18 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Re: auto reloading of java bean classes
>
>
> I'm doing exactly what you're suggesting. However it doesn't seem to be
true
> for me. I'm having to stop and start tomcat everytime I make changes my
> bean. I have the beans located in web-inf\classes. Anything else I'm
> missing?
> ----- Original Message -----
> From: "David M. Holmes" <david_m_holmes@yahoo.com>
> To: <tomcat-user@jakarta.apache.org>
> Sent: Friday, September 01, 2000 10:57 AM
> Subject: Re: auto reloading of java bean classes
>
>
> > If your beans are in your classpath they will not be reloaded. If they
are
> in your WEB-INF\classes
> > directory they will be reloaded...
> >
> > --- Zsolt Koppany <zk@intland.com> wrote:
> > > Hi,
> > >
> > > I understand that tomcat reloads java classes when a jsp file changes
> > > but the java bean class I use in the jsp file is not reloaded when I
> > > make changes in the java file. Is that possible to change that
behavior?
> > > It is inconvenient that I have to start/stop tomcat.
> > >
> > > Zsolt
> > >
> > >
> > > --
> > > Zsolt Koppany
> > > Intland GmbH www.intland.com
> > > Schulze-Delitzsch-Strasse 16
> > > D-70565 Stuttgart
> > > Tel: +49-711-7871080 Fax: +49-711-7871017
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Mail - Free email you can access from anywhere!
> > http://mail.yahoo.com/
>


Mime
View raw message