Indeed this is an inconsistence between classes on the server side and the client side. Personally I am using the last sources from the trunk to develop and test apogee - so I am always synchronized.
What you need is to use same classes on both side.
Try to use latest sources on the server (the ones from the trunk)

Regards,
Bogdan


Philip Cornelius wrote:
Bogden..

Hold on that last error, the installer nuxeo-ep-5.1.0.SNAPSHOT-installer-20070306.jar seems to be missing Nuxeo altogether.. hence why it can't find the context root nuxeo/

I rolled back to the previous snapshot and this is the error I actually get.

This is the same error as for the 5.1.M1 build (which is why I moved onto the snapshots, but should have checked them sorry!!)

So to summarize

nuxeo-5.0.0.GA    class serialization problem

nuxeo-5.1.0.M1 and 20070305 snapshot have the error below

20070306 doesn't seem to include nuxeo at all

I am referring to files from here http://www.nuxeo.org/static/NuxeoEP/

I followed everything in your email.

16:37:10,917 [main] INFO ServerInvoker : Invoker started for locator: InvokerLocator [socket://127.0.0.1:62775/nxruntime]
java.lang.reflect.UndeclaredThrowableException
    at $Proxy11.getRootDocument(Unknown Source)
at org.nuxeo.ecm.platform.rcp.Repository.getDocumentManager(Repository.java:40) at org.nuxeo.ecm.platform.rcp.Repository.getChildren(Repository.java:58) at org.nuxeo.ecm.platform.rcp.views.RepositoryAdapter.getChildren(RepositoryAdapter.java:37) at org.nuxeo.eclipse.ui.views.ViewerContentProvider.getChildren(ViewerContentProvider.java:104) at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1283) at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:394) at org.eclipse.jface.viewers.AbstractTreeViewer.getFilteredChildren(AbstractTreeViewer.java:614) at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:580) at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:774) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:751) at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:526) at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:1370) at org.eclipse.jface.viewers.TreeViewer.handleTreeExpand(TreeViewer.java:781) at org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded(AbstractTreeViewer.java:1381) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:125)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1097)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1121)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1106)
    at org.eclipse.swt.widgets.Tree.gtk_test_expand_row(Tree.java:1887)
    at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1506)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:3876)
    at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
    at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:5574)
    at org.eclipse.swt.widgets.Display.eventProc(Display.java:1155)
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method) at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1468)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2903)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2264)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2228)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2103)
    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:457)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:452) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.nuxeo.apogee.ApogeeApplication.start(ApogeeApplication.java:20) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:146) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:169)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:476)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:416)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1124)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1099)
Caused by: java.rmi.MarshalException: Failed to communicate. Problem during marshalling/unmarshalling; nested exception is: java.lang.ClassCastException: cannot assign instance of java.util.HashMap to field org.nuxeo.ecm.core.api.impl.DocumentModelImpl.contextData of type org.nuxeo.common.collections.ScopedMap in instance of org.nuxeo.ecm.core.api.impl.DocumentModelImpl at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:306) at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
    at org.jboss.remoting.Client.invoke(Client.java:525)
    at org.jboss.remoting.Client.invoke(Client.java:488)
at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:55) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:55) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:78) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) at org.jboss.ejb3.stateful.StatefulRemoteProxy.invoke(StatefulRemoteProxy.java:133)
    ... 51 more
Caused by: java.lang.ClassCastException: cannot assign instance of java.util.HashMap to field org.nuxeo.ecm.core.api.impl.DocumentModelImpl.contextData of type org.nuxeo.common.collections.ScopedMap in instance of org.nuxeo.ecm.core.api.impl.DocumentModelImpl at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2004) at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1184) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1923) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1841) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1718)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349)
at org.jboss.aop.joinpoint.InvocationResponse.readExternal(InvocationResponse.java:107) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1758) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1716)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1917) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1841) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1718)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349)
at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObject(JavaSerializationManager.java:128) at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:66) at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:279)
    ... 63 more

Yours
Phil


On 19 Mar 2007, at 15:37, Bogdan Stefanescu wrote:


Hi,

What is the name displayed next to the repository icon in the navigator? "nuxeo Repository" ? If yes I think you try to access a repository named "nuxeo". By default the repository which comes with Nuxeo5 is named "demo" So you must use this name when you create the connection. The fields in the connection wizards are already initialized
with default values. Try to use these ones. Do not change them.

Check that you connection settings as the sdame as in the attached screenshot

Regards,
Bogdan

Philip Cornelius wrote:
Hi Bogden

I have this installed and running but I cant expand the tree in the ecm perspective.. from nuxeo installed from the latest snapshot installer I get

I get 'nuxeo not bound'

at org.nuxeo.ecm.platform.api.DefaultServiceConnector.connect(DefaultServiceConnector.java:34)
    at org.nuxeo.ecm.platform.api.Server.getService(Server.java:105)
at org.nuxeo.ecm.platform.api.DefaultRepositoryConnector.connect(DefaultRepositoryConnector.java:38) at org.nuxeo.ecm.platform.api.Server.openRepository(Server.java:109)

for version 5.0.0 I get serialId problems when I expand the tree, which is why I got the latest snapshot installer.

My install fails from the main svn trunk.

Which version is this supposed to work with?

Yours
Phil


On 17 Mar 2007, at 19:05, Bogdan Stefanescu wrote:

Hi all,

Development on Apogee (a Rich Client Application for Nuxeo ECM) was started. The application is in early development. For now the following is working:

1. Running Apogee as Eclipse plugin or RCP application
2. Connecting to remote ECM applications
3. Managing multiple ECM application (only one can be active at a given time) 4. Browsing ECM application repositories - note that editors (or documents view) are not yet impl.
5. Creating and removing documents.

Editors (document views) are not yet implemented.

Things to be done soon:
1. Icon decoration
2. Editor (doc views) infrastructure
3. Search view
4. Implement all actions and menu contexts
5. Login management
6. Actions filtering based on user right.

These functionalities are expected for the end of the next week.
Then we will have a complete Apogee base on top of which we will build the rest of optional plugins features (as separate plugins)
as for example an workflow views, relations views, audit views etc

Offline (embeded) ECM applications will be available later.

If you want to test it you need Eclipse 3.3, the maven eclipse and polarion SVN plugins and a Nuxeo5 application deployed in JBoss

In order to checkout needed projects:

Get the eclipse PSF file from https://svn.nuxeo.org/nuxeo/sandbox/Apogee/org.nuxeo.apogee/apogee.psf In eclipse go to File > Import > Team > Team Project Set and choose there the apogee PSF file

Eclipse will checkout all the projects for you. (there are 13 - some of them are Nuxeo5 projects - including NXRuntime and some api modules) To run Apogee as a RCP application go intto org.nuxeo.apogee project, open Apogee.product file and click on "Launch the product"

To run the eclipse plugin version create a run configuration for an ecl;ipse application - specify all needed dependencies on the plugins tab
and click on run.

After launching the application under the Nuxeo ECM perspective you will see 2 views - a docuyment navigator and an application registry Under the applications view click on add (the + button) and select "Remote Platform" then Next and Finsih
(For now only the Remote Platform option is working)
Select the new ECM platform you defined and then click on start (the green arrow) Apogee will connect to that ECM and in the left view you will see the repositories defined inside the ECM platform you connected to.
You can start browse the content. You can create and delete files.
Be warned that you are connected as administrator!

Bogdan


_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm




--Dr. Phil Cornelius <[EMAIL PROTECTED]>
Head of Engineering
PolicyMatter Ltd. 01189 301834







!DSPAM:5,45feaee943791493399934!
<snapshot-apogee1.png>

--Dr. Phil Cornelius <[EMAIL PROTECTED]>
Head of Engineering
PolicyMatter Ltd. 01189 301834





_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to