我想将WSO2 carbon作为Windows服务安装,并且出现以下错误:
var keys = Object.keys(response_json);
var length = keys .length;
for(var i = 0; i< length;i++){
console.log(response_json[keys[i]]);
}
在INFO: Using "C:\Users\EXXELL~1\AppData\Local\Temp\vfs_cache" as temporary files store.
WARNING|wrapper|"WSO2 Carbon"|18-07-18 12:55:59|YAJSW: yajsw-stable-11.11
WARNING|wrapper|"WSO2 Carbon"|18-07-18 12:55:59|OS : Windows Server 2012 R2/6.3/amd64
WARNING|wrapper|"WSO2 Carbon"|18-07-18 12:55:59|JVM : Oracle Corporation/1.8.0_121/D:\exxellence\jdk18\jre/64
jul 18, 2018 12:55:59 PM org.rzo.yajsw.wrapper.FileUtils getFiles
WARNING: No files found for D:\exxellence\wso2-esb\bin\*.jar
INFO|wrapper|"WSO2 Carbon"|18-07-18 12:55:59|working dir D:\exxellence\wso2-esb
INFO|wrapper|"WSO2 Carbon"|18-07-18 12:56:00|started process with pid 3668
INFO|3668/0|"WSO2 Carbon"|18-07-18 12:56:01|error finding main method in class: org.wso2.carbon.bootstrap.Bootstrap : org.wso2.carbon.bootstrap.Bootstrap
INFO|3668/0|"WSO2 Carbon"|18-07-18 12:56:01|no java main method found -> aborting
INFO|3668/0|"WSO2 Carbon"|18-07-18 12:56:01|[INFO] StandardFileSystemManager - Using "D:\exxellence\wso2-esb\tmp\vfs_cache" as temporary files store.
INFO|3668/0|"WSO2 Carbon"|18-07-18 12:56:01|java.lang.ClassNotFoundException: org.wso2.carbon.bootstrap.Bootstrap
INFO|3668/0|"WSO2 Carbon"|18-07-18 12:56:01| at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
INFO|3668/0|"WSO2 Carbon"|18-07-18 12:56:01| at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
INFO|3668/0|"WSO2 Carbon"|18-07-18 12:56:01| at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
INFO|3668/0|"WSO2 Carbon"|18-07-18 12:56:01| at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
INFO|3668/0|"WSO2 Carbon"|18-07-18 12:56:01| at org.rzo.yajsw.app.WrapperManagerImpl.init(WrapperManagerImpl.java:299)
INFO|3668/0|"WSO2 Carbon"|18-07-18 12:56:01| at org.rzo.yajsw.app.WrapperManagerProxy.getWrapperManager(WrapperManagerProxy.java:46)
INFO|3668/0|"WSO2 Carbon"|18-07-18 12:56:01| at org.rzo.yajsw.app.AbstractWrapperJVMMain$1.run(AbstractWrapperJVMMain.java:44)
INFO|3668/0|"WSO2 Carbon"|18-07-18 12:56:01| at java.security.AccessController.doPrivileged(Native Method)
INFO|3668/0|"WSO2 Carbon"|18-07-18 12:56:01| at org.rzo.yajsw.app.AbstractWrapperJVMMain.preExecute(AbstractWrapperJVMMain.java:38)
INFO|3668/0|"WSO2 Carbon"|18-07-18 12:56:01| at org.rzo.yajsw.app.WrapperJVMMain.main(WrapperJVMMain.java:34)
error in script trayMessage.gv: no process or process not configured for tray icon
INFO|wrapper|"WSO2 Carbon"|18-07-18 12:56:02|restart process due to default exit code rule
INFO|wrapper|"WSO2 Carbon"|18-07-18 12:56:02|restart internal RUNNING
INFO|wrapper|"WSO2 Carbon"|18-07-18 12:56:02|stopping process with pid/timeout 3668 45000
INFO|wrapper|"WSO2 Carbon"|18-07-18 12:56:03|process exit code: 999
似乎出错了,但是文件的路径看起来不错。有什么问题吗?