my forms are not functional after 3.9 to 4.2 transfer, using custom security configuration

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

my forms are not functional after 3.9 to 4.2 transfer, using custom security configuration

Andrey
Hello!
I have a problem, I need a general advice.

I am deploying Orbeon together with Tolven EHR as separate war.
My forms are located under xforms-jsp folder under Tolven web app context, worked fine with 3.9, but for 4.2 forms can be rendered, but submissions did not work - submission request does not pass to my processing servlet, there is an error in orbeon.log (see orbeon.log.1.txt).

Moreover, if I put Hello World sample page to my xforms-jsp folder it stops working, I have got "A system error occurred. You can do one of the following..." message over page and ValidationException in orbeon.log (see orbeon.log.2.txt).

As I know, Tolven's security framework intercepts all calls to all URLs under (not sure) all contexts. I have feeling there may be some change in Orbeon processor calls/URLs comparing 3.9 and 4.2, which may cause a conflict now.

Please, advice, if possible, what it may be or waht I can check to identify a problem.

Thanks,
Andrey

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
 
 

orbeon.log.1.txt (7K) Download Attachment
orbeon.log.2.txt (9K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: my forms are not functional after 3.9 to 4.2 transfer, using custom security configuration

Alessandro  Vernet
Administrator
Hi Andrey,

These might be two separate problems, but I don't see enough information in the logs to say anything useful about either one of them. Could you try changing your log4j.xml and properties-local.xml per the "Development configuration" (see link below), reproduce the issues, and re-attach the logs you're getting?

http://wiki.orbeon.com/forms/doc/developer-guide/xforms-logging#TOC-Development-configuration

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: my forms are not functional after 3.9 to 4.2 transfer, using custom security configuration

Andrey
Thank you for your reply.

I have tried to change coniguration
http://wiki.orbeon.com/forms/doc/developer-guide/xforms-logging#TOC-Development-configuration
but with option 2 (modified properties-local.xml) Orbeon failed to deploy, so I just turned on "debug" in log4j.xml.

As for me, there is not much information anyway. Attached is orbeon.log with errors on my form opening (first one, XFormsSubmissionException) and on hello.jsp (copy of Hello World Orbeon sample) page opening.

Please, take a look.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
 
 
Reply | Threaded
Open this post in threaded view
|

Re: my forms are not functional after 3.9 to 4.2 transfer, using custom security configuration

Andrey
sorry, here is a log file

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
 
 

orbeon.log (116K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: my forms are not functional after 3.9 to 4.2 transfer, using custom security configuration

Andrey
In reply to this post by Andrey
Hello!
I have found a solution for problem with submissions. Not sure if it is correct approach, but it works.
Long time ago I patched Orbeon 3.9 (Connection.java) to forward cookie with specific name (Tolven security token). New versions have property to control, which cookies to forward, but forwarding function also contains check for correct session, which fails every time for my situation, so cookies I specify in 4.2 properties are not forwarded anyway.
So I changed and recompiled Connection.scala to hardcode my cookie forwarding. Now my submissions work.
(Hello World sample behavior is same with patched version, I have no idea, why it does not work).

But in the end, fixing Orbeon 4.2 submissions does not solve my initial problem I had a hope to resolve with 3.9 to 4.2 update.
I think will post it in different thread.

Thanks,
Andrey

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].