problem with an external eXist db

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

problem with an external eXist db

Lomobob
Hi all,

I installed orbeon (4.0.0.M19.201212120146-PE) on a tomcat (6.0.36). Everything works fine, i create a form with form builder, no problem.

Then I installed on the same machine eXist (1.4.3-rev17131) that I configured to listen on port 8079 to avoid conflict. In order to continue my work, i saved the source of my form in a file, and, as explained here, I created the file properties-local.xml and put it in orbeon/web-inf/ressources/config

Here's the detail of the file properties-local.xml:

<property as="xs:anyURI" name="oxf.fr.persistence.exist.exist-uri" value="http://orbeon:mypassword@localhost:8079/exist/rest/db/orbeon/fr"/>

I also configured eXist with a user orbeon.

Then I restart tomcat, lauch firefox to access orbeon; I click on form builder, and go to the page to create a new form. I enter an application name (toto), a form name (titi), click on continue, then save.

I close the form, then go on the summary page, where i can see my form "toto", but then when I try to open it, I have an error page (Orbeon forms - an error has occured).

I used the administrative client tool of eXist to check, and i found the file data.xml (in orbeon/fr/orbeon/builder/data/a_lot_of_hex_number/ ) that correspond to my form, so I guess my connection with eXist is OK, but i don't know what to do from there...

Thank you !

Lomobob


--
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
Reply | Threaded
Open this post in threaded view
|

Re: problem with an external eXist db

Alessandro  Vernet
Administrator
Hi Lomobob,

Interesting. Obviously Orbeon Forms is able to write to eXist (when saving), and to query eXist (for the summary page). Now, why wouldn't it be able to read from eXist? To figure this out, I would setup Orbeon Forms' logging as described in the "Development configuration" section linked below, restart the server, reproduce the problem, and see what error you get in the orbeon.log. If the error doesn't make sense to you, feel free to respond attaching your orbeon.log, and we'll try to figure out it.


Alex


On Tue, Jan 29, 2013 at 8:13 AM, L'omobob <[hidden email]> wrote:
Hi all,

I installed orbeon (4.0.0.M19.201212120146-PE) on a tomcat (6.0.36). Everything works fine, i create a form with form builder, no problem.

Then I installed on the same machine eXist (1.4.3-rev17131) that I configured to listen on port 8079 to avoid conflict. In order to continue my work, i saved the source of my form in a file, and, as explained here, I created the file properties-local.xml and put it in orbeon/web-inf/ressources/config

Here's the detail of the file properties-local.xml:

<property as="xs:anyURI" name="oxf.fr.persistence.exist.exist-uri" value="http://orbeon:mypassword@localhost:8079/exist/rest/db/orbeon/fr"/>

I also configured eXist with a user orbeon.

Then I restart tomcat, lauch firefox to access orbeon; I click on form builder, and go to the page to create a new form. I enter an application name (toto), a form name (titi), click on continue, then save.

I close the form, then go on the summary page, where i can see my form "toto", but then when I try to open it, I have an error page (Orbeon forms - an error has occured).

I used the administrative client tool of eXist to check, and i found the file data.xml (in orbeon/fr/orbeon/builder/data/a_lot_of_hex_number/ ) that correspond to my form, so I guess my connection with eXist is OK, but i don't know what to do from there...

Thank you !

Lomobob


--
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


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: problem with an external eXist db

Lomobob
Thank you, I did what you said, here's the log (I only kept from the moment I try to re-open the form, if needed I can send the full file).

Lomobob

On Wed, Jan 30, 2013 at 2:24 AM, Alessandro Vernet <[hidden email]> wrote:
Hi Lomobob,

Interesting. Obviously Orbeon Forms is able to write to eXist (when saving), and to query eXist (for the summary page). Now, why wouldn't it be able to read from eXist? To figure this out, I would setup Orbeon Forms' logging as described in the "Development configuration" section linked below, restart the server, reproduce the problem, and see what error you get in the orbeon.log. If the error doesn't make sense to you, feel free to respond attaching your orbeon.log, and we'll try to figure out it.


Alex


On Tue, Jan 29, 2013 at 8:13 AM, L'omobob <[hidden email]> wrote:
Hi all,

I installed orbeon (4.0.0.M19.201212120146-PE) on a tomcat (6.0.36). Everything works fine, i create a form with form builder, no problem.

