RE: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Abraham Fdez
Hi, You must look at your java code in order to find any function that are "deprecated". Sometimes this functions are the problem of memory leaks, high cpu usage, etc... Best regards, Abraham Fernández Álvarez Dpto. de Informática FNAC ESPAÑA S.A. Parque Empresarial La Finca Pº de la Finca, b

RE: Deserialize tomcat sessions

2006-02-28 Thread Abraham Fdez
session.getAttribute("myattribute"); Filip Abraham Fdez wrote: > Thanks Filip, > > But... could you help me how to do it?. Now I only have this: > > Object stuff = (Object) new ObjectInputStream(new > ByteArrayInputStream(kk2.getSession_Data())).readObject(); > > Where k

RE: Deserialize tomcat sessions

2006-02-28 Thread Abraham Fdez
)); StandardSession mysession = new StandardSession(); mysession.readObjectData(mysessiondata); Object attribute = mysession.getAttribute("myattribute"); Filip Abraham Fdez wrote: > Thanks Filip, > > But... could you help me how to do it?. Now I only have this: > > Ob

RE: Deserialize tomcat sessions

2006-02-27 Thread Abraham Fdez
[mailto:[EMAIL PROTECTED] Enviado el: lunes, 27 de febrero de 2006 14:18 Para: Tomcat Users List Asunto: Re: Deserialize tomcat sessions File: StandardSession.java Method: readObjectData Filip Abraham Fdez wrote: > Hi all, > > > > > > I have Persistent sessions in tomca

Deserialize tomcat sessions

2006-02-27 Thread Abraham Fdez
Hi all, I have Persistent sessions in tomcat that are saved into Postgresql database. I make a Select from tomcat_sessions in order to get sessions to get an attribute that is on each one. What is the function to deserialize each session from database? Thanks,

RE: Read-Only Context with Tomcat + Hibernate

2006-02-15 Thread Abraham Fdez
Yeah Kenevel, I know this (This is what I am doing) but I want to give a name to Hibernate's SessionFactory like "mailto:[EMAIL PROTECTED] Enviado el: miércoles, 15 de febrero de 2006 14:46 Para: Tomcat Users List Asunto: Re: Read-Only Context with Tomcat + Hibernate Abraham Fdez wr

Read-Only Context with Tomcat + Hibernate

2006-02-15 Thread Abraham Fdez
Hi all, I’m making a Web application with Apache + Tomcat + Mod_Jk + Hibernate + Postgresql. I need that hibernate binds factory to JNDI but when I do that it gives me and error that context is read-only. Is there any method to implement this or any config tag that makes context writable?.