I think the session time is not the problem. We set it to 60 minutes.
If the 60 minutes are expired or the user logs out the view session will be
closed as intended.

The problem is that the data import started by the user session (reading
hundreds of files and storing them to the database) is still going on at the
server. Once started it will go on working (correctly) for hours or days
ignoring expiration or logout from the user session. I cannot access or stop
the operation any more. Only stopping Tomcat will stop this "ghost task".
The operation is started by a standard method call in a session bean.

I don't understand how this can happen. How can any session operation at the
server go on if the session is already closed? 

I can set the session time for some hours but that will not solve the
problem that the session expiration does not stop the operation.

Regards
Patrick


mraible wrote:
> 
> You could expand your session timeout in web.xml. The default is 30
> minutes if its not specified.
> 
> Matt
> 
> On Tue, Jul 1, 2008 at 12:37 AM, patz <[EMAIL PROTECTED]> wrote:
>>
>> My application based on AppFuse uses JSF with Tomahawk and RichFaces. The
>> webapp starts a huge data import from data files on the server to the
>> MySQL
>> database. That can last for hours or even for some days. It works perfect
>> but as soon as the session expires or the user logs out the view session
>> will be lost but the server goes on working using beans and properties as
>> before. The problem is I have no access to this "server session" any
>> more. I
>> cannot stop it in case of problems. I have no explanation for this
>> behaviour. I thought a session is controlled by the server and logout or
>> expire would kill all beans and properties. My question is how this can
>> happen and how I can access or stop such a "lost server session" ?
>> --
>> View this message in context:
>> http://www.nabble.com/View-session-expired-logged-out---but-%22server-session%22-keeps-on-running-----tp18210163s2369p18210163.html
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/View-session-expired-logged-out---but-%22server-session%22-keeps-on-running-----tp18210163s2369p18363295.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to