WSO2 管理控制台在设置偏移量后不加载
WSO2 Management Console Doesn't load after setting offset
我正在 ec2 实例上测试 WSO2 服务器。当我启动服务器时,我可以通过在浏览器中键入 https://ip:9443/carbon
来访问管理控制台。然后我将 repository/conf/carbon.xml
编辑为 <offset>10</offset>
并启动服务器,下面是日志,
[2015-03-16 09:31:37,354] INFO - JMXServerManager JMX Service URL : service:jmx:rmi://localhost:11121/jndi/rmi://localhost:10009/jmxrmi
[2015-03-16 09:31:37,354] INFO - StartupFinalizerServiceComponent Server : WSO2 API Manager-1.8.0
[2015-03-16 09:31:37,355] INFO - StartupFinalizerServiceComponent WSO2 Carbon started in 89 sec
[2015-03-16 09:31:38,850] INFO - CarbonUIServiceComponent Mgt Console URL : https://172.31.x.x:9453/carbon/
[2015-03-16 09:31:38,851] INFO - CarbonUIServiceComponent API Publisher Default Context : http://172.31.x.x:9773/publisher
[2015-03-16 09:31:38,851] INFO - CarbonUIServiceComponent API Store Default Context : http://172.31.x.x:9773/store
[2015-03-16 09:31:39,081] INFO - APIKeyMgtServiceComponent Setting default carbon host for thrift key management service: 172.31.x.x
[2015-03-16 09:31:39,110] INFO - APIKeyMgtServiceComponent Started thrift key mgt service at port:10397
然后我尝试使用与之前相同的 url,但端口为 9453,但它不会加载管理控制台。并且找不到日志。我用 WSO2ESB
和 WSO2AM
尝试了相同的场景,两者的结果相同。
更新:
当我搜索开放端口时,它给出以下内容,
ubuntu@ip-172-31-x-x:~$ netstat -nltp | grep LISTEN | grep 94
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp6 0 0 :::9443 :::* LISTEN 14076/java
tcp6 0 0 :::9453 :::* LISTEN 14448/java
即使端口在实例内部打开,您也必须允许外部(在本例中为您的浏览器)访问该特定端口。您可以从 AWS 控制台通过该特定 EC2 实例的安全组进行配置。
我正在 ec2 实例上测试 WSO2 服务器。当我启动服务器时,我可以通过在浏览器中键入 https://ip:9443/carbon
来访问管理控制台。然后我将 repository/conf/carbon.xml
编辑为 <offset>10</offset>
并启动服务器,下面是日志,
[2015-03-16 09:31:37,354] INFO - JMXServerManager JMX Service URL : service:jmx:rmi://localhost:11121/jndi/rmi://localhost:10009/jmxrmi
[2015-03-16 09:31:37,354] INFO - StartupFinalizerServiceComponent Server : WSO2 API Manager-1.8.0
[2015-03-16 09:31:37,355] INFO - StartupFinalizerServiceComponent WSO2 Carbon started in 89 sec
[2015-03-16 09:31:38,850] INFO - CarbonUIServiceComponent Mgt Console URL : https://172.31.x.x:9453/carbon/
[2015-03-16 09:31:38,851] INFO - CarbonUIServiceComponent API Publisher Default Context : http://172.31.x.x:9773/publisher
[2015-03-16 09:31:38,851] INFO - CarbonUIServiceComponent API Store Default Context : http://172.31.x.x:9773/store
[2015-03-16 09:31:39,081] INFO - APIKeyMgtServiceComponent Setting default carbon host for thrift key management service: 172.31.x.x
[2015-03-16 09:31:39,110] INFO - APIKeyMgtServiceComponent Started thrift key mgt service at port:10397
然后我尝试使用与之前相同的 url,但端口为 9453,但它不会加载管理控制台。并且找不到日志。我用 WSO2ESB
和 WSO2AM
尝试了相同的场景,两者的结果相同。
更新: 当我搜索开放端口时,它给出以下内容,
ubuntu@ip-172-31-x-x:~$ netstat -nltp | grep LISTEN | grep 94
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp6 0 0 :::9443 :::* LISTEN 14076/java
tcp6 0 0 :::9453 :::* LISTEN 14448/java
即使端口在实例内部打开,您也必须允许外部(在本例中为您的浏览器)访问该特定端口。您可以从 AWS 控制台通过该特定 EC2 实例的安全组进行配置。