Hi,
I have an XPL-pipeline which uploads data from the eXist database to some other server, this upload takes about 40 minutes. I don't want to force the user to have an browser open for 40 minutes. I have tried to make an asynchronous submission to this XPL, but when i execute the submission and log off the XPL stops running. In the orbeon.log file i get the following exceptions: java.lang.IllegalStateException: getAttribute: Session already invalidatedIs it possible to have the XPL running while the user, who started the XPL, is logged off? Thanks, -- Martin van der Lubbe Aexist B.V. Tel.: 06 22 75 03 39 e-Mail: [hidden email] -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Martin,
If the code didn't need to access the session, then things would be fine, right? So maybe that's the key here: figure out why somebody needs an attribute from the session and try to prevent that. -Erik On Wed, Sep 28, 2011 at 7:54 AM, Martin van der Lubbe <[hidden email]> wrote: > Hi, > > I have an XPL-pipeline which uploads data from the eXist database to some > other server, this upload takes about 40 minutes. > I don't want to force the user to have an browser open for 40 minutes. > I have tried to make an asynchronous submission to this XPL, but when i > execute the submission and log off the XPL stops running. In the orbeon.log > file i get the following exceptions: > > java.lang.IllegalStateException: getAttribute: Session already invalidated > > Is it possible to have the XPL running while the user, who started the XPL, > is logged off? > > Thanks, > > -- > Martin van der Lubbe > > Aexist B.V. > > Tel.: 06 22 75 03 39 > > e-Mail: [hidden email] > > > > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Hi,
The XPL does not request any session attribute. In the orbeon.log file i can see that the session is destroyed twice after which the exceptions appears: 2011-10-03 15:08:42,671 INFO OrbeonSessionListener - Session Listener - Session destroyed. 2011-10-03 15:08:48,187 ERROR XFormsServer - xforms-submit-error - setting throwable {throwable: "java.lang.IllegalStateException: getAttribute: Session already invalidated I have tried to create a session with a "request" scope before calling the XPL, but this does not seem to make a difference. In the log i don't see an "OrbeonSessionListener - Session Listener - Session created." notice. Do you have any other ideas? Thanks, -- Martin van der Lubbe Aexist B.V. Tel.: 06 22 75 03 39 e-Mail: [hidden email] On Thu, Sep 29, 2011 at 6:11 AM, Erik Bruchez <[hidden email]> wrote: Martin, -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Martin,
No specific idea except that the log message seems to indicate that some code somewhere is calling getAttribute. Maybe a debugger could catch that to find the culprit. -Erik On Mon, Oct 3, 2011 at 6:10 AM, Martin van der Lubbe <[hidden email]> wrote: > Hi, > > The XPL does not request any session attribute. In the orbeon.log file i can > see that the session is destroyed twice after which the exceptions appears: > > 2011-10-03 15:08:42,671 INFO OrbeonSessionListener - Session Listener - > Session destroyed. > 2011-10-03 15:08:48,187 ERROR XFormsServer - xforms-submit-error - setting > throwable {throwable: "java.lang.IllegalStateException: getAttribute: > Session already invalidated > > I have tried to create a session with a "request" scope before calling the > XPL, but this does not seem to make a difference. In the log i don't see an > "OrbeonSessionListener - Session Listener - Session created." notice. > > Do you have any other ideas? > > Thanks, > > -- > Martin van der Lubbe > > Aexist B.V. > > Tel.: 06 22 75 03 39 > > e-Mail: [hidden email] > > > On Thu, Sep 29, 2011 at 6:11 AM, Erik Bruchez <[hidden email]> wrote: >> >> Martin, >> >> If the code didn't need to access the session, then things would be >> fine, right? So maybe that's the key here: figure out why somebody >> needs an attribute from the session and try to prevent that. >> >> -Erik >> >> On Wed, Sep 28, 2011 at 7:54 AM, Martin van der Lubbe >> <[hidden email]> wrote: >> > Hi, >> > >> > I have an XPL-pipeline which uploads data from the eXist database to >> > some >> > other server, this upload takes about 40 minutes. >> > I don't want to force the user to have an browser open for 40 minutes. >> > I have tried to make an asynchronous submission to this XPL, but when i >> > execute the submission and log off the XPL stops running. In the >> > orbeon.log >> > file i get the following exceptions: >> > >> > java.lang.IllegalStateException: getAttribute: Session already >> > invalidated >> > >> > Is it possible to have the XPL running while the user, who started the >> > XPL, >> > is logged off? >> > >> > Thanks, >> > >> > -- >> > Martin van der Lubbe >> > >> > Aexist B.V. >> > >> > Tel.: 06 22 75 03 39 >> > >> > e-Mail: [hidden email] >> > >> > >> > >> > >> > -- >> > You receive this message as a subscriber of the [hidden email] >> > mailing >> > list. >> > To unsubscribe: mailto:[hidden email] >> > For general help: mailto:[hidden email]?subject=help >> > OW2 mailing lists service home page: http://www.ow2.org/wws >> > >> > >> >> >> -- >> You receive this message as a subscriber of the [hidden email] mailing >> list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> OW2 mailing lists service home page: http://www.ow2.org/wws >> > > > > > > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Hi,
Is it possible to use the session scope "request" to keep the session alive until the XPL is completed? The wiki says the following about the request session scope: request - The request scope starts when an HTTP request is sent to the server. It ends when the corresponding HTTP response is sent back to the client. The request scope can be used to integrate a Orbeon Forms application with legacy J2EE servlets. Thanks, -- Martin van der Lubbe Aexist B.V. Tel.: 06 22 75 03 39 e-Mail: [hidden email] On Wed, Oct 5, 2011 at 7:25 AM, Erik Bruchez <[hidden email]> wrote: Martin, -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |