Serving a static file with session-destroyed.xpl

classic Classic list List threaded Threaded
39 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Serving a static file with session-destroyed.xpl

fl.schmitt(ops-users)
Hi,

i would like to present a informative error message to the users of my OF Application if their session had timed out. So i thought about inserting a processor into context/session-destroyed.xpl that would load a static HTML page with information about the timeout and so on. Which processor could i use for this purpose? Or is there another way to "forward" the user to a static page if the session has timed out?

I tried to implement the resource server, but it seems that this processor isn't available in session-destroyed.xpl :

java.lang.UnsupportedOperationException
        at org.orbeon.oxf.webapp.ServletContextExternalContext.getResponse(ServletContextExternalContext.java:132)
        at org.orbeon.oxf.processor.ResourceServer.start(ResourceServer.java:50)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
        at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
        at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:88)
        at org.orbeon.oxf.pipeline.InitUtils.run(InitUtils.java:228)
        at org.orbeon.oxf.webapp.OPSSessionListenerDelegate.sessionDestroyed(OPSSessionListenerDelegate.java:73)
        at org.orbeon.oxf.webapp.OPSSessionListener.sessionDestroyed(OPSSessionListener.java:58)
        at org.apache.catalina.session.StandardSession.expire(StandardSession.java:702)
        at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:592)
        at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:681)
        at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:666)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1285)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)
        at java.lang.Thread.run(Unknown Source)


florian



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Serving a static file with session-destroyed.xpl

Alessandro Vernet
Administrator
Florian,

The context/session-destroyed.xpl is called "in the background" when
the session expires, not as a result of a request from a user whose
session has expired. So in this pipeline you can't write back a
response to the user.

What you could do is add some JavaScript to the page which after 55
minutes (assuming you have a session of 1 hour) goes to page where you
make the session expire (use the session invalidator: <p:processor
name="oxf:session-invalidator"/>) and sends back a page telling the
user that the session has expired.

Alex

On 5/2/07, [hidden email]
<[hidden email]> wrote:

> Hi,
>
> i would like to present a informative error message to the users of my OF Application if their session had timed out. So i thought about inserting a processor into context/session-destroyed.xpl that would load a static HTML page with information about the timeout and so on. Which processor could i use for this purpose? Or is there another way to "forward" the user to a static page if the session has timed out?
>
> I tried to implement the resource server, but it seems that this processor isn't available in session-destroyed.xpl :
>
> java.lang.UnsupportedOperationException
>         at org.orbeon.oxf.webapp.ServletContextExternalContext.getResponse(ServletContextExternalContext.java:132)
>         at org.orbeon.oxf.processor.ResourceServer.start(ResourceServer.java:50)
>         at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
>         at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
>         at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
>         at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:88)
>         at org.orbeon.oxf.pipeline.InitUtils.run(InitUtils.java:228)
>         at org.orbeon.oxf.webapp.OPSSessionListenerDelegate.sessionDestroyed(OPSSessionListenerDelegate.java:73)
>         at org.orbeon.oxf.webapp.OPSSessionListener.sessionDestroyed(OPSSessionListener.java:58)
>         at org.apache.catalina.session.StandardSession.expire(StandardSession.java:702)
>         at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:592)
>         at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:681)
>         at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:666)
>         at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1285)
>         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)
>         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
>         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
>         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)
>         at java.lang.Thread.run(Unknown Source)
>
>
> florian
>
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>

--
Orbeon Forms - Web 2.0 Forms for the Enterprise
http://www.orbeon.com/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Serving a static file with session-destroyed.xpl

joac
Hi Orbeon community,

Has anyone tried Alex alternative regarding the javascript timer?
I have the problem with the session expiration and it is very complex for
the final user to know what is happening and that he must refresh the cache.
If user keeps clicking on options the page gets somehow corrupted and
everything is messy.
My ideal solution would be to invalidate user session and go automatically
to login page telling that the session has expired.

I know there are some RFEs regarding this problem, but I don't know if you
have plans to solve it in next versions. I think this problem may affect
many of us.

Best regards,
Jordi

 
-----Mensaje original-----
De: [hidden email] [mailto:[hidden email]] En nombre de Alessandro
Vernet
Enviado el: miƩrcoles, 02 de mayo de 2007 23:22
Para: [hidden email]
Asunto: Re: [ops-users] Serving a static file with session-destroyed.xpl

Florian,

The context/session-destroyed.xpl is called "in the background" when
the session expires, not as a result of a request from a user whose
session has expired. So in this pipeline you can't write back a
response to the user.

What you could do is add some JavaScript to the page which after 55
minutes (assuming you have a session of 1 hour) goes to page where you
make the session expire (use the session invalidator: <p:processor
name="oxf:session-invalidator"/>) and sends back a page telling the
user that the session has expired.

Alex

On 5/2/07, [hidden email]
<[hidden email]> wrote:
> Hi,
>
> i would like to present a informative error message to the users of my OF
Application if their session had timed out. So i thought about inserting a
processor into context/session-destroyed.xpl that would load a static HTML
page with information about the timeout and so on. Which processor could i
use for this purpose? Or is there another way to "forward" the user to a
static page if the session has timed out?
>
> I tried to implement the resource server, but it seems that this processor
isn't available in session-destroyed.xpl :
>
> java.lang.UnsupportedOperationException
>         at
org.orbeon.oxf.webapp.ServletContextExternalContext.getResponse(ServletConte
xtExternalContext.java:132)
>         at
org.orbeon.oxf.processor.ResourceServer.start(ResourceServer.java:50)
>         at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor
.java:652)
>         at
org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:53
6)
>         at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.
java:649)
>         at
org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:88)
>         at org.orbeon.oxf.pipeline.InitUtils.run(InitUtils.java:228)
>         at
org.orbeon.oxf.webapp.OPSSessionListenerDelegate.sessionDestroyed(OPSSession
ListenerDelegate.java:73)
>         at
org.orbeon.oxf.webapp.OPSSessionListener.sessionDestroyed(OPSSessionListener
.java:58)
>         at
org.apache.catalina.session.StandardSession.expire(StandardSession.java:702)
>         at
org.apache.catalina.session.StandardSession.isValid(StandardSession.java:592
)
>         at
org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:681)
>         at
org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:6
66)
>         at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:
1285)
>         at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
hildren(ContainerBase.java:1570)
>         at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
hildren(ContainerBase.java:1579)
>         at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
hildren(ContainerBase.java:1579)
>         at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(Cont
ainerBase.java:1559)
>         at java.lang.Thread.run(Unknown Source)
>
>
> florian
>
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>


--
Orbeon Forms - Web 2.0 Forms for the Enterprise
http://www.orbeon.com/





--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Serving a static file with session-destroyed.xpl

Marcus-2
Hi,
i found two posts that refer to a JavaScript Timer!

1# said, it should be possible to use one to keep the session alive, as long
as the browser is open.
For my webapp that would be enough and great, while at no time too many
users will use the plattform, so i have not to worry about to many sessions
keeping alive and wasting resources on the server

2# Alex wrote something about a Javascript Timer that could redirect the
user after a count of time to an extra page to inform him, that the session
has expired!

Does anyone of you every implemented such a JavaScript Timer and can offer
the code here? That would be great!!
Best regards, Marcus


----- Original Message -----
From: "Jordi Amatller" <[hidden email]>
To: <[hidden email]>
Sent: Tuesday, June 19, 2007 12:27 AM
Subject: RE: [ops-users] Serving a static file with session-destroyed.xpl


Hi Orbeon community,

Has anyone tried Alex alternative regarding the javascript timer?
I have the problem with the session expiration and it is very complex for
the final user to know what is happening and that he must refresh the cache.
If user keeps clicking on options the page gets somehow corrupted and
everything is messy.
My ideal solution would be to invalidate user session and go automatically
to login page telling that the session has expired.

I know there are some RFEs regarding this problem, but I don't know if you
have plans to solve it in next versions. I think this problem may affect
many of us.

Best regards,
Jordi


-----Mensaje original-----
De: [hidden email] [mailto:[hidden email]] En nombre de Alessandro
Vernet
Enviado el: miƩrcoles, 02 de mayo de 2007 23:22
Para: [hidden email]
Asunto: Re: [ops-users] Serving a static file with session-destroyed.xpl

Florian,

The context/session-destroyed.xpl is called "in the background" when
the session expires, not as a result of a request from a user whose
session has expired. So in this pipeline you can't write back a
response to the user.

What you could do is add some JavaScript to the page which after 55
minutes (assuming you have a session of 1 hour) goes to page where you
make the session expire (use the session invalidator: <p:processor
name="oxf:session-invalidator"/>) and sends back a page telling the
user that the session has expired.

Alex





--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Serving a static file with session-destroyed.xpl

fl.schmitt(ops-users)
Hi,

> Does anyone of you every implemented such a JavaScript Timer and can
> offer the code here? That would be great!!

I've build a periodical backup functionality upon the PeriodicalExecuter
that's part of the prototype JavaScript library. It can quite easily be
changed to perform a redirect after a certain time.

1. Get the prototype lib at http://www.prototypejs.org/ (maybe it's
already incorporated in an OF jar???)

2. Make sure the lib is available to the browser on page load time -
i've inserted the necessary code in theme-plain.xsl after the link to
the orbeon.css:

<xhtml:link rel="stylesheet" href="/config/theme/orbeon.css"
type="text/css"/>
<xhtml:script type="text/javascript" src="javascript/my-own-lib.js" />
<xhtml:script type="text/javascript" src="javascript/prototype.js" />

3. To initialize the PeriodicalExecuter, i use a little function that
i've placed in my-own-lib.js (so i don't have to place the code in every
XForms page):

function initAutoSave() {
     var perEx = new PeriodicalExecuter(function(pe) {
         ORBEON.xforms.Document.dispatchEvent(
             "main-model",
             "perform-autosave");
     }, 40);
     if (!perEx){
         window.alert("Backup im Hintergrund konnte nicht instantiiert
werden!");
         return;
     } else {
         window.status = "Backup im Hintergrund instantiiert!";
     }
};

This instantiates a new PeriodicalExecuter that's triggered every 40
seconds and executes a dispatchEvent function. If the Instantiatin fails
a JS alert appears, otherwise a info in the status bar. The API Doc for
the PeriodicalExecuter is here:
http://www.prototypejs.org/api/periodicalExecuter

4. Call the function on page load time:

<xforms:model id="...">
     ....
     <xxforms:script ev:event="xforms-ready">
         initAutoSave();
     </xxforms:script>
</xforms:model>

5. Implement the Action that should get executed on the Execution of the
PeriodicalExecuter:

<xforms:model id="main-model">
     ...
     <xforms:action id="action-autosave" ev:event="perform-autosave">
         <xforms:recalculate model="main-model" />
         <xforms:send submission="autosave" />
         <xxforms:script ev:event="perform-autosave">
             var Jetzt = new Date();
             window.status = "Letztes Backup:" + Jetzt.toLocaleString() ;
         </xxforms:script>
     </xforms:action>
</xforms:model>


To perform a redirect, it should be sufficient to add a xforms:load
inside the action. I'm sure a javasript expert will find many points to
optimize my example, but at least it works for me :-)


florian




--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Serving a static file with session-destroyed.xpl

Marcus-2
Hi Florian,

thanks a lot for that detailed way to integrate it.
I just use it as a timer, that only recalculates an empty model, but it
seems to work to keep the session alive. For my webapp that will do the
trick, while i have not to worry about to many usery holding sessions on the
server!

The only thing is, is that Function started new every time i reload the
page? As i understand it, i think thats the way, becuase the theme is loaded
every time too, isn't it? So at least the Timer only comes to an end, when
someone realy does nothing with page, right?

Great plugin :-)
Thanks a lot!

Regards, Marcus


----- Original Message -----
From: "Florian Schmitt" <[hidden email]>
To: <[hidden email]>
Sent: Wednesday, June 20, 2007 9:55 AM
Subject: Re: [ops-users] Serving a static file with session-destroyed.xpl


> Hi,
>
>> Does anyone of you every implemented such a JavaScript Timer and can
>> offer the code here? That would be great!!
>
> I've build a periodical backup functionality upon the PeriodicalExecuter
> that's part of the prototype JavaScript library. It can quite easily be
> changed to perform a redirect after a certain time.
>
> 1. Get the prototype lib at http://www.prototypejs.org/ (maybe it's
> already incorporated in an OF jar???)
>
> 2. Make sure the lib is available to the browser on page load time -
> i've inserted the necessary code in theme-plain.xsl after the link to
> the orbeon.css:
>
> <xhtml:link rel="stylesheet" href="/config/theme/orbeon.css"
> type="text/css"/>
> <xhtml:script type="text/javascript" src="javascript/my-own-lib.js" />
> <xhtml:script type="text/javascript" src="javascript/prototype.js" />
>
> 3. To initialize the PeriodicalExecuter, i use a little function that
> i've placed in my-own-lib.js (so i don't have to place the code in every
> XForms page):
>
> function initAutoSave() {
>     var perEx = new PeriodicalExecuter(function(pe) {
>         ORBEON.xforms.Document.dispatchEvent(
>             "main-model",
>             "perform-autosave");
>     }, 40);
>     if (!perEx){
>         window.alert("Backup im Hintergrund konnte nicht instantiiert
> werden!");
>         return;
>     } else {
>         window.status = "Backup im Hintergrund instantiiert!";
>     }
> };
>
> This instantiates a new PeriodicalExecuter that's triggered every 40
> seconds and executes a dispatchEvent function. If the Instantiatin fails
> a JS alert appears, otherwise a info in the status bar. The API Doc for
> the PeriodicalExecuter is here:
> http://www.prototypejs.org/api/periodicalExecuter
>
> 4. Call the function on page load time:
>
> <xforms:model id="...">
>     ....
>     <xxforms:script ev:event="xforms-ready">
>         initAutoSave();
>     </xxforms:script>
> </xforms:model>
>
> 5. Implement the Action that should get executed on the Execution of the
> PeriodicalExecuter:
>
> <xforms:model id="main-model">
>     ...
>     <xforms:action id="action-autosave" ev:event="perform-autosave">
>         <xforms:recalculate model="main-model" />
>         <xforms:send submission="autosave" />
>         <xxforms:script ev:event="perform-autosave">
>             var Jetzt = new Date();
>             window.status = "Letztes Backup:" + Jetzt.toLocaleString() ;
>         </xxforms:script>
>     </xforms:action>
> </xforms:model>
>
>
> To perform a redirect, it should be sufficient to add a xforms:load
> inside the action. I'm sure a javasript expert will find many points to
> optimize my example, but at least it works for me :-)
>
>
> florian
>
>
>

--------------------------------------------------------------------------------


>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Serving a static file with session-destroyed.xpl

fl.schmitt(ops-users)
Marcus schrieb:

> The only thing is, is that Function started new every time i reload the
> page? As i understand it, i think thats the way, becuase the theme is
> loaded every time too, isn't it? So at least the Timer only comes to an
> end, when someone realy does nothing with page, right?

i hope so :-) - the initialization function is called when the
xforms-ready event occurs. I'm not sure whether this event is also fired
when the page is refreshed only, but the mechanism should ensure that
the PeriodicalExecuter runs after the page is loaded. It should keep
running all the time the page is displayed.


florian




--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Serving a static file with session-destroyed.xpl

joac
In reply to this post by fl.schmitt(ops-users)
Thanks Florian,

It worked for me, this can be a good alternative until the session problems
are not fixed.

Regarding your source I had to declare as an external event like this:

<xforms:model id="main-model" xxforms:external-events="perform-autosave">

Best regards,
Jordi

-----Mensaje original-----
De: Florian Schmitt [mailto:[hidden email]]
Enviado el: miƩrcoles, 20 de junio de 2007 9:55
Para: [hidden email]
Asunto: Re: [ops-users] Serving a static file with session-destroyed.xpl

Hi,

> Does anyone of you every implemented such a JavaScript Timer and can
> offer the code here? That would be great!!

I've build a periodical backup functionality upon the PeriodicalExecuter
that's part of the prototype JavaScript library. It can quite easily be
changed to perform a redirect after a certain time.

1. Get the prototype lib at http://www.prototypejs.org/ (maybe it's
already incorporated in an OF jar???)

2. Make sure the lib is available to the browser on page load time -
i've inserted the necessary code in theme-plain.xsl after the link to
the orbeon.css:

<xhtml:link rel="stylesheet" href="/config/theme/orbeon.css"
type="text/css"/>
<xhtml:script type="text/javascript" src="javascript/my-own-lib.js" />
<xhtml:script type="text/javascript" src="javascript/prototype.js" />

3. To initialize the PeriodicalExecuter, i use a little function that
i've placed in my-own-lib.js (so i don't have to place the code in every
XForms page):

function initAutoSave() {
     var perEx = new PeriodicalExecuter(function(pe) {
         ORBEON.xforms.Document.dispatchEvent(
             "main-model",
             "perform-autosave");
     }, 40);
     if (!perEx){
         window.alert("Backup im Hintergrund konnte nicht instantiiert
werden!");
         return;
     } else {
         window.status = "Backup im Hintergrund instantiiert!";
     }
};

This instantiates a new PeriodicalExecuter that's triggered every 40
seconds and executes a dispatchEvent function. If the Instantiatin fails
a JS alert appears, otherwise a info in the status bar. The API Doc for
the PeriodicalExecuter is here:
http://www.prototypejs.org/api/periodicalExecuter

4. Call the function on page load time:

<xforms:model id="...">
     ....
     <xxforms:script ev:event="xforms-ready">
         initAutoSave();
     </xxforms:script>
</xforms:model>

5. Implement the Action that should get executed on the Execution of the
PeriodicalExecuter:

<xforms:model id="main-model">
     ...
     <xforms:action id="action-autosave" ev:event="perform-autosave">
         <xforms:recalculate model="main-model" />
         <xforms:send submission="autosave" />
         <xxforms:script ev:event="perform-autosave">
             var Jetzt = new Date();
             window.status = "Letztes Backup:" + Jetzt.toLocaleString() ;
         </xxforms:script>
     </xforms:action>
</xforms:model>


To perform a redirect, it should be sufficient to add a xforms:load
inside the action. I'm sure a javasript expert will find many points to
optimize my example, but at least it works for me :-)


florian






--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Serving a static file with session-destroyed.xpl

Marcus-2
Hi,
after letting the browser for more than a half day open i got the following
error message:

XForms error: oxf:/ops/xforms/xforms-server.xpl, line 55, column 103,
description reading processor output: null null

Does anyone knows what this means? Besides from that the Timer works fine
and also the user-session seems to be still alive and working. OK, that
would be the point to run a second timer, that loggs the user off, but keeps
the Ajax stuff still working!
Just like Jordi said - until the problems with sessions are not solves by
another way, this could be a good way.
But its also important to keep the concerns about too many sessions hold on
the server in mind, while not every webapp will have so few concurrent users
than ours.

Thanks for that stuff, Marcus


----- Original Message -----
From: "Jordi Amatller" <[hidden email]>
To: <[hidden email]>
Sent: Thursday, June 21, 2007 11:51 PM
Subject: RE: [ops-users] Serving a static file with session-destroyed.xpl


Thanks Florian,

It worked for me, this can be a good alternative until the session problems
are not fixed.

Regarding your source I had to declare as an external event like this:

<xforms:model id="main-model" xxforms:external-events="perform-autosave">

Best regards,
Jordi

-----Mensaje original-----
De: Florian Schmitt [mailto:[hidden email]]
Enviado el: miƩrcoles, 20 de junio de 2007 9:55
Para: [hidden email]
Asunto: Re: [ops-users] Serving a static file with session-destroyed.xpl

Hi,

> Does anyone of you every implemented such a JavaScript Timer and can
> offer the code here? That would be great!!

I've build a periodical backup functionality upon the PeriodicalExecuter
that's part of the prototype JavaScript library. It can quite easily be
changed to perform a redirect after a certain time.

1. Get the prototype lib at http://www.prototypejs.org/ (maybe it's
already incorporated in an OF jar???)

2. Make sure the lib is available to the browser on page load time -
i've inserted the necessary code in theme-plain.xsl after the link to
the orbeon.css:

<xhtml:link rel="stylesheet" href="/config/theme/orbeon.css"
type="text/css"/>
<xhtml:script type="text/javascript" src="javascript/my-own-lib.js" />
<xhtml:script type="text/javascript" src="javascript/prototype.js" />

3. To initialize the PeriodicalExecuter, i use a little function that
i've placed in my-own-lib.js (so i don't have to place the code in every
XForms page):

function initAutoSave() {
     var perEx = new PeriodicalExecuter(function(pe) {
         ORBEON.xforms.Document.dispatchEvent(
             "main-model",
             "perform-autosave");
     }, 40);
     if (!perEx){
         window.alert("Backup im Hintergrund konnte nicht instantiiert
werden!");
         return;
     } else {
         window.status = "Backup im Hintergrund instantiiert!";
     }
};

This instantiates a new PeriodicalExecuter that's triggered every 40
seconds and executes a dispatchEvent function. If the Instantiatin fails
a JS alert appears, otherwise a info in the status bar. The API Doc for
the PeriodicalExecuter is here:
http://www.prototypejs.org/api/periodicalExecuter

4. Call the function on page load time:

<xforms:model id="...">
     ....
     <xxforms:script ev:event="xforms-ready">
         initAutoSave();
     </xxforms:script>
</xforms:model>

5. Implement the Action that should get executed on the Execution of the
PeriodicalExecuter:

<xforms:model id="main-model">
     ...
     <xforms:action id="action-autosave" ev:event="perform-autosave">
         <xforms:recalculate model="main-model" />
         <xforms:send submission="autosave" />
         <xxforms:script ev:event="perform-autosave">
             var Jetzt = new Date();
             window.status = "Letztes Backup:" + Jetzt.toLocaleString() ;
         </xxforms:script>
     </xforms:action>
</xforms:model>


To perform a redirect, it should be sufficient to add a xforms:load
inside the action. I'm sure a javasript expert will find many points to
optimize my example, but at least it works for me :-)


florian







--------------------------------------------------------------------------------


>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Serving a static file with session-destroyed.xpl

joac

Hi Marcus,

 

This is what I've done if it can be helpful for you:

 

On every xhtml page:

<xforms:model id="main-model" xxforms:external-events="perform-autosave">

Ā Ā Ā Ā Ā  <xxforms:script ev:event="xforms-ready">initAutoSave();</xxforms:script>

Ā Ā Ā Ā Ā  <xforms:action id="action-autosave" ev:event="perform-autosave">

Ā Ā Ā Ā Ā  Ā Ā Ā Ā Ā  <xforms:send submission="logout"/>

Ā Ā Ā Ā Ā  </xforms:action>

Ā Ā Ā Ā Ā  <xforms:submission id="logout" method="post" action="/logout"/>

 

On my main page-flow.xml:

<page id="exit" path-info="/logout">

<action action="/authentication/logout.xpl">

Ā Ā Ā Ā Ā  Ā Ā Ā Ā Ā  <result page="my-home"/>

Ā Ā Ā Ā Ā  </action>

</page>

 

And logout.xpl is only this:

<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"

Ā Ā Ā Ā Ā Ā Ā Ā Ā  xmlns:oxf="http://www.orbeon.com/oxf/processors">

Ā Ā Ā  <p:processor name="oxf:session-invalidator"/>

</p:config>

 

Regards,

Jordi

 

-----Mensaje original-----
De: Marcus [mailto:[hidden email]]
Enviado el: viernes, 22 de junio de 2007 0:07
Para: [hidden email]
Asunto: Re: [ops-users] Serving a static file with session-destroyed.xpl

 

Hi,

after letting the browser for more than a half day open i got the following

error message:

 

XForms error: oxf:/ops/xforms/xforms-server.xpl, line 55, column 103,

description reading processor output: null null

 

Does anyone knows what this means? Besides from that the Timer works fine

and also the user-session seems to be still alive and working. OK, that

would be the point to run a second timer, that loggs the user off, but keeps

the Ajax stuff still working!

Just like Jordi said - until the problems with sessions are not solves by

another way, this could be a good way.

But its also important to keep the concerns about too many sessions hold on

the server in mind, while not every webapp will have so few concurrent users

than ours.

 

Thanks for that stuff, Marcus

 

 

----- Original Message -----

From: "Jordi Amatller" <[hidden email]>

To: <[hidden email]>

Sent: Thursday, June 21, 2007 11:51 PM

Subject: RE: [ops-users] Serving a static file with session-destroyed.xpl

 

 

Thanks Florian,

 

It worked for me, this can be a good alternative until the session problems

are not fixed.

 

Regarding your source I had to declare as an external event like this:

 

<xforms:model id="main-model" xxforms:external-events="perform-autosave">

 

Best regards,

Jordi

 

-----Mensaje original-----

De: Florian Schmitt [mailto:[hidden email]]

Enviado el: miƩrcoles, 20 de junio de 2007 9:55

Para: [hidden email]

Asunto: Re: [ops-users] Serving a static file with session-destroyed.xpl

 

Hi,

 

> Does anyone of you every implemented such a JavaScript Timer and can

> offer the code here? That would be great!!

 

I've build a periodical backup functionality upon the PeriodicalExecuter

that's part of the prototype JavaScript library. It can quite easily be

changed to perform a redirect after a certain time.

 

1. Get the prototype lib at http://www.prototypejs.org/ (maybe it's

already incorporated in an OF jar???)

 

2. Make sure the lib is available to the browser on page load time -

i've inserted the necessary code in theme-plain.xsl after the link to

the orbeon.css:

 

<xhtml:link rel="stylesheet" href="/config/theme/orbeon.css"

type="text/css"/>

<xhtml:script type="text/javascript" src="javascript/my-own-lib.js" />

<xhtml:script type="text/javascript" src="javascript/prototype.js" />

 

3. To initialize the PeriodicalExecuter, i use a little function that

i've placed in my-own-lib.js (so i don't have to place the code in every

XForms page):

 

function initAutoSave() {

Ā Ā Ā Ā  var perEx = new PeriodicalExecuter(function(pe) {

Ā Ā Ā Ā Ā Ā Ā Ā  ORBEON.xforms.Document.dispatchEvent(

Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā  "main-model",

Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā  "perform-autosave");

Ā Ā Ā Ā  }, 40);

Ā Ā Ā Ā  if (!perEx){

Ā Ā Ā Ā Ā Ā Ā Ā  window.alert("Backup im Hintergrund konnte nicht instantiiert

werden!");

Ā Ā Ā Ā Ā Ā Ā Ā  return;

Ā Ā Ā Ā  } else {

Ā Ā Ā Ā Ā Ā Ā Ā  window.status = "Backup im Hintergrund instantiiert!";

Ā Ā Ā Ā  }

};

 

This instantiates a new PeriodicalExecuter that's triggered every 40

seconds and executes a dispatchEvent function. If the Instantiatin fails

a JS alert appears, otherwise a info in the status bar. The API Doc for

the PeriodicalExecuter is here:

http://www.prototypejs.org/api/periodicalExecuter

 

4. Call the function on page load time:

 

<xforms:model id="...">

Ā Ā Ā Ā  ....

Ā Ā Ā Ā  <xxforms:script ev:event="xforms-ready">

Ā Ā Ā Ā  Ā Ā Ā Ā initAutoSave();

Ā Ā Ā Ā  </xxforms:script>

</xforms:model>

 

5. Implement the Action that should get executed on the Execution of the

PeriodicalExecuter:

 

<xforms:model id="main-model">

Ā Ā Ā Ā  ...

Ā Ā Ā Ā  <xforms:action id="action-autosave" ev:event="perform-autosave">

Ā Ā Ā Ā Ā Ā Ā Ā  <xforms:recalculate model="main-model" />

Ā Ā Ā Ā Ā Ā Ā Ā  <xforms:send submission="autosave" />

Ā Ā Ā Ā Ā Ā Ā Ā  <xxforms:script ev:event="perform-autosave">

Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā  var Jetzt = new Date();

Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā  window.status = "Letztes Backup:" + Jetzt.toLocaleString() ;

Ā Ā Ā Ā Ā Ā Ā Ā  </xxforms:script>

Ā Ā Ā Ā  </xforms:action>

</xforms:model>

 

 

To perform a redirect, it should be sufficient to add a xforms:load

inside the action. I'm sure a javasript expert will find many points to

optimize my example, but at least it works for me :-)

 

 

florian

 

 

 

 

 

 

 

--------------------------------------------------------------------------------

 

 

> 

> --

> 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

> ObjectWeb mailing lists service home page: http://www.objectweb.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Serving a static file with session-destroyed.xpl

fl.schmitt(ops-users)
In reply to this post by joac
Hi Jordi,

> Regarding your source I had to declare as an external event like this:
>
> <xforms:model id="main-model" xxforms:external-events="perform-autosave">

You're completely right, i missed to add this step, sorry. It's one of
those little points i overlook every time :-)

florian



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Serving a static file with session-destroyed.xpl

Marcus-2
In reply to this post by joac
Hi,
anyone something new on that error-message?

XForms error: oxf:/ops/xforms/xforms-server.xpl, line 55, column 103, description reading processor output: null nullI had that never before, only since i integrated that JavaScript Timer :-((Seems that it may cause another bug :-(Any ideas what this could be?Thanks, Marcus

----- Original Message -----
Sent: Friday, June 22, 2007 12:21 AM
Subject: RE: [ops-users] Serving a static file with session-destroyed.xpl

Hi Marcus,

 

This is what I've done if it can be helpful for you:

 

On every xhtml page:

<xforms:model id="main-model" xxforms:external-events="perform-autosave">

      <xxforms:script ev:event="xforms-ready">initAutoSave();</xxforms:script>

      <xforms:action id="action-autosave" ev:event="perform-autosave">

            <xforms:send submission="logout"/>

      </xforms:action>

      <xforms:submission id="logout" method="post" action="/logout"/>

 

On my main page-flow.xml:

<page id="exit" path-info="/logout">

<action action="/authentication/logout.xpl">

            <result page="my-home"/>

      </action>

</page>

 

And logout.xpl is only this:

<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"

          xmlns:oxf="http://www.orbeon.com/oxf/processors">

    <p:processor name="oxf:session-invalidator"/>

</p:config>

 

Regards,

Jordi

 

-----Mensaje original-----
De: Marcus [mailto:[hidden email]]
Enviado el: viernes, 22 de junio de 2007 0:07
Para: [hidden email]
Asunto: Re: [ops-users] Serving a static file with session-destroyed.xpl

 

Hi,

after letting the browser for more than a half day open i got the following

error message:

 

XForms error: oxf:/ops/xforms/xforms-server.xpl, line 55, column 103,

description reading processor output: null null

 

Does anyone knows what this means? Besides from that the Timer works fine

and also the user-session seems to be still alive and working. OK, that

would be the point to run a second timer, that loggs the user off, but keeps

the Ajax stuff still working!

Just like Jordi said - until the problems with sessions are not solves by

another way, this could be a good way.

But its also important to keep the concerns about too many sessions hold on

the server in mind, while not every webapp will have so few concurrent users

than ours.

 

Thanks for that stuff, Marcus

 

 

----- Original Message -----

From: "Jordi Amatller" <[hidden email]>

To: <[hidden email]>

Sent: Thursday, June 21, 2007 11:51 PM

Subject: RE: [ops-users] Serving a static file with session-destroyed.xpl

 

 

Thanks Florian,

 

It worked for me, this can be a good alternative until the session problems

are not fixed.

 

Regarding your source I had to declare as an external event like this:

 

<xforms:model id="main-model" xxforms:external-events="perform-autosave">

 

Best regards,

Jordi

 

-----Mensaje original-----

De: Florian Schmitt [mailto:[hidden email]]

Enviado el: miƩrcoles, 20 de junio de 2007 9:55

Para: [hidden email]

Asunto: Re: [ops-users] Serving a static file with session-destroyed.xpl

 

Hi,

 

> Does anyone of you every implemented such a JavaScript Timer and can

> offer the code here? That would be great!!

 

I've build a periodical backup functionality upon the PeriodicalExecuter

that's part of the prototype JavaScript library. It can quite easily be

changed to perform a redirect after a certain time.

 

1. Get the prototype lib at http://www.prototypejs.org/ (maybe it's

already incorporated in an OF jar???)

 

2. Make sure the lib is available to the browser on page load time -

i've inserted the necessary code in theme-plain.xsl after the link to

the orbeon.css:

 

<xhtml:link rel="stylesheet" href="/config/theme/orbeon.css"

type="text/css"/>

<xhtml:script type="text/javascript" src="javascript/my-own-lib.js" />

<xhtml:script type="text/javascript" src="javascript/prototype.js" />

 

3. To initialize the PeriodicalExecuter, i use a little function that

i've placed in my-own-lib.js (so i don't have to place the code in every

XForms page):

 

function initAutoSave() {

     var perEx = new PeriodicalExecuter(function(pe) {

         ORBEON.xforms.Document.dispatchEvent(

             "main-model",

             "perform-autosave");

     }, 40);

     if (!perEx){

         window.alert("Backup im Hintergrund konnte nicht instantiiert

werden!");

         return;

     } else {

         window.status = "Backup im Hintergrund instantiiert!";

     }

};

 

This instantiates a new PeriodicalExecuter that's triggered every 40

seconds and executes a dispatchEvent function. If the Instantiatin fails

a JS alert appears, otherwise a info in the status bar. The API Doc for

the PeriodicalExecuter is here:

http://www.prototypejs.org/api/periodicalExecuter

 

4. Call the function on page load time:

 

<xforms:model id="...">

     ....

     <xxforms:script ev:event="xforms-ready">

         initAutoSave();

     </xxforms:script>

</xforms:model>

 

5. Implement the Action that should get executed on the Execution of the

PeriodicalExecuter:

 

<xforms:model id="main-model">

     ...

     <xforms:action id="action-autosave" ev:event="perform-autosave">

         <xforms:recalculate model="main-model" />

         <xforms:send submission="autosave" />

         <xxforms:script ev:event="perform-autosave">

             var Jetzt = new Date();

             window.status = "Letztes Backup:" + Jetzt.toLocaleString() ;

         </xxforms:script>

     </xforms:action>

</xforms:model>

 

 

To perform a redirect, it should be sufficient to add a xforms:load

inside the action. I'm sure a javasript expert will find many points to

optimize my example, but at least it works for me :-)

 

 

florian

 

 

 

 

 

 

 

--------------------------------------------------------------------------------

 

 

> 

> --

> 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

> ObjectWeb mailing lists service home page: http://www.objectweb.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
ObjectWeb mailing lists service home page: http://www.objectweb.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Serving a static file with session-destroyed.xpl

joac
In reply to this post by joac

Dear Florian and Marcus,

 

The prototype.js still doesn’t work for all the pages.

When I am inserting elements with xforms:insert I’ve got the following error:

Error while processing response: Node cannot be inserted at the specified point in the hierarchy

 

Did you have the same problem and did you solve it?

 

Thanks,

Jordi

 


De: Jordi Amatller [mailto:[hidden email]]
Enviado el: viernes, 22 de junio de 2007 0:22
Para: [hidden email]
Asunto: RE: [ops-users] Serving a static file with session-destroyed.xpl

 

Hi Marcus,

 

This is what I've done if it can be helpful for you:

 

On every xhtml page:

<xforms:model id="main-model" xxforms:external-events="perform-autosave">

      <xxforms:script ev:event="xforms-ready">initAutoSave();</xxforms:script>

      <xforms:action id="action-autosave" ev:event="perform-autosave">

            <xforms:send submission="logout"/>

      </xforms:action>

      <xforms:submission id="logout" method="post" action="/logout"/>

 

On my main page-flow.xml:

<page id="exit" path-info="/logout">

<action action="/authentication/logout.xpl">

            <result page="my-home"/>

      </action>

</page>

 

And logout.xpl is only this:

<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"

          xmlns:oxf="http://www.orbeon.com/oxf/processors">

    <p:processor name="oxf:session-invalidator"/>

</p:config>

 

Regards,

Jordi

 

-----Mensaje original-----
De: Marcus [mailto:[hidden email]]
Enviado el: viernes, 22 de junio de 2007 0:07
Para: [hidden email]
Asunto: Re: [ops-users] Serving a static file with session-destroyed.xpl

 

Hi,

after letting the browser for more than a half day open i got the following

error message:

 

XForms error: oxf:/ops/xforms/xforms-server.xpl, line 55, column 103,

description reading processor output: null null

 

Does anyone knows what this means? Besides from that the Timer works fine

and also the user-session seems to be still alive and working. OK, that

would be the point to run a second timer, that loggs the user off, but keeps

the Ajax stuff still working!

Just like Jordi said - until the problems with sessions are not solves by

another way, this could be a good way.

But its also important to keep the concerns about too many sessions hold on

the server in mind, while not every webapp will have so few concurrent users

than ours.

 

Thanks for that stuff, Marcus

 

 

----- Original Message -----

From: "Jordi Amatller" <[hidden email]>

To: <[hidden email]>

Sent: Thursday, June 21, 2007 11:51 PM

Subject: RE: [ops-users] Serving a static file with session-destroyed.xpl

 

 

Thanks Florian,

 

It worked for me, this can be a good alternative until the session problems

are not fixed.

 

Regarding your source I had to declare as an external event like this:

 

<xforms:model id="main-model" xxforms:external-events="perform-autosave">

 

Best regards,

Jordi

 

-----Mensaje original-----

De: Florian Schmitt [mailto:[hidden email]]

Enviado el: miƩrcoles, 20 de junio de 2007 9:55

Para: [hidden email]

Asunto: Re: [ops-users] Serving a static file with session-destroyed.xpl

 

Hi,

 

> Does anyone of you every implemented such a JavaScript Timer and can

> offer the code here? That would be great!!

 

I've build a periodical backup functionality upon the PeriodicalExecuter

that's part of the prototype JavaScript library. It can quite easily be

changed to perform a redirect after a certain time.

 

1. Get the prototype lib at http://www.prototypejs.org/ (maybe it's

already incorporated in an OF jar???)

 

