session error after recompile a java class....BUG?

2001-06-17 Thread istvan bereti
Hi, I don't know what is wrong but it might be a Tomcat bug... My session handling is working fine as long as I don't reload a class. Than the object bound to the session is very ugly. I got the object from the session and the getClass() says that it's my BoundObject class. But whe I try to cast

RE: session error after recompile a java class....BUG?

2001-06-17 Thread istvan bereti
If I get the bound object from the session right after I put it in it's correct. But after the first request with the same session I got the ClassCastError. Has anyone experienced the same? The same code worked perfectly with JServ. Hi, I don't know what is wrong but it might be a Tomcat

Re: session error after recompile a java class....BUG?

2001-06-17 Thread Dmitri Colebatch
Everything works fine as long as you dont reload a class right? I would suggest that what you have is perfectly understandable. You create an object and put it in the session, based on one set of bytecode. You then replace the bytecode with new bytecode, and the JVM is trying to access the

RE: session error after recompile a java class....BUG?

2001-06-17 Thread istvan bereti
:[EMAIL PROTECTED]]On Behalf Of Dmitri Colebatch Sent: Sunday, June 17, 2001 3:13 AM To: [EMAIL PROTECTED] Subject: Re: session error after recompile a java classBUG? Everything works fine as long as you dont reload a class right? I would suggest that what you have is perfectly understandable

Re: session error after recompile a java class....BUG?

2001-06-17 Thread Dmitri Colebatch
again fine as long as I don't recompile any class Any ideas? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dmitri Colebatch Sent: Sunday, June 17, 2001 3:13 AM To: [EMAIL PROTECTED] Subject: Re: session error after recompile a java classBUG

Re: session error after recompile a java class....BUG?

2001-06-17 Thread Luba Powell
] Sent: Sunday, June 17, 2001 6:12 AM Subject: Re: session error after recompile a java classBUG? Everything works fine as long as you dont reload a class right? I would suggest that what you have is perfectly understandable. You create an object and put it in the session, based on one set

Re: session error after recompile a java class....BUG?

2001-06-17 Thread Dmitri Colebatch
PROTECTED] Sent: Sunday, June 17, 2001 6:12 AM Subject: Re: session error after recompile a java classBUG? Everything works fine as long as you dont reload a class right? I would suggest that what you have is perfectly understandable. You create an object and put it in the session

Re: session error after recompile a java class....BUG?

2001-06-17 Thread Luba Powell
with static methods or fields - don't remember for sure - Original Message - From: Dmitri Colebatch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 17, 2001 9:02 AM Subject: Re: session error after recompile a java classBUG? before I go any further, I'm assuming

Re: session error after recompile a java class....BUG?

2001-06-17 Thread Luba Powell
- Original Message - From: Dmitri Colebatch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 17, 2001 9:02 AM Subject: Re: session error after recompile a java classBUG? before I go any further, I'm assuming that if I'm saying something that isn't right someone who knows so

RE: session error after recompile a java class....BUG?

2001-06-17 Thread istvan bereti
recompile a java classBUG? Everything works fine as long as you dont reload a class right? I would suggest that what you have is perfectly understandable. You create an object and put it in the session, based on one set of bytecode. You then replace the bytecode with new bytecode

Re: session error after recompile a java class....BUG?

2001-06-17 Thread Luba Powell
am the first culprit. - Original Message - From: istvan bereti [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 18, 2001 12:00 AM Subject: RE: session error after recompile a java classBUG? Well I just noticed that there is also a reloading problem... generally

Re: session error after recompile a java class....BUG?

2001-06-17 Thread Bo Xu
istvan bereti wrote: Hi, I don't know what is wrong but it might be a Tomcat bug... My session handling is working fine as long as I don't reload a class. Than the object bound to the session is very ugly. I got the object from the session and the getClass() says that it's my BoundObject

RE: session error after recompile a java class....BUG?

2001-06-17 Thread istvan bereti
works fine. Istvan -Original Message- From: Bo Xu [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 17, 2001 11:31 AM To: [EMAIL PROTECTED] Subject: Re: session error after recompile a java classBUG? istvan bereti wrote: Hi, I don't know what is wrong but it might be a Tomcat bug

Re: session error after recompile a java class....BUG?

2001-06-17 Thread Luba Powell
- Original Message - From: istvan bereti [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 18, 2001 1:18 AM Subject: RE: session error after recompile a java classBUG? Well I put it as Serializable the object bound to session. It was a GOOD point but even this did

Re: session error after recompile a java class....BUG?

2001-06-17 Thread Luba Powell
for precision. r/l - Original Message - From: istvan bereti [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 18, 2001 1:18 AM Subject: RE: session error after recompile a java classBUG? Well I put it as Serializable the object bound to session. It was a GOOD point

Re: session error after recompile a java class....BUG?

2001-06-17 Thread Luba Powell
] To: [EMAIL PROTECTED] Sent: Sunday, June 17, 2001 3:17 PM Subject: Re: session error after recompile a java classBUG? - Original Message - From: istvan bereti [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 18, 2001 1:18 AM Subject: RE: session error after recompile

Re: session error after recompile a java class....BUG?

2001-06-17 Thread Luba Powell
Restarting tomcat server was the only thing that could help me in the situation you described. sorry. - Original Message - From: istvan bereti [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 18, 2001 1:40 AM Subject: RE: session error after recompile a java classBUG