2016-12-27 85 views
0

我已經集成了WSO2 Identity Server和WSO2 API Manager。 雖然啓動WSO2 ID服務器,我得到在控制檯下面的錯誤..WSO2 Identity Server和WSO2 API Manager集成 - java.rmi.server.ExportException:已在使用的端口:9999;

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) 

誰能幫助?

但它與下面的消息

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.. 

成功啓動之前,我開始wso2server.bat,沒有什麼端口..

+1

檢查是否有任何監聽端口上,lsof的-i:9999在Linux上顯示的監聽此端口4的進程列表 – farasath

回答

0

我的機器的JAVA_OPTS被設定爲調試模式,這是導致WSO2以調試模式啓動。因此它正在聽9999端口。 我已經刪除了JAVA_OPTS,現在能夠正確啓動它。

相關的問題 WSO2 Identity Server listening to port 9999

相關問題