Then I installed on the same machine eXist (1.4.3-rev17131) that I configured to listen on port 8079 to avoid conflict. In order to continue my work, i saved the source of my form in a file, and, as explained here, I created the file properties-local.xml and put it in orbeon/web-inf/ressources/config

Here's the detail of the file properties-local.xml:

<property as="xs:anyURI" name="oxf.fr.persistence.exist.exist-uri" value="http://orbeon:mypassword@localhost:8079/exist/rest/db/orbeon/fr"/>

I also configured eXist with a user orbeon.

Then I restart tomcat, lauch firefox to access orbeon; I click on form builder, and go to the page to create a new form. I enter an application name (toto), a form name (titi), click on continue, then save.

I close the form, then go on the summary page, where i can see my form "toto", but then when I try to open it, I have an error page (Orbeon forms - an error has occured).

I used the administrative client tool of eXist to check, and i found the file data.xml (in orbeon/fr/orbeon/builder/data/a_lot_of_hex_number/ ) that correspond to my form, so I guess my connection with eXist is OK, but i don't know what to do from there...

Thank you !

Lomobob


--
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


--
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

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

Re: Re: Re: problem with an external eXist db

Alessandro  Vernet
Administrator
Hi Lomobob,

From the log, it looks like there was an NullPointerException in eXist, when accessing http://localhost:8079/exist/rest/db/orbeon/fr/orbeon/builder/data/2fb3366d931c01d1da333856b5997918ab582f96/data.xml. Could you try accessing that URL directly, from your browser? What are you getting?

Alex


On Wed, Jan 30, 2013 at 3:04 AM, L'omobob <[hidden email]> wrote:
Thank you, I did what you said, here's the log (I only kept from the moment I try to re-open the form, if needed I can send the full file).

Lomobob


On Wed, Jan 30, 2013 at 2:24 AM, Alessandro Vernet <[hidden email]> wrote:
Hi Lomobob,

Interesting. Obviously Orbeon Forms is able to write to eXist (when saving), and to query eXist (for the summary page). Now, why wouldn't it be able to read from eXist? To figure this out, I would setup Orbeon Forms' logging as described in the "Development configuration" section linked below, restart the server, reproduce the problem, and see what error you get in the orbeon.log. If the error doesn't make sense to you, feel free to respond attaching your orbeon.log, and we'll try to figure out it.


Alex


On Tue, Jan 29, 2013 at 8:13 AM, L'omobob <[hidden email]> wrote:
Hi all,

I installed orbeon (4.0.0.M19.201212120146-PE) on a tomcat (6.0.36). Everything works fine, i create a form with form builder, no problem.

Then I installed on the same machine eXist (1.4.3-rev17131) that I configured to listen on port 8079 to avoid conflict. In order to continue my work, i saved the source of my form in a file, and, as explained here, I created the file properties-local.xml and put it in orbeon/web-inf/ressources/config

Here's the detail of the file properties-local.xml:

<property as="xs:anyURI" name="oxf.fr.persistence.exist.exist-uri" value="http://orbeon:mypassword@localhost:8079/exist/rest/db/orbeon/fr"/>

I also configured eXist with a user orbeon.

Then I restart tomcat, lauch firefox to access orbeon; I click on form builder, and go to the page to create a new form. I enter an application name (toto), a form name (titi), click on continue, then save.

I close the form, then go on the summary page, where i can see my form "toto", but then when I try to open it, I have an error page (Orbeon forms - an error has occured).

I used the administrative client tool of eXist to check, and i found the file data.xml (in orbeon/fr/orbeon/builder/data/a_lot_of_hex_number/ ) that correspond to my form, so I guess my connection with eXist is OK, but i don't know what to do from there...

Thank you !

Lomobob


--
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


--
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




--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: problem with an external eXist db

Lomobob
Hi Alex,

When I try, I get a page with:

"oops, an error occured...
java.lang.nullpointerexception
url:
http://localhost:8079/exist/rest/db/orbeon/fr/orbeon/builder/data/2fb3366d931c01d1da333856b5997918ab582f96/data.xml
element causing exception:
unknown

I checked again with the eXist Client Shell, I can find data.xml when opening db/orbeon/fr/orbeon/builder/data/2fb3366d931c01d1da333856b5997918ab582f96/

