Console Output

Started by user tophorsekj
Running as SYSTEM
Building in workspace /data/publish/jenkins-data/workspace/syw_nodeweb
[syw_nodeweb] $ /bin/sh -xe /data/setupfiles/tomcat7-8058-jdk1.8/temp/jenkins3220948754626058032.sh
+ /data/scripts/release/sunyiwei/publish.py nodeweb.json --mainclass=com.nodeweb.MainApplication '--verid=r816 | 2021-09-17 15:26:32| mazekui | 源码版本:r12664  | 调整系统配置文件  ' '--json={
  "server.port": 8480,
  "spring.profiles.active":"prod",
}' --serverlist=
cat /data/publish/sunyiwei/nodeweb/WEB-INF/classes/app. 
pid | xargs -r kill


cat: /data/publish/sunyiwei/nodeweb/WEB-INF/classes/app.pid: 没有那个文件或目录

[root@VM-0-14-centos ~]# 
svn cleanup /data/publish/sunyiwei/nodeweb


[root@VM-0-14-centos ~]# 
svn update /data/publish/sunyiwei/nodeweb --force --acc 
ept theirs-full -r r816


正在升级 '/data/publish/sunyiwei/nodeweb':

版本 816。

[root@VM-0-14-centos ~]# 
find /data/publish/sunyiwei/nodeweb -name '*.jk1002'


[root@VM-0-14-centos ~]# 
cd /data/publish/sunyiwei/nodeweb/WEB-INF/classes

[root@VM-0-14-centos classes]# 
nohup /data/setupfiles/jdk/jdk1.8.0_161/bin/java  
-Dspring.application.json='{
>   "server.port": 8480,
>   "spring.profiles.active":"prod",
> }' -cp .:../lib/*: com.nodeweb.MainApplication >nohup.out 2>&1 &

[1] 16012
[root@VM-0-14-centos classes]# 
cat nohup.out


nohup: 忽略输入
16:53:45.713 [main] DEBUG org.springframework.boot.context.logging.ClasspathLoggingApplicationListener - Application failed to start with classpath: [file:/data/publish/sunyiwei/nodeweb/WEB-INF/classes/, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-data-commons-2.2.12.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/fastjson-1.2.31.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/springfox-schema-2.6.1.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/shiro-redis-3.1.0.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/shiro-ehcache-1.4.0.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/netty-buffer-4.1.58.Final.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/tomcat-embed-core-9.0.41.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/mysql-connector-java-8.0.22.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/hutool-captcha-5.2.0.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-boot-starter-validation-2.2.13.RELEASE.jar, file:/data/
publish/sunyiwei/nodeweb/WEB-INF/lib/spring-context-support-5.2.12.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-expression-5.2.12.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/commons-pool2-2.7.0.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/jackson-databind-2.10.5.1.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/nekohtml-1.9.22.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/ehcache-2.10.6.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/mybatis-spring-1.3.0.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/jakarta.validation-api-2.0.2.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/jackson-datatype-jsr310-2.10.5.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/commons-collections-3.2.1.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-boot-starter-jdbc-2.2.13.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/lettuce-core-5.2.2.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/mapstruct-1.0.0.Final.jar, fi
le:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/aspectjweaver-1.9.6.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/netty-common-4.1.58.Final.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/jackson-core-2.10.5.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-boot-starter-thymeleaf-2.2.13.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-boot-starter-websocket-2.2.13.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/commons-configuration-1.10.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-tx-5.2.12.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/velocity-1.7.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/tomcat-embed-el-9.0.41.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-data-redis-2.2.12.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/log4j-to-slf4j-2.12.1.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-data-keyvalue-2.2.12.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-
boot-autoconfigure-2.2.13.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/springfox-spi-2.6.1.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/xercesImpl-2.11.0.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/springfox-swagger-common-2.6.1.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/jackson-datatype-jdk8-2.10.5.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/c3p0-0.9.1.1.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-boot-starter-aop-2.2.13.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/snakeyaml-1.25.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/HikariCP-3.4.5.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/commons-logging-1.1.1.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/springfox-core-2.6.1.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/logback-classic-1.2.3.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/shiro-lang-1.4.0.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/mybatis-spring-boot-starter-1.1.1.jar, 
file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/jackson-module-parameter-names-2.10.5.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/shiro-cache-1.4.0.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/jul-to-slf4j-1.7.30.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/json-simple-1.1.1.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/classmate-1.5.1.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/attoparser-2.0.5.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/tomcat-embed-websocket-9.0.41.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/commons-codec-1.13.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-webmvc-5.2.12.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/hutool-core-5.2.0.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/commons-beanutils-1.8.3.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-boot-starter-cache-2.2.13.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/springfox-spring-web-2.6.1.jar, file:/data/p
ublish/sunyiwei/nodeweb/WEB-INF/lib/shiro-core-1.3.2.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/commons-io-2.5.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/slf4j-api-1.7.30.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/Saxon-HE-9.8.0-4.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/jedis-3.1.0.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-core-5.2.12.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/fel-0.9.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/commons-cli-1.4.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-context-5.2.12.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-boot-starter-data-redis-2.2.13.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/shiro-web-1.3.2.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-web-5.2.12.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/antlr-2.7.7.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-boot-starter-web-2.2.13.RELEASE.j
ar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/reactive-streams-1.0.3.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-aop-5.2.12.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/jakarta.annotation-api-1.3.5.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-messaging-5.2.12.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/unbescape-1.1.6.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/thymeleaf-3.0.12.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/antlr4-runtime-4.7.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/msgpack-0.6.12.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/netty-codec-4.1.58.Final.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/quartz-2.2.1.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/netty-resolver-4.1.58.Final.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/netty-transport-4.1.58.Final.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/log4j-api-2.12.1.jar, file:/data/publish/sunyiwe
i/nodeweb/WEB-INF/lib/jboss-logging-3.4.1.Final.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-boot-starter-json-2.2.13.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/guava-18.0.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/commons-lang-2.6.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/springfox-swagger2-2.6.1.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-boot-starter-tomcat-2.2.13.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/swagger-models-1.5.10.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/hibernate-validator-6.0.22.Final.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-boot-2.2.13.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/swagger-annotations-1.5.10.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-plugin-metadata-1.2.0.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-plugin-core-1.2.0.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/jsoup-1.9.2.jar, file:/dat
a/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-beans-5.2.12.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/xml-apis-1.4.01.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/reactor-core-3.3.13.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/shiro-spring-1.3.2.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/checkstyle-8.3.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/commons-collections4-4.1.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/thymeleaf-extras-java8time-3.0.4.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/druid-1.0.28.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/thymeleaf-spring5-3.0.12.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/mybatis-spring-boot-autoconfigure-1.1.1.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-websocket-5.2.12.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-jcl-5.2.12.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/logback-core-1.2.3.jar, file:/dat
a/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-jdbc-5.2.12.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/thymeleaf-extras-shiro-2.0.0.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-boot-starter-logging-2.2.13.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/poi-3.17.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/netty-all-4.1.58.Final.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/jackson-annotations-2.10.5.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/mybatis-3.4.4.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-boot-starter-2.2.13.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/javassist-3.18.1-GA.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/netty-handler-4.1.58.Final.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/spring-oxm-5.2.12.RELEASE.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/springfox-swagger-ui-2.6.1.jar, file:/data/publish/sunyiwei/nodeweb/WEB-INF/lib/commons-lang3-3.6.jar, file:/data/publish/
sunyiwei/nodeweb/WEB-INF/classes/]
16:53:45.717 [main] ERROR org.springframework.boot.SpringApplication - Application run failed
org.springframework.boot.json.JsonParseException: Cannot parse JSON
	at org.springframework.boot.json.AbstractJsonParser.tryParse(AbstractJsonParser.java:57)
	at org.springframework.boot.json.JacksonJsonParser.parseMap(JacksonJsonParser.java:56)
	at org.springframework.boot.env.SpringApplicationJsonEnvironmentPostProcessor.processJson(SpringApplicationJsonEnvironmentPostProcessor.java:102)
	at org.springframework.boot.env.SpringApplicationJsonEnvironmentPostProcessor.lambda$postProcessEnvironment$0(SpringApplicationJsonEnvironmentPostProcessor.java:97)
	at java.util.Optional.ifPresent(Optional.java:159)
	at org.springframework.boot.env.SpringApplicationJsonEnvironmentPostProcessor.postProcessEnvironment(SpringApplicationJsonEnvironmentPostProcessor.java:97)
	at org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEnvironmentPreparedEvent(Config
FileApplicationListener.java:189)
	at org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEvent(ConfigFileApplicationListener.java:177)
	at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
	at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127)
	at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:76)
	at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:53)
	at org.springframework.boot.SpringApplication.prepareEnvironment(SpringAppl
ication.java:345)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
	at com.nodeweb.MainApplication.main(MainApplication.java:27)
