thanks for the help...

I stored an Object
java.sql.Connection

The problem is, that when the connection to the database
is established, the object don't persist after a reload.
Before the connection, it PERSIST.

This kind of object is serializable ???

when i test ...
if(Connection instanceof Serializable)
  System.out.println("ok");
else
  System.out.println("no");

"Ok" is printed.


The solution is use Hashtable, and then serialize
all the objects that have problems ???

Thanks in advance...


-----Mensaje Original-----
>    De: Craig R. McClanahan  <[EMAIL PROTECTED]>
> Fecha:Wed Jun 14 16:28:42 EST 2000
>     A:
>Asunto:Re: reload
>
>Desarrollo wrote:
>
>> thanks for the help..
>>
>> i use jserv 1.1-2
>> when i reload i lost my session persistence.
>> all my objects store with
>> session.putValue(...)
>>
>
>Do the objects you are storing implement the java.io.Serializable interface?
>Implementing this interface is required for JServ to save and restore them.
>
>> What fail ??? Some special in configuration is need ???
>> i checked my conf files ... in zone.properties talk about autoreload
>>
>> autoreload.classes=true
>> autoreload.file=true
>>
>> what should i do... ????
>>
>> thanks in advance...
>>
>
>Craig McClanahan
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>


---------------------------------------------------------------------------
Visite nuestro sitio web y obtenga m�s informaci�n http://www.e-professional.to

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to