2. Make sure the lib is available to the browser on page load time -

i've inserted the necessary code in theme-plain.xsl after the link to

the orbeon.css:

 

<xhtml:link rel="stylesheet" href="/config/theme/orbeon.css"

type="text/css"/>

<xhtml:script type="text/javascript" src="javascript/my-own-lib.js" />

<xhtml:script type="text/javascript" src="javascript/prototype.js" />

 

3. To initialize the PeriodicalExecuter, i use a little function that

i've placed in my-own-lib.js (so i don't have to place the code in every

XForms page):

 

function initAutoSave() {

     var perEx = new PeriodicalExecuter(function(pe) {

         ORBEON.xforms.Document.dispatchEvent(

             "main-model",

             "perform-autosave");

     }, 40);

     if (!perEx){

         window.alert("Backup im Hintergrund konnte nicht instantiiert

werden!");

         return;

     } else {

         window.status = "Backup im Hintergrund instantiiert!";

     }

};

 

This instantiates a new PeriodicalExecuter that's triggered every 40

seconds and executes a dispatchEvent function. If the Instantiatin fails

a JS alert appears, otherwise a info in the status bar. The API Doc for

the PeriodicalExecuter is here:

http://www.prototypejs.org/api/periodicalExecuter

 

4. Call the function on page load time:

 

<xforms:model id="...">

     ....

     <xxforms:script ev:event="xforms-ready">

         initAutoSave();

     </xxforms:script>

</xforms:model>

 

5. Implement the Action that should get executed on the Execution of the

PeriodicalExecuter:

 

<xforms:model id="main-model">

     ...

     <xforms:action id="action-autosave" ev:event="perform-autosave">

         <xforms:recalculate model="main-model" />

         <xforms:send submission="autosave" />

         <xxforms:script ev:event="perform-autosave">

             var Jetzt = new Date();

             window.status = "Letztes Backup:" + Jetzt.toLocaleString() ;

         </xxforms:script>

     </xforms:action>

</xforms:model>

 

 

To perform a redirect, it should be sufficient to add a xforms:load

inside the action. I'm sure a javasript expert will find many points to

optimize my example, but at least it works for me :-)

 

 

florian

 

 

 

 

 

 

 

--------------------------------------------------------------------------------

 

 

> 

> --

> 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

> ObjectWeb mailing lists service home page: http://www.objectweb.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Serving a static file with session-destroyed.xpl

Erik Bruchez
Administrator
In reply to this post by Marcus-2
Marcus wrote:
> Hi,
> after letting the browser for more than a half day open i got the
> following error message:
>
> XForms error: oxf:/ops/xforms/xforms-server.xpl, line 55, column 103,
> description reading processor output: null null

There should be a detailed exception in your logs.

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Serving a static file with session-destroyed.xpl

Marcus-2
Hi Erik,
yes, here are some more details, but i still don't know what that means :-(
Regards, Marcus


2007-06-23 02:41:36,117 http-8085-5 ERROR webapp.ProcessorService  -
Exception at oxf:/ops/xforms/xforms-server.xpl, line 55, column 103,
description reading processor output
java.lang.NullPointerException
 at
org.orbeon.oxf.xforms.XFormsContainingDocument.createDynamicStateDocument(XFormsContainingDocument.java:998)
 at
org.orbeon.oxf.xforms.XFormsContainingDocument.createEncodedDynamicState(XFormsContainingDocument.java:982)
 at
org.orbeon.oxf.xforms.processor.XFormsServer.outputResponse(XFormsServer.java:319)
 at org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:264)
 at
org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:49)
 at
org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:78)
 at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:1012)
 at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:966)
 at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
 at
org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700(MSVValidationProcessor.java:44)
 at
org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MSVValidationProcessor.java:219)
 at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:1012)
 at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1195)
 at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:990)
 at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1195)
 at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
 at
org.orbeon.oxf.processor.serializer.legacy.XMLSerializer.readInput(XMLSerializer.java:58)
 at
org.orbeon.oxf.processor.serializer.HttpTextSerializer.readInput(HttpTextSerializer.java:54)
 at
org.orbeon.oxf.processor.serializer.HttpSerializerBase$1.read(HttpSerializerBase.java:147)
 at
org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:470)
 at
org.orbeon.oxf.processor.serializer.HttpSerializerBase.start(HttpSerializerBase.java:138)
 at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
 at
org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
 at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
 at
org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:233)
 at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
 at
org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
 at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
 at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:88)
 at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
 at
org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:148)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at
org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:188)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
 at
org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495)
 at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
 at
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
 at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
 at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
 at java.lang.Thread.run(Unknown Source)

2007-06-23 02:41:36,119 http-8085-5 INFO  webapp.ProcessorService  -
/xforms-server - Timing: 3204 - Cache hits: 596, fault: 287, adds: 281,
success rate: 67%
2007-06-23 02:41:36,120 http-8085-5 INFO  webapp.ProcessorService  -
/xforms-server - Received request
2007-06-23 02:41:36,162 http-8085-5 INFO  webapp.ProcessorService  -
/xforms-server - Timing: 42 - Cache hits: 4, fault: 3, adds: 3, success
rate: 57%
2007-06-23 02:41:36,818 http-8085-5 INFO  webapp.ProcessorService  -
/ops/images/xforms/error.gif - Received request
2007-06-23 02:41:36,835 http-8085-5 INFO  webapp.ProcessorService  -
/ops/images/xforms/error.gif - Timing: 17 - Cache hits: 15, fault: 5, adds:
5, success rate: 75%
2007-06-23 02:41:39,538 http-8085-5 INFO  webapp.ProcessorService  -
/xforms-server - Received request
2007-06-23 02:41:39,576 http-8085-5 DEBUG processor.XFormsServer  - XForms -
session cache: found and refreshed entry.
2007-06-23 02:41:39,576 http-8085-5 DEBUG processor.XFormsServer  - XForms -
session cache: found and refreshed entry.
2007-06-23 02:41:39,577 http-8085-5 DEBUG processor.XFormsServer  - XForms -
containing document cache (getContainingDocument): did not find document
pool in cache.
2007-06-23 02:41:39,578 http-8085-5 DEBUG processor.XFormsServer  - XForms -
creating new ContainingDocument (static state object not provided).
2007-06-23 02:41:40,286 http-8085-5 DEBUG processor.XFormsServer  - XForms -
building controls state start.
2007-06-23 02:41:40,941 http-8085-5 DEBUG processor.XFormsServer  - XForms -
building controls state end: 655 ms.
2007-06-23 02:41:41,009 http-8085-5 ERROR webapp.ProcessorService  -
Exception at oxf:/ops/xforms/xforms-server.xpl, line 55, column 103,
description reading processor output
java.lang.NullPointerException
 at org.orbeon.oxf.xforms.XFormsModel.getObjectByid(XFormsModel.java:159)
 at
org.orbeon.oxf.xforms.XFormsContainingDocument.getObjectById(XFormsContainingDocument.java:316)
 at
org.orbeon.oxf.xforms.XFormsContainingDocument.executeExternalEvent(XFormsContainingDocument.java:567)
 at
org.orbeon.oxf.xforms.processor.XFormsServer.executeExternalEventPrepareIfNecessary(XFormsServer.java:289)
 at org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:244)
 at
org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:49)
 at
org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:78)
 at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:1012)
 at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:966)
 at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
 at
org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700(MSVValidationProcessor.java:44)
 at
org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MSVValidationProcessor.java:219)
 at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:1012)
 at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1195)
 at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:990)
 at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1195)
 at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
 at
org.orbeon.oxf.processor.serializer.legacy.XMLSerializer.readInput(XMLSerializer.java:58)
 at
org.orbeon.oxf.processor.serializer.HttpTextSerializer.readInput(HttpTextSerializer.java:54)
 at
org.orbeon.oxf.processor.serializer.HttpSerializerBase$1.read(HttpSerializerBase.java:147)
 at
org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:470)
 at
org.orbeon.oxf.processor.serializer.HttpSerializerBase.start(HttpSerializerBase.java:138)
 at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
 at
org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
 at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
 at
org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:233)
 at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
 at
org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
 at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
 at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:88)
 at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
 at
org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:148)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at
org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:188)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
 at
org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495)
 at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
 at
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
 at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
 at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
 at java.lang.Thread.run(Unknown Source)

2007-06-23 02:41:42,525 http-8085-5 INFO  webapp.ProcessorService  -
/xforms-server - Timing: 1373 - Cache hits: 602, fault: 270, adds: 268,
success rate: 69%
2007-06-23 02:41:42,526 http-8085-5 INFO  webapp.ProcessorService  -
/xforms-server - Received request
2007-06-23 02:41:42,562 http-8085-5 INFO  webapp.ProcessorService  -
/xforms-server - Timing: 36 - Cache hits: 2, fault: 0, adds: 0, success
rate: 100%




--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Serving a static file with session-destroyed.xpl

Erik Bruchez
Administrator
In reply to this post by Marcus-2
Marcus,

No idea. What's the exception in the logs?

-Erik

Marcus wrote:

> Hi,
> anyone something new on that error-message?
>
> XForms error: oxf:/ops/xforms/xforms-server.xpl, line 55, column 103,
> description reading processor output: null nullI had that never before,
> only since i integrated that JavaScript Timer :-((Seems that it may
> cause another bug :-(Any ideas what this could be?Thanks, Marcus
>
>     ----- Original Message -----
>     *From:* Jordi Amatller <mailto:[hidden email]>
>     *To:* [hidden email] <mailto:[hidden email]>
>     *Sent:* Friday, June 22, 2007 12:21 AM
>     *Subject:* RE: [ops-users] Serving a static file with
>     session-destroyed.xpl
>
>     Hi Marcus,
>
>      
>
>     This is what I've done if it can be helpful for you:
>
>      
>
>     On every xhtml page:
>
>     <xforms:model id="main-model"
>     xxforms:external-events="perform-autosave">
>
>           <xxforms:script
>     ev:event="xforms-ready">initAutoSave();</xxforms:script>
>
>           <xforms:action id="action-autosave" ev:event="perform-autosave">
>
>                 <xforms:send submission="logout"/>
>
>           </xforms:action>
>
>           <xforms:submission id="logout" method="post" action="/logout"/>
>
>      
>
>     On my main page-flow.xml:
>
>     <page id="exit" path-info="/logout">
>
>     <action action="/authentication/logout.xpl">
>
>                 <result page="my-home"/>
>
>           </action>
>
>     </page>
>
>      
>
>     And logout.xpl is only this:
>
>     <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
>
>               xmlns:oxf="http://www.orbeon.com/oxf/processors">
>
>         <p:processor name="oxf:session-invalidator"/>
>
>     </p:config>
>
>      
>
>     Regards,
>
>     Jordi
>
>      
>
>     -----Mensaje original-----
>     De: Marcus [mailto:[hidden email]]
>     Enviado el: viernes, 22 de junio de 2007 0:07
>     Para: [hidden email]
>     Asunto: Re: [ops-users] Serving a static file with session-destroyed.xpl
>
>      
>
>     Hi,
>
>     after letting the browser for more than a half day open i got the
>     following
>
>     error message:
>
>      
>
>     XForms error: oxf:/ops/xforms/xforms-server.xpl, line 55, column 103,
>
>     description reading processor output: null null
>
>      
>
>     Does anyone knows what this means? Besides from that the Timer works
>     fine
>
>     and also the user-session seems to be still alive and working. OK, that
>
>     would be the point to run a second timer, that loggs the user off,
>     but keeps
>
>     the Ajax stuff still working!
>
>     Just like Jordi said - until the problems with sessions are not
>     solves by
>
>     another way, this could be a good way.
>
>     But its also important to keep the concerns about too many sessions
>     hold on
>
>     the server in mind, while not every webapp will have so few
>     concurrent users
>
>     than ours.
>
>      
>
>     Thanks for that stuff, Marcus
>
>      
>
>      
>
>     ----- Original Message -----
>
>     From: "Jordi Amatller" <[hidden email]>
>
>     To: <[hidden email]>
>
>     Sent: Thursday, June 21, 2007 11:51 PM
>
>     Subject: RE: [ops-users] Serving a static file with
>     session-destroyed.xpl
>
>      
>
>      
>
>     Thanks Florian,
>
>      
>
>     It worked for me, this can be a good alternative until the session
>     problems
>
>     are not fixed.
>
>      
>
>     Regarding your source I had to declare as an external event like this:
>
>      
>
>     <xforms:model id="main-model"
>     xxforms:external-events="perform-autosave">
>
>      
>
>     Best regards,
>
>     Jordi
>
>      
>
>     -----Mensaje original-----
>
>     De: Florian Schmitt [mailto:[hidden email]]
>
>     Enviado el: miĆ©rcoles, 20 de junio de 2007 9:55
>
>     Para: [hidden email]
>
>     Asunto: Re: [ops-users] Serving a static file with session-destroyed.xpl
>
>      
>
>     Hi,
>
>      
>
>     >  Does anyone of you every implemented such a JavaScript Timer and can
>
>     >  offer the code here? That would be great!!
>
>      
>
>     I've build a periodical backup functionality upon the PeriodicalExecuter
>
>     that's part of the prototype JavaScript library. It can quite easily be
>
>     changed to perform a redirect after a certain time.
>
>      
>
>     1. Get the prototype lib at http://www.prototypejs.org/ (maybe it's
>
>     already incorporated in an OF jar???)
>
>      
>
>     2. Make sure the lib is available to the browser on page load time -
>
>     i've inserted the necessary code in theme-plain.xsl after the link to
>
>     the orbeon.css:
>
>      
>
>     <xhtml:link rel="stylesheet" href="/config/theme/orbeon.css"
>
>     type="text/css"/>
>
>     <xhtml:script type="text/javascript" src="javascript/my-own-lib.js" />
>
>     <xhtml:script type="text/javascript" src="javascript/prototype.js" />
>
>      
>
>     3. To initialize the PeriodicalExecuter, i use a little function that
>
>     i've placed in my-own-lib.js (so i don't have to place the code in every
>
>     XForms page):
>
>      
>
>     function initAutoSave() {
>
>          var perEx = new PeriodicalExecuter(function(pe) {
>
>              ORBEON.xforms.Document.dispatchEvent(
>
>                  "main-model",
>
>                  "perform-autosave");
>
>          }, 40);
>
>          if (!perEx){
>
>              window.alert("Backup im Hintergrund konnte nicht instantiiert
>
>     werden!");
>
>              return;
>
>          } else {
>
>              window.status = "Backup im Hintergrund instantiiert!";
>
>          }
>
>     };
>
>      
>
>     This instantiates a new PeriodicalExecuter that's triggered every 40
>
>     seconds and executes a dispatchEvent function. If the Instantiatin fails
>
>     a JS alert appears, otherwise a info in the status bar. The API Doc for
>
>     the PeriodicalExecuter is here:
>
>     http://www.prototypejs.org/api/periodicalExecuter
>
>      
>
>     4. Call the function on page load time:
>
>      
>
>     <xforms:model id="...">
>
>          ....
>
>          <xxforms:script ev:event="xforms-ready">
>
>              initAutoSave();
>
>          </xxforms:script>
>
>     </xforms:model>
>
>      
>
>     5. Implement the Action that should get executed on the Execution of the
>
>     PeriodicalExecuter:
>
>      
>
>     <xforms:model id="main-model">
>
>          ...
>
>          <xforms:action id="action-autosave" ev:event="perform-autosave">
>
>              <xforms:recalculate model="main-model" />
>
>              <xforms:send submission="autosave" />
>
>              <xxforms:script ev:event="perform-autosave">
>
>                  var Jetzt = new Date();
>
>                  window.status = "Letztes Backup:" +
>     Jetzt.toLocaleString() ;
>
>              </xxforms:script>
>
>          </xforms:action>
>
>     </xforms:model>
>
>      
>
>      
>
>     To perform a redirect, it should be sufficient to add a xforms:load
>
>     inside the action. I'm sure a javasript expert will find many points to
>
>     optimize my example, but at least it works for me :-)
>
>      
>
>      
>
>     florian
>
>      
>
>      
>
>      
>
>      
>
>      
>
>      
>
>      
>
>     --------------------------------------------------------------------------------
>
>      
>
>      
>
>     >
>
>     >  --
>
>     >  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
>
>     >  ObjectWeb mailing lists service home page:
>     http://www.objectweb.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
>     ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Serving a static file with session-destroyed.xpl

Erik Bruchez
Administrator
In reply to this post by Marcus-2
Interesting. However line 998 is pointing to a comment in the latest
code. What build are you using? Can you try with the latest nightly and
report the latest line number?

-Erik

Marcus wrote:

> Hi Erik,
> yes, here are some more details, but i still don't know what that means :-(
> Regards, Marcus
>
>
> 2007-06-23 02:41:36,117 http-8085-5 ERROR webapp.ProcessorService  -
> Exception at oxf:/ops/xforms/xforms-server.xpl, line 55, column 103,
> description reading processor output
> java.lang.NullPointerException
> at
> org.orbeon.oxf.xforms.XFormsContainingDocument.createDynamicStateDocument(XFormsContainingDocument.java:998)
>
> at
> org.orbeon.oxf.xforms.XFormsContainingDocument.createEncodedDynamicState(XFormsContainingDocument.java:982)
>
> at
> org.orbeon.oxf.xforms.processor.XFormsServer.outputResponse(XFormsServer.java:319)
>
> at org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:264)
> at
> org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:49)
>
> at
> org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:78)
>
> at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:1012)
> at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:966)
>
> at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
>
> at
> org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700(MSVValidationProcessor.java:44)
>
> at
> org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MSVValidationProcessor.java:219)
>
> at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:1012)
> at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1195)
>
> at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:990)
>
> at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1195)
>
> at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
>
> at
> org.orbeon.oxf.processor.serializer.legacy.XMLSerializer.readInput(XMLSerializer.java:58)
>
> at
> org.orbeon.oxf.processor.serializer.HttpTextSerializer.readInput(HttpTextSerializer.java:54)
>
> at
> org.orbeon.oxf.processor.serializer.HttpSerializerBase$1.read(HttpSerializerBase.java:147)
>
> at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:470)
>
> at
> org.orbeon.oxf.processor.serializer.HttpSerializerBase.start(HttpSerializerBase.java:138)
>
> at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
>
> at
> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
>
> at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
>
> at
> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:233)
>
> at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
>
> at
> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
>
> at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
>
> at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:88)
> at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
> at
> org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:148)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
> at
> org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:188)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>
> at
> org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495)
>
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> at
> org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392)
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> at
> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
>
> at
> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
>
> at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
> at java.lang.Thread.run(Unknown Source)
>
> 2007-06-23 02:41:36,119 http-8085-5 INFO  webapp.ProcessorService  -
> /xforms-server - Timing: 3204 - Cache hits: 596, fault: 287, adds: 281,
> success rate: 67%
> 2007-06-23 02:41:36,120 http-8085-5 INFO  webapp.ProcessorService  -
> /xforms-server - Received request
> 2007-06-23 02:41:36,162 http-8085-5 INFO  webapp.ProcessorService  -
> /xforms-server - Timing: 42 - Cache hits: 4, fault: 3, adds: 3, success
> rate: 57%
> 2007-06-23 02:41:36,818 http-8085-5 INFO  webapp.ProcessorService  -
> /ops/images/xforms/error.gif - Received request
> 2007-06-23 02:41:36,835 http-8085-5 INFO  webapp.ProcessorService  -
> /ops/images/xforms/error.gif - Timing: 17 - Cache hits: 15, fault: 5,
> adds: 5, success rate: 75%
> 2007-06-23 02:41:39,538 http-8085-5 INFO  webapp.ProcessorService  -
> /xforms-server - Received request
> 2007-06-23 02:41:39,576 http-8085-5 DEBUG processor.XFormsServer  -
> XForms - session cache: found and refreshed entry.
> 2007-06-23 02:41:39,576 http-8085-5 DEBUG processor.XFormsServer  -
> XForms - session cache: found and refreshed entry.
> 2007-06-23 02:41:39,577 http-8085-5 DEBUG processor.XFormsServer  -
> XForms - containing document cache (getContainingDocument): did not find
> document pool in cache.
> 2007-06-23 02:41:39,578 http-8085-5 DEBUG processor.XFormsServer  -
> XForms - creating new ContainingDocument (static state object not
> provided).
> 2007-06-23 02:41:40,286 http-8085-5 DEBUG processor.XFormsServer  -
> XForms - building controls state start.
> 2007-06-23 02:41:40,941 http-8085-5 DEBUG processor.XFormsServer  -
> XForms - building controls state end: 655 ms.
> 2007-06-23 02:41:41,009 http-8085-5 ERROR webapp.ProcessorService  -
> Exception at oxf:/ops/xforms/xforms-server.xpl, line 55, column 103,
> description reading processor output
> java.lang.NullPointerException
> at org.orbeon.oxf.xforms.XFormsModel.getObjectByid(XFormsModel.java:159)
> at
> org.orbeon.oxf.xforms.XFormsContainingDocument.getObjectById(XFormsContainingDocument.java:316)
>
> at
> org.orbeon.oxf.xforms.XFormsContainingDocument.executeExternalEvent(XFormsContainingDocument.java:567)
>
> at
> org.orbeon.oxf.xforms.processor.XFormsServer.executeExternalEventPrepareIfNecessary(XFormsServer.java:289)
>
> at org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:244)
> at
> org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:49)
>
> at
> org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:78)
>
> at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:1012)
> at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:966)
>
> at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
>
> at
> org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700(MSVValidationProcessor.java:44)
>
> at
> org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MSVValidationProcessor.java:219)
>
> at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:1012)
> at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1195)
>
> at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:990)
>
> at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1195)
>
> at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
>
> at
> org.orbeon.oxf.processor.serializer.legacy.XMLSerializer.readInput(XMLSerializer.java:58)
>
> at
> org.orbeon.oxf.processor.serializer.HttpTextSerializer.readInput(HttpTextSerializer.java:54)
>
> at
> org.orbeon.oxf.processor.serializer.HttpSerializerBase$1.read(HttpSerializerBase.java:147)
>
> at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:470)
>
> at
> org.orbeon.oxf.processor.serializer.HttpSerializerBase.start(HttpSerializerBase.java:138)
>
> at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
>
> at
> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
>
> at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
>
> at
> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:233)
>
> at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
>
> at
> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
>
> at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
>
> at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:88)
> at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
> at
> org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:148)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
> at
> org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:188)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>
> at
> org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495)
>
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> at
> org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392)
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> at
> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
>
> at
> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
>
> at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
> at java.lang.Thread.run(Unknown Source)
>
> 2007-06-23 02:41:42,525 http-8085-5 INFO  webapp.ProcessorService  -
> /xforms-server - Timing: 1373 - Cache hits: 602, fault: 270, adds: 268,
> success rate: 69%
> 2007-06-23 02:41:42,526 http-8085-5 INFO  webapp.ProcessorService  -
> /xforms-server - Received request
> 2007-06-23 02:41:42,562 http-8085-5 INFO  webapp.ProcessorService  -
> /xforms-server - Timing: 36 - Cache hits: 2, fault: 0, adds: 0, success
> rate: 100%
>
>

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Serving a static file with session-destroyed.xpl

Marcus-2
Hi Erik,

i tried today to update to the latest Nightlybuild and now we have to wait a
bit, while i have no idea how to reproduce the error-message. If there is
something new on that, i will inform you!
Thanks for your help.

Marcus


----- Original Message -----
From: "Erik Bruchez" <[hidden email]>
To: <[hidden email]>
Sent: Saturday, June 23, 2007 4:12 PM
Subject: Re: [ops-users] Serving a static file with session-destroyed.xpl


> Interesting. However line 998 is pointing to a comment in the latest
> code. What build are you using? Can you try with the latest nightly and
> report the latest line number?
>
> -Erik
>
> Marcus wrote:
>> Hi Erik,
>> yes, here are some more details, but i still don't know what that means
>> :-(
>> Regards, Marcus
>>
>>
>> 2007-06-23 02:41:36,117 http-8085-5 ERROR webapp.ProcessorService  -
>> Exception at oxf:/ops/xforms/xforms-server.xpl, line 55, column 103,
>> description reading processor output
>> java.lang.NullPointerException
>> at
>> org.orbeon.oxf.xforms.XFormsContainingDocument.createDynamicStateDocument(XFormsContainingDocument.java:998)
>>
>> at
>> org.orbeon.oxf.xforms.XFormsContainingDocument.createEncodedDynamicState(XFormsContainingDocument.java:982)
>>
>> at
>> org.orbeon.oxf.xforms.processor.XFormsServer.outputResponse(XFormsServer.java:319)
>>
>> at
>> org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:264)
>> at
>> org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:49)
>>
>> at
>> org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:78)
>>
>> at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:1012)
>> at
>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:966)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
>>
>> at
>> org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700(MSVValidationProcessor.java:44)
>>
>> at
>> org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MSVValidationProcessor.java:219)
>>
>> at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:1012)
>> at
>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1195)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:990)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1195)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
>>
>> at
>> org.orbeon.oxf.processor.serializer.legacy.XMLSerializer.readInput(XMLSerializer.java:58)
>>
>> at
>> org.orbeon.oxf.processor.serializer.HttpTextSerializer.readInput(HttpTextSerializer.java:54)
>>
>> at
>> org.orbeon.oxf.processor.serializer.HttpSerializerBase$1.read(HttpSerializerBase.java:147)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:470)
>>
>> at
>> org.orbeon.oxf.processor.serializer.HttpSerializerBase.start(HttpSerializerBase.java:138)
>>
>> at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
>>
>> at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
>>
>> at
>> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:233)
>>
>> at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
>>
>> at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
>>
>> at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:88)
>> at
>> org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
>> at
>> org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:148)
>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>
>> at
>> org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:188)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>
>> at
>> org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495)
>>
>> at
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> at
>> org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392)
>>
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> at
>> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
>>
>> at
>> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
>>
>> at
>> org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
>> at java.lang.Thread.run(Unknown Source)
>>
>> 2007-06-23 02:41:36,119 http-8085-5 INFO  webapp.ProcessorService  -
>> /xforms-server - Timing: 3204 - Cache hits: 596, fault: 287, adds: 281,
>> success rate: 67%
>> 2007-06-23 02:41:36,120 http-8085-5 INFO  webapp.ProcessorService  -
>> /xforms-server - Received request
>> 2007-06-23 02:41:36,162 http-8085-5 INFO  webapp.ProcessorService  -
>> /xforms-server - Timing: 42 - Cache hits: 4, fault: 3, adds: 3, success
>> rate: 57%
>> 2007-06-23 02:41:36,818 http-8085-5 INFO  webapp.ProcessorService  -
>> /ops/images/xforms/error.gif - Received request
>> 2007-06-23 02:41:36,835 http-8085-5 INFO  webapp.ProcessorService  -
>> /ops/images/xforms/error.gif - Timing: 17 - Cache hits: 15, fault: 5,
>> adds: 5, success rate: 75%
>> 2007-06-23 02:41:39,538 http-8085-5 INFO  webapp.ProcessorService  -
>> /xforms-server - Received request
>> 2007-06-23 02:41:39,576 http-8085-5 DEBUG processor.XFormsServer  -
>> XForms - session cache: found and refreshed entry.
>> 2007-06-23 02:41:39,576 http-8085-5 DEBUG processor.XFormsServer  -
>> XForms - session cache: found and refreshed entry.
>> 2007-06-23 02:41:39,577 http-8085-5 DEBUG processor.XFormsServer  -
>> XForms - containing document cache (getContainingDocument): did not find
>> document pool in cache.
>> 2007-06-23 02:41:39,578 http-8085-5 DEBUG processor.XFormsServer  -
>> XForms - creating new ContainingDocument (static state object not
>> provided).
>> 2007-06-23 02:41:40,286 http-8085-5 DEBUG processor.XFormsServer  -
>> XForms - building controls state start.
>> 2007-06-23 02:41:40,941 http-8085-5 DEBUG processor.XFormsServer  -
>> XForms - building controls state end: 655 ms.
>> 2007-06-23 02:41:41,009 http-8085-5 ERROR webapp.ProcessorService  -
>> Exception at oxf:/ops/xforms/xforms-server.xpl, line 55, column 103,
>> description reading processor output
>> java.lang.NullPointerException
>> at org.orbeon.oxf.xforms.XFormsModel.getObjectByid(XFormsModel.java:159)
>> at
>> org.orbeon.oxf.xforms.XFormsContainingDocument.getObjectById(XFormsContainingDocument.java:316)
>>
>> at
>> org.orbeon.oxf.xforms.XFormsContainingDocument.executeExternalEvent(XFormsContainingDocument.java:567)
>>
>> at
>> org.orbeon.oxf.xforms.processor.XFormsServer.executeExternalEventPrepareIfNecessary(XFormsServer.java:289)
>>
>> at
>> org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:244)
>> at
>> org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:49)
>>
>> at
>> org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:78)
>>
>> at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:1012)
>> at
>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:966)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
>>
>> at
>> org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700(MSVValidationProcessor.java:44)
>>
>> at
>> org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MSVValidationProcessor.java:219)
>>
>> at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:1012)
>> at
>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1195)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:990)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1195)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
>>
>> at
>> org.orbeon.oxf.processor.serializer.legacy.XMLSerializer.readInput(XMLSerializer.java:58)
>>
>> at
>> org.orbeon.oxf.processor.serializer.HttpTextSerializer.readInput(HttpTextSerializer.java:54)
>>
>> at
>> org.orbeon.oxf.processor.serializer.HttpSerializerBase$1.read(HttpSerializerBase.java:147)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:470)
>>
>> at
>> org.orbeon.oxf.processor.serializer.HttpSerializerBase.start(HttpSerializerBase.java:138)
>>
>> at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
>>
>> at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
>>
>> at
>> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:233)
>>
>> at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
>>
>> at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
>>
>> at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:88)
>> at
>> org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
>> at
>> org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:148)
>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>
>> at
>> org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:188)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>
>> at
>> org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495)
>>
>> at
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> at
>> org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392)
>>
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> at
>> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
>>
>> at
>> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
>>
>> at
>> org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
>> at java.lang.Thread.run(Unknown Source)
>>
>> 2007-06-23 02:41:42,525 http-8085-5 INFO  webapp.ProcessorService  -
>> /xforms-server - Timing: 1373 - Cache hits: 602, fault: 270, adds: 268,
>> success rate: 69%
>> 2007-06-23 02:41:42,526 http-8085-5 INFO  webapp.ProcessorService  -
>> /xforms-server - Received request
>> 2007-06-23 02:41:42,562 http-8085-5 INFO  webapp.ProcessorService  -
>> /xforms-server - Timing: 36 - Cache hits: 2, fault: 0, adds: 0, success
>> rate: 100%
>>
>>
>
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
>

--------------------------------------------------------------------------------


>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Serving a static file with session-destroyed.xpl

Marcus-2
In reply to this post by Erik Bruchez
Hi Erik,
i just updated to the last Nightlybuild, and first everythings seems to work
fine, but no i'm getting more often Errors and don't know why. Only "XForms
Error" at the top of the page, but without any further information :-(
Also the JavaScript Timer that Florian "provided" seems not to work any more
for the catch :-( The Session is kept alive, but the typical "Can't retrieve
from session state" (or similar) apears also more often again :-(

That the content of my log at for the last Error-Message:
2007-06-29 13:04:59,091 http-8085-6 INFO  webapp.ProcessorService  -
/xforms-server - Received request
2007-06-29 13:04:59,405 http-8085-6 ERROR webapp.ProcessorService  -
Exception at oxf:/ops/xforms/xforms-server.xpl, line 55, column 103,
description reading processor output
java.lang.NullPointerException
 at org.orbeon.oxf.xforms.XFormsModel.getObjectByid(XFormsModel.java:160)
 at
org.orbeon.oxf.xforms.XFormsContainingDocument.getObjectById(XFormsContainingDocument.java:319)
 at
org.orbeon.oxf.xforms.XFormsContainingDocument.executeExternalEvent(XFormsContainingDocument.java:570)
 at
org.orbeon.oxf.xforms.processor.XFormsServer.executeExternalEventPrepareIfNecessary(XFormsServer.java:291)
 at org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:246)
 at
org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:49)
 at
org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:78)
 at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1031)
 at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:985)
 at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349)
 at
org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700(MSVValidationProcessor.java:44)
 at
org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MSVValidationProcessor.java:219)
 at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1031)
 at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1214)
 at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:1009)
 at
org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1214)
 at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349)
 at
org.orbeon.oxf.processor.serializer.legacy.XMLSerializer.readInput(XMLSerializer.java:58)
 at
org.orbeon.oxf.processor.serializer.HttpTextSerializer.readInput(HttpTextSerializer.java:54)
 at
org.orbeon.oxf.processor.serializer.HttpSerializerBase$1.read(HttpSerializerBase.java:147)
 at
org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:489)
 at
org.orbeon.oxf.processor.serializer.HttpSerializerBase.start(HttpSerializerBase.java:138)
 at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
 at
org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:555)
 at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
 at
org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:230)
 at
org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
 at
org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:555)
 at
org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
 at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:88)
 at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
 at
org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:148)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at
org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:188)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
 at
org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495)
 at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
 at
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
 at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
 at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
 at java.lang.Thread.run(Unknown Source)

Hope that helps to find an answer! :-(
Marcus



----- Original Message -----
From: "Erik Bruchez" <[hidden email]>
To: <[hidden email]>
Sent: Saturday, June 23, 2007 4:12 PM
Subject: Re: [ops-users] Serving a static file with session-destroyed.xpl


> Interesting. However line 998 is pointing to a comment in the latest
> code. What build are you using? Can you try with the latest nightly and
> report the latest line number?
>
> -Erik
>
> Marcus wrote:
>> Hi Erik,
>> yes, here are some more details, but i still don't know what that means
>> :-(
>> Regards, Marcus
>>
>>
>> 2007-06-23 02:41:36,117 http-8085-5 ERROR webapp.ProcessorService  -
>> Exception at oxf:/ops/xforms/xforms-server.xpl, line 55, column 103,
>> description reading processor output
>> java.lang.NullPointerException
>> at
>> org.orbeon.oxf.xforms.XFormsContainingDocument.createDynamicStateDocument(XFormsContainingDocument.java:998)
>>
>> at
>> org.orbeon.oxf.xforms.XFormsContainingDocument.createEncodedDynamicState(XFormsContainingDocument.java:982)
>>
>> at
>> org.orbeon.oxf.xforms.processor.XFormsServer.outputResponse(XFormsServer.java:319)
>>
>> at
>> org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:264)
>> at
>> org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:49)
>>
>> at
>> org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:78)
>>
>> at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:1012)
>> at
>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:966)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
>>
>> at
>> org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700(MSVValidationProcessor.java:44)
>>
>> at
>> org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MSVValidationProcessor.java:219)
>>
>> at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:1012)
>> at
>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1195)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:990)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1195)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
>>
>> at
>> org.orbeon.oxf.processor.serializer.legacy.XMLSerializer.readInput(XMLSerializer.java:58)
>>
>> at
>> org.orbeon.oxf.processor.serializer.HttpTextSerializer.readInput(HttpTextSerializer.java:54)
>>
>> at
>> org.orbeon.oxf.processor.serializer.HttpSerializerBase$1.read(HttpSerializerBase.java:147)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:470)
>>
>> at
>> org.orbeon.oxf.processor.serializer.HttpSerializerBase.start(HttpSerializerBase.java:138)
>>
>> at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
>>
>> at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
>>
>> at
>> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:233)
>>
>> at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
>>
>> at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
>>
>> at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:88)
>> at
>> org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
>> at
>> org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:148)
>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>
>> at
>> org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:188)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>
>> at
>> org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495)
>>
>> at
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> at
>> org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392)
>>
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> at
>> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
>>
>> at
>> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
>>
>> at
>> org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
>> at java.lang.Thread.run(Unknown Source)
>>
>> 2007-06-23 02:41:36,119 http-8085-5 INFO  webapp.ProcessorService  -
>> /xforms-server - Timing: 3204 - Cache hits: 596, fault: 287, adds: 281,
>> success rate: 67%
>> 2007-06-23 02:41:36,120 http-8085-5 INFO  webapp.ProcessorService  -
>> /xforms-server - Received request
>> 2007-06-23 02:41:36,162 http-8085-5 INFO  webapp.ProcessorService  -
>> /xforms-server - Timing: 42 - Cache hits: 4, fault: 3, adds: 3, success
>> rate: 57%
>> 2007-06-23 02:41:36,818 http-8085-5 INFO  webapp.ProcessorService  -
>> /ops/images/xforms/error.gif - Received request
>> 2007-06-23 02:41:36,835 http-8085-5 INFO  webapp.ProcessorService  -
>> /ops/images/xforms/error.gif - Timing: 17 - Cache hits: 15, fault: 5,
>> adds: 5, success rate: 75%
>> 2007-06-23 02:41:39,538 http-8085-5 INFO  webapp.ProcessorService  -
>> /xforms-server - Received request
>> 2007-06-23 02:41:39,576 http-8085-5 DEBUG processor.XFormsServer  -
>> XForms - session cache: found and refreshed entry.
>> 2007-06-23 02:41:39,576 http-8085-5 DEBUG processor.XFormsServer  -
>> XForms - session cache: found and refreshed entry.
>> 2007-06-23 02:41:39,577 http-8085-5 DEBUG processor.XFormsServer  -
>> XForms - containing document cache (getContainingDocument): did not find
>> document pool in cache.
>> 2007-06-23 02:41:39,578 http-8085-5 DEBUG processor.XFormsServer  -
>> XForms - creating new ContainingDocument (static state object not
>> provided).
>> 2007-06-23 02:41:40,286 http-8085-5 DEBUG processor.XFormsServer  -
>> XForms - building controls state start.
>> 2007-06-23 02:41:40,941 http-8085-5 DEBUG processor.XFormsServer  -
>> XForms - building controls state end: 655 ms.
>> 2007-06-23 02:41:41,009 http-8085-5 ERROR webapp.ProcessorService  -
>> Exception at oxf:/ops/xforms/xforms-server.xpl, line 55, column 103,
>> description reading processor output
>> java.lang.NullPointerException
>> at org.orbeon.oxf.xforms.XFormsModel.getObjectByid(XFormsModel.java:159)
>> at
>> org.orbeon.oxf.xforms.XFormsContainingDocument.getObjectById(XFormsContainingDocument.java:316)
>>
>> at
>> org.orbeon.oxf.xforms.XFormsContainingDocument.executeExternalEvent(XFormsContainingDocument.java:567)
>>
>> at
>> org.orbeon.oxf.xforms.processor.XFormsServer.executeExternalEventPrepareIfNecessary(XFormsServer.java:289)
>>
>> at
>> org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:244)
>> at
>> org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:49)
>>
>> at
>> org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:78)
>>
>> at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:1012)
>> at
>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:966)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
>>
>> at
>> org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700(MSVValidationProcessor.java:44)
>>
>> at
>> org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MSVValidationProcessor.java:219)
>>
>> at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:1012)
>> at
>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1195)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:990)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1195)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
>>
>> at
>> org.orbeon.oxf.processor.serializer.legacy.XMLSerializer.readInput(XMLSerializer.java:58)
>>
>> at
>> org.orbeon.oxf.processor.serializer.HttpTextSerializer.readInput(HttpTextSerializer.java:54)
>>
>> at
>> org.orbeon.oxf.processor.serializer.HttpSerializerBase$1.read(HttpSerializerBase.java:147)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:470)
>>
>> at
>> org.orbeon.oxf.processor.serializer.HttpSerializerBase.start(HttpSerializerBase.java:138)
>>
>> at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
>>
>> at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
>>
>> at
>> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:233)
>>
>> at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
>>
>> at
>> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
>>
>> at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
>>
>> at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:88)
>> at
>> org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
>> at
>> org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:148)
>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>
>> at
>> org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:188)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>
>> at
>> org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495)
>>
>> at
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> at
>> org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392)
>>
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> at
>> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
>>
>> at
>> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
>>
>> at
>> org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
>> at java.lang.Thread.run(Unknown Source)
>>
>> 2007-06-23 02:41:42,525 http-8085-5 INFO  webapp.ProcessorService  -
>> /xforms-server - Timing: 1373 - Cache hits: 602, fault: 270, adds: 268,
>> success rate: 69%
>> 2007-06-23 02:41:42,526 http-8085-5 INFO  webapp.ProcessorService  -
>> /xforms-server - Received request
>> 2007-06-23 02:41:42,562 http-8085-5 INFO  webapp.ProcessorService  -
>> /xforms-server - Timing: 36 - Cache hits: 2, fault: 0, adds: 0, success
>> rate: 100%
>>
>>
>
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
>

--------------------------------------------------------------------------------


>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Serving a static file with session-destroyed.xpl

Erik Bruchez
Administrator
Marcus,

If we are in sync, it is doing the NPE on this line:

final XFormsInstance instance = (XFormsInstance) instancesMap.get(id);

this seems to mean that instancesMap is null, but I am not sure why it
can be null at all in this case. However, in other places we test on
null before going forward, so I am putting this test there as well. Not
sure if that will do much for you though.

Note that we moved some files out of RESOURCES/config to
ops-resources-private.jar. That includes error.xpl and error.xsl. So you
may want to remove these files so that you get correct errors. Also, be
sure to empty your browser cache before trying again.

-Erik

Marcus wrote:

> Hi Erik,
> i just updated to the last Nightlybuild, and first everythings seems to
> work fine, but no i'm getting more often Errors and don't know why. Only
> "XForms Error" at the top of the page, but without any further
> information :-(
> Also the JavaScript Timer that Florian "provided" seems not to work any
> more for the catch :-( The Session is kept alive, but the typical "Can't
> retrieve from session state" (or similar) apears also more often again :-(
>
> That the content of my log at for the last Error-Message:
> 2007-06-29 13:04:59,091 http-8085-6 INFO  webapp.ProcessorService  -
> /xforms-server - Received request
> 2007-06-29 13:04:59,405 http-8085-6 ERROR webapp.ProcessorService  -
> Exception at oxf:/ops/xforms/xforms-server.xpl, line 55, column 103,
> description reading processor output
> java.lang.NullPointerException
> at org.orbeon.oxf.xforms.XFormsModel.getObjectByid(XFormsModel.java:160)
> at
> org.orbeon.oxf.xforms.XFormsContainingDocument.getObjectById(XFormsContainingDocument.java:319)
>
> at
> org.orbeon.oxf.xforms.XFormsContainingDocument.executeExternalEvent(XFormsContainingDocument.java:570)
>
> at
> org.orbeon.oxf.xforms.processor.XFormsServer.executeExternalEventPrepareIfNecessary(XFormsServer.java:291)
>
> at org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:246)
> at
> org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:49)
>
> at
> org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:78)
>
> at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1031)
> at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:985)
>
> at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349)
>
> at
> org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700(MSVValidationProcessor.java:44)
>
> at
> org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MSVValidationProcessor.java:219)
>
> at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1031)
> at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1214)
>
> at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:1009)
>
> at
> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1214)
>
> at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349)
>
> at
> org.orbeon.oxf.processor.serializer.legacy.XMLSerializer.readInput(XMLSerializer.java:58)
>
> at
> org.orbeon.oxf.processor.serializer.HttpTextSerializer.readInput(HttpTextSerializer.java:54)
>
> at
> org.orbeon.oxf.processor.serializer.HttpSerializerBase$1.read(HttpSerializerBase.java:147)
>
> at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:489)
>
> at
> org.orbeon.oxf.processor.serializer.HttpSerializerBase.start(HttpSerializerBase.java:138)
>
> at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
>
> at
> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:555)
>
> at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
>
> at
> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:230)
>
> at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
>
> at
> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:555)
>
> at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
>
> at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:88)
> at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
> at
> org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:148)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
> at
> org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:188)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>
> at
> org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495)
>
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> at
> org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392)
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> at
> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
>
> at
> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
>
> at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
> at java.lang.Thread.run(Unknown Source)
>
> Hope that helps to find an answer! :-(
> Marcus
>
>
>
> ----- Original Message ----- From: "Erik Bruchez" <[hidden email]>
> To: <[hidden email]>
> Sent: Saturday, June 23, 2007 4:12 PM
> Subject: Re: [ops-users] Serving a static file with session-destroyed.xpl
>
>
>> Interesting. However line 998 is pointing to a comment in the latest
>> code. What build are you using? Can you try with the latest nightly and
>> report the latest line number?
>>
>> -Erik
>>
>> Marcus wrote:
>>> Hi Erik,
>>> yes, here are some more details, but i still don't know what that
>>> means :-(
>>> Regards, Marcus
>>>
>>>
>>> 2007-06-23 02:41:36,117 http-8085-5 ERROR webapp.ProcessorService  -
>>> Exception at oxf:/ops/xforms/xforms-server.xpl, line 55, column 103,
>>> description reading processor output
>>> java.lang.NullPointerException
>>> at
>>> org.orbeon.oxf.xforms.XFormsContainingDocument.createDynamicStateDocument(XFormsContainingDocument.java:998)
>>>
>>>
>>> at
>>> org.orbeon.oxf.xforms.XFormsContainingDocument.createEncodedDynamicState(XFormsContainingDocument.java:982)
>>>
>>>
>>> at
>>> org.orbeon.oxf.xforms.processor.XFormsServer.outputResponse(XFormsServer.java:319)
>>>
>>>
>>> at
>>> org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:264)
>>> at
>>> org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:49)
>>>
>>>
>>> at
>>> org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:78)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:1012)
>>> at
>>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:966)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700(MSVValidationProcessor.java:44)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MSVValidationProcessor.java:219)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:1012)
>>> at
>>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1195)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:990)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1195)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.serializer.legacy.XMLSerializer.readInput(XMLSerializer.java:58)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.serializer.HttpTextSerializer.readInput(HttpTextSerializer.java:54)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.serializer.HttpSerializerBase$1.read(HttpSerializerBase.java:147)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:470)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.serializer.HttpSerializerBase.start(HttpSerializerBase.java:138)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:233)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
>>>
>>>
>>> at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:88)
>>> at
>>> org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
>>> at
>>> org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:148)
>>>
>>>
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>
>>>
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>
>>>
>>> at
>>> org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:188)
>>>
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>
>>>
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>
>>>
>>> at
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>
>>>
>>> at
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>
>>>
>>> at
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>
>>>
>>> at
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>
>>>
>>> at
>>> org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495)
>>>
>>>
>>> at
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>
>>> at
>>> org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392)
>>>
>>>
>>> at
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>
>>>
>>> at
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>
>>> at
>>> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
>>>
>>>
>>> at
>>> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
>>>
>>>
>>> at
>>> org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
>>> at java.lang.Thread.run(Unknown Source)
>>>
>>> 2007-06-23 02:41:36,119 http-8085-5 INFO  webapp.ProcessorService  -
>>> /xforms-server - Timing: 3204 - Cache hits: 596, fault: 287, adds: 281,
>>> success rate: 67%
>>> 2007-06-23 02:41:36,120 http-8085-5 INFO  webapp.ProcessorService  -
>>> /xforms-server - Received request
>>> 2007-06-23 02:41:36,162 http-8085-5 INFO  webapp.ProcessorService  -
>>> /xforms-server - Timing: 42 - Cache hits: 4, fault: 3, adds: 3, success
>>> rate: 57%
>>> 2007-06-23 02:41:36,818 http-8085-5 INFO  webapp.ProcessorService  -
>>> /ops/images/xforms/error.gif - Received request
>>> 2007-06-23 02:41:36,835 http-8085-5 INFO  webapp.ProcessorService  -
>>> /ops/images/xforms/error.gif - Timing: 17 - Cache hits: 15, fault: 5,
>>> adds: 5, success rate: 75%
>>> 2007-06-23 02:41:39,538 http-8085-5 INFO  webapp.ProcessorService  -
>>> /xforms-server - Received request
>>> 2007-06-23 02:41:39,576 http-8085-5 DEBUG processor.XFormsServer  -
>>> XForms - session cache: found and refreshed entry.
>>> 2007-06-23 02:41:39,576 http-8085-5 DEBUG processor.XFormsServer  -
>>> XForms - session cache: found and refreshed entry.
>>> 2007-06-23 02:41:39,577 http-8085-5 DEBUG processor.XFormsServer  -
>>> XForms - containing document cache (getContainingDocument): did not find
>>> document pool in cache.
>>> 2007-06-23 02:41:39,578 http-8085-5 DEBUG processor.XFormsServer  -
>>> XForms - creating new ContainingDocument (static state object not
>>> provided).
>>> 2007-06-23 02:41:40,286 http-8085-5 DEBUG processor.XFormsServer  -
>>> XForms - building controls state start.
>>> 2007-06-23 02:41:40,941 http-8085-5 DEBUG processor.XFormsServer  -
>>> XForms - building controls state end: 655 ms.
>>> 2007-06-23 02:41:41,009 http-8085-5 ERROR webapp.ProcessorService  -
>>> Exception at oxf:/ops/xforms/xforms-server.xpl, line 55, column 103,
>>> description reading processor output
>>> java.lang.NullPointerException
>>> at org.orbeon.oxf.xforms.XFormsModel.getObjectByid(XFormsModel.java:159)
>>> at
>>> org.orbeon.oxf.xforms.XFormsContainingDocument.getObjectById(XFormsContainingDocument.java:316)
>>>
>>>
>>> at
>>> org.orbeon.oxf.xforms.XFormsContainingDocument.executeExternalEvent(XFormsContainingDocument.java:567)
>>>
>>>
>>> at
>>> org.orbeon.oxf.xforms.processor.XFormsServer.executeExternalEventPrepareIfNecessary(XFormsServer.java:289)
>>>
>>>
>>> at
>>> org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:244)
>>> at
>>> org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:49)
>>>
>>>
>>> at
>>> org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:78)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:1012)
>>> at
>>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter$ForwarderProcessorOutput.read(ProcessorImpl.java:966)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700(MSVValidationProcessor.java:44)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MSVValidationProcessor.java:219)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:1012)
>>> at
>>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1195)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:990)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1195)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.serializer.legacy.XMLSerializer.readInput(XMLSerializer.java:58)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.serializer.HttpTextSerializer.readInput(HttpTextSerializer.java:54)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.serializer.HttpSerializerBase$1.read(HttpSerializerBase.java:147)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:470)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.serializer.HttpSerializerBase.start(HttpSerializerBase.java:138)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:233)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:536)
>>>
>>>
>>> at
>>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
>>>
>>>
>>> at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:88)
>>> at
>>> org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
>>> at
>>> org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:148)
>>>
>>>
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>
>>>
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>
>>>
>>> at
>>> org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:188)
>>>
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>
>>>
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>
>>>
>>> at
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>
>>>
>>> at
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>
>>>
>>> at
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>
>>>
>>> at
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>
>>>
>>> at
>>> org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495)
>>>
>>>
>>> at
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>
>>> at
>>> org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392)
>>>
>>>
>>> at
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>
>>>
>>> at
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>
>>> at
>>> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
>>>
>>>
>>> at
>>> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
>>>
>>>
>>> at
>>> org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
>>> at java.lang.Thread.run(Unknown Source)
>>>
>>> 2007-06-23 02:41:42,525 http-8085-5 INFO  webapp.ProcessorService  -
>>> /xforms-server - Timing: 1373 - Cache hits: 602, fault: 270, adds: 268,
>>> success rate: 69%
>>> 2007-06-23 02:41:42,526 http-8085-5 INFO  webapp.ProcessorService  -
>>> /xforms-server - Received request
>>> 2007-06-23 02:41:42,562 http-8085-5 INFO  webapp.ProcessorService  -
>>> /xforms-server - Timing: 36 - Cache hits: 2, fault: 0, adds: 0, success
>>> rate: 100%
>>>
>>>
>>
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>> http://www.orbeon.com/
>>
>>
>
>
> --------------------------------------------------------------------------------
>
>
>
>>
>> --
>> 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
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>
>
>

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
12