Maybe the problem come from eXist ?

Thanks again.

Lomobob

On Wed, Jan 30, 2013 at 10:54 PM, Alessandro Vernet <[hidden email]> wrote:
Hi Lomobob,

From the log, it looks like there was an NullPointerException in eXist, when accessing http://localhost:8079/exist/rest/db/orbeon/fr/orbeon/builder/data/2fb3366d931c01d1da333856b5997918ab582f96/data.xml. Could you try accessing that URL directly, from your browser? What are you getting?

Alex


On Wed, Jan 30, 2013 at 3:04 AM, L'omobob <[hidden email]> wrote:
Thank you, I did what you said, here's the log (I only kept from the moment I try to re-open the form, if needed I can send the full file).

Lomobob


On Wed, Jan 30, 2013 at 2:24 AM, Alessandro Vernet <[hidden email]> wrote:
Hi Lomobob,

Interesting. Obviously Orbeon Forms is able to write to eXist (when saving), and to query eXist (for the summary page). Now, why wouldn't it be able to read from eXist? To figure this out, I would setup Orbeon Forms' logging as described in the "Development configuration" section linked below, restart the server, reproduce the problem, and see what error you get in the orbeon.log. If the error doesn't make sense to you, feel free to respond attaching your orbeon.log, and we'll try to figure out it.


Alex


On Tue, Jan 29, 2013 at 8:13 AM, L'omobob <[hidden email]> wrote:
Hi all,

I installed orbeon (4.0.0.M19.201212120146-PE) on a tomcat (6.0.36). Everything works fine, i create a form with form builder, no problem.

Then I installed on the same machine eXist (1.4.3-rev17131) that I configured to listen on port 8079 to avoid conflict. In order to continue my work, i saved the source of my form in a file, and, as explained here, I created the file properties-local.xml and put it in orbeon/web-inf/ressources/config

Here's the detail of the file properties-local.xml:

<property as="xs:anyURI" name="oxf.fr.persistence.exist.exist-uri" value="http://orbeon:mypassword@localhost:8079/exist/rest/db/orbeon/fr"/>

I also configured eXist with a user orbeon.

Then I restart tomcat, lauch firefox to access orbeon; I click on form builder, and go to the page to create a new form. I enter an application name (toto), a form name (titi), click on continue, then save.

I close the form, then go on the summary page, where i can see my form "toto", but then when I try to open it, I have an error page (Orbeon forms - an error has occured).

I used the administrative client tool of eXist to check, and i found the file data.xml (in orbeon/fr/orbeon/builder/data/a_lot_of_hex_number/ ) that correspond to my form, so I guess my connection with eXist is OK, but i don't know what to do from there...

Thank you !

Lomobob


--
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


--
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




--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @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




--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: problem with an external eXist db

Alessandro  Vernet
Administrator
Hi Lomobob,

This indeed looks like an eXist issue to me. I have never seen this, so I'm not sure that I can really help much. Are you already using the latest stable version of eXist (1.4.3 as a I write this)? If you're not using the latest stable version of eXist, I would try to upgrade. If you are, or if the problem persists after upgrading, I would try to post about this in the eXist mailing list (http://exist.2174344.n4.nabble.com/).

Alex


On Thu, Jan 31, 2013 at 12:31 AM, L'omobob <[hidden email]> wrote:
Hi Alex,

When I try, I get a page with:

"oops, an error occured...
java.lang.nullpointerexception
url:
http://localhost:8079/exist/rest/db/orbeon/fr/orbeon/builder/data/2fb3366d931c01d1da333856b5997918ab582f96/data.xml
element causing exception:
unknown

I checked again with the eXist Client Shell, I can find data.xml when opening db/orbeon/fr/orbeon/builder/data/2fb3366d931c01d1da333856b5997918ab582f96/

Maybe the problem come from eXist ?

Thanks again.

Lomobob


On Wed, Jan 30, 2013 at 10:54 PM, Alessandro Vernet <[hidden email]> wrote:
Hi Lomobob,

From the log, it looks like there was an NullPointerException in eXist, when accessing http://localhost:8079/exist/rest/db/orbeon/fr/orbeon/builder/data/2fb3366d931c01d1da333856b5997918ab582f96/data.xml. Could you try accessing that URL directly, from your browser? What are you getting?

Alex


On Wed, Jan 30, 2013 at 3:04 AM, L'omobob <[hidden email]> wrote:
Thank you, I did what you said, here's the log (I only kept from the moment I try to re-open the form, if needed I can send the full file).

Lomobob


On Wed, Jan 30, 2013 at 2:24 AM, Alessandro Vernet <[hidden email]> wrote:
Hi Lomobob,

Interesting. Obviously Orbeon Forms is able to write to eXist (when saving), and to query eXist (for the summary page). Now, why wouldn't it be able to read from eXist? To figure this out, I would setup Orbeon Forms' logging as described in the "Development configuration" section linked below, restart the server, reproduce the problem, and see what error you get in the orbeon.log. If the error doesn't make sense to you, feel free to respond attaching your orbeon.log, and we'll try to figure out it.


Alex


On Tue, Jan 29, 2013 at 8:13 AM, L'omobob <[hidden email]> wrote:
Hi all,

I installed orbeon (4.0.0.M19.201212120146-PE) on a tomcat (6.0.36). Everything works fine, i create a form with form builder, no problem.

Then I installed on the same machine eXist (1.4.3-rev17131) that I configured to listen on port 8079 to avoid conflict. In order to continue my work, i saved the source of my form in a file, and, as explained here, I created the file properties-local.xml and put it in orbeon/web-inf/ressources/config

Here's the detail of the file properties-local.xml:

<property as="xs:anyURI" name="oxf.fr.persistence.exist.exist-uri" value="http://orbeon:mypassword@localhost:8079/exist/rest/db/orbeon/fr"/>

I also configured eXist with a user orbeon.

Then I restart tomcat, lauch firefox to access orbeon; I click on form builder, and go to the page to create a new form. I enter an application name (toto), a form name (titi), click on continue, then save.

I close the form, then go on the summary page, where i can see my form "toto", but then when I try to open it, I have an error page (Orbeon forms - an error has occured).

I used the administrative client tool of eXist to check, and i found the file data.xml (in orbeon/fr/orbeon/builder/data/a_lot_of_hex_number/ ) that correspond to my form, so I guess my connection with eXist is OK, but i don't know what to do from there...

Thank you !

Lomobob


--
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


--
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




--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @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




--
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


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: problem with an external eXist db

Eric van der Vlist
Hmmm...

Couldn't that be due to the support of BetterForm which is now enabled
by default in eXist?

To disable it, see
http://exist.2174344.n4.nabble.com/circumventing-betterform-td4655661.html 

++++++++++++++++++++++
The easiest way to disable betterform is to change
webapp/WEB-INF/betterform-config.xml and set the following property to
"true":

<property name="filter.ignoreResponseBody" value="false"
                   description="if 'true' XFormsFilter will not check
reponse body for XForms markup"/>
++++++++++++++++++++++

Hope this helps.

Eric

Le jeudi 31 janvier 2013 à 12:19 -0800, Alessandro Vernet a écrit :

> Hi Lomobob,
>
>
> This indeed looks like an eXist issue to me. I have never seen this,
> so I'm not sure that I can really help much. Are you already using the
> latest stable version of eXist (1.4.3 as a I write this)? If you're
> not using the latest stable version of eXist, I would try to upgrade.
> If you are, or if the problem persists after upgrading, I would try to
> post about this in the eXist mailing list
> (http://exist.2174344.n4.nabble.com/).
>
>
> Alex
>
>
> On Thu, Jan 31, 2013 at 12:31 AM, L'omobob <[hidden email]> wrote:
>         Hi Alex,
>        
>         When I try, I get a page with:
>        
>         "oops, an error occured...
>         java.lang.nullpointerexception
>         url:
>         http://localhost:8079/exist/rest/db/orbeon/fr/orbeon/builder/data/2fb3366d931c01d1da333856b5997918ab582f96/data.xml
>         element causing exception:
>         unknown
>        
>         I checked again with the eXist Client Shell, I can find
>         data.xml when opening
>         db/orbeon/fr/orbeon/builder/data/2fb3366d931c01d1da333856b5997918ab582f96/
>        
>         Maybe the problem come from eXist ?
>        
>         Thanks again.
>        
>         Lomobob
>        
>        
>         On Wed, Jan 30, 2013 at 10:54 PM, Alessandro Vernet
>         <[hidden email]> wrote:
>                 Hi Lomobob,
>                
>                
>                 >From the log, it looks like there was
>                 an NullPointerException in eXist, when
>                 accessing http://localhost:8079/exist/rest/db/orbeon/fr/orbeon/builder/data/2fb3366d931c01d1da333856b5997918ab582f96/data.xml. Could you try accessing that URL directly, from your browser? What are you getting?
>                
>                
>                 Alex
>                
>                
>                 On Wed, Jan 30, 2013 at 3:04 AM, L'omobob
>                 <[hidden email]> wrote:
>                         Thank you, I did what you said, here's the log
>                         (I only kept from the moment I try to re-open
>                         the form, if needed I can send the full file).
>                        
>                         Lomobob
>                        
>                        
>                         On Wed, Jan 30, 2013 at 2:24 AM, Alessandro
>                         Vernet <[hidden email]> wrote:
>                                 Hi Lomobob,
>                                
>                                
>                                 Interesting. Obviously Orbeon Forms is
>                                 able to write to eXist (when saving),
>                                 and to query eXist (for the summary
>                                 page). Now, why wouldn't it be able to
>                                 read from eXist? To figure this out, I
>                                 would setup Orbeon Forms' logging as
>                                 described in the "Development
>                                 configuration" section linked below,
>                                 restart the server, reproduce the
>                                 problem, and see what error you get in
>                                 the orbeon.log. If the error doesn't
>                                 make sense to you, feel free to
>                                 respond attaching your orbeon.log, and
>                                 we'll try to figure out it.
>                                
>                                
>                                 http://wiki.orbeon.com/forms/doc/developer-guide/xforms-logging#TOC-Development-configuration
>                                
>                                
>                                
>                                 Alex
>                                
>                                
>                                 On Tue, Jan 29, 2013 at 8:13 AM,
>                                 L'omobob <[hidden email]> wrote:
>                                
>                                         Hi all,
>                                        
>                                         I installed orbeon
>                                         (4.0.0.M19.201212120146-PE) on
>                                         a tomcat (6.0.36). Everything
>                                         works fine, i create a form
>                                         with form builder, no problem.
>                                        
>                                         Then I installed on the same
>                                         machine eXist (1.4.3-rev17131)
>                                         that I configured to listen on
>                                         port 8079 to avoid conflict.
>                                         In order to continue my work,
>                                         i saved the source of my form
>                                         in a file, and, as explained
>                                         here, I created the file
>                                         properties-local.xml and put
>                                         it in
>                                         orbeon/web-inf/ressources/config
>                                        
>                                         Here's the detail of the file
>                                         properties-local.xml:
>                                        
>                                         <property as="xs:anyURI"
>                                         name="oxf.fr.persistence.exist.exist-uri" value="http://orbeon:mypassword@localhost:8079/exist/rest/db/orbeon/fr"/>
>                                        
>                                         I also configured eXist with a
>                                         user orbeon.
>                                        
>                                         Then I restart tomcat, lauch
>                                         firefox to access orbeon; I
>                                         click on form builder, and go
>                                         to the page to create a new
>                                         form. I enter an application
>                                         name (toto), a form name
>                                         (titi), click on continue,
>                                         then save.
>                                        
>                                         I close the form, then go on
>                                         the summary page, where i can
>                                         see my form "toto", but then
>                                         when I try to open it, I have
>                                         an error page (Orbeon forms -
>                                         an error has occured).
>                                        
>                                         I used the administrative
>                                         client tool of eXist to check,
>                                         and i found the file data.xml
>                                         (in
>                                         orbeon/fr/orbeon/builder/data/a_lot_of_hex_number/ ) that correspond to my form, so I guess my connection with eXist is OK, but i don't know what to do from there...
>                                        
>                                         Thank you !
>                                        
>                                         Lomobob
>                                        
>                                        
>                                        
>                                         --
>                                         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
>                                
>                                
>                                
>                                 --
>                                 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
>                        
>                
>                
>                
>                
>                 --
>                 Follow Orbeon on Twitter: @orbeon
>                 Follow me on Twitter: @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
>                
>        
>        
>        
>        
>         --
>         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
>
> pièce jointe Adobe Bridge Workspace File (message-footer.txt)
> --
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Re: problem with an external eXist db

Lomobob
Hi Eric !

Your advise solve my problem :)

Thank you all !

Lomobob

On Thu, Jan 31, 2013 at 9:33 PM, Eric van der Vlist <[hidden email]> wrote:
Hmmm...

Couldn't that be due to the support of BetterForm which is now enabled
by default in eXist?

To disable it, see
http://exist.2174344.n4.nabble.com/circumventing-betterform-td4655661.html

++++++++++++++++++++++
The easiest way to disable betterform is to change
webapp/WEB-INF/betterform-config.xml and set the following property to
"true":

<property name="filter.ignoreResponseBody" value="false"
                   description="if 'true' XFormsFilter will not check
reponse body for XForms markup"/>
++++++++++++++++++++++

Hope this helps.

Eric

Le jeudi 31 janvier 2013 à 12:19 -0800, Alessandro Vernet a écrit :
> Hi Lomobob,
>
>
> This indeed looks like an eXist issue to me. I have never seen this,
> so I'm not sure that I can really help much. Are you already using the
> latest stable version of eXist (1.4.3 as a I write this)? If you're
> not using the latest stable version of eXist, I would try to upgrade.
> If you are, or if the problem persists after upgrading, I would try to
> post about this in the eXist mailing list
> (http://exist.2174344.n4.nabble.com/).
>
>
> Alex
>
>
> On Thu, Jan 31, 2013 at 12:31 AM, L'omobob <[hidden email]> wrote:
>         Hi Alex,
>
>         When I try, I get a page with:
>
>         "oops, an error occured...
>         java.lang.nullpointerexception
>         url:
>         http://localhost:8079/exist/rest/db/orbeon/fr/orbeon/builder/data/2fb3366d931c01d1da333856b5997918ab582f96/data.xml
>         element causing exception:
>         unknown
>
>         I checked again with the eXist Client Shell, I can find
>         data.xml when opening
>         db/orbeon/fr/orbeon/builder/data/2fb3366d931c01d1da333856b5997918ab582f96/
>
>         Maybe the problem come from eXist ?
>
>         Thanks again.
>
>         Lomobob
>
>
>         On Wed, Jan 30, 2013 at 10:54 PM, Alessandro Vernet
>         <[hidden email]> wrote:
>                 Hi Lomobob,
>
>
>                 >From the log, it looks like there was
>                 an NullPointerException in eXist, when
>                 accessing http://localhost:8079/exist/rest/db/orbeon/fr/orbeon/builder/data/2fb3366d931c01d1da333856b5997918ab582f96/data.xml. Could you try accessing that URL directly, from your browser? What are you getting?
>
>
>                 Alex
>
>
>                 On Wed, Jan 30, 2013 at 3:04 AM, L'omobob
>                 <[hidden email]> wrote:
>                         Thank you, I did what you said, here's the log
>                         (I only kept from the moment I try to re-open
>                         the form, if needed I can send the full file).
>
>                         Lomobob
>
>
>                         On Wed, Jan 30, 2013 at 2:24 AM, Alessandro
>                         Vernet <[hidden email]> wrote:
>                                 Hi Lomobob,
>
>
>                                 Interesting. Obviously Orbeon Forms is
>                                 able to write to eXist (when saving),
>                                 and to query eXist (for the summary
>                                 page). Now, why wouldn't it be able to
>                                 read from eXist? To figure this out, I
>                                 would setup Orbeon Forms' logging as
>                                 described in the "Development
>                                 configuration" section linked below,
>                                 restart the server, reproduce the
>                                 problem, and see what error you get in
>                                 the orbeon.log. If the error doesn't
>                                 make sense to you, feel free to
>                                 respond attaching your orbeon.log, and
>                                 we'll try to figure out it.
>
>
>                                 http://wiki.orbeon.com/forms/doc/developer-guide/xforms-logging#TOC-Development-configuration
>
>
>
>                                 Alex
>
>
>                                 On Tue, Jan 29, 2013 at 8:13 AM,
>                                 L'omobob <[hidden email]> wrote:
>
>                                         Hi all,
>
>                                         I installed orbeon
>                                         (4.0.0.M19.201212120146-PE) on
>                                         a tomcat (6.0.36). Everything
>                                         works fine, i create a form
>                                         with form builder, no problem.
>
>                                         Then I installed on the same
>                                         machine eXist (1.4.3-rev17131)
>                                         that I configured to listen on
>                                         port 8079 to avoid conflict.
>                                         In order to continue my work,
>                                         i saved the source of my form
>                                         in a file, and, as explained
>                                         here, I created the file
>                                         properties-local.xml and put
>                                         it in
>                                         orbeon/web-inf/ressources/config
>
>                                         Here's the detail of the file
>                                         properties-local.xml:
>
>                                         <property as="xs:anyURI"
>                                         name="oxf.fr.persistence.exist.exist-uri" value="http://orbeon:mypassword@localhost:8079/exist/rest/db/orbeon/fr"/>
>
>                                         I also configured eXist with a
>                                         user orbeon.
>
>                                         Then I restart tomcat, lauch
>                                         firefox to access orbeon; I
>                                         click on form builder, and go
>                                         to the page to create a new
>                                         form. I enter an application
>                                         name (toto), a form name
>                                         (titi), click on continue,
>                                         then save.
>
>                                         I close the form, then go on
>                                         the summary page, where i can
>                                         see my form "toto", but then
>                                         when I try to open it, I have
>                                         an error page (Orbeon forms -
>                                         an error has occured).
>
>                                         I used the administrative
>                                         client tool of eXist to check,
>                                         and i found the file data.xml
>                                         (in
>                                         orbeon/fr/orbeon/builder/data/a_lot_of_hex_number/ ) that correspond to my form, so I guess my connection with eXist is OK, but i don't know what to do from there...
>
>                                         Thank you !
>
>                                         Lomobob
>
>
>
>                                         --
>                                         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
>
>
>
>                                 --
>                                 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
>
>
>
>
>
>                 --
>                 Follow Orbeon on Twitter: @orbeon
>                 Follow me on Twitter: @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
>
>
>
>
>
>         --
>         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
>
> pièce jointe Adobe Bridge Workspace File (message-footer.txt)
> --
> 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




--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Re: Re: problem with an external eXist db

Alessandro  Vernet
Administrator

Good to know indeed; thank you Eric for the suggestion.

Alex

On Feb 9, 2013 3:34 AM, "L'omobob" <[hidden email]> wrote:
Hi Eric !

Your advise solve my problem :)

Thank you all !

Lomobob

On Thu, Jan 31, 2013 at 9:33 PM, Eric van der Vlist <[hidden email]> wrote:
Hmmm...

Couldn't that be due to the support of BetterForm which is now enabled
by default in eXist?

To disable it, see
http://exist.2174344.n4.nabble.com/circumventing-betterform-td4655661.html

++++++++++++++++++++++
The easiest way to disable betterform is to change
webapp/WEB-INF/betterform-config.xml and set the following property to
"true":

<property name="filter.ignoreResponseBody" value="false"
                   description="if 'true' XFormsFilter will not check
reponse body for XForms markup"/>
++++++++++++++++++++++

Hope this helps.

Eric

Le jeudi 31 janvier 2013 à 12:19 -0800, Alessandro Vernet a écrit :
> Hi Lomobob,
>
>
> This indeed looks like an eXist issue to me. I have never seen this,
> so I'm not sure that I can really help much. Are you already using the
> latest stable version of eXist (1.4.3 as a I write this)? If you're
> not using the latest stable version of eXist, I would try to upgrade.
> If you are, or if the problem persists after upgrading, I would try to
> post about this in the eXist mailing list
> (http://exist.2174344.n4.nabble.com/).
>
>
> Alex
>
>
> On Thu, Jan 31, 2013 at 12:31 AM, L'omobob <[hidden email]> wrote:
>         Hi Alex,
>
>         When I try, I get a page with:
>
>         "oops, an error occured...
>         java.lang.nullpointerexception
>         url:
>         http://localhost:8079/exist/rest/db/orbeon/fr/orbeon/builder/data/2fb3366d931c01d1da333856b5997918ab582f96/data.xml
>         element causing exception:
>         unknown
>
>         I checked again with the eXist Client Shell, I can find
>         data.xml when opening
>         db/orbeon/fr/orbeon/builder/data/2fb3366d931c01d1da333856b5997918ab582f96/
>
>         Maybe the problem come from eXist ?
>
>         Thanks again.
>
>         Lomobob
>
>
>         On Wed, Jan 30, 2013 at 10:54 PM, Alessandro Vernet
>         <[hidden email]> wrote:
>                 Hi Lomobob,
>
>
>                 >From the log, it looks like there was
>                 an NullPointerException in eXist, when
>                 accessing http://localhost:8079/exist/rest/db/orbeon/fr/orbeon/builder/data/2fb3366d931c01d1da333856b5997918ab582f96/data.xml. Could you try accessing that URL directly, from your browser? What are you getting?
>
>
>                 Alex
>
>
>                 On Wed, Jan 30, 2013 at 3:04 AM, L'omobob
>                 <[hidden email]> wrote:
>                         Thank you, I did what you said, here's the log
>                         (I only kept from the moment I try to re-open
>                         the form, if needed I can send the full file).
>
>                         Lomobob
>
>
>                         On Wed, Jan 30, 2013 at 2:24 AM, Alessandro
>                         Vernet <[hidden email]> wrote:
>                                 Hi Lomobob,
>
>
>                                 Interesting. Obviously Orbeon Forms is
>                                 able to write to eXist (when saving),
>                                 and to query eXist (for the summary
>                                 page). Now, why wouldn't it be able to
>                                 read from eXist? To figure this out, I
>                                 would setup Orbeon Forms' logging as
>                                 described in the "Development
>                                 configuration" section linked below,
>                                 restart the server, reproduce the
>                                 problem, and see what error you get in
>                                 the orbeon.log. If the error doesn't
>                                 make sense to you, feel free to
>                                 respond attaching your orbeon.log, and
>                                 we'll try to figure out it.
>
>
>                                 http://wiki.orbeon.com/forms/doc/developer-guide/xforms-logging#TOC-Development-configuration
>
>
>
>                                 Alex
>
>
>                                 On Tue, Jan 29, 2013 at 8:13 AM,
>                                 L'omobob <[hidden email]> wrote:
>
>                                         Hi all,
>
>                                         I installed orbeon
>                                         (4.0.0.M19.201212120146-PE) on
>                                         a tomcat (6.0.36). Everything
>                                         works fine, i create a form
>                                         with form builder, no problem.
>
>                                         Then I installed on the same
>                                         machine eXist (1.4.3-rev17131)
>                                         that I configured to listen on
>                                         port 8079 to avoid conflict.
>                                         In order to continue my work,
>                                         i saved the source of my form
>                                         in a file, and, as explained
>                                         here, I created the file
>                                         properties-local.xml and put
>                                         it in
>                                         orbeon/web-inf/ressources/config
>
>                                         Here's the detail of the file
>                                         properties-local.xml:
>
>                                         <property as="xs:anyURI"
>                                         name="oxf.fr.persistence.exist.exist-uri" value="http://orbeon:mypassword@localhost:8079/exist/rest/db/orbeon/fr"/>
>
>                                         I also configured eXist with a
>                                         user orbeon.
>
>                                         Then I restart tomcat, lauch
>                                         firefox to access orbeon; I
>                                         click on form builder, and go
>                                         to the page to create a new
>                                         form. I enter an application
>                                         name (toto), a form name
>                                         (titi), click on continue,
>                                         then save.
>
>                                         I close the form, then go on
>                                         the summary page, where i can
>                                         see my form "toto", but then
>                                         when I try to open it, I have
>                                         an error page (Orbeon forms -
>                                         an error has occured).
>
>                                         I used the administrative
>                                         client tool of eXist to check,
>                                         and i found the file data.xml
>                                         (in
>                                         orbeon/fr/orbeon/builder/data/a_lot_of_hex_number/ ) that correspond to my form, so I guess my connection with eXist is OK, but i don't know what to do from there...
>
>                                         Thank you !
>
>                                         Lomobob
>
>
>
>                                         --
>                                         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
>
>
>
>                                 --
>                                 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
>
>
>
>
>
>                 --
>                 Follow Orbeon on Twitter: @orbeon
>                 Follow me on Twitter: @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
>
>
>
>
>
>         --
>         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
>
> pièce jointe Adobe Bridge Workspace File (message-footer.txt)
> --
> 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




--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet