Orbeon issues with Exist (and solution?)

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

Orbeon issues with Exist (and solution?)

Pere Villega-2
Hi everybody,

Just writing about an issue we've had with Orbeon and our solution, any
other proposals are welcome.

I'm using Orbeon as a piece of Muradora (a GUI for Fedora repository).
We deploy Orbeon 3.6.0 on Tomcat 6.0 using Java 6.0 under a Debian
environment. We've got some serious issues with Orbeon, that have been
traced to Exist, the xml database.

While starting tomcat we saw in log files complains of Orbeon (exist, in
fact) about missing jar files (xalan and xerces). Seems Exist does the
check for specific versions (like 8.9.0.3) so if you include other
versions (8.9.0.4 or 9.0 for example) it complains.

Also, if you put wrong version of the libraries, when you stop tomcat it
remains in memory, consuming CPU and resources and has to be killed
manually.

We've solved that adding XercesImpl.jar , from Xerces 2.8.1 and
Xalan.jar, from Xalan 2.7.0 into WEB-INF/lib, and rebuilding the war
files. Now Orbeon and Exist work perfectly, no complains.

That's all, comments welcome,
Pere




--
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: Orbeon issues with Exist (and solution?)

Erik Bruchez
Administrator
Pere,

Thanks for this feedback.

Another solution is to deploy eXist either as a separate WAR, or as a  
standalone database. This will avoid JAR conflicts related to eXist.

-Erik

On Feb 29, 2008, at 6:53 AM, Pere Villega wrote:

> Hi everybody,
>
> Just writing about an issue we've had with Orbeon and our solution,  
> any
> other proposals are welcome.
>
> I'm using Orbeon as a piece of Muradora (a GUI for Fedora repository).
> We deploy Orbeon 3.6.0 on Tomcat 6.0 using Java 6.0 under a Debian
> environment. We've got some serious issues with Orbeon, that have been
> traced to Exist, the xml database.
>
> While starting tomcat we saw in log files complains of Orbeon  
> (exist, in
> fact) about missing jar files (xalan and xerces). Seems Exist does the
> check for specific versions (like 8.9.0.3) so if you include other
> versions (8.9.0.4 or 9.0 for example) it complains.
>
> Also, if you put wrong version of the libraries, when you stop  
> tomcat it
> remains in memory, consuming CPU and resources and has to be killed
> manually.
>
> We've solved that adding XercesImpl.jar , from Xerces 2.8.1 and
> Xalan.jar, from Xalan 2.7.0 into WEB-INF/lib, and rebuilding the war
> files. Now Orbeon and Exist work perfectly, no complains.
>
> That's all, comments welcome,
> Pere
--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Orbeon issues with Exist (and solution?)

Jean Luc-2
Hi Erik,

Can you please give details about what config changes are required to set up
eXist as a separate WAR (not sure what's implied by having it as a "separate
database"). I'm facing related issues with those JARs - on one application
server whose classloading policy is always "parent-first", those JARs are
ignored and thus break eXist. Any leeway that I have might be useful.

Incidentally, if you hear anything about eXist having this packaging mess
fixed, please post it to the list.

Thanks,
JL


----- Original Message -----
From: "Erik Bruchez" <[hidden email]>
To: <[hidden email]>
Sent: Friday, February 29, 2008 1:19 PM
Subject: [ops-users] Re: Orbeon issues with Exist (and solution?)


> Pere,
>
> Thanks for this feedback.
>
> Another solution is to deploy eXist either as a separate WAR, or as a
> standalone database. This will avoid JAR conflicts related to eXist.
>
> -Erik
>
> On Feb 29, 2008, at 6:53 AM, Pere Villega wrote:
>
>> Hi everybody,
>>
>> Just writing about an issue we've had with Orbeon and our solution,
>> any
>> other proposals are welcome.
>>
>> I'm using Orbeon as a piece of Muradora (a GUI for Fedora repository).
>> We deploy Orbeon 3.6.0 on Tomcat 6.0 using Java 6.0 under a Debian
>> environment. We've got some serious issues with Orbeon, that have been
>> traced to Exist, the xml database.
>>
>> While starting tomcat we saw in log files complains of Orbeon
>> (exist, in
>> fact) about missing jar files (xalan and xerces). Seems Exist does the
>> check for specific versions (like 8.9.0.3) so if you include other
>> versions (8.9.0.4 or 9.0 for example) it complains.
>>
>> Also, if you put wrong version of the libraries, when you stop
>> tomcat it
>> remains in memory, consuming CPU and resources and has to be killed
>> manually.
>>
>> We've solved that adding XercesImpl.jar , from Xerces 2.8.1 and
>> Xalan.jar, from Xalan 2.7.0 into WEB-INF/lib, and rebuilding the war
>> files. Now Orbeon and Exist work perfectly, no complains.
>>
>> That's all, comments welcome,
>> Pere
>
> --
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Orbeon issues with Exist (and solution?)

Erik Bruchez
Administrator
Jean-Luc,

eXist comes with a WAR file, which you can deploy in your Servlet  
container.

There are two main uses of eXist in Orbeon Forms:

1. Built-in, for storing XForms state information.

For this mode, and if the eXist embedded with Orbeon Forms doesn't  
work at all, you will have to modify the following appropriately in  
properties.xml:

<property as="xs:string"  
name="oxf.xforms.store.application.username"   value="guest"/>
<property as="xs:string"  
name="oxf.xforms.store.application.password"   value="guest"/>
<property as="xs:anyURI"  
name="oxf.xforms.store.application.uri"        value="xmldb:exist:///"/>
<property as="xs:string"  
name="oxf.xforms.store.application.collection" value="/db/orbeon/
xforms/cache/"/>

The default setting for the URI, "xmldb:exist:///", means the embedded  
database, which is not what you want. You will have to modify the  
above to point to your version of eXist, and use the proper username/
password.

2. Custom, from applications, like the Governement Forms example.

In that case, it will be up to you to use the proper URLs to point to  
your version of eXist. Currently, the Governement Forms is not  
configurable through properties, but we are working on that in the  
context of our Form Runner effort.

-Erik

On Mar 3, 2008, at 12:05 PM, Jean Luc wrote:

> Hi Erik,
>
> Can you please give details about what config changes are required  
> to set up eXist as a separate WAR (not sure what's implied by having  
> it as a "separate database"). I'm facing related issues with those  
> JARs - on one application server whose classloading policy is always  
> "parent-first", those JARs are ignored and thus break eXist. Any  
> leeway that I have might be useful.
>
> Incidentally, if you hear anything about eXist having this packaging  
> mess fixed, please post it to the list.
>
> Thanks,
> JL
>
>
> ----- Original Message ----- From: "Erik Bruchez"  
> <[hidden email]>
> To: <[hidden email]>
> Sent: Friday, February 29, 2008 1:19 PM
> Subject: [ops-users] Re: Orbeon issues with Exist (and solution?)
>
>
>> Pere,
>>
>> Thanks for this feedback.
>>
>> Another solution is to deploy eXist either as a separate WAR, or as a
>> standalone database. This will avoid JAR conflicts related to eXist.
>>
>> -Erik
>>
>> On Feb 29, 2008, at 6:53 AM, Pere Villega wrote:
>>
>>> Hi everybody,
>>>
>>> Just writing about an issue we've had with Orbeon and our solution,
>>> any
>>> other proposals are welcome.
>>>
>>> I'm using Orbeon as a piece of Muradora (a GUI for Fedora  
>>> repository).
>>> We deploy Orbeon 3.6.0 on Tomcat 6.0 using Java 6.0 under a Debian
>>> environment. We've got some serious issues with Orbeon, that have  
>>> been
>>> traced to Exist, the xml database.
>>>
>>> While starting tomcat we saw in log files complains of Orbeon
>>> (exist, in
>>> fact) about missing jar files (xalan and xerces). Seems Exist does  
>>> the
>>> check for specific versions (like 8.9.0.3) so if you include other
>>> versions (8.9.0.4 or 9.0 for example) it complains.
>>>
>>> Also, if you put wrong version of the libraries, when you stop
>>> tomcat it
>>> remains in memory, consuming CPU and resources and has to be killed
>>> manually.
>>>
>>> We've solved that adding XercesImpl.jar , from Xerces 2.8.1 and
>>> Xalan.jar, from Xalan 2.7.0 into WEB-INF/lib, and rebuilding the war
>>> files. Now Orbeon and Exist work perfectly, no complains.
>>>
>>> That's all, comments welcome,
>>> Pere
>>
>> --
>> 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