Caused by: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('}' (code 125)): was expecting double-quote to start field name
 at [Source: (String)"{
  "server.port": 8480,
  "spring.profiles.active":"prod",
}"; line: 4, column: 2]
	at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1840)
	at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:712)
	at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:637)
	at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._handleOddName(ReaderBasedJsonParser.java:1784)
	at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextFieldName(ReaderBasedJsonParser.java:932)
	at com.fasterxml.jackson.databind.deser.std.MapDeserializer._readAndBindStringKeyMap(MapDeserializer.java:512)

	at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:364)
	at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:29)
	at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4218)
	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3214)
	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3197)
	at org.springframework.boot.json.JacksonJsonParser.lambda$parseMap$0(JacksonJsonParser.java:56)
	at org.springframework.boot.json.AbstractJsonParser.tryParse(AbstractJsonParser.java:53)
	... 16 common frames omitted
[1]+  退出 1                nohup /data/setupfiles/jdk/jdk1.8.0_161/bin/java -Dspring.application.json='{
  "server.port": 8480,
  "spring.profiles.active":"prod",
}' -cp .:../lib/*: com.nodeweb.MainApplication > nohup.out 2>&1
[root@VM-0-14-centos classes]# 
tee ./start.sh <<-'EOF'
>  cd /data/publish/sunyiwei/nodeweb/WEB-INF/classes/
>  cat ./app.pid | xargs -r kill
> nohup /data/setupfiles/jdk/jdk1.8.0_161/bin/java -Dspring.application.json='{
>   "server.port": 8480,
>   "spring.profiles.active":"prod",
> }' -cp .:../lib/*: com.nodeweb.MainApplication >nohup.out 2>&1 &
> EOF

 cd /data/publish/sunyiwei/nodeweb/WEB-INF/classes/
 cat ./app.pid | xargs -r kill
nohup /data/setupfiles/jdk/jdk1.8.0_161/bin/java -Dspring.application.json='{
  "server.port": 8480,
  "spring.profiles.active":"prod",
}' -cp .:../lib/*: com.nodeweb.MainApplication >nohup.out 2>&1 &
[root@VM-0-14-centos classes]# 
chmod +x /data/publish/sunyiwei/nodeweb/WEB-INF/c 
lasses/start.sh


[root@VM-0-14-centos classes]# 
Finished: SUCCESS