Oki, thanks, I've posted to Spring mailing list with my problem ^g^
On Wed, Apr 2, 2008 at 11:14 PM, Laurie Harper <[EMAIL PROTECTED]> wrote:
> This isn't really a Struts issue, since you're asking how to drive your
> service/dao layout from a thread outside the context of a Struts-served
> reque
This isn't really a Struts issue, since you're asking how to drive your
service/dao layout from a thread outside the context of a Struts-served
request. What you need to do in that case is to manage the Hibernate
session from your worker thread. The thread needs to setup and open the
Hibernate
Sorry, more explanation is needed... I've got to launch a "batch process"
it's not a batch but it's a long lasting process that could raise a timeout
and tomcat will kill the worker thread... So I've launched a worker of my
own to do the job and inform the user with a progress indicator or the like
Yayo on 02/04/08 20:23, wrote:
I'm developing a struts - spring based application.
I've got actions-delegates-managers and daos and I use the open session in
view filter from hibernate.
In some cases I've got to return lazy results to the user so I've got to
launch a new worker thread and taht
Try to post a stack trace or something more meaningful, but first of
all, as a general architectural guideline, try first to refactor your
code to avoid circular dependencies.
2008/4/2, Yayo <[EMAIL PROTECTED]>:
> Hi,
>
> I'm developing a struts - spring based application.
>
> I've got actions-de
Hi,
I'm developing a struts - spring based application.
I've got actions-delegates-managers and daos and I use the open session in
view filter from hibernate.
In some cases I've got to return lazy results to the user so I've got to
launch a new worker thread and taht new one doesn't have an hib
6 matches
Mail list logo