Nuxeo as stanalone app

View: New views
13 Messages — Rating Filter:   Alert me  

Nuxeo as stanalone app

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Can we run Nuxeo as a standalone application? I mean can Nuxeo be run without using the Jboss server or any other server, like a standalone desktop application?

But I would like to have API support from which i can make connection, disconnect upload and download files from the API repository.

Thanks in advance.
--
Posted by "nuxram" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2566#7138>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Nuxeo as stanalone app

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

We have a standalone RCP product, for more info:
http://doc.nuxeo.org/5.1/books/nuxeo-rcp-book/html/
You can find the latest snapshots here:
http://download.nuxeo.org/nuxeo-rcp/products/snapshots/
--
Posted by "arussel" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2566#7148>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Nuxeo as stanalone app

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What do we need to activate/enable on Nuxeo DM 5.2 to let Nuxeo RCP connect? With the default setting, I keep on having errors about connecting to socket.

In the server's log, a bunch of things like that appears :

09:50:36,299 ERROR [ServerThread] Worker thread initialization failure
java.io.EOFException
        at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:565)
        at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:406)
        at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:173)

Any idea?
--
Posted by "olivierm" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2566#7151>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Nuxeo as stanalone app

by Ramon De Abreu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!
Had the same problem recently.
I was downloading the nuxeo rcp version from the nuxeo.org page.
Phillip Petit kindly sent me the following link:

http://download.nuxeo.org/nuxeo-rcp/products/snapshots

Here is the latest snapshots.
Works perfectly.
Regards
Ramon De Abreu



On Tue, Jun 23, 2009 at 8:49 AM, <jiveforums-ecm@...> wrote:
What do we need to activate/enable on Nuxeo DM 5.2 to let Nuxeo RCP connect? With the default setting, I keep on having errors about connecting to socket.

In the server's log, a bunch of things like that appears :

09:50:36,299 ERROR [ServerThread] Worker thread initialization failure
java.io.EOFException
       at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:565)
       at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:406)
       at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:173)

Any idea?
--
Posted by "olivierm" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2566#7151>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm


_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Nuxeo as stanalone app

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the post. But my actual requirement is to create a java client to use the Nuxeo repository, without the Jboss running.

I would like to do something like

Object nux = getRepositoryHandle(...)
nux.checkin(...)
nux.getVersion(...)
nux.search(...)
nux.checkout(...)

Is this possible with Nuxeo?
Does Nuxeo use standalone JCR?
--
Posted by "nuxram" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2566#7157>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Nuxeo as stanalone app

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Same question.

I'm really looking for a simple setup because:

1. I'm new to Nuxeo and I need to try the Nuxeo API without running a complete application server.

2. I've been asked to compare and benchmark the Nuxeo API to the JCR2, using some simple scenarios that have been written (by my boss) with the JCR in mind.
--
Posted by "amaury" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2566#7158>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Nuxeo as stanalone app

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

@olivierm: can you start a new thread with your specific pb ?
@nuxram: you need to start Nuxeo somehow, either with JBoss, Jetty or RCP. RCP comes with a stand alone Repository. Do  you really need Nuxeo's service ? looking at your code, it seems you might just use Jackrabbit standalone without Nuxeo
@amaury: "compare and benchmark the Nuxeo API to the JCR2", it doesn't make much sens. Nuxeo is using implementation of JCR (either Jackrabbit or our own VCS sql based repository) to offer services on the top of it. You can compare Nuxeo with other CMS such as Alfresco, you can compare Jackrabbit with VCS, but Nuxeo and JCR is just not the same thing. If you just want to test Nuxeo, I strongly advice to download the package here:
http://www.nuxeo.com/downloads/
It is the JBoss based Nuxeo.
--
Posted by "arussel" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2566#7161>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Nuxeo as stanalone app

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you arussel for your response, but I don't think you understand my problematic (sorry but english is not my first langage).

Nuxeo "offers services" through an API. Same for JCR/JCR2.

The JCR/JCR2 are very well documented (JSR 170 and 283). The Nuxeo API less so.

I have simple content management scenarios that I need to implement to complete my study, and I have to implement them using the JCR, the JCR2, and the Nuxeo API. The goal is to get a feel of how easy it is to develop these simple scenario using the various API.

Of course, we're using specific implementations of JCR to work this out: Jacrabbit, eXo and Alfresco. For the Nuxeo API, there is only one choice: Nuxeo.

I have already completed my work on Jackrabbit and I'd like to move forward with Nuxeo. With Jackrabbit, I only need to run:

java -cp <lots of java librairies> -jar jcr-test.jar

to run my tests (which are, as you can guess, in jcr-test.jar).
--
Posted by "amaury" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2566#7162>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Nuxeo as stanalone app

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You can try using an unit test like approach. Look at SQLRepositoryTestCase for instance and unit tests extending it.

My $0.02
Radu
--
Posted by "rdarlea" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2566#7163>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Nuxeo as stanalone app

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Russel.

You mean that Nuxeo cannot be run without a JBoss server running, right?

I am trying to understand from a higher level. Say I am developing an application which has a doc management functionality. Whenever the the other application tries to do a doc management task it has to communicate to that server, rather than pass an object to the repository ie, the Nuxeo has to be live in the Jboss running somewhere.. Is that right?

Another doubt from the Nuxeo book.

Can we do a Nuxeo Eclipse project with nuxeo-project-sample-XXXX.jar kind of jar?

If someone can provide a sample application that is not dependent on maven, that would really be helpful to me in understanding.

Thanks in Advance.
--
Posted by "nuxram" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2566#7201>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Nuxeo as stanalone app

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

atm, Nuxeo can be run on JBoss, jetty, and OSGI container such as Eclipse. You will typically use Nuxeo as the document management application, modifying its behavior by providing pluging.

You can create plugin without using maven, it is just much more convenient.

For a first look at programming Nuxeo, you can have a look at:
http://www.nuxeo.org/static/book-draft/index.html
--
Posted by "arussel" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2566#7217>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Nuxeo as stanalone app

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In addition, Nuxeo can also run without any web server or application server of any kind, just lightweight modules. Witness Nuxeo Shell for instance.
The only thing to be aware of is that Nuxeo is not just a library, it's a framework that has container-like features itself, in that all the Nuxeo modules need this minimal framework in order to interoperate.
So for instance Nuxeo Shell starts the small Nuxeo Framework before running the main application, which then uses whatever libraries and Nuxeo services it wants.
--
Posted by "fguillaume" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2566#7235>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Nuxeo as stanalone app

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I tried connecting to Nuxeo Shell without starting JBoss Server, it gets into the shell, but failed after that (connection refused, when tried to list Documents). And one more thing, when you say +"Nuxeo Shell starts the small Nuxeo Framework"+. what did you mean by small Nuxeo Framework, could you please provide more details on this.
--
Posted by "nuxram" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2566#7311>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm