Hi all,
I deployed my application using seperate deployment. My applications orbeon context is /orbeon and my applications context is /sample and it contains the xforms-jsp directory for the XForms pages. When I use absolute URLs such as http://localhost/sample/xforms-jsp/page.xhtml in xforms-submission with method="post" it is giving the page correctly but with the URL displayed is "http://localhost/sample/orbeon/xforms-server-submit". If I use relative URLs such as action="page.xhtml" or action="/page.xhtml" the URL found in browser is same but this time getting the page "Orbeon Forms Error" page saying "Null Pointer Exception". For the case of xforms:load like given below <xforms:trigger> <xforms:label>Replace</xforms:label> <xforms:load resource="http://localhost/sample/xforms-jsp/page.xhtml" show="replace" ev:event="DOMActivate"/> </xforms:trigger> It is giving the page correctly and also giving the browser url also as I expect. In case of relative URLs if I use resource="/page.xhtml" It is saying that the page not available and the browser URL is "http://localhost/orbeon/page.xhtml". In case of resource="page.xhtml" after a long waiting it is saying "No route to host: connect" and the browser URL "http://localhost/orbeon/xforms-jsp/page.xhtml". After many experiments I am posting this thread. Is it possible to use relative urls. Browser should display the proper URLs. And also I always want to use method="post". What things I have to do so that I can use post and the browser URLs looks what I expect. Thanks in advance... -- Phani. S M.Tech(Software Engineering) Motilal Nehru National Institute of Technology (+91) 9453799211 -- 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
|
Phani,
You are not saying which version of Orbeon Forms you are using, but we recently fixed this bug: http://forge.ow2.org/tracker/index.php?func=detail&aid=310890&group_id=168&atid=350207 Try the development builds (orbeon-development.war) here: http://forge.objectweb.org/nightlybuilds/ops/ops/ -Erik On Fri, Oct 30, 2009 at 11:10 PM, Phani Sajja <[hidden email]> wrote: > Hi all, > I deployed my application using seperate deployment. My applications > orbeon context is /orbeon and my applications context is /sample and it > contains the xforms-jsp directory for the XForms pages. When I use absolute > URLs such as http://localhost/sample/xforms-jsp/page.xhtml in > xforms-submission with method="post" it is giving the page correctly but > with the URL displayed is > "http://localhost/sample/orbeon/xforms-server-submit". If I use relative > URLs such as action="page.xhtml" or action="/page.xhtml" the URL found in > browser is same but this time getting the page "Orbeon Forms Error" page > saying "Null Pointer Exception". > > For the case of xforms:load like given below > > <xforms:trigger> > <xforms:label>Replace</xforms:label> > <xforms:load resource="http://localhost/sample/xforms-jsp/page.xhtml" > show="replace" ev:event="DOMActivate"/> > </xforms:trigger> > > It is giving the page correctly and also giving the browser url also as I > expect. > > In case of relative URLs if I use resource="/page.xhtml" It is saying that > the page not available and the browser URL is > "http://localhost/orbeon/page.xhtml". In case of resource="page.xhtml" after > a long waiting it is saying "No route to host: connect" and the browser URL > "http://localhost/orbeon/xforms-jsp/page.xhtml". > > After many experiments I am posting this thread. Is it possible to use > relative urls. Browser should display the proper URLs. And also I always > want to use method="post". What things I have to do so that I can use post > and the browser URLs looks what I expect. > > Thanks in advance... > -- > Phani. S > M.Tech(Software Engineering) > Motilal Nehru National Institute of Technology > (+91) 9453799211 > > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Thansks Eik,
I am using orbeon-dev-3.7.1.200905272119. I added the file "orbeon-xforms-filter.jar" from the nightly build. Can you point me what are the jar files which need to be added or replaced from the current version of my orbeon forms and the configuration needed so that it works good with out redeployment. Other wise I will use "orbeon-development.war". Thanks. On Sat, Oct 31, 2009 at 12:29 PM, Erik Bruchez <[hidden email]> wrote: Phani, -- Phani. S M.Tech(Software Engineering) Motilal Nehru National Institute of Technology (+91) 9010093398 -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Hi Erik,
I deployed the orbeon-development.war. Now my current orbeon context "/orbeon-development". I copied the "orbeon-xforms-filter.jar" from the orbeon-development to my application jar directory. The problem still exists. Here is my submission <xforms:submission id="login" method="post" action="community.xhtml" instance="instance('login-instance')" /> This time it is giving the page correctly but the browser url still has xforms-server-submit. On Sat, Oct 31, 2009 at 1:15 PM, Phani Sajja <[hidden email]> wrote: Thansks Eik, You receive this message as a subscriber of the [hidden email] mailing list. -- Phani. S M.Tech(Software Engineering) Motilal Nehru National Institute of Technology (+91) 9010093398 -- 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 |
In reply to this post by Erik Bruchez
Hi
I figured out, that with JBoss 4.2.2 I had to make following steps to avoid this logging error: ERROR: invalid console appender config detected, console stream is looping http://www.orbeon.com/ops/doc/intro-install#jboss 3. If you are using JBoss 4.2 or 5.0, you can skip this. Otherwise: 1. Set the following parameter in web.xml .... 2. 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. Someone might change the doku, saying "using JBoss 4.2 or 5.0, you can skip this". Karo -- 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
|
Karolin,
On Tue, Nov 3, 2009 at 1:54 AM, Karolin Krieg <[hidden email]> wrote: > I figured out, that with JBoss 4.2.2 I had to make following steps to > avoid this logging error: > > ERROR: invalid console appender config detected, console stream is > looping [...] We just moved this to the wiki last week. This section is now at: http://wiki.orbeon.com/forms/doc/developer-guide/admin-installing#TOC-Installing-Orbeon-Forms-on-JBoss I am not 100% sure what the change you are referring to is. Would you mind doing it? We can give you write-access to the wiki, and for this we just need to know what your Google email address is, as the wiki is hosted by Google Sites (you can sent it to me by private email). Alex -- Orbeon Forms - Web forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ My Twitter: http://twitter.com/avernet -- 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Administrator
|
In reply to this post by Phani S
Phani,
This is normal. The URL has a xforms-server-submit, and it loads the page you expect. The URL isn't the one you have in your xforms:submission because the POST coming from the browser is not the POST with XML data that the target page expects. So there is a first POST done by the browser to xforms-server-submit; it hits the XForms engine which does, on the server, the POST that returns the next page. Alex On Saturday, October 31, 2009, Phani Sajja <[hidden email]> wrote: > Hi Erik, > I deployed the orbeon-development.war. Now my current orbeon context "/orbeon-development". I copied the "orbeon-xforms-filter.jar" from the orbeon-development to my application jar directory. The problem still exists. > Here is my submission > > <xforms:submission id="login" method="post" action="community.xhtml" instance="instance('login-instance')" /> > > This time it is giving the page correctly but the browser url still has xforms-server-submit. > > On Sat, Oct 31, 2009 at 1:15 PM, Phani Sajja <[hidden email] <javascript:_e({}, 'cvml', '[hidden email]');>> wrote: > > Thansks Eik, > I am using orbeon-dev-3.7.1.200905272119. I added the file "orbeon-xforms-filter.jar" from the nightly build. Can you point me what are the jar files which need to be added or replaced from the current version of my orbeon forms and the configuration needed so that it works good with out redeployment. Other wise I will use "orbeon-development.war". > > You receive this message as a subscriber of the [hidden email] <javascript:_e({}, 'cvml', '[hidden email]');> mailing list. > > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email] <javascript:_e({}, 'cvml', '[hidden email]');>?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > > > -- > Phani. S > M.Tech(Software Engineering) > Motilal Nehru National Institute of Technology > (+91) 9010093398 > > > -- > Phani. S > M.Tech(Software Engineering) > Motilal Nehru National Institute of Technology > (+91) 9010093398 > Orbeon Forms - Web forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ My Twitter: http://twitter.com/avernet -- 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |