Rewrite/Proxy related problems, OPS 3.5.1

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Rewrite/Proxy related problems, OPS 3.5.1

ChrisSpeare
Upgraded from OPS 3.5.0 and now get Access is denied errors.  Server has a rewrite rule to allow development shared code to all access same orbeon server, so accessed ops directly.  Got past the first error, now get:

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>

So, how can I keep the rewrite rule and avoid access denied, and what is this second error related to?
Reply | Threaded
Open this post in threaded view
|

Re: Rewrite/Proxy related problems, OPS 3.5.1

Erik Bruchez
Administrator
Chris,

I think it comes down to fixing this bug:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=307007&group_id=168&atid=350207

-Erik

ChrisSpeare wrote:

> Upgraded from OPS 3.5.0 and now get Access is denied errors.  Server has a
> rewrite rule to allow development shared code to all access same orbeon
> server, so accessed ops directly.  Got past the first error, now get:
>
> 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><h1>HTTP Status 404 - /xforms-server</h1><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"><h3>Apache Tomcat/6.0.10</h3></body></html>
>
> So, how can I keep the rewrite rule and avoid access denied, and what is
> this second error related 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
Reply | Threaded
Open this post in threaded view
|

Re: Rewrite/Proxy related problems, OPS 3.5.1

ChrisSpeare
Erik Bruchez wrote
Most likely, in which case can this be sorted as breaking working code isn't really a code idea in a new release.

For the moment I have reloaded apache2 with mod_jk which handles the permission denied error - as it no longer flips between the two.  Took a little doing and a mystery why it started to work, restarted both apache2 and tomcat and didn't work, deleted a log file to see what was happening, restarted and suddenly it works.

I now get an 'org.orbeon.oxf.common.OXFException' exception which is new, I have attached the xml error if this helps.  I could be the implementation we have as it curls from php to ops, then returns back again.  Not my implementation however I cannot change it now OXFException.xml
Reply | Threaded
Open this post in threaded view
|

Re: Rewrite/Proxy related problems, OPS 3.5.1

Alessandro Vernet
Administrator
On 5/15/07, ChrisSpeare <[hidden email]> wrote:
> Most likely, in which case can this be sorted as breaking working code isn't
> really a code idea in a new release.

Indeed. We thought it was a good idea at the time without realizing
that this change would create this problem in some cases.

> I now get an 'org.orbeon.oxf.common.OXFException' exception which is new, I
> have attached the xml error if this helps.  I could be the implementation we
> have as it curls from php to ops, then returns back again.  Not my
> implementation however I cannot change it now
> http://www.nabble.com/file/8423/OXFException.xml

The most significant error I see in the file you attached is a NPE
while trying to create a URL. It is hard to say why this is happening
without being able to run the code that produces the error. Are you
getting this just when making request with curl, not with a "real
browser"?

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