반응형
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
반응형
'programing' 카테고리의 다른 글
| MySQL 각각 여러 행으로 여러 테이블 결합 (0) | 2023.09.13 |
|---|---|
| 앱(Layout) XML 변수에서 매니페스트 버전 번호를 얻으려면 어떻게 해야 합니까? (0) | 2023.09.13 |
| GitHub 웹사이트에서 디렉토리/폴더 이름을 변경하는 방법은? (0) | 2023.09.13 |
| GCD의 블록 내에 NSAutorelease Pool을 만들어야 합니까? (0) | 2023.09.13 |
| wppb plugin 보일러 플레이트에 shortcode 추가하는 방법 (0) | 2023.09.13 |