You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jerry Jalenak <Je...@LABONE.com> on 2002/08/16 16:18:53 UTC
Session-scope JavaBean being removed
Hi All,
Got a strange one that I can't figure out. We've developed an internal
webapp that uses the MemoryDatabase from the struts-example that comes with
the distribution. The implementation works great, providing a basic user ID
/ password table in XML, etc. Once the logon process completes, we store a
javabean with the user ID in the session so we can grab it later when we do
our database updates (store the user ID as the last person to update, etc.)
Everything seems to be fine, then BLAM! - I get a NullPointerException when
I try to access the bean. I've checked the session timeout and set it to
such a high value that the session should never time out. I've also search
the archives, the 'net, and have e-mailed Craig directly (thanks for
response, but it still happens :-). I've found nothing that would tell me
why this bean is being removed. The only time it should be is during logoff
processing. Help! Anyone have any ideas?
Thanks in advance - and TGIF!
Jerry Jalenak
Web Publishing
LabOne, Inc.
10101 Renner Blvd.
Lenexa, KS 66219
(913) 577-1496
jerry.jalenak@labone.com
This transmission (and any information attached to it) may be confidential and is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient or the person responsible for delivering the transmission to the intended recipient, be advised that you have received this transmission in error and that any use, dissemination, forwarding, printing, or copying of this information is strictly prohibited. If you have received this transmission in error, please immediately notify LabOne at (800)388-4675.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Session-scope JavaBean being removed
Posted by James Mitchell <jm...@telocity.com>.
I'm afraid that you'll have to provide more details before anyone can help
you.
James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://www.open-tools.org/struts-atlanta
> -----Original Message-----
> From: Jerry Jalenak [mailto:Jerry.Jalenak@LABONE.com]
> Sent: Friday, August 16, 2002 10:19 AM
> To: 'struts-user@jakarta.apache.org'
> Subject: Session-scope JavaBean being removed
>
>
> Hi All,
>
> Got a strange one that I can't figure out. We've developed an internal
> webapp that uses the MemoryDatabase from the struts-example that
> comes with
> the distribution. The implementation works great, providing a
> basic user ID
> / password table in XML, etc. Once the logon process completes,
> we store a
> javabean with the user ID in the session so we can grab it later
> when we do
> our database updates (store the user ID as the last person to
> update, etc.)
> Everything seems to be fine, then BLAM! - I get a
> NullPointerException when
> I try to access the bean. I've checked the session timeout and set it to
> such a high value that the session should never time out. I've
> also search
> the archives, the 'net, and have e-mailed Craig directly (thanks for
> response, but it still happens :-). I've found nothing that would tell me
> why this bean is being removed. The only time it should be is
> during logoff
> processing. Help! Anyone have any ideas?
>
> Thanks in advance - and TGIF!
>
> Jerry Jalenak
> Web Publishing
> LabOne, Inc.
> 10101 Renner Blvd.
> Lenexa, KS 66219
> (913) 577-1496
> jerry.jalenak@labone.com
>
>
> This transmission (and any information attached to it) may be
> confidential and is intended solely for the use of the individual
> or entity to which it is addressed. If you are not the intended
> recipient or the person responsible for delivering the
> transmission to the intended recipient, be advised that you have
> received this transmission in error and that any use,
> dissemination, forwarding, printing, or copying of this
> information is strictly prohibited. If you have received this
> transmission in error, please immediately notify LabOne at (800)388-4675.
>
>
>
> --
> 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>