Jaracle Zhang
2018-06-05 06:44:55 UTC
Hi,
I got errors when I was executing james-cli.sh -h 127.0.0.1 -p 9999 adddomain test-domain.com in Docker.  Exceptions are below.
Â
Error connecting to remote JMX agent : Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException[Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
      java.net.ConnectException: Connection refused(Connection refused)]
Â
OS:
      Win10 host
      VirtualBox4.3.12 with CentOS7
Docker:
      18.05.0-CE
JAMES:
      3.0.1-app
Dockerfile:
      âŠ
      RUN sudo $jamesbin/james start
      RUN sudo sh $jamesbin/james-cli.sh -h 127.0.0.1 -p 9999 adddomain test-domain.com //Exceptions are here
Â
Am I missing some configurations with JAMES or the environment problem?
Â
Thanks
Jaracle Zhang
I got errors when I was executing james-cli.sh -h 127.0.0.1 -p 9999 adddomain test-domain.com in Docker.  Exceptions are below.
Â
Error connecting to remote JMX agent : Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException[Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
      java.net.ConnectException: Connection refused(Connection refused)]
Â
OS:
      Win10 host
      VirtualBox4.3.12 with CentOS7
Docker:
      18.05.0-CE
JAMES:
      3.0.1-app
Dockerfile:
      âŠ
      RUN sudo $jamesbin/james start
      RUN sudo sh $jamesbin/james-cli.sh -h 127.0.0.1 -p 9999 adddomain test-domain.com //Exceptions are here
Â
Am I missing some configurations with JAMES or the environment problem?
Â
Thanks
Jaracle Zhang