Worklight 6.0 WL development Server not starting

核能气质少年 提交于 2019-12-06 07:54:55

问题


When I try to start my worklight development server Which is running on Windows 8 OS It gives me below error.

CWWKE0005E: The runtime environment could not be launched. CWWKE0018E: An exception occurred while launching the runtime environment: java.lang.IllegalArgumentException: WebSphere-DefaultExtension-windowsnt(unknown) com.ibm.ws.kernel.boot.LaunchException: Caught unexpected exception java.lang.IllegalArgumentException: WebSphere-DefaultExtension-windowsnt(unknown) at com.ibm.ws.kernel.boot.internal.KernelBootstrap.rethrowException(KernelBootstrap.java:412) at com.ibm.ws.kernel.boot.internal.KernelBootstrap.go(KernelBootstrap.java:179) at com.ibm.ws.kernel.boot.Launcher.createPlatform(Launcher.java:131) at com.ibm.ws.kernel.boot.Launcher.main(Launcher.java:55) at com.ibm.ws.kernel.boot.cmdline.EnvCheck.main(EnvCheck.java:52) Caused by: java.lang.IllegalArgumentException: WebSphere-DefaultExtension-windowsnt(unknown) at java.util.jar.Attributes$Name.(Unknown Source) at java.util.jar.Attributes.getValue(Unknown Source) at com.ibm.ws.kernel.boot.internal.BootstrapManifest.getOSExtensionDefinition(BootstrapManifest.java:146) at com.ibm.ws.kernel.boot.internal.KernelBootstrap.go(KernelBootstrap.java:122) ... 3 more

Can someone please help me on this...


回答1:


This is a defect caused by a combination of Java (does not recognize Windows 8) and Liberty (does not handle unknown Windows os.name gracefully), so I recommend opening a PMR with IBM. As a workaround, you can specify -Dos.name=Windows 8 in jvm.options.

Edit: This problem has been fixed in the V8.5.5.Next Alpha.

Edit 2: This problem is listed as part of APAR PI26048, which is "currently targeted for inclusion in fix pack 8.5.5.4."




回答2:


Please use 64bit eclipse Juno version for Windows 8 64bit OS. The WebSphere Application Server V8.5 Liberty Profile will start without any errors, In the above case.




回答3:


this is not an IBM issue. its a known bug in the JVM http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7170169.

JVM accidently identifies windows8 as "WinNT" . either use the jvm.options workaround (to give Liberty a hint of the true OS) or upgrade your JVM with a better build.



来源:https://stackoverflow.com/questions/19428532/worklight-6-0-wl-development-server-not-starting

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!