Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to actually disable the remote shell?
    primarykey
    data
    text
    <p>I'm trying to simultaneously launch 2 Neo4j 1.9 instances on the same host (1 for dev and 1 for test). I had realized it was not enough to vary HTTP and HTTPS ports because the remote shell has its own port (1337 by default).</p> <p>The second instance cannot start because it cannot bind.</p> <pre><code>Caused by: java.rmi.server.ExportException: Port already in use: 1337; nested exception is: java.net.BindException: Address already in use at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:328) at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:236) at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411) at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147) at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:207) at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:122) at sun.rmi.registry.RegistryImpl.&lt;init&gt;(RegistryImpl.java:108) at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:203) at org.neo4j.shell.impl.RmiLocation.ensureRegistryCreated(RmiLocation.java:180) at org.neo4j.shell.impl.RmiLocation.bind(RmiLocation.java:195) at org.neo4j.shell.impl.RemotelyAvailableServer.makeRemotelyAvailable(RemotelyAvailableServer.java:99) at org.neo4j.shell.impl.AbstractServer.makeRemotelyAvailable(AbstractServer.java:156) at org.neo4j.shell.impl.ShellBootstrap.enable(ShellBootstrap.java:122) at org.neo4j.shell.impl.ShellBootstrap.load(ShellBootstrap.java:112) at org.neo4j.shell.impl.ShellServerKernelExtension.start(ShellServerKernelExtension.java:47) at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:492) ... 12 more Caused by: java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376) at java.net.ServerSocket.bind(ServerSocket.java:376) at java.net.ServerSocket.&lt;init&gt;(ServerSocket.java:237) at java.net.ServerSocket.&lt;init&gt;(ServerSocket.java:128) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:45) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:349) at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:667) at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:317) ... 27 more </code></pre> <p>I tried to disable the remote shell as specified in <a href="http://docs.neo4j.org/chunked/1.9/shell-starting.html" rel="nofollow">the official Neo4j documentation</a>. By adding <strong>enable_remote_shell = false</strong> in <strong>neoj-server.properties</strong>. But it does not work.</p> <p>What's the right way to disable this (optional?) Neo4j service ?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload