运行 带有输入参数的 Spring 后台批处理应用程序的 jar 文件
Running jar file of Spring batch application in background in centos with input arguments
我正在尝试 运行 spring 在 centos 后台使用输入参数批处理应用程序 jar 文件。 nohup java -Dserver.port=8881 -Dspring.profiles.active=dev -jar Batch-0.0.1-SNAPSHOT.jar &.我得到 nohup:忽略输入并附加到 nohup.out,我的应用程序不是 运行ning。有人请提供解决方案
问题是,nohup: ignoring input and appending out to nohup.out 是说,它已经启动了服务并将终端消息打印到 nohout 文件。如果我打开 nohup.out 文件,它说的是代码级问题。修复后,我可以看到我的服务 运行。要检查活动的 运行 jar,请键入 jps -m。终止进程 Kill $PID {{PID}}
我正在尝试 运行 spring 在 centos 后台使用输入参数批处理应用程序 jar 文件。 nohup java -Dserver.port=8881 -Dspring.profiles.active=dev -jar Batch-0.0.1-SNAPSHOT.jar &.我得到 nohup:忽略输入并附加到 nohup.out,我的应用程序不是 运行ning。有人请提供解决方案
问题是,nohup: ignoring input and appending out to nohup.out 是说,它已经启动了服务并将终端消息打印到 nohout 文件。如果我打开 nohup.out 文件,它说的是代码级问题。修复后,我可以看到我的服务 运行。要检查活动的 运行 jar,请键入 jps -m。终止进程 Kill $PID {{PID}}