问题是 Worklight开发服务器会自动停止,不会记录任何错误或启动后几分钟的原因。
我的配置如下:
以下是服务器的日志:
...[cut the starting log]...
[AUDIT ] CWWKF0011I: The server worklight is ready to run a smarter planet.
[AUDIT ] CWWKT0017I: Web application removed (default_host): http://127.0.0.1:10080/Mobile/
[AUDIT ] CWWKZ0009I: The application Mobile has stopped successfully.
[AUDIT ] CWWKT0017I: Web application removed (default_host): http://127.0.0.1:10080/worklightadmin/
[AUDIT ] CWWKZ0009I: The application WorklightServices has stopped successfully.
[AUDIT ] CWWKT0017I: Web application removed (default_host): http://127.0.0.1/_MobileBrowserSimulator/
[AUDIT ] CWWKZ0009I: The application _MobileBrowserSimulator has stopped successfully.
[AUDIT ] CWWKT0017I: Web application removed (default_host): http://127.0.0.1:10080/worklightconsole/
[AUDIT ] CWWKZ0009I: The application WorklightConsole has stopped successfully.
[AUDIT ] CWWKT0017I: Web application removed (default_host): http://127.0.0.1:10080/_analytics/
[AUDIT ] CWWKZ0009I: The application _analytics has stopped successfully.
[AUDIT ] CWWKT0017I: Web application removed (default_host): http://127.0.0.1:10080/IBMJMXConnectorREST/
[AUDIT ] WTRN0105I: The transaction service has shutdown successfully with no transactions requiring recovery.
[AUDIT ] CWWKE0036I: The server worklight stopped after 1 minutes, 30.815 seconds.
这里的WL jvm选项xml文件:
-Dfile.encoding=UTF-8
-Duser.language=en
-Duser.country=US
-Djava.awt.headless=true
-Dwas.debug.mode=true
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=10777
-Dcom.ibm.websphere.ras.inject.at.transform=true
-Dcom.ibm.ws.jmx.connector.client.rest.readTimeout=180000
-Dibm.worklight.admin.db.type=DERBY
-Xmx1024m
-Dos.name=Windows
-DwlDevEnv.enableCreateTables=true
-Djmx.remote.x.client.connection.check.period=0
-DwlSyncStart=false
我尝试更新Worlight,Eclipse,Java但没有任何内容。几分钟后服务器就会停止运行。
我只是按照一个类似问题的答案:
转到“控制面板”,然后转到“电源管理”,在“系统空闲”附近选择“从不”。根据具体的Windows操作系统版本,这会略有不同。 但没有任何改变。
有什么建议吗?我认为正是Eclipse本身关闭了WL服务器。
答案 0 :(得分:0)
您是否可以按照步骤操作并尝试帮助
根据您的要求,根据需要重新调整您的jvm.options,但在等待之前,看看服务器是否稳定。