Getting started with exist and orbeon

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

Getting started with exist and orbeon

Ihe Onwuka
Hi,

I am  trying to complete a development started on XSLTForms with Orbeon.

I was originally  running exist 2.0 on Linux and plumped for XSLTForms
for 2 reasons.

1.  I couldn't understand how to configure Tomcat to run Orbeon on Linux
2.  It wasn't apparent how to connect Orbeon with eXist, more
especially since I had successfully set up eXist to run on the Jetty
webserver. Does that mean that Tomcat and Jetty could or could not
co-exist. I didn't want the distraction of experimenting when I was
trying to develop my first XForms application.

I'm moving away from XSLTForms due to as yet unresolved performance
problems and decided to set up to run orbeon on a different machine
and on Windows since configuring Orbeon to run on Tomcat in Windows
seems much more straightforward.

It seems however that with the Orbeon 3.9 there is no longer an
embedded eXist database, which leaves one following the otherwise
excellent tutorial a bit high and dry.

The instructions  here assume a linux setup
http://wiki.orbeon.com/forms/doc/developer-guide/exist-configuration
and that a person is running eXist 1.4, neither which apply in my
case.

This here mentions that eXist is no longer embedded as of 3.9 but does
not mention what supplants it.
http://stackoverflow.com/questions/2587370/connect-orbeon-xform-to-external-exist-db?rq=1

I am not wedded to any particular platform (in that I could easily
start over). My current set up has been the product of expedience, but
I do need my orbeon to talk to my exist 2.0 if I am going to create
anything useful.

So what I am looking for now is the path of least resistance to get my
XForm working. I considered going to Orbeon 3.8 but that comes
embedded with eXist 1.4 and I want 2.0.

I am open to anything, including reverting to an all Linux set up if need be.

thanks


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

Re: Getting started with exist and orbeon

DL
This post was updated on .
I've got a dual boot windows & ubuntu setup but mostly I now use ubuntu unless I have to use windows.

I would run on linux/ubuntu ...

orbeon on tomcat7 (port 8080)

since eXist 2.0 pre-release does not come with a *.war at this stage I would try running on jetty server making sure that it runs on a port such as 8180 which does not clash with orbeon running on tomcat7 on port 8080.

then setup orbeon to use external eXist-db (2.0) .. refer to orbeon wiki for external db,

i.e. tomcat and jetty can co-exist (running on separate ports).

Here are some links for setting up tomcat7

http://diegobenna.blogspot.co.uk/2011/01/install-tomcat-7-in-ubuntu-1010.html

http://www3.ntu.edu.sg/home/ehchua/programming/howto/Tomcat_More.html


Refer to orbeon docs on installing orbeon.

In my ubuntu configuration I have orbeon here ..

/usr/share/tomcat7/webapps/orbeon

Reply | Threaded
Open this post in threaded view
|

Re: Getting started with exist and orbeon

Erik Bruchez
Administrator
In reply to this post by Ihe Onwuka
> It seems however that with the Orbeon 3.9 there is no longer an
> embedded eXist database, which leaves one following the otherwise
> excellent tutorial a bit high and dry.

There is still an embedded eXist with 3.9 and 4.0.

What is no longer there since 3.9 included is a *specific* use of the
embedded eXist by the XForms engine.

In other words eXist is fully optional in 3.9 and 4.0, but it is still
enabled by default for the example forms and Form Builder.

> I am not wedded to any particular platform (in that I could easily
> start over). My current set up has been the product of expedience, but
> I do need my orbeon to talk to my exist 2.0 if I am going to create
> anything useful.
>
> So what I am looking for now is the path of least resistance to get my
> XForm working. I considered going to Orbeon 3.8 but that comes
> embedded with eXist 1.4 and I want 2.0.

No please don't use 3.8. There is really no reason to.

Tomcat and Jetty can coexist as long as they use different ports.

Orbeon should be able to connect to your external eXist.

With 3.9, setup in your properties-local.xml:

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

With 4.0:

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

Adjust username, password, host, port, and context as needed.

-Erik


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