0

我尝试在 macOS 上启动 WSO2 IoT 3.0.0 服务器,它卡在下面。但是我使用的是旧版本,它一直在工作,就像一个魅力。

  • 另一个注意事项:我的部署服务器是:windows server 2012,WSO2 IoT 3.0.0 服务器工作成功,但我无法访问 devicemgt 链接,它将我重定向到黑页。

https://localhost:9443/devicemgt/uuf/login?referer=/

--------------------- 更新 -------------------- 仅供参考:碳的作用就像一个魅力 https ://localhost:9443/carbon/admin/login.jsp

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0 [2017-02-10 19:37:36,170] [IoT-Core] INFO - AppDiscoveryComponent WebApp Discovery component activated [2017-02-10 19:37:36,317] [IoT-Core] INFO - AppManagerMobileComponent WSO2MDM_INTERNAL MDM is bound to App Manager. [2017-02-10 19:37:36,317] [IoT-Core] INFO - AppManagerMobileComponent App Manger Mobile Component activated. [2017-02-10 19:37:36,456] [IoT-Core] INFO - CarbonCoreActivator Starting WSO2 Carbon... [2017-02-10 19:37:36,457] [IoT-Core] INFO - CarbonCoreActivator Operating System : Mac OS X 10.12.2, x86_64 [2017-02-10 19:37:36,457] [IoT-Core] INFO - CarbonCoreActivator Java Home : /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre [2017-02-10 19:37:36,458] [IoT-Core] INFO - CarbonCoreActivator Java Version : 1.8.0_111 [2017-02-10 19:37:36,458] [IoT-Core] INFO - CarbonCoreActivator Java VM : Java HotSpot(TM) 64-Bit Server VM 25.111-b14,Oracle Corporation [2017-02-10 19:37:36,458] [IoT-Core] INFO - CarbonCoreActivator Carbon Home : /Volumes/WorkSpace/ParentApp/wso2iot-3.0.0/core [2017-02-10 19:37:36,459] [IoT-Core] INFO - CarbonCoreActivator Java Temp Dir : /Volumes/WorkSpace/ParentApp/wso2iot-3.0.0/core/tmp [2017-02-10 19:37:36,460] [IoT-Core] INFO - CarbonCoreActivator User : root, en-US, Asia/Kuala_Lumpur [2017-02-10 19:37:36,620] [IoT-Core] WARN - ValidationResultPrinter Swap Memory size (MB): 1024 of the system is below the recommended minimum size :2047 [2017-02-10 19:37:36,621] [IoT-Core] WARN - ValidationResultPrinter Carbon is configured to use the default keystore (wso2carbon.jks). To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile. Activating org.wso2.jaggery.scxml with RealmService enabled [2017-02-10 19:37:54,558] [IoT-Core] INFO - TaglibUriRule TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined

4

2 回答 2

1

您的操作系统是什么版本,您使用的是 Sierra 或更高版本吗?如果是这样,您可能想查看您的 /etc/host 配置,因为已知主机解析会导致此类问题。

请看一下:

https://medium.com/@ruwanyatawara/how-to-fix-macos-sierra-wso2-server-starting-delay-4279b9e69133

于 2017-03-30T04:11:54.870 回答
0

当更新到 Sierra 10.12 时,我有时也会遇到同样的问题。还尝试更改 /etc/hosts ,如另一个答案中所述。以下为我工作。首先尝试以下命令;

sudo scutil --get ComputerName
sudo scutil --get LocalHostName
sudo scutil --get HostName

上面的命令将返回分配的当前值。如果上述之一没有输出任何内容,请尝试使用以下内容添加新主机名;

sudo scutil --set ComputerName "Rasika’s MacBook Pro"
sudo scutil --set LocalHostName "Rasikas-MacBook-Pro"
sudo scutil --set HostName "Rasikas-MacBook-Pro"

然后尝试启动 IoT Server。

于 2017-05-30T07:33:57.537 回答