programing

Spring Boot 응용 프로그램을 시작할 때 RMI TCP 연결 오류가 발생했습니다.

mailnote 2023. 9. 13. 22:54
반응형

Spring Boot 응용 프로그램을 시작할 때 RMI TCP 연결 오류가 발생했습니다.

Spring Boot 응용 프로그램을 시작할 때 RMI TCP 연결 오류가 발생합니다.스프링부츠 ASCII 아트도 안 보이는데요?저는 JDK 1.8을 사용하고 있습니다.

여기 오류 로그가 있습니다.

2017-11-14 16:23:51 [DEBUG] sun.rmi.transport.tcp - RMI TCP Connection(6)-192.168.0.108: (port 53742) op = 80
2017-11-14 16:23:52 [DEBUG] sun.rmi.transport.tcp - RMI TCP Connection(1)-127.0.0.1: (port 53739) op = 82
2017-11-14 16:23:52 [DEBUG] sun.rmi.transport.tcp - RMI TCP Connection(1)-127.0.0.1: (port 53739) op = 80
2017-11-14 16:23:52 [DEBUG] sun.rmi.transport.tcp - RMI TCP Connection(1)-127.0.0.1: (port 53739) op = 82
2017-11-14 16:23:52 [DEBUG] sun.rmi.transport.tcp - RMI TCP Connection(1)-127.0.0.1: (port 53739) op = 84
2017-11-14 16:23:52 [DEBUG] sun.rmi.transport.tcp - RMI TCP Connection(6)-192.168.0.108: (port 53742) op = 82
2017-11-14 16:23:52 [DEBUG] sun.rmi.transport.tcp - RMI TCP Connection(6)-192.168.0.108: (port 53742) op = 80
2017-11-14 16:23:52 [DEBUG] sun.rmi.transport.tcp - RMI TCP Connection(6)-192.168.0.108: (port 53742) op = 82
2017-11-14 16:23:52 [DEBUG] sun.rmi.transport.tcp - RMI TCP Connection(6)-192.168.0.108: (port 53742) op = 80
2017-11-14 16:23:52 [DEBUG] sun.rmi.loader - RMI TCP Connection(6)-192.168.0.108: name = "[Ljava.rmi.server.ObjID;", codebase = ""
2017-11-14 16:23:52 [DEBUG] sun.rmi.loader - RMI TCP Connection(6)-192.168.0.108: name = "java.rmi.server.ObjID", codebase = ""
2017-11-14 16:23:52 [DEBUG] sun.rmi.loader - RMI TCP Connection(6)-192.168.0.108: name = "java.rmi.server.UID", codebase = ""
2017-11-14 16:23:52 [DEBUG] sun.rmi.loader - RMI TCP Connection(6)-192.168.0.108: name = "java.rmi.dgc.Lease", codebase = ""
2017-11-14 16:23:52 [DEBUG] sun.rmi.loader - RMI TCP Connection(6)-192.168.0.108: name = "java.rmi.dgc.VMID", codebase = ""
2017-11-14 16:23:52 [DEBUG] sun.rmi.loader - RMI TCP Connection(6)-192.168.0.108: name = "[B", codebase = ""
2017-11-14 16:23:52 [DEBUG] sun.rmi.transport.tcp - RMI TCP Connection(6)-192.168.0.108: (port 53742) op = 82
2017-11-14 16:23:52 [DEBUG] sun.rmi.transport.tcp - RMI TCP Connection(6)-192.168.0.108: (port 53742) op = 84
2017-11-14 16:23:52 [DEBUG] sun.rmi.transport.tcp - RMI TCP Connection(6)-192.168.0.108: (port 53742) op = 82
2017-11-14 16:23:52 [DEBUG] sun.rmi.transport.tcp - RMI TCP Connection(6)-192.168.0.108: (port 53742) op = 80
2017-11-14 16:23:52 [DEBUG] sun.rmi.transport.tcp - RMI TCP Connection(6)-192.168.0.108: (port 53742) op = 82
2017-11-14 16:23:52 [DEBUG] sun.rmi.transport.tcp - RMI TCP Connection(6)-192.168.0.108: (port 53742) op = 80
2017-11-14 16:23:52 [DEBUG] sun.rmi.loader - RMI TCP Connection(6)-192.168.0.108: name = "javax.management.ObjectName", codebase = ""
2017-11-14 16:23:52 [DEBUG] sun.rmi.server.call - RMI TCP Connection(6)-192.168.0.108: [192.168.0.108] exception: 
javax.management.InstanceNotFoundException: org.springframework.boot:type=Admin,name=SpringApplication
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:643)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:678)
    at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1445)
    at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
    at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
    at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
    at javax.management.remote.rmi.RMIConnectionImpl.getAttribute(RMIConnectionImpl.java:639)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
    at sun.rmi.transport.Transport$1.run(Transport.java:200)
    at sun.rmi.transport.Transport$1.run(Transport.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)

IntelliJ IDEA의 경우 "구성 편집.."으로 이동합니다.." 그리고 "JMX 에이전트 활성화"를 선택 취소합니다.

다른 IDE에 대해서는 잘 모릅니다.

언급URL : https://stackoverflow.com/questions/47283504/rmi-tcp-connection-error-when-starting-spring-boot-application

반응형