Hi, I am trying to configure a pipeline to run when a new session is created, and have uncommented the lines in web.xml relating to org.orbeon.oxf.webapp.OPSSessionListener. It works when I configure the associated properties in web.xml, however, I would prefer to configure these things in properties.xml as explained in the docs. When doing that however, I get a java exception in the orbeon.log telling me that URL's can't be converted to URI's or the other way around. Any clue? Thanks, Mats -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Mats,
What do you mean by "configuring these things in properties.xml"? Setting up what processor or pipeline runs when a session is created is something you need to do in the web.xml. Alex |
According to the documentation http://www.orbeon.com/ops/doc/reference-listeners#session-context-listener there seems to be two ways of configuring these properties. Perhaps I'm not reading it correctly... Mats From: Alessandro Vernet <[hidden email]> To: [hidden email] Sent: Tuesday, August 18, 2009 7:53:35 PM Subject: [ops-users] Re: Session created listener... Mats, Mats Eklund-2 wrote: > > I am trying to configure a pipeline to run when a new session is created, > and have uncommented the lines in web.xml relating to > org.orbeon.oxf.webapp.OPSSessionListener. It works when I configure the > associated properties in web.xml, however, I would prefer to configure > these things in properties.xml as explained in the docs. When doing that > however, I get a java exception in the orbeon.log telling me that URL's > can't be converted to URI's or the other way around. Any clue? > What do you mean by "configuring these things in properties.xml"? Setting up what processor or pipeline runs when a session is created is something you need to do in the web.xml. Alex ----- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet -- View this message in context: http://www.nabble.com/Session-created-listener...-tp25003613p25030208.html Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Mats,
OK, I see what you mean, and have been able to reproduce the issue. I created a bug for this: http://forge.ow2.org/tracker/index.php?func=detail&aid=314165&group_id=168&atid=350207 Obviously, as a work-around you can define those properties in web.xml. Alex |
Administrator
|
This bug is now fixed in git.
-Erik
|
Administrator
|
And here is the link to the commit:
http://github.com/orbeon/orbeon-forms/commit/09a87fb2a2e36f6a88a0f2d7ac4527b475b2d97d -Erik
|
Ok, thanks. Does it mean I have to download the source and compile the library? From: Erik Bruchez <[hidden email]> To: [hidden email] Sent: Thursday, August 27, 2009 8:38:01 PM Subject: [ops-users] Re: Re: Session created listener... And here is the link to the commit: http://github.com/orbeon/orbeon-forms/commit/09a87fb2a2e36f6a88a0f2d7ac4527b475b2d97d -Erik Erik Bruchez wrote: > > This bug is now fixed in git. > > -Erik > > > Alessandro Vernet wrote: >> >> Mats, >> >> >> Mats Eklund-2 wrote: >>> >>> According to the documentation >>> >>> >>> there seems to be two ways of configuring these properties. Perhaps I'm >>> not reading it correctly... >>> >> >> OK, I see what you mean, and have been able to reproduce the issue. I >> created a bug for this: >> >> http://forge.ow2.org/tracker/index.php?func=detail&aid=314165&group_id=168&atid=350207 >> >> Obviously, as a work-around you can define those properties in web.xml. >> >> Alex >> > > -- View this message in context: http://www.nabble.com/Session-created-listener...-tp25003613p25177628.html Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
This is on the master branch so will be in the next automatic build.
http://forge.objectweb.org/nightlybuilds/ops/ops/ Give it maybe an hour and it should be there. -Erik
|
Cool. Btw, I posted a related issue about the context-initiated listener... it doesn't seem to be invoked at all, even if I configure it in web.xml.... could it too be broken? From: Erik Bruchez <[hidden email]> To: [hidden email] Sent: Thursday, August 27, 2009 8:59:16 PM Subject: [ops-users] Re: Re: Re: Session created listener... This is on the master branch so will be in the next automatic build. http://forge.objectweb.org/nightlybuilds/ops/ops/ Give it maybe an hour and it should be there. -Erik Mats Eklund-2 wrote: > > Ok, thanks. Does it mean I have to download the source and compile the > library? > > > > > ________________________________ > From: Erik Bruchez <[hidden email]> > To: [hidden email] > Sent: Thursday, August 27, 2009 8:38:01 PM > Subject: [ops-users] Re: Re: Session created listener... > > > And here is the link to the commit: > > > -Erik > > > Erik Bruchez wrote: >> >> This bug is now fixed in git. >> >> -Erik >> >> >> Alessandro Vernet wrote: >>> >>> Mats, >>> >>> >>> Mats Eklund-2 wrote: >>>> >>>> According to the documentation >>>> >>>> >>>> there seems to be two ways of configuring these properties. Perhaps I'm >>>> not reading it correctly... >>>> >>> >>> OK, I see what you mean, and have been able to reproduce the issue. I >>> created a bug for this: >>> >>> http://forge.ow2.org/tracker/index.php?func=detail&aid=314165&group_id=168&atid=350207 >>> >>> Obviously, as a work-around you can define those properties in web.xml. >>> >>> Alex >>> >> >> > > -- > View this message in context: > Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.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 > > -- View this message in context: http://www.nabble.com/Session-created-listener...-tp25003613p25177961.html Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Hmm... I see both servlet-initialized-processor and context-initialized-processor in my web.xml?!! Are these replacing each other? From: Mats Eklund <[hidden email]> To: [hidden email] Sent: Thursday, August 27, 2009 9:04:42 PM Subject: [ops-users] Re: Re: Re: Re: Session created listener... Cool. Btw, I posted a related issue about the context-initiated listener... it doesn't seem to be invoked at all, even if I configure it in web.xml.... could it too be broken? From: Erik Bruchez <[hidden email]> To: [hidden email] Sent: Thursday, August 27, 2009 8:59:16 PM Subject: [ops-users] Re: Re: Re: Session created listener... This is on the master branch so will be in the next automatic build. http://forge.objectweb.org/nightlybuilds/ops/ops/ Give it maybe an hour and it should be there. -Erik Mats Eklund-2 wrote: > > Ok, thanks. Does it mean I have to download the source and compile the > library? > > > > > ________________________________ > From: Erik Bruchez <[hidden email]> > To: [hidden email] > Sent: Thursday, August 27, 2009 8:38:01 PM > Subject: [ops-users] Re: Re: Session created listener... > > > And here is the link to the commit: > > > -Erik > > > Erik Bruchez wrote: >> >> This bug is now fixed in git. >> >> -Erik >> >> >> Alessandro Vernet wrote: >>> >>> Mats, >>> >>> >>> Mats Eklund-2 wrote: >>>> >>>> According to the documentation >>>> >>>> >>>> there seems to be two ways of configuring these properties. Perhaps I'm >>>> not reading it correctly... >>>> >>> >>> OK, I see what you mean, and have been able to reproduce the issue. I >>> created a bug for this: >>> >>> http://forge.ow2.org/tracker/index.php?func=detail&aid=314165&group_id=168&atid=350207 >>> >>> Obviously, as a work-around you can define those properties in web.xml. >>> >>> Alex >>> >> >> > > -- > View this message in context: > Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.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 > > -- View this message in context: http://www.nabble.com/Session-created-listener...-tp25003613p25177961.html Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
servlet-initialized-processor is run when the servlet is initialized. context-initialized-processor, when the context is initialized. A context might contain many servlets.
-Erik
|
Free forum by Nabble | Edit this page |