:[EMAIL PROTECTED]
Sent: Wed 3/2/2005 12:17 PM
To: Tomcat Users List
Subject: RE: Tomcat clustering and NotSerializableException
> From: Sng Wee Jim [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat clustering and NotSerializableException
>
> Indeed a reference to the HttpServletRequest i
> From: Sng Wee Jim [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat clustering and NotSerializableException
>
> Indeed a reference to the HttpServletRequest is held in my Struts form
> (session-scope). The problem went away once I added transient to the
> attribute.
How
List
Subject: RE: Tomcat clustering and NotSerializableException
Thanks to all that replied.
Indeed a reference to the HttpServletRequest is held in my Struts form
(session-scope). The problem went away once I added transient to the
attribute.
My concern is when the session is replicated t
null?
- Jim
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 01, 2005 11:47 PM
To: Tomcat Users List
Subject: Re: Tomcat clustering and NotSerializableException
As Richard says, don't store your request in the session, not a good
As Richard says, don't store your request in the session, not a good idea.
Richard Mixon (qwest) wrote:
CoyoteRequestFacade is the first element in the stack trace - it is not
the session stored object that is causing the NotSerializableException.
As I said in my prior posting, to resolve
> From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat clustering and NotSerializableException
>
> CoyoteRequestFacade is the first element in the stack trace -
> it is not the session stored object that is causing the
> NotSerializableExcepti
CoyoteRequestFacade is the first element in the stack trace - it is not
the session stored object that is causing the NotSerializableException.
As I said in my prior posting, to resolve this issue you need to:
1) Identify each object that you are explicitly storing in the session
and make sure
> From: Sng Wee Jim [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat clustering and NotSerializableException
>
> But the stacktrace says
>
> java.io.NotSerializableException:
> org.apache.coyote.tomcat5.CoyoteRequestFacade
>
> Since CoyoteRequestFacade is a tomcat clas
, February 28, 2005 11:13 PM
To: Tomcat Users List
Subject: RE: Tomcat clustering and NotSerializableException
As Matt said its probably your applications objects. When we switched to
clustering I was surprised at how many of my session objects I needed to
add serializable to. But it was easy work and
-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: Monday, February 28, 2005 11:04 AM
To: Tomcat Users List
Subject: RE: Tomcat clustering and NotSerializableException
These objects will replicate to other instances when ALL objects in the
session are serializable. I suspect
15:14
To: Tomcat Users List
Subject: RE: Tomcat clustering and NotSerializableException
But do those session objects replicate to the other tomcat instances???
I have been testing session objects that implement java.io.serializable
and I have not yet been able to see these objects when fail over
, 2005 8:55 AM
To: Tomcat Users List
Subject: RE: Tomcat clustering and NotSerializableException
Randall,
I know that session replication works in Tomcat 5.5.7 and it may also
works in 5.0.x (no experience). But to get failover restart to work
properly (i.e. restarting a failed node) I had to use Tomcat
?
>
> Thanks,
>
> Randall
>
> -Original Message-
> From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 28, 2005 8:13 AM
> To: Tomcat Users List
> Subject: RE: Tomcat clustering and NotSerializableException
>
> As Matt said its probably
Mixon (qwest) [mailto:[EMAIL PROTECTED]
Sent: Monday, February 28, 2005 8:13 AM
To: Tomcat Users List
Subject: RE: Tomcat clustering and NotSerializableException
As Matt said its probably your applications objects. When we switched to
clustering I was surprised at how many of my session objects I
our session that
> does not implement the serializable interface.
>
> Ta
> Matt
>
> -Original Message-
> From: Sng Wee Jim [mailto:[EMAIL PROTECTED]
> Sent: 28 February 2005 09:21
> To: tomcat-user@jakarta.apache.org
> Subject: Tomcat clustering and No
NotSerializableException
Hi,
I am using Tomcat 5.0.28 on MS Win2k server.
After I have uncommented the "Cluster" element in server.xml, I get the
following exceptions on the tomcat console for some actions that are
using displaytag.
Is it a tomcat bug, since org.apache.coyo
Hi,
I am using Tomcat 5.0.28 on MS Win2k server.
After I have uncommented the "Cluster" element in server.xml, I get the
following exceptions on the tomcat console for some actions that are
using displaytag.
Is it a tomcat bug, since org.apache.coyote.tomcat5.CoyoteRequestFacade
is involv
ich are in Session and application scope.
Unfortunately the error message is still there. ;-(
Andoni.
- Original Message -
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, December 03, 2003 2:0
Howdy,
Don't put a Session as a session attribute.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Andoni [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, December 03, 2003 7:20 AM
>To: Tomcat Users List
>Subject: NotSerializableException: Standa
I managed to get around the other problem with DBCP by removing the implements
Serializable from the connection pooling bean. Now I am left with a problem I can't
solve though as I cannot affect the: org.apache.catalina.session.StandardSessionFacade
Each of my beans have an init() method that t
Hello,
I have not been using the "shutdown" command when restarting Tomcat in Windows but now
that I have I get exception traces for all my Session beans on shutting down and then
again for each of two connection objects when starting up.
Is this simply that the DBCP package's PoolableConnectio
Shapira, Yoav schrieb:
> You're right. If you want to do it this way, you have to take care of
> serializing and de-serializing your listener yourself on your webapp's
> startup and shutdown (e.g. by using a ServletContextListener).
IMHO sessionCreated() shoud be called for each session that is
Howdy,
>I tried it this way. But the problem is, that since the listener itself
is
>not in a session context, the Map is empty when the application is
>reloaded.
You're right. If you want to do it this way, you have to take care of
serializing and de-serializing your listener yourself on your w
Shapira, Yoav schrieb:
> It depends on how much work you want to do. It's not a good idea for
> your to depend on implementation details of the Catalina session façade.
> However, the session ID is a primitive (String) which is serializable.
> So instead of storing a reference to the session, sto
Howdy,
>Yes, you are right. For tracking all logged in users I store a reference to
> every users HttpSession in his user object which is itself in the session
>context.
>
>HttpSession is org.apache.catalina.session.StandardSessionFacade in tomcat
>and this class does not implement java.io.Seria
Shapira, Yoav schrieb:
> Howdy,
> You're probably putting non-Serializable objects as session
> attributes...
Yes, you are right. For tracking all logged in users I store a reference to
every users HttpSession in his user object which is itself in the session
context.
HttpSession is org.apache.
Howdy,
You're probably putting non-Serializable objects as session
attributes...
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Boris Folgmann [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, June 04, 2003 6:14 AM
>To: Tomcat Users List
>Subject: NotS
Hi!
When I restart tomcat 4.1 I get this exeption for my webapp in the logfile.
The app works though. Am I doing something wrong concerning
java.io.Serializable and the objects in session contexts??
2003-06-04 12:01:41 StandardManager[/i] IOException while loading persisted
sessions: java.io.Writ
Yoav Shapira
> Millennium ChemInformatics
>
>
> >-Original Message-
> >From: Luminous Heart
> [mailto:[EMAIL PROTECTED]]
> >Sent: Tuesday, August 20, 2002 11:11 AM
> >To: Tomcat Users List
> >Subject: RE: NotSerializableException
> >
> >I
only certain (serializable) parts from it, e.g. the folder
name or whatever.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Luminous Heart [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, August 20, 2002 11:11 AM
>To: Tomcat Users List
>Subject: RE: NotSerializa
ra
> Millennium ChemInformatics
>
>
> >-Original Message-
> >From: Luminous Heart
> [mailto:[EMAIL PROTECTED]]
> >Sent: Tuesday, August 20, 2002 10:42 AM
> >To: Tomcat Users List
> >Subject: NotSerializableException
> >
> >I am not asking tomcat to se
Hi Andreas, I know quite enough about persistence, I
am a senior java developer myself. But the issue is
with tomcat handling persistence. Should I isolate my
imap variables and declare them transient so tomcat
will not write them to its storage?
--- Andreas Probst <[EMAIL PROTECTED]> wrote:
> Ob
Create a container object, which is serializable and put a member
reference within it to your IMAPSession, marking this as transient.
public class MyContainer implements Serializable {
public transient IMAPSession mySession;
}
Tom
Luminous Heart wrote:
> I only add the imap session to the Ht
Hi,
What code are you using to read to/from an IMAP server?
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Luminous Heart [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, August 20, 2002 10:42 AM
>To: Tomcat Users List
>Subject: NotSerializableException
>
I only add the imap session to the HttpSession. But I
do not write it to disk. What is the best way to stop
this behavior?
--- Peter Davison <[EMAIL PROTECTED]> wrote:
> It looks like Tomcat is trying to serialize a
> session. Are you storing an
> IMAPFolder object in the session?
>
> It kacks
Obviously it does serialization. It loads a session from
persistent storage. Serialization is a means to make objects
persistent. Having written that I must confess I don't know
about sessions in Tomcat...
> I am not asking tomcat to serialize my app, nor do I
> have any serialization in this
It looks like Tomcat is trying to serialize a session. Are you storing an
IMAPFolder object in the session?
It kacks because com.sun.mail.imap.IMAPFolder is not serializable.
P.
On Tue, 20 Aug 2002 07:41:48 -0700 (PDT)
Luminous Heart <[EMAIL PROTECTED]> wrote:
> I am not asking tomcat to ser
I am not asking tomcat to serialize my app, nor do I
have any serialization in this application. Why am I
getting this new exception?
2002-08-19 21:06:27 StandardManager[/NoPassApp]
Exception loading sessions from persistent storage
java.io.WriteAbortedException: writing aborted;
java.io.NotSeri
Hi everyone,
i use tomcat3.3, i got the following Exceotion when i was trying to
Serialize an Object that is a subclass from Hashtable, this Object use
the java.lang.reflect.Constructor.
the Exception :
ERROR [Error was occured while writing the Dispatcher into DataBase ]:
java.io.NotSerializabl
39 matches
Mail list logo