Hi,
We have installed Orbeon on our server here, a JBOSS 4.0.3 application server. We cannot upgrade to a newer version of JBOSS at this time because one of our major applications that we want Orbeon to interact with requires 4.0.3 and we don't know if it will run on anything higher. When we exercise the following instructions: 7. Installing Orbeon Forms on JBoss 4.0.4 Assuming that JBOSS_HOME represents the location of your JBoss installation: create a new JBOSS_HOME/server/default/deploy/ops.war directory. Unzip ops.war in the ops.war directory you just created. Set the following parameter in web.xml: <context-param><param-name>oxf.initialize-logging</param-name><param-value>false</param-value></context-param> Rename the default Orbeon Forms log4j JAR file under WEB-INF/lib from log4j-*.jar to log4j-*.jar.bak. Additionally, you can remove this JAR file altogether. Note NOTE: With certain versions of JBoss, in particular prior to 4.0.4, omitting the two steps above (setting the parameter and renaming the log4j JAR) but doing the following instead, may work: In JBOSS_HOME/server/default/deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xml and change the value in <attribute name="UseJBossWebLoader"> from false to true. Start JBoss by running JBOSS_HOME/bin/run.bat (or run.sh on UNIX). If we perform steps 3 and 4, before the note, we get the page flow error. If we follow the instructions in the above note, Orbeon works but the companion application on the server breaks and will not run. The line in the page-flow.xml that is causing the error is as follows: page id="apps" path-info="/([^/]+/.*" matcher="oxf:perl5-matcher" model="apps/$(1)/page-flow.xml"/> The error we receive says: "cannot set parameter pattern to this datatype: specified pattern is invalid: Unexpected end of the pattern in a character class." Is it possible that the "unexpected end" is occuring at the second slash in the path-info field above as opposed to the third slash. That we need some kind of escape character before the second slash in order to get this to work? Also, if you could shed some light on what prompted the need for steps 3 and 4 above, that would be helpful as well. Many thanks. Reggie Liggins Reginald Liggins, Senior Systems Analyst, Oregon Department of Human Services Office of Information Services, Applications Maintenance and Support [hidden email] phone: (971) 673-0123 -- 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 |
Administrator
|
Reggie,
On 9/12/07, [hidden email] <[hidden email]> wrote: > The line in the page-flow.xml that is causing the error is as follows: > page id="apps" path-info="/([^/]+/.*" matcher="oxf:perl5-matcher" model="apps/$(1)/page-flow.xml"/> > > The error we receive says: "cannot set parameter pattern to this datatype: specified pattern is invalid: Unexpected end of the pattern in a character class." > Is it possible that the "unexpected end" is occuring at the second slash in the path-info field above as opposed to the third slash. That we need some kind of escape character before the second slash in order to get this to work? I don't think steps 3 and 4 a related to this error. Those steps are there because JBoss ships with Log4j and is exposing Log4j to web applications. So when you run Orbeon Forms on JBoss, we you are in fact using JBoss's Log4j instead of Orbeon's. So shouldn't initialize Log4j (JBoss did that already), and you should remove the Log4j that comes with Orbeon Forms to avoid potential conflicts. Now you are talking about the expression: /([^/]+/.* It looks like a closing parenthesis is missing there, isn't it? Alex -- Orbeon Forms - Web 2.0 Forms, open-source, 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 |
Alex,
Thank you. I believe I left the parentheses out in my representation only. However, we had come to the same conclusion here, that JBOSS was causing the problem and not Orbeon. I'll let you know it goes. Thanks again for your help.
Reggie
Reginald Liggins,
Senior Systems Analyst, Oregon Department of Human Services Office of Information Services, Applications Maintenance and Support [hidden email] phone: (971) 673-0123 >>> "Alessandro Vernet" <[hidden email]> 9/13/2007 4:59:18 PM >>> Reggie, On 9/12/07, [hidden email] <[hidden email]> wrote: > The line in the page-flow.xml that is causing the error is as follows: > page id="apps" path-info="/([^/]+/.*" matcher="oxf:perl5-matcher" model="apps/$(1)/page-flow.xml"/> > > The error we receive says: "cannot set parameter pattern to this datatype: specified pattern is invalid: Unexpected end of the pattern in a character class." > Is it possible that the "unexpected end" is occuring at the second slash in the path-info field above as opposed to the third slash. That we need some kind of escape character before the second slash in order to get this to work? I don't think steps 3 and 4 a related to this error. Those steps are there because JBoss ships with Log4j and is exposing Log4j to web applications. So when you run Orbeon Forms on JBoss, we you are in fact using JBoss's Log4j instead of Orbeon's. So shouldn't initialize Log4j (JBoss did that already), and you should remove the Log4j that comes with Orbeon Forms to avoid potential conflicts. Now you are talking about the expression: /([^/]+/.* It looks like a closing parenthesis is missing there, isn't it? Alex -- Orbeon Forms - Web 2.0 Forms, open-source, 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 |
If I have a pipeline file p.xpl is there a way to pass a
file into it and get the result in a file ?
I have an XML file which I need to XSL transform, pass to a
web service, XSL transform the result, pass to a second web service, and then
see the result.
I'm thinking that the only way to do this is to create a
web page with a load button which loads my file, runs the pipeline and then
serialized the result to the web page. But it would be neat if I could just say
-
execute_pipeline p.xml < in.xml >
out.xml
Richard Shaw ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤ Richard
Shaw
Atkins Highways and
Transportation
Tel: +44 (0) 1372
756407 From: Reginald LIGGINS [mailto:[hidden email]] Sent: 14 September 2007 16:19 To: [hidden email] Cc: MCADAMS, John; PETERSON, Robin H Subject: Re: [ops-users] Pageflow.xml Matching Error Alex,
Thank you. I believe I left the parentheses out in my representation only.
However, we had come to the same conclusion here, that JBOSS was causing the
problem and not Orbeon. I'll let you know it goes. Thanks again for your
help.
Reggie
Reginald Liggins,
Senior Systems Analyst, Oregon Department of Human Services Office of Information Services, Applications Maintenance and Support [hidden email] phone: (971) 673-0123 >>> "Alessandro Vernet" <[hidden email]> 9/13/2007 4:59:18 PM >>> Reggie, On 9/12/07, [hidden email] <[hidden email]> wrote: > The line in the page-flow.xml that is causing the error is as follows: > page id="apps" path-info="/([^/]+/.*" matcher="oxf:perl5-matcher" model="apps/$(1)/page-flow.xml"/> > > The error we receive says: "cannot set parameter pattern to this datatype: specified pattern is invalid: Unexpected end of the pattern in a character class." > Is it possible that the "unexpected end" is occuring at the second slash in the path-info field above as opposed to the third slash. That we need some kind of escape character before the second slash in order to get this to work? I don't think steps 3 and 4 a related to this error. Those steps are there because JBoss ships with Log4j and is exposing Log4j to web applications. So when you run Orbeon Forms on JBoss, we you are in fact using JBoss's Log4j instead of Orbeon's. So shouldn't initialize Log4j (JBoss did that already), and you should remove the Log4j that comes with Orbeon Forms to avoid potential conflicts. Now you are talking about the expression: /([^/]+/.* It looks like a closing parenthesis is missing there, isn't it? Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ The ultimate parent company of the Atkins Group is WS Atkins plc. Registered in England No. 1885586. Registered Office Woodcote Grove, Ashley Road, Epsom, Surrey KT18 5BW. P Consider the environment. Please don't print this e-mail unless you really need to. -- 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 |
Administrator
|
Richard,
You can run pipelines from the command-line. You can't just pass parameters through stdin / stdout, but you could write a wrapping pipeline that uses the URL generator and the File serializer for input and output. See some doc here: http://www.orbeon.com/ops/doc/integration-command-line -Erik Shaw, Richard A wrote: > If I have a pipeline file p.xpl is there a way to pass a file into it > and get the result in a file ? > > I have an XML file which I need to XSL transform, pass to a web service, > XSL transform the result, pass to a second web service, and then see the > result. > > I'm thinking that the only way to do this is to create a web page with a > load button which loads my file, runs the pipeline and then serialized > the result to the web page. But it would be neat if I could just say - > > execute_pipeline p.xml < in.xml > out.xml > > > Richard Shaw > > ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤ > > *Richard Shaw* > Technical Design Authority - Information Solutions Consultancy > Intelligent Transport Systems > > *Atkins* *Highways and Transportation* > Woodcote Grove, Ashley Road, Epsom, Surrey, KT18 5BW > > Tel: +44 (0) 1372 756407 > Fax: +44 (0) 1372 740055 > Mob: 07740 817586 > E-mail: [hidden email] > > _www.atkinsglobal.com/its_ <http://www.atkinsglobal.com/its> > > > > ------------------------------------------------------------------------ > *From:* Reginald LIGGINS [mailto:[hidden email]] > *Sent:* 14 September 2007 16:19 > *To:* [hidden email] > *Cc:* MCADAMS, John; PETERSON, Robin H > *Subject:* Re: [ops-users] Pageflow.xml Matching Error > > Alex, > Thank you. I believe I left the parentheses out in my representation > only. However, we had come to the same conclusion here, that JBOSS was > causing the problem and not Orbeon. I'll let you know it goes. Thanks > again for your help. > > Reggie > > Reginald Liggins, > Senior Systems Analyst, > Oregon Department of Human Services > Office of Information Services, Applications Maintenance and Support > [hidden email] <mailto:[hidden email]> > phone: (971) 673-0123 > > > >>> "Alessandro Vernet" <[hidden email]> 9/13/2007 4:59:18 PM >>> > Reggie, > > On 9/12/07, [hidden email] <[hidden email]> > wrote: > > The line in the page-flow.xml that is causing the error is as follows: > > page id="apps" path-info="/([^/]+/.*" matcher="oxf:perl5-matcher" > model="apps/$(1)/page-flow.xml"/> > > > > The error we receive says: "cannot set parameter pattern to this > datatype: specified pattern is invalid: Unexpected end of the pattern in > a character class." > > Is it possible that the "unexpected end" is occuring at the second > slash in the path-info field above as opposed to the third slash. That > we need some kind of escape character before the second slash in order > to get this to work? > > I don't think steps 3 and 4 a related to this error. Those steps are > there because JBoss ships with Log4j and is exposing Log4j to web > applications. So when you run Orbeon Forms on JBoss, we you are in > fact using JBoss's Log4j instead of Orbeon's. So shouldn't initialize > Log4j (JBoss did that already), and you should remove the Log4j that > comes with Orbeon Forms to avoid potential conflicts. > > Now you are talking about the expression: /([^/]+/.* > > It looks like a closing parenthesis is missing there, isn't it? > > Alex > -- > Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise > http://www.orbeon.com/ > > > > *This email and any attached files are confidential and copyright > protected. If you are not the addressee, any dissemination of this > communication is strictly prohibited. Unless otherwise expressly agreed > in writing, nothing stated in this communication shall be legally binding.* > > The ultimate parent company of the Atkins Group is WS Atkins plc. > Registered in England No. 1885586. Registered Office Woodcote Grove, > Ashley Road, Epsom, Surrey KT18 5BW. > > P *Consider the environment. Please don't print this e-mail unless you > really need to.* > -- 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 |
Free forum by Nabble | Edit this page |