I’m trying to import a LARGE amount of data using the import statement  in the 
nuxeo shell and it seems to be running up of ports.  What is the best way to 
import a large amount of data in Nuxeo? 
It seems in the shell is try to open a new port for each document.xml and I run 
out of ports.  The error I get is:

org.jboss.remoting.CannotConnectException: Can not get connection to server. Pro
blem establishing socket connection for InvokerLocator [socket://127.0.0.1:3873/
]
        at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transpor
t(MicroSocketClientInvoker.java:579)
        at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientI
nvoker.java:122)
        at org.jboss.remoting.Client.invoke(Client.java:1634)
        at org.jboss.remoting.Client.invoke(Client.java:548)
        at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemot
eInterceptor.java:62)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
        at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPr
opagationInterceptor.java:67)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
        at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityC
lientInterceptor.java:53)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
        at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.
java:74)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
        at org.jboss.ejb3.stateful.StatefulRemoteProxy.invoke(StatefulRemoteProx
y.java:139)
        at $Proxy17.getDataModel(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.nuxeo.ecm.core.api.repository.RepositoryInstanceHandler.invoke(Re
positoryInstanceHandler.java:168)
        at $Proxy14.getDataModel(Unknown Source)
        at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.loadDataModel(DocumentM
odelImpl.java:471)
        at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.getDataModel(DocumentMo
delImpl.java:499)
        at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.setProperties(DocumentM
odelImpl.java:689)
        at org.nuxeo.ecm.core.io.impl.AbstractDocumentModelWriter.loadSchema(Abs
tractDocumentModelWriter.java:261)
        at org.nuxeo.ecm.core.io.impl.AbstractDocumentModelWriter.loadSchemas(Ab
stractDocumentModelWriter.java:239)
        at org.nuxeo.ecm.core.io.impl.AbstractDocumentModelWriter.updateDocument
(AbstractDocumentModelWriter.java:167)
        at org.nuxeo.ecm.core.io.impl.plugins.DocumentModelWriter.doWrite(Docume
ntModelWriter.java:106)
        at org.nuxeo.ecm.core.io.impl.plugins.DocumentModelWriter.write(Document
ModelWriter.java:74)
        at org.nuxeo.ecm.core.io.impl.AbstractDocumentWriter.write(AbstractDocum
entWriter.java:51)
        at org.nuxeo.ecm.core.io.impl.DocumentPipeImpl.readAndWriteDocs(Document
PipeImpl.java:118)
        at org.nuxeo.ecm.core.io.impl.DocumentPipeImpl.run(DocumentPipeImpl.java
:95)
        at org.nuxeo.ecm.shell.commands.io.ImportCommand.importTree(ImportComman
d.java:85)
        at org.nuxeo.ecm.shell.commands.io.ImportCommand.run(ImportCommand.java:
66)
        at org.nuxeo.ecm.shell.CommandLineService.runCommand(CommandLineService.
java:329)
        at org.nuxeo.ecm.shell.commands.InteractiveCommand.runCommand(Interactiv
eCommand.java:137)
        at org.nuxeo.ecm.shell.commands.InteractiveCommand.processInput(Interact
iveCommand.java:117)
        at org.nuxeo.ecm.shell.commands.InteractiveCommand.run(InteractiveComman
d.java:97)
        at org.nuxeo.ecm.shell.CommandLineService.runCommand(CommandLineService.
java:329)
        at org.nuxeo.ecm.shell.Main.main(Main.java:101)
        at org.nuxeo.ecm.shell.CommandLineService$1.run(CommandLineService.java:
357)
        at org.nuxeo.osgi.application.StandaloneApplication.main(StandaloneAppli
cation.java:300)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.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(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.nuxeo.runtime.launcher.Main.main(Main.java:83)
Caused by: java.net.BindException: Address already in use: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:520)
        at org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(
SocketClientInvoker.java:192)
        at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConne
ction(MicroSocketClientInvoker.java:827)
        at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transpor
t(MicroSocketClientInvoker.java:569)
        at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientI
nvoker.java:122)
        at org.jboss.remoting.Client.invoke(Client.java:1634)
        at org.jboss.remoting.Client.invoke(Client.java:548)
        at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemot
eInterceptor.java:62)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
        at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPr
opagationInterceptor.java:67)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
        at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityC
lientInterceptor.java:53)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
        at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.
java:74)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:101)
        at org.jboss.ejb3.stateful.StatefulRemoteProxy.invoke(StatefulRemoteProx
y.java:139)
        at $Proxy17.getDataModel(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.nuxeo.ecm.core.api.repository.RepositoryInstanceHandler.invoke(Re
positoryInstanceHandler.java:168)
        at $Proxy14.getDataModel(Unknown Source)
        at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.loadDataModel(DocumentM
odelImpl.java:471)
        at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.getDataModel(DocumentMo
delImpl.java:499)
        at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.setProperties(DocumentM
odelImpl.java:689)
        at org.nuxeo.ecm.core.io.impl.AbstractDocumentModelWriter.loadSchema(Abs
tractDocumentModelWriter.java:261)
        at org.nuxeo.ecm.core.io.impl.AbstractDocumentModelWriter.loadSchemas(Ab
stractDocumentModelWriter.java:239)
        at org.nuxeo.ecm.core.io.impl.AbstractDocumentModelWriter.updateDocument
(AbstractDocumentModelWriter.java:167)
        at org.nuxeo.ecm.core.io.impl.plugins.DocumentModelWriter.doWrite(Docume
ntModelWriter.java:106)
        at org.nuxeo.ecm.core.io.impl.plugins.DocumentModelWriter.write(Document
ModelWriter.java:74)
        at org.nuxeo.ecm.core.io.impl.AbstractDocumentWriter.write(AbstractDocum
entWriter.java:51)
        at org.nuxeo.ecm.core.io.impl.DocumentPipeImpl.readAndWriteDocs(Document
PipeImpl.java:118)
        at org.nuxeo.ecm.core.io.impl.DocumentPipeImpl.run(DocumentPipeImpl.java
:95)
        at org.nuxeo.ecm.shell.commands.io.ImportCommand.importTree(ImportComman
d.java:85)
        at org.nuxeo.ecm.shell.commands.io.ImportCommand.run(ImportCommand.java:
66)
        at org.nuxeo.ecm.shell.CommandLineService.runCommand(CommandLineService.
java:329)
        at org.nuxeo.ecm.shell.commands.InteractiveCommand.runCommand(Interactiv
eCommand.java:137)
        at org.nuxeo.ecm.shell.commands.InteractiveCommand.processInput(Interact
iveCommand.java:117)
        at org.nuxeo.ecm.shell.commands.InteractiveCommand.run(InteractiveComman
d.java:97)
        at org.nuxeo.ecm.shell.CommandLineService.runCommand(CommandLineService.
java:329)
        at org.nuxeo.ecm.shell.Main.main(Main.java:101)
        at org.nuxeo.ecm.shell.CommandLineService$1.run(CommandLineService.java:
357)
        at org.nuxeo.osgi.application.StandaloneApplication.main(StandaloneAppli
cation.java:300)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.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(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.nuxeo.runtime.launcher.Main.main(Main.java:83)
        at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemot
eInterceptor.java:74)
        ... 45 more
--
Posted by "christopher_cheek68" at Nuxeo Discussions 
<http://nuxeo.org/discussions>
View the complete thread: 
<http://www.nuxeo.org/discussions/thread.jspa?threadID=2782#8014>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to