Objects in Vector are loosing type

2001-04-27 Thread Ivan
Does anyone know what is going on with the this weird problem?   I have a class named CHyperklink   I putting a vector into a session object and then adding CHyperlink objects to the vector.   When I retrieve the vector (with no problem) from the session object, I can cast the objects back to

RE: Objects in Vector are loosing type

2001-04-27 Thread Filip Hanik
Message- From: Ivan [mailto:[EMAIL PROTECTED]] Sent: Friday, April 27, 2001 2:14 PM To: [EMAIL PROTECTED] Subject: Objects in Vector are loosing type Does anyone know what is going on with the this weird problem? I have a class named CHyperklink I putting a vector into a session object and then

RE: Objects in Vector are loosing type

2001-04-27 Thread Hawkins, Keith (Keith)
What do you get if you call getClass().getName()  on the obj at the point you are getting the items back out of the vector? -Original Message-From: Ivan [mailto:[EMAIL PROTECTED]]Sent: Friday, April 27, 2001 5:14 PMTo: [EMAIL PROTECTED]Subject: Objects in Vector are

Re: Objects in Vector are loosing type

2001-04-27 Thread Ivan
CHyperlink objects to the vector. Does this ring any bells? THanks again for your replies. Ivan - Original Message - From: "Filip Hanik" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 27, 2001 3:27 PM Subject: RE: Objects in Vector are loosing t

Re: Objects in Vector are loosing type

2001-04-27 Thread Ivan
tested for in the if statement!   any ideas? - Original Message - From: Hawkins, Keith (Keith) To: [EMAIL PROTECTED] Sent: Friday, April 27, 2001 3:46 PM Subject: RE: Objects in Vector are loosing type What do you get if you call getClass().getName()  on the obj

RE: Objects in Vector are loosing type

2001-04-28 Thread Filip Hanik
> So are you saying it is by chance if a different class loader loads each > servlet and this can effect the casting? yes, the same class loaded by different class loaders, is not considered the same class. ie, you can't cast them ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Ar

Re: Objects in Vector are loosing type

2001-04-28 Thread Ivan
8 PM Subject: RE: Objects in Vector are loosing type > > So are you saying it is by chance if a different class loader loads each > > servlet and this can effect the casting? > > yes, the same class loaded by different class loaders, is not considered the > same class. > >

Re: Objects in Vector are loosing type

2001-04-30 Thread Endre Stølsvik
On Fri, 27 Apr 2001, Ivan wrote: | thank you very much for your reply | | I turned off my computer and tried it again a few hours later and it seemed | to work, then i made changes and then the second servlet wasnt able to cast | back to CHyperlink again. after putting the code back the way I ha

RE: Objects in Vector are loosing type

2001-04-30 Thread Cory Hubert
We should put this in the FAQ. This issue pops up Often. -Original Message- From: Endre Stolsvik [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 4:59 AM To: [EMAIL PROTECTED] Subject: Re: Objects in Vector are loosing type On Fri, 27 Apr 2001, Ivan wrote: | thank you

RE: Objects in Vector are loosing type

2001-04-30 Thread Joel Parramore
11:36 AM > To: [EMAIL PROTECTED] > Subject: RE: Objects in Vector are loosing type > > > We should put this in the FAQ. This issue pops up Often. > > -Original Message- > From: Endre Stolsvik [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 30, 2001 4:59 AM

RE: Objects in Vector are loosing type

2001-04-30 Thread Cory Hubert
]] Sent: Monday, April 30, 2001 11:42 AM To: [EMAIL PROTECTED] Subject: RE: Objects in Vector are loosing type Can or has or will someone work up a slightly more technical explanation than > It's because tomcat's reloading are totally fucked. ??? Regards, Joel Parramore > --

Re: Objects in Vector are loosing type

2001-05-01 Thread Endre Stølsvik
On Mon, 30 Apr 2001, Joel Parramore wrote: | | Can or has or will someone work up a slightly more technical explanation | than | | > It's because tomcat's reloading are totally fucked. Well, Joel, it's because tomcat3x doesn't do this: a) stop the webapp b) destroys all servlets c) serializes a

RE: Objects in Vector are loosing type

2001-05-02 Thread Joel Parramore
ik [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 02, 2001 2:53 AM > To: [EMAIL PROTECTED] > Subject: Re: Objects in Vector are loosing type > > > On Mon, 30 Apr 2001, Joel Parramore wrote: > > | > | Can or has or will someone work up a slightly more technical explanation

Re: Objects in Vector are loosing type

2001-05-03 Thread Endre Stølsvik
On Wed, 2 May 2001, Joel Parramore wrote: | | Well, Endre, comments such as "classloading is totally fucked", while having | a nice kewl sound-bite quality, really don't explain what is going on too | well to someone who hasn't encountered the problem before. It's just that it kind of annoys me.

Re: Objects in Vector are loosing type

2001-05-03 Thread Milt Epstein
On Thu, 3 May 2001, Endre Stølsvik wrote: > On Wed, 2 May 2001, Joel Parramore wrote: > > | Well, Endre, comments such as "classloading is totally fucked", > | while having a nice kewl sound-bite quality, really don't explain > | what is going on too well to someone who hasn't encountered the > |

Re: Objects in Vector are loosing type

2001-05-03 Thread Endre Stølsvik
On Thu, 3 May 2001, Milt Epstein wrote: | Maybe your app could use some reorganizing. Yeah, maybe, Milt. Why don't you ask the developers, then? I actually believe that all things I said in those mails about reloading in TC3.x and TC4 are correct. And the reason for me having to restart every

Re: Objects in Vector are loosing type

2001-05-04 Thread Bob Davison
On 04/05/2001 07:38:57 ?iso-8859-1?Q?Endre_St=F8lsvik?= wrote: > On Thu, 3 May 2001, Milt Epstein wrote: > > | Maybe your app could use some reorganizing. > > Yeah, maybe, Milt. > > Why don't you ask the developers, then? I actually believe that all things > I said in those mails about reloading

Re: Objects in Vector are loosing type

2001-05-04 Thread Milt Epstein
On Fri, 4 May 2001, Endre Stølsvik wrote: > On Thu, 3 May 2001, Milt Epstein wrote: > > | Maybe your app could use some reorganizing. > > Yeah, maybe, Milt. > > Why don't you ask the developers, then? I actually believe that all > things I said in those mails about reloading in TC3.x and TC4 are

Re: Objects in Vector are loosing type - classload problems

2001-05-03 Thread David Wall
> I have to restart tomcat each and every time I make one single change to > _anyting_ of my code. This is the most time consuming part of developing > on Tomcat, I feel. (How's Jetty doing, btw??) Of course, you are free to use any implementation, or you could even submit an example of how to fi