[JBoss-user] RE: FileNotFoundException Accessing Session bean from Servlet

2002-11-04 Thread Jason Gerard

I had the same problem. This happens when a stateful session bean has
been passivated and the serialized form of the bean is removed from the
passivation store.

The quick fix is to edit the standardjboss.xml file. In the
container-configuration element for the Standard Stateful SessionBean,
there is a container-cache-conf element. Change the value of
max-bean-life from the default of 1800 to 2147483647. This will
guarantee that the .ser file for all stateful session beans will not be
deleted until they bean is redeployed.

I just picked 2147483647 b/c it's the max value of a Java integer, any
large number will do.

Jason Gerard
Lead Software Engineer
ReClaim, LLC
904-731-1998
www.reclaimopl.com

Email Confidentiality Notice: The information contained in this
transmission is confidential, proprietary or privileged and may be
subject to protection under the Health Insurance Portability and
Accountability Act of 1996 or other legal sanction. The message is
intended for the sole use of the individual or entity to whom it is
addressed. If you are not the intended recipient, you are notified that
any use, distribution or copying of the message is strictly prohibited
and may subject you to criminal or civil penalty. 



---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Re: FileNotFoundException Accessing Session bean from Servlet

2002-11-03 Thread John Snyder
That makes sense -- thanks.

Are there any configuration changes I have to make to deployment or service
descriptors when I move from 3.0 to 3.0.4, or should what I have for 3.0
work in the upgraded version, too?  If there are modifications, is there any
documentation listing the needed changes?

Thanks again,

-- John

Message: 4
Date: Sun, 3 Nov 2002 08:48:29 -0800
Subject: Re: [JBoss-user] FileNotFoundException Accessing Session bean from
Servlet
From: Scott M Stark [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]


--Apple-Mail-2-52851237
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
delsp=yes;
charset=ISO-8859-1;
format=flowed

This happens when the stateful session has been removed due to
inactivity. The default timeout is 30 minutes. jboss-3.0.0 is now =20
getting
to be a rather out of date version so lookup into updating to 3.0.4.




---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user