Hi all,

My server version is nuxeo-5.1.3.1.GA.
I want to use Nuxeo Shell but I have some problem.

This is what I did :
 - I download Nuxeo shell from SVN 
(svn.nuxeo.org/nuxeo/nuxeo-addons/nuxeo-platform-shell/trunk).
 - I make mvn install
 - I unzip the nuxeo-shell/target/nuxeo-client.zip in another folder
 - I run Nuxeo shell in interactive mode with this parameters : 
-h localhost -u Administrator -P Administrator
 - The prompt is displayed as |>
 - when I run ls or other command, this error appears :

java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at Launcher.startMain(Launcher.java:64)
        at Launcher.main(Launcher.java:144)
Caused by: java.lang.NoClassDefFoundError: NuxeoRMIClassLoader 
-Dsun.lang.ClassLoader.allowArraySyntax=true
        at java.rmi.server.RMIClassLoader.initializeProvider(Unknown Source)
        at java.rmi.server.RMIClassLoader.access$000(Unknown Source)
        at java.rmi.server.RMIClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.rmi.server.RMIClassLoader.<clinit>(Unknown Source)
        at sun.rmi.server.MarshalInputStream.resolveClass(Unknown Source)
        at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
        at java.io.ObjectInputStream.readClassDesc(Unknown Source)
        at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
        at java.io.ObjectInputStream.readObject0(Unknown Source)
        at java.io.ObjectInputStream.readObject(Unknown Source)
        at java.rmi.MarshalledObject.get(Unknown Source)
        at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:237)
        at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1370)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:579)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
        at javax.naming.InitialContext.lookup(Unknown Source)
        at 
org.nuxeo.runtime.api.JndiServiceLocator.lookup(JndiServiceLocator.java:62)
        at 
org.nuxeo.runtime.api.JBossServiceLocator.lookup(JBossServiceLocator.java:66)
        at org.nuxeo.runtime.api.ServiceHost.lookup(ServiceHost.java:176)
        at 
org.nuxeo.runtime.api.ServiceManager.getService(ServiceManager.java:108)
        at org.nuxeo.runtime.api.Framework.getService(Framework.java:95)
        at 
org.nuxeo.ecm.core.client.NuxeoClient.schemaRemotingWorkaround(NuxeoClient.java:227)
        at org.nuxeo.ecm.core.client.NuxeoClient.doConnect(NuxeoClient.java:182)
        at org.nuxeo.ecm.core.client.NuxeoClient.connect(NuxeoClient.java:113)
        at 
org.nuxeo.ecm.shell.CommandLineService.initalizeConnection(CommandLineService.java:271)
        at 
org.nuxeo.ecm.shell.CommandLineService.runCommand(CommandLineService.java:279)
        at 
org.nuxeo.ecm.shell.commands.InteractiveCommand.runCommand(InteractiveCommand.java:108)
        at 
org.nuxeo.ecm.shell.commands.InteractiveCommand.processInput(InteractiveCommand.java:95)
        at 
org.nuxeo.ecm.shell.commands.InteractiveCommand.run(InteractiveCommand.java:77)
        at 
org.nuxeo.ecm.shell.CommandLineService.runCommand(CommandLineService.java:282)
        at org.nuxeo.ecm.shell.Main.main(Main.java:96)
        ... 6 more

What am I doing wrong?


-- 
Séverine Struga





This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

Attachment: client.log
Description: client.log

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

Reply via email to