WSO2标识服务器和WSO2 API管理器集成-java.rmi.Server.ExportException:端口已在使用:9999;

WSO2标识服务器和WSO2 API管理器集成-java.rmi.Server.ExportException:端口已在使用:9999;,wso2,wso2is,wso2-am,wso2carbon,Wso2,Wso2is,Wso2 Am,Wso2carbon,我集成了WSO2身份服务器和WSO2 API管理器。 在启动WSO2 Id服务器时,控制台中出现以下错误 ERROR {org.wso2.carbon.core.init.JMXServerManager} - Could not create the RMI local registry java.rmi.server.ExportException: Port already in use: 9999; nested exception is: java.net.Bind

我集成了WSO2身份服务器和WSO2 API管理器。 在启动WSO2 Id服务器时,控制台中出现以下错误

 ERROR {org.wso2.carbon.core.init.JMXServerManager} -  Could not create the RMI local registry
java.rmi.server.ExportException: Port already in use: 9999; nested exception is:
        java.net.BindException: Address already in use: JVM_Bind
        at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:341)
        at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:249)
        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:208)
        at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:152)
        at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:137)

在启动wso2server.bat之前,端口中没有任何内容。

我的机器的JAVA_选项被设置为调试模式,这导致WSO2以调试模式启动。因此,它正在监听9999端口。 我已经删除了JAVA_选项,现在可以正确启动它了

相关问题

检查是否有任何进程在该端口上侦听,linux上的lsof-i:9999显示了在该端口上侦听的进程列表4
INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Server           :  WSO2 Identity Server-5.2.0
[2016-12-27 15:31:13,744]  INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  WSO2 Carbon started in 57 sec
[2016-12-27 15:31:14,909]  INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} -  Mgt Console URL  : https://localhost:9443/carbon/
[2016-12-27 15:31:14,948]  INFO {org.wso2.carbon.identity.authenticator.x509Certificate.internal.X509CertificateServiceComponent} -  X509 Certificate Servlet activated successfully..