You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Colm McCartan <co...@owl.co.uk> on 2001/12/13 16:12:04 UTC

Strange Error Still: Failed to save user object

I realise this has been on the list a few times but I have to agree with 
someone who posted a few months ago: this has never really been resolved 
  and normally ends up with lots of people saying things like 'it 
probably doesn't really matter that much'... Is this definitely the case?

We are using the serialised objectdata to store user preferences and are 
finding that, inexplicably, they seem to be 'forgotten' after about 24 
hours although they are retained successfully during that time. We are 
updating the setPerm hashtable and then calling an explicit .save() on 
the user object. Our setup:

TDK2.1, win32 (dev) and linux (production - exception is thrown on both 
platforms) on mysql

The logs are littered with this exception and it would be good to know 
whether this is worth pursuing or not. Its not really ideal to have lots 
of 'probably not very important' exceptions in the logs anyway...

Anyone resolved this?


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Strange Error Still: Failed to save user object

Posted by Daniel Rall <dl...@finemaltcoding.com>.
"David Wynter" <da...@btclick.com> writes:

> Actually I may have given you a bum steer here. I just noticed that the
> exception is not the same. The doUpdate part is but occurs on line 1631 of
> BasePeer and is where it cannot find the class KeyDef in village.

...which would make sense as a Catalina problem, given all the class
loading fixes between 4.0 and 4.0.1.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Strange Error Still: Failed to save user object

Posted by David Wynter <da...@btclick.com>.
Actually I may have given you a bum steer here. I just noticed that the
exception is not the same. The doUpdate part is but occurs on line 1631 of
BasePeer and is where it cannot find the class KeyDef in village.

Sorry,

David

-----Original Message-----
From: Gareth Coltman [mailto:gareth_coltman@majorband.co.uk]
Sent: 13 December 2001 16:32
To: 'Turbine Users List'
Subject: RE: Strange Error Still: Failed to save user object


Well I am using Tomcat 3.3. Is it also buggy? Any ideas what causes
this?

> -----Original Message-----
> From: David Wynter [mailto:david.wynter@btclick.com]
> Sent: Thursday, December 13, 2001 16:24
> To: Turbine Users List
> Subject: RE: Strange Error Still: Failed to save user object
>
>
> Hi,
>
> This was explained to me as a Tomcat 4.0b6 error. If you use
> the release
> Tomcat 4.0.1 this does not occur. I have one PC with this version and
> Turbine 2.1 but have not run it overnight so cannot confirm this.
>
> Regards
>
> David
>
> -----Original Message-----
> From: Gareth Coltman [mailto:gareth_coltman@majorband.co.uk]
> Sent: 13 December 2001 16:11
> To: 'Turbine Users List'
> Subject: RE: Strange Error Still: Failed to save user object
>
>
> I also get this error. Wierdly the seem to appear in the log
> just after
> midnight every night... Strange.
>
> > -----Original Message-----
> > From: Colm McCartan [mailto:colmm@owl.co.uk]
> > Sent: Thursday, December 13, 2001 15:34
> > To: Turbine Users List
> > Subject: Re: Strange Error Still: Failed to save user object
> >
> >
> >
> >
> > John McNally wrote:
> >
> > > what exception?  And what is your timeout setting for sessions?
> >
> >
> > Oops - sorry, forgot to give the details. The classic:
> > ------------------------------------------------------------
> > [Thu Dec 13 14:48:48 GMT 2001] -- ERROR --
> > TurbineUser.valueUnbobund():
> > Failed to save user object
> > [Thu Dec 13 14:48:48 GMT 2001] -- ERROR --
> > 	Exception:
> > org.apache.turbine.util.security.DataBackendException: Failed
> > to save user object
> > 	Stack Trace follows:
> > 	java.lang.NullPointerException
> > 	at
> > org.apache.turbine.om.peer.BasePeer.doUpdate(BasePeer.java:1635)
> > 	at
> > org.apache.turbine.om.peer.BasePeer.doUpdate(BasePeer.java:1578)
> > 	at
> > org.apache.turbine.om.security.peer.TurbineUserPeer.doUpdate(T
> > urbineUserPeer.java:463)
> > ------------------------------------------------------------
> > which has been discussed several times.
> >
> > I haven't altered my session timeout from the default. Anyway, I'm
> > explicitly saving the user object after doing a setPermStorage.
> >
> > colm
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Strange Error Still: Failed to save user object

Posted by Gareth Coltman <ga...@majorband.co.uk>.
Well I am using Tomcat 3.3. Is it also buggy? Any ideas what causes
this?

> -----Original Message-----
> From: David Wynter [mailto:david.wynter@btclick.com]
> Sent: Thursday, December 13, 2001 16:24
> To: Turbine Users List
> Subject: RE: Strange Error Still: Failed to save user object
>
>
> Hi,
>
> This was explained to me as a Tomcat 4.0b6 error. If you use
> the release
> Tomcat 4.0.1 this does not occur. I have one PC with this version and
> Turbine 2.1 but have not run it overnight so cannot confirm this.
>
> Regards
>
> David
>
> -----Original Message-----
> From: Gareth Coltman [mailto:gareth_coltman@majorband.co.uk]
> Sent: 13 December 2001 16:11
> To: 'Turbine Users List'
> Subject: RE: Strange Error Still: Failed to save user object
>
>
> I also get this error. Wierdly the seem to appear in the log
> just after
> midnight every night... Strange.
>
> > -----Original Message-----
> > From: Colm McCartan [mailto:colmm@owl.co.uk]
> > Sent: Thursday, December 13, 2001 15:34
> > To: Turbine Users List
> > Subject: Re: Strange Error Still: Failed to save user object
> >
> >
> >
> >
> > John McNally wrote:
> >
> > > what exception?  And what is your timeout setting for sessions?
> >
> >
> > Oops - sorry, forgot to give the details. The classic:
> > ------------------------------------------------------------
> > [Thu Dec 13 14:48:48 GMT 2001] -- ERROR --
> > TurbineUser.valueUnbobund():
> > Failed to save user object
> > [Thu Dec 13 14:48:48 GMT 2001] -- ERROR --
> > 	Exception:
> > org.apache.turbine.util.security.DataBackendException: Failed
> > to save user object
> > 	Stack Trace follows:
> > 	java.lang.NullPointerException
> > 	at
> > org.apache.turbine.om.peer.BasePeer.doUpdate(BasePeer.java:1635)
> > 	at
> > org.apache.turbine.om.peer.BasePeer.doUpdate(BasePeer.java:1578)
> > 	at
> > org.apache.turbine.om.security.peer.TurbineUserPeer.doUpdate(T
> > urbineUserPeer.java:463)
> > ------------------------------------------------------------
> > which has been discussed several times.
> >
> > I haven't altered my session timeout from the default. Anyway, I'm
> > explicitly saving the user object after doing a setPermStorage.
> >
> > colm
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Strange Error Still: Failed to save user object

Posted by David Wynter <da...@btclick.com>.
Hi,

This was explained to me as a Tomcat 4.0b6 error. If you use the release
Tomcat 4.0.1 this does not occur. I have one PC with this version and
Turbine 2.1 but have not run it overnight so cannot confirm this.

Regards

David

-----Original Message-----
From: Gareth Coltman [mailto:gareth_coltman@majorband.co.uk]
Sent: 13 December 2001 16:11
To: 'Turbine Users List'
Subject: RE: Strange Error Still: Failed to save user object


I also get this error. Wierdly the seem to appear in the log just after
midnight every night... Strange.

> -----Original Message-----
> From: Colm McCartan [mailto:colmm@owl.co.uk]
> Sent: Thursday, December 13, 2001 15:34
> To: Turbine Users List
> Subject: Re: Strange Error Still: Failed to save user object
>
>
>
>
> John McNally wrote:
>
> > what exception?  And what is your timeout setting for sessions?
>
>
> Oops - sorry, forgot to give the details. The classic:
> ------------------------------------------------------------
> [Thu Dec 13 14:48:48 GMT 2001] -- ERROR --
> TurbineUser.valueUnbobund():
> Failed to save user object
> [Thu Dec 13 14:48:48 GMT 2001] -- ERROR --
> 	Exception:
> org.apache.turbine.util.security.DataBackendException: Failed
> to save user object
> 	Stack Trace follows:
> 	java.lang.NullPointerException
> 	at
> org.apache.turbine.om.peer.BasePeer.doUpdate(BasePeer.java:1635)
> 	at
> org.apache.turbine.om.peer.BasePeer.doUpdate(BasePeer.java:1578)
> 	at
> org.apache.turbine.om.security.peer.TurbineUserPeer.doUpdate(T
> urbineUserPeer.java:463)
> ------------------------------------------------------------
> which has been discussed several times.
>
> I haven't altered my session timeout from the default. Anyway, I'm
> explicitly saving the user object after doing a setPermStorage.
>
> colm
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Strange Error Still: Failed to save user object

Posted by Gareth Coltman <ga...@majorband.co.uk>.
I also get this error. Wierdly the seem to appear in the log just after
midnight every night... Strange.

> -----Original Message-----
> From: Colm McCartan [mailto:colmm@owl.co.uk]
> Sent: Thursday, December 13, 2001 15:34
> To: Turbine Users List
> Subject: Re: Strange Error Still: Failed to save user object
>
>
>
>
> John McNally wrote:
>
> > what exception?  And what is your timeout setting for sessions?
>
>
> Oops - sorry, forgot to give the details. The classic:
> ------------------------------------------------------------
> [Thu Dec 13 14:48:48 GMT 2001] -- ERROR --
> TurbineUser.valueUnbobund():
> Failed to save user object
> [Thu Dec 13 14:48:48 GMT 2001] -- ERROR --
> 	Exception:
> org.apache.turbine.util.security.DataBackendException: Failed
> to save user object
> 	Stack Trace follows:
> 	java.lang.NullPointerException
> 	at
> org.apache.turbine.om.peer.BasePeer.doUpdate(BasePeer.java:1635)
> 	at
> org.apache.turbine.om.peer.BasePeer.doUpdate(BasePeer.java:1578)
> 	at
> org.apache.turbine.om.security.peer.TurbineUserPeer.doUpdate(T
> urbineUserPeer.java:463)
> ------------------------------------------------------------
> which has been discussed several times.
>
> I haven't altered my session timeout from the default. Anyway, I'm
> explicitly saving the user object after doing a setPermStorage.
>
> colm
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Strange Error Still: Failed to save user object

Posted by Colm McCartan <co...@owl.co.uk>.

John McNally wrote:

> what exception?  And what is your timeout setting for sessions?


Oops - sorry, forgot to give the details. The classic:
------------------------------------------------------------
[Thu Dec 13 14:48:48 GMT 2001] -- ERROR -- TurbineUser.valueUnbobund(): 
Failed to save user object
[Thu Dec 13 14:48:48 GMT 2001] -- ERROR --
	Exception:  org.apache.turbine.util.security.DataBackendException: Failed 
to save user object
	Stack Trace follows:
	java.lang.NullPointerException
	at org.apache.turbine.om.peer.BasePeer.doUpdate(BasePeer.java:1635)
	at org.apache.turbine.om.peer.BasePeer.doUpdate(BasePeer.java:1578)
	at 
org.apache.turbine.om.security.peer.TurbineUserPeer.doUpdate(TurbineUserPeer.java:463)
------------------------------------------------------------
which has been discussed several times.

I haven't altered my session timeout from the default. Anyway, I'm 
explicitly saving the user object after doing a setPermStorage.

colm


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Strange Error Still: Failed to save user object

Posted by John McNally <jm...@collab.net>.
what exception?  And what is your timeout setting for sessions?

Colm McCartan wrote:
> 
> I realise this has been on the list a few times but I have to agree with
> someone who posted a few months ago: this has never really been resolved
>   and normally ends up with lots of people saying things like 'it
> probably doesn't really matter that much'... Is this definitely the case?
> 
> We are using the serialised objectdata to store user preferences and are
> finding that, inexplicably, they seem to be 'forgotten' after about 24
> hours although they are retained successfully during that time. We are
> updating the setPerm hashtable and then calling an explicit .save() on
> the user object. Our setup:
> 
> TDK2.1, win32 (dev) and linux (production - exception is thrown on both
> platforms) on mysql
> 
> The logs are littered with this exception and it would be good to know
> whether this is worth pursuing or not. Its not really ideal to have lots
> of 'probably not very important' exceptions in the logs anyway...
> 
> Anyone resolved this?
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>