Downloaded and installed Apache Tomcat 5.5.23 and IBM Websphere Community V1 (different boxes) installed OPS 3.5.1 under both, stuck my forms from OPS 3.5.0 on and get permission denied errors on the screen of the xForm, but nothing in the log.
Java security is off, policies are as they were to start with. Error is being reported from line 1914 apx of the latest CVS: try { YAHOO.util.Connect.setDefaultPostHeader(false); YAHOO.util.Connect.initHeader("Content-Type", "application/xml"); var callback = { success: ORBEON.xforms.Server.handleResponse, failure: ORBEON.xforms.Server.handleFailure } YAHOO.util.Connect.asyncRequest("POST", XFORMS_SERVER_URL, callback, requestDocumentString); } catch (e) { ORBEON.xforms.Globals.requestInProgress = false; ORBEON.xforms.Server.exceptionWhenTalkingToServer(e, formIndex); -- HERE } I have traced the XFORMS_SERVER_URL into XHTMLHeadHandler.java where it is reset by rewriteResourceURL to http://127.0.0.1:8080/ops - is this going to be an issue, as my code is running on http://chrisdev.tradocs.net:8080/ops? |
Administrator
|
Chris,
Where do you see the errors appear if not in the logs? Do the Orbeon Forms example apps work at all, or is this related to your app only? -Erik ChrisSpeare wrote: > Downloaded and installed Apache Tomcat 5.5.23 and IBM Websphere Community V1 > (different boxes) installed OPS 3.5.1 under both, stuck my forms from OPS > 3.5.0 on and get permission denied errors on the screen of the xForm, but > nothing in the log. > > Java security is off, policies are as they were to start with. Error is > being reported from line 1914 apx of the latest CVS: > > try { > YAHOO.util.Connect.setDefaultPostHeader(false); > YAHOO.util.Connect.initHeader("Content-Type", > "application/xml"); > var callback = { > success: ORBEON.xforms.Server.handleResponse, > failure: ORBEON.xforms.Server.handleFailure > } > YAHOO.util.Connect.asyncRequest("POST", > XFORMS_SERVER_URL, callback, requestDocumentString); > } catch (e) { > ORBEON.xforms.Globals.requestInProgress = false; > ORBEON.xforms.Server.exceptionWhenTalkingToServer(e, > formIndex); -- HERE > } > > What do I need to grant permissions to if the Security Manager isn't on? > -- 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 |
Administrator
|
Chris,
An update of this: it seems that this can happen if you use proxying, for example, and the server obtains a server name different from the name you have in your browser's URL bar. I entered a bug about this: http://forge.objectweb.org/tracker/index.php?func=detail&aid=307007&group_id=168&atid=350207 Does your server use a proxy? -Erik Erik Bruchez wrote: > Chris, > > Where do you see the errors appear if not in the logs? > > Do the Orbeon Forms example apps work at all, or is this related to your > app only? > > -Erik > > ChrisSpeare wrote: >> Downloaded and installed Apache Tomcat 5.5.23 and IBM Websphere >> Community V1 >> (different boxes) installed OPS 3.5.1 under both, stuck my forms from OPS >> 3.5.0 on and get permission denied errors on the screen of the xForm, but >> nothing in the log. >> >> Java security is off, policies are as they were to start with. Error is >> being reported from line 1914 apx of the latest CVS: >> >> try { >> YAHOO.util.Connect.setDefaultPostHeader(false); >> YAHOO.util.Connect.initHeader("Content-Type", >> "application/xml"); >> var callback = { >> success: ORBEON.xforms.Server.handleResponse, >> failure: ORBEON.xforms.Server.handleFailure >> } >> YAHOO.util.Connect.asyncRequest("POST", >> XFORMS_SERVER_URL, callback, requestDocumentString); >> } catch (e) { >> ORBEON.xforms.Globals.requestInProgress = false; >> ORBEON.xforms.Server.exceptionWhenTalkingToServer(e, >> formIndex); -- HERE >> } >> >> What do I need to grant permissions to if the Security Manager isn't on? >> > > -- 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 |
Not as far as I am aware however I will check with our new system admin today. I noticed that when I traced the variables against what I have they differ. For instance to get to my system I use http://chrisdev.tradocs.net/ourApp however it is re-written as http://127.0.0.1/ops
I think this is a trouble spot, however when disabled the re-right nothing changes so still looking. |
In reply to this post by Erik Bruchez
I see the error at the top of my xForm under the alert system
|
In reply to this post by Erik Bruchez
The error appears right at the top of the xForm, and no the example ones do not work!
Tried the Government Forms example, went to create and get 'Error while processing response: Access is denied'. This however used to work with 3.5.0. So, what changed in the two versions that I need to change at my end? |
In reply to this post by Erik Bruchez
Ok, I tweaked the settings - we have a rewrite rule under .htaccess which takes anything with /ops in the url and points it back to 127.0.0.1/ops. I now get a different error:
<html><head><title>Apache Tomcat/5.5.15-150 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body> HTTP Status 404 - /xforms-server<HR size="1" noshade="noshade"><p>type Status report</p><p>message <u>/xforms-server</u></p><p>description <u>The requested resource (/xforms-server) is not available.</u></p><HR size="1" noshade="noshade">Apache Tomcat/5.5.15-150</body></html>Chuck it through a renderer and you get: HTTP Status 404 - /xforms-server -------------------------------------------------------------------------------- type Status report message /xforms-server description The requested resource (/xforms-server) is not available. -------------------------------------------------------------------------------- Apache Tomcat/5.5.15-150 :-) Now what |
In reply to this post by Erik Bruchez
The problem is 2 fold, firstly it is indeed proxying. When I access the ops server using the direct url (192.168.0.95:8080/ops) the example works, however now I get a different error:
Error while processing response: <html><head><title>Apache Tomcat/6.0.10 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body> HTTP Status 404 - /xforms-server<HR size="1" noshade="noshade"><p>type Status report</p><p>message <u>/xforms-server</u></p><p>description <u>The requested resource (/xforms-server) is not available.</u></p><HR size="1" noshade="noshade">Apache Tomcat/6.0.10</body></html>Shown at the top of the form. So first I need to fix the redirect related issue, then this xforms-server error |
Administrator
|
On 5/14/07, ChrisSpeare <[hidden email]> wrote:
> <u>/xforms-server</u></p><p>description <u>The requested resource > (/xforms-server) is not available.</u></p><HR size="1" > noshade="noshade"><h3>Apache Tomcat/6.0.10</h3></body></html> > > Shown at the top of the form. So first I need to fix the redirect related > issue, then this xforms-server error This is the standard Tomcat error, right? So it looks like in this case the request goes to /xforms-server instead of /ops/xforms-server. Is this what happens? Alex -- 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 |
Free forum by Nabble | Edit this page |