Hi (Erik),
I've tried deploying ops.war in a non-root context (part of myapp.ear, context=/myapp/ops). While accessing ops resources directly worked (i.e. checking the samples), However, if any code (say, a servlet) under /myapp caused an Orbeon exception, the Orbeon error page has its CSS incorrectly referenced so the page rendering is broken. Is Orbeon intended only to be deployed under the root context or is this just a bug? Since our app will coexist with others (with unknown names, depending on the client, the fewer root contexts the better - customers may need to configure firewall/proxy rules and do on). Thanks, JL -- 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
|
Jean-Luc,
I assume you are doing separate deployment, and that the scenario is that there is an exception on the Orbeon side? Currently, there is no URL rewriting taking place for CSS resources and the likes when you are in separate deployment. This may explain the issue. Are you actually deploying things this way? -Erik On Dec 7, 2007, at 12:38 PM, Jean Luc wrote: > Hi (Erik), > > I've tried deploying ops.war in a non-root context (part of > myapp.ear, context=/myapp/ops). While accessing ops resources > directly worked (i.e. checking the samples), However, if any code > (say, a servlet) under /myapp caused an Orbeon exception, the Orbeon > error page has its CSS incorrectly referenced so the page rendering > is broken. > > Is Orbeon intended only to be deployed under the root context or is > this just a bug? Since our app will coexist with others (with > unknown names, depending on the client, the fewer root contexts the > better - customers may need to configure firewall/proxy rules and do > on). > > Thanks, > JL 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Yes, it's a separate deployment.So, to confirm, Orbeon will currently work only if its context is directly under <a href="http://server:port">http://server:port ? As an example (and again, the scenario is that there is an exception thrown by Orbeon when processing the output of an application).
<a href="http://server:port/ops">http://server:port/ops is ok <a href="http://server:port/">http://server:port/myapp/ops is not. Thanks, JL On Dec 7, 2007 5:51 PM, Erik Bruchez <[hidden email]> wrote: Jean-Luc, -- 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
|
Jean-Luc,
No, it should work with any context. I am not sure I understand your problem anymore though: I thought the issue you encountered was that *if* there was an error, the error page's CSS would be wrong. This can certainly be annoying, but this is not the same as saying that Orbeon Forms will not work at all. -Erik On Dec 10, 2007, at 7:47 AM, Jean Luc wrote: > Yes, it's a separate deployment.So, to confirm, Orbeon will > currently work only if its context is directly under http:// > server:port ? As an example (and again, the scenario is that there > is an exception thrown by Orbeon when processing the output of an > application). > > <a href="http://server:port/ops">http://server:port/ops is ok > <a href="http://server:port/myapp/ops">http://server:port/myapp/ops is not. > > Thanks, JL > > On Dec 7, 2007 5:51 PM, Erik Bruchez <[hidden email]> wrote: > Jean-Luc, > > I assume you are doing separate deployment, and that the scenario is > that there is an exception on the Orbeon side? > > Currently, there is no URL rewriting taking place for CSS resources > and the likes when you are in separate deployment. This may explain > the issue. > > Are you actually deploying things this way? > > -Erik > > On Dec 7, 2007, at 12:38 PM, Jean Luc wrote: > > > Hi (Erik), > > > > I've tried deploying ops.war in a non-root context (part of > > myapp.ear, context=/myapp/ops). While accessing ops resources > > directly worked (i.e. checking the samples), However, if any code > > (say, a servlet) under /myapp caused an Orbeon exception, the Orbeon > > error page has its CSS incorrectly referenced so the page rendering > > is broken. > > > > Is Orbeon intended only to be deployed under the root context or is > > this just a bug? Since our app will coexist with others (with > > unknown names, depending on the client, the fewer root contexts the > > better - customers may need to configure firewall/proxy rules and do > > on). > > > > Thanks, > > JL > > -- > 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 > 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 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Indeed, is not the same. I was writing with my case in mind (embed orbeon.war in myapp.ear and set orbeon's context to /myapp/orbeon). I did a quick search in the source and see the paths to the CSS files are built dynamically - it's unclear from a quick glance how many places require a fix.
On Dec 10, 2007 2:24 PM, Erik Bruchez <[hidden email]> wrote: Jean-Luc, -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |