When RMI connection fails with java.net.ConnectException: Connection refused it might be hard to figure out which hostname and port it tried to connect with, especially in third party libraries. To enable debug logging in RMI connectivity, which logs hostname and port number, set this system property: sun.rmi.transport.proxy.logLevel=BRIEF Can also be set runtime with System.setProperty before [...]
Innlegg fra februar 2015
English-posts · Programmering · Teknologi
Java RMI connectivity debugging
19. februar 2015 · Comments Off
Emneord: · feilsøking, Java