nuxeo shell is using jboss-remoting for communication, so your pb should be 
related to an incompatibity between the jboss-remoting you have on server 
and client side.
For now nxshell is working only with jboss-remoting < 2.0.0 - this will be 
fixed soon by upgrading nxshell jboss remoting to 2.x

Bogdan


----- Original Message -----
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: [email protected] <[email protected]>
Sent: Mon Oct 13 09:34:30 2008
Subject: [Ecm] Problem with nxshell

Hy,

I have a problem that I can't figure out with the shell.

I've downloaded it and built it from source using the 5.2 branch. It runs ok 
but it has problems communicating with the server (though it seems to be 
connected, has server produces logs). Following is the server and client 
logs.

If someone has a cue.

I'm using a jboss 5.2.3-GA-jdk6 server running on java 6. The error occurs 
with shell running on java 5 and 6.

Thanks.
Nel



Here's the server log :

2008-10-13 09:28:37,475 DEBUG 
[org.jboss.remoting.transport.socket.ClientSocketWrapper] reset timeout: 
60000
2008-10-13 09:28:37,475 ERROR 
[org.jboss.remoting.transport.socket.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)
2008-10-13 09:28:37,476 DEBUG 
[org.jboss.remoting.transport.socket.ServerThread] 
WorkerThread#0[127.0.0.1:54554] closing socketWrapper: 
ServerSocketWrapper[Socket[addr=/127.0.0.1,port=54554,localport=62474].16016c6]
2008-10-13 09:28:37,476 DEBUG 
[org.jboss.remoting.transport.socket.ServerSocketWrapper] wrote CLOSING
2008-10-13 09:28:37,477 DEBUG 
[org.jboss.remoting.transport.socket.SocketWrapper] 
ServerSocketWrapper[Socket[addr=/127.0.0.1,port=54554,localport=62474].16016c6] 
closing
2008-10-13 09:28:37,495 DEBUG 
[org.jboss.remoting.transport.socket.ClientSocketWrapper] reset timeout: 
60000
2008-10-13 09:28:37,495 ERROR 
[org.jboss.remoting.transport.socket.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)
2008-10-13 09:28:37,495 DEBUG 
[org.jboss.remoting.transport.socket.ServerThread] 
WorkerThread#0[127.0.0.1:60668] closing socketWrapper: 
ServerSocketWrapper[Socket[addr=/127.0.0.1,port=60668,localport=62474].d2eb74]
2008-10-13 09:28:37,495 DEBUG 
[org.jboss.remoting.transport.socket.ServerSocketWrapper] wrote CLOSING
2008-10-13 09:28:37,495 DEBUG 
[org.jboss.remoting.transport.socket.SocketWrapper] 
ServerSocketWrapper[Socket[addr=/127.0.0.1,port=60668,localport=62474].d2eb74] 
closing










Here's the shell log :

|> ls
Connecting to nuxeo server at 127.0.0.1:62474 as system
java.lang.reflect.UndeclaredThrowableException
        at $Proxy11.getConfiguration(Unknown Source)
        at 
org.nuxeo.runtime.config.AutoConfigurationService.load(AutoConfigurationService.java:88)
        at 
org.nuxeo.ecm.core.client.NuxeoClient.doConnect(NuxeoClient.java:155)
        at 
org.nuxeo.ecm.core.client.NuxeoClient.connect(NuxeoClient.java:107)
        at 
org.nuxeo.ecm.shell.CommandContext.initalizeConnection(CommandContext.java:199)
        at 
org.nuxeo.ecm.shell.CommandContext.getRepositoryInstance(CommandContext.java:174)
        at 
org.nuxeo.ecm.shell.commands.repository.ListCommand.run(ListCommand.java:37)
        at 
org.nuxeo.ecm.shell.CommandLineService.runCommand(CommandLineService.java:305)
        at 
org.nuxeo.ecm.shell.commands.InteractiveCommand.runCommand(InteractiveCommand.java:102)
        at 
org.nuxeo.ecm.shell.commands.InteractiveCommand.processInput(InteractiveCommand.java:89)
        at 
org.nuxeo.ecm.shell.commands.InteractiveCommand.run(InteractiveCommand.java:71)
        at 
org.nuxeo.ecm.shell.CommandLineService.runCommand(CommandLineService.java:305)
        at org.nuxeo.ecm.shell.Main.main(Main.java:93)
        at 
org.nuxeo.ecm.shell.CommandLineService$1.run(CommandLineService.java:334)
        at 
org.nuxeo.osgi.application.StandaloneApplication.main(StandaloneApplication.java:285)
        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.nuxeo.osgi.application.Main.main(Main.java:64)
        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.nuxeo.runtime.launcher.Main.main(Main.java:83)
Caused by: java.rmi.MarshalException: Failed to communicate.  Problem during 
marshalling/unmarshalling; nested exception is:
        java.io.OptionalDataException
        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.remoting.Client.invoke(Client.java:473)
        at 
org.nuxeo.runtime.remoting.transporter.TransporterClient.invoke(TransporterClient.java:238)
        ... 25 more
Caused by: java.io.OptionalDataException
        at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1316)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
        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.nuxeo.runtime.remoting.transporter.NuxeoUnMarshaller.read(NuxeoUnMarshaller.java:44)
        at 
org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:279)
        ... 30 more
Command failed with error:
java.lang.reflect.UndeclaredThrowableException
        at $Proxy11.getProperties(Unknown Source)
        at 
org.nuxeo.runtime.config.Configuration.load(Configuration.java:206)
        at 
org.nuxeo.runtime.config.AutoConfigurationService.loadCompat(AutoConfigurationService.java:111)
        at 
org.nuxeo.runtime.config.AutoConfigurationService.load(AutoConfigurationService.java:92)
        at 
org.nuxeo.ecm.core.client.NuxeoClient.doConnect(NuxeoClient.java:155)
        at 
org.nuxeo.ecm.core.client.NuxeoClient.connect(NuxeoClient.java:107)
        at 
org.nuxeo.ecm.shell.CommandContext.initalizeConnection(CommandContext.java:199)
        at 
org.nuxeo.ecm.shell.CommandContext.getRepositoryInstance(CommandContext.java:174)
        at 
org.nuxeo.ecm.shell.commands.repository.ListCommand.run(ListCommand.java:37)
        at 
org.nuxeo.ecm.shell.CommandLineService.runCommand(CommandLineService.java:305)
        at 
org.nuxeo.ecm.shell.commands.InteractiveCommand.runCommand(InteractiveCommand.java:102)
        at 
org.nuxeo.ecm.shell.commands.InteractiveCommand.processInput(InteractiveCommand.java:89)
        at 
org.nuxeo.ecm.shell.commands.InteractiveCommand.run(InteractiveCommand.java:71)
        at 
org.nuxeo.ecm.shell.CommandLineService.runCommand(CommandLineService.java:305)
        at org.nuxeo.ecm.shell.Main.main(Main.java:93)
        at 
org.nuxeo.ecm.shell.CommandLineService$1.run(CommandLineService.java:334)
        at 
org.nuxeo.osgi.application.StandaloneApplication.main(StandaloneApplication.java:285)
        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.nuxeo.osgi.application.Main.main(Main.java:64)
        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.nuxeo.runtime.launcher.Main.main(Main.java:83)
Caused by: java.rmi.MarshalException: Failed to communicate.  Problem during 
marshalling/unmarshalling; nested exception is:
        java.io.OptionalDataException
        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.remoting.Client.invoke(Client.java:473)
        at 
org.nuxeo.runtime.remoting.transporter.TransporterClient.invoke(TransporterClient.java:238)
        ... 27 more
Caused by: java.io.OptionalDataException
        at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1316)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
        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.nuxeo.runtime.remoting.transporter.NuxeoUnMarshaller.read(NuxeoUnMarshaller.java:44)
        at 
org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:279)
        ... 32 more
|>


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

Reply via email to