我在Server 2012R2上安装了WSO2 IOT Server。我安装了YAJSW包装器并根据WSO2指令进行配置。当我启动runConsole.bat来配置Windows服务时,我收到以下错误。我有JAVA_HOME& CARBON_HOME设置。看起来该进程无法找到文件,但该目录存在且存在文件文件。
c:\Program Files\yajsw\bat>call setenv.bat
"java" -Xmx30m -Djna_tmpdir="c:\Program Files\yajsw\bat\/../tmp" -Djava.net.pref
erIPv4Stack=true -jar "c:\Program Files\yajsw\bat\/../wrapper.jar" -c "c:\Progra
m Files\yajsw\bat\/../conf/wrapper.conf"
YAJSW: yajsw-stable-12.08
OS : Windows Server 2012 R2/6.3/amd64
JVM : Oracle Corporation/1.8.0_121/C:\Program Files\Java\jre1.8.0_121/64
Feb 23, 2017 8:09:07 AM org.apache.commons.vfs2.VfsLog info
INFO: Using "C:\Users\ADMINI~1.LEA\AppData\Local\Temp\1\vfs_cache" as temporary
files store.
WARNING|wrapper|"WSO2 Carbon"|17-02-23 08:09:07|YAJSW: yajsw-stable-12.08
WARNING|wrapper|"WSO2 Carbon"|17-02-23 08:09:07|OS : Windows Server 2012 R2/6.
3/amd64
WARNING|wrapper|"WSO2 Carbon"|17-02-23 08:09:07|JVM : Oracle Corporation/1.8.0_
121/C:\Program Files\Java\jre1.8.0_121/64
Feb 23, 2017 8:09:08 AM org.rzo.yajsw.wrapper.FileUtils getFiles
WARNING: No files found for C:\Program Files\WSO2\\bin\*.jar
system.env 55
INFO|wrapper|"WSO2 Carbon"|17-02-23 08:09:08|started process with pid 638044
INFO|wrapper|"WSO2 Carbon"|17-02-23 08:09:08|restart process due to default exit
code rule
INFO|wrapper|"WSO2 Carbon"|17-02-23 08:09:08|restart internal RUNNING
INFO|wrapper|"WSO2 Carbon"|17-02-23 08:09:08|stopping process with pid/timeout 6
38044 45000
INFO|wrapper|"WSO2 Carbon"|17-02-23 08:09:09|process exit code: 1
答案 0 :(得分:0)
当我使用yajsw 12.08时,我遇到了同样的问题。并且yajsw 11.11已经解决了它。
下载链接:CSV parser library from ben-strasser (github)