在 windows 中将 WSO2 Enterprise Integrator 作为服务启动无效
Start WSO2 Enterprise Integrator as a service in windows not work
我按照 Installing EI as Windows service 中的说明进行操作,但无法启动服务。
低于 YAJSW 的 runConsole.bat 的输出(包括 yajsw-stable-11.11 和 yajsw-stable-12.08)
C:\yajsw-stable-12.08\bat>runConsole.bat
C:\yajsw-stable-12.08\bat>pushd C:\yajsw-stable-12.08\bat\
C:\yajsw-stable-12.08\bat>call setenv.bat
"java" -Xmx30m -Djna_tmpdir="C:\yajsw-stable-12.08\bat\/../tmp" -Djava.net.preferIPv4Stack=true -jar "C:\yajsw-stable-12.08\bat\/../wrapper.jar" -c "C:\yajsw-st
able-12.08\bat\/../conf/wrapper.conf"
YAJSW: yajsw-stable-12.08
OS : Windows 7/6.1/amd64
JVM : Oracle Corporation/1.8.0_121/C:\Program Files\Java\jre1.8.0_121/64
mar 30, 2017 3:54:18 PM org.apache.commons.vfs2.VfsLog info
INFORMAZIONI: Using "C:\Users\Sexxa\AppData\Local\Temp\vfs_cache" as temporary files store.
WARNING|wrapper|"WSO2 Carbon"|17-03-30 15:54:18|YAJSW: yajsw-stable-12.08
WARNING|wrapper|"WSO2 Carbon"|17-03-30 15:54:18|OS : Windows 7/6.1/amd64
WARNING|wrapper|"WSO2 Carbon"|17-03-30 15:54:18|JVM : Oracle Corporation/1.8.0_121/C:\Program Files\Java\jre1.8.0_121/64
system.env 61
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:19|started process with pid 18140
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:19|restart process due to default exit code rule
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:19|restart internal RUNNING
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:19|stopping process with pid/timeout 18140 45000
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:20|process exit code: 1
system.env 61
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:25|started process with pid 4508
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:25|restart process due to default exit code rule
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:25|restart internal RUNNING
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:25|stopping process with pid/timeout 4508 45000
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:26|process exit code: 1
system.env 61
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:31|started process with pid 14232
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:31|restart process due to default exit code rule
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:31|restart internal RUNNING
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:31|stopping process with pid/timeout 14232 45000
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:32|process exit code: 1
system.env 61
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:37|started process with pid 17972
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:37|restart process due to default exit code rule
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:37|restart internal RUNNING
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:37|stopping process with pid/timeout 17972 45000
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:38|process exit code: 1
system.env 61
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:43|started process with pid 14460
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:43|restart process due to default exit code rule
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:43|restart internal RUNNING
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:43|stopping process with pid/timeout 14460 45000
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:44|process exit code: 1
system.env 61
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:49|started process with pid 7148
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:49|too many restarts
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:49|Shutting down Wrapper
有什么想法吗?
尝试使用位于 WSO2 EI 文件夹中的 wrapper.conf。
路径:...\wso2-ei\bin\yajsw\wrapper.conf。您使用的是什么版本的 WSO2 EI?
通过解决方法解决:使用 YAJSW 11.03 和 运行 具有管理员权限的 YAJSW 脚本
我按照 Installing EI as Windows service 中的说明进行操作,但无法启动服务。 低于 YAJSW 的 runConsole.bat 的输出(包括 yajsw-stable-11.11 和 yajsw-stable-12.08)
C:\yajsw-stable-12.08\bat>runConsole.bat
C:\yajsw-stable-12.08\bat>pushd C:\yajsw-stable-12.08\bat\
C:\yajsw-stable-12.08\bat>call setenv.bat
"java" -Xmx30m -Djna_tmpdir="C:\yajsw-stable-12.08\bat\/../tmp" -Djava.net.preferIPv4Stack=true -jar "C:\yajsw-stable-12.08\bat\/../wrapper.jar" -c "C:\yajsw-st
able-12.08\bat\/../conf/wrapper.conf"
YAJSW: yajsw-stable-12.08
OS : Windows 7/6.1/amd64
JVM : Oracle Corporation/1.8.0_121/C:\Program Files\Java\jre1.8.0_121/64
mar 30, 2017 3:54:18 PM org.apache.commons.vfs2.VfsLog info
INFORMAZIONI: Using "C:\Users\Sexxa\AppData\Local\Temp\vfs_cache" as temporary files store.
WARNING|wrapper|"WSO2 Carbon"|17-03-30 15:54:18|YAJSW: yajsw-stable-12.08
WARNING|wrapper|"WSO2 Carbon"|17-03-30 15:54:18|OS : Windows 7/6.1/amd64
WARNING|wrapper|"WSO2 Carbon"|17-03-30 15:54:18|JVM : Oracle Corporation/1.8.0_121/C:\Program Files\Java\jre1.8.0_121/64
system.env 61
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:19|started process with pid 18140
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:19|restart process due to default exit code rule
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:19|restart internal RUNNING
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:19|stopping process with pid/timeout 18140 45000
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:20|process exit code: 1
system.env 61
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:25|started process with pid 4508
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:25|restart process due to default exit code rule
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:25|restart internal RUNNING
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:25|stopping process with pid/timeout 4508 45000
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:26|process exit code: 1
system.env 61
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:31|started process with pid 14232
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:31|restart process due to default exit code rule
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:31|restart internal RUNNING
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:31|stopping process with pid/timeout 14232 45000
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:32|process exit code: 1
system.env 61
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:37|started process with pid 17972
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:37|restart process due to default exit code rule
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:37|restart internal RUNNING
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:37|stopping process with pid/timeout 17972 45000
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:38|process exit code: 1
system.env 61
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:43|started process with pid 14460
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:43|restart process due to default exit code rule
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:43|restart internal RUNNING
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:43|stopping process with pid/timeout 14460 45000
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:44|process exit code: 1
system.env 61
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:49|started process with pid 7148
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:49|too many restarts
INFO|wrapper|"WSO2 Carbon"|17-03-30 15:54:49|Shutting down Wrapper
有什么想法吗?
尝试使用位于 WSO2 EI 文件夹中的 wrapper.conf。
路径:...\wso2-ei\bin\yajsw\wrapper.conf。您使用的是什么版本的 WSO2 EI?
通过解决方法解决:使用 YAJSW 11.03 和 运行 具有管理员权限的 YAJSW 脚本