gpt4 book ai didi

windows - WSO2 作为 Windows 上的服务

转载 作者:可可西里 更新时间:2023-11-01 11:24:38 25 4
gpt4 key购买 nike

需要在 Windows 上安装 WSO2 API Manager 作为服务(已在 Windows 7 和 Windows Server 2012 上尝试过。问题是一样的)。
文档:https://docs.wso2.com/display/AM210/Installing+as+a+Windows+Service
我正在使用 yajsw。当尝试运行“runConsole.bat”进行测试时,正如文档中所说,我收到了这样的消息/错误:

D:\WSO2\yajsw-stable-12.08\yajsw-stable-12.08\bat>call setenv.bat 
"java" -Xmx30m -Djna_tmpdir="D:\WSO2\yajsw-stable-12.08\yajsw-stable-12.08\bat\/../tmp" -Djava.net.preferIPv4Stack=true -jar "D:\WSO2\yajsw-stable-12.08\yajsw-stable-12.08\bat\/../wrapper.jar" -c "D:\WSO2\yajsw-stable-12.08\yajsw-stable-12.08\bat\/../conf/wrapper.conf"
YAJSW: yajsw-stable-12.08
OS : Windows 7/6.1/x86
JVM : Oracle Corporation/1.8.0_111/C:\Program Files (x86)\Java\jre_1.8.32bit/32
WARNING|wrapper|"WSO2 Carbon"|17-03-07 14:05:22|YAJSW: yajsw-stable-12.08
WARNING|wrapper|"WSO2 Carbon"|17-03-07 14:05:22|OS : Windows 7/6.1/x86
WARNING|wrapper|"WSO2 Carbon"|17-03-07 14:05:22|JVM : Oracle Corporation/1.8.0_111/C:\Program Files (x86)\Java\jre_1.8.32bit/32
system.env 67
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:22|started process with pid 5056
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:22|restart process due to default exit code rule
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:22|restart internal RUNNING
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:22|stopping process with pid/timeout 5056 45000
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:23|process exit code: 1
system.env 67
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:28|started process with pid 1360
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:28|restart process due to default exit code rule
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:28|restart internal RUNNING
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:28|stopping process with pid/timeout 1360 45000
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:29|process exit code: 1
system.env 67
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:34|started process with pid 1996
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:34|restart process due to default exit code rule
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:34|restart internal RUNNING
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:34|stopping process with pid/timeout 1996 45000
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:35|process exit code: 1
system.env 67
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:40|started process with pid 4952
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:40|restart process due to default exit code rule
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:40|restart internal RUNNING
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:40|stopping process with pid/timeout 4952 45000
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:41|process exit code: 1
system.env 67
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:46|started process with pid 1176
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:46|restart process due to default exit code rule
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:46|restart internal RUNNING
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:46|stopping process with pid/timeout 1176 45000
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:47|process exit code: 1
system.env 67
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:52|started process with pid 4772
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:52|too many restarts
INFO|wrapper|"WSO2 Carbon"|17-03-07 14:05:52|Shutting down Wrapper

CARBON_HOME - C:\wso2am-2.0.0
JAVA_HOME - C:\Program Files\Java\jdk1.8.0_91

最佳答案

是yajsw的版本。我用的是 11.11,没问题。如果我升级到使用 12.08,我会得到与您相同的结果。我将尝试找出实际问题是什么,但想让您知道如何让它工作。我将根据任何更新编辑这篇文章。

关于windows - WSO2 作为 Windows 上的服务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42648128/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com