"FelixStartLevel" #23 daemon prio=5 os_prio=0 tid=0x00007fee78418800 nid=0xde runnable [0x00007fee53782000]
java.lang.Thread.State: RUNNABLE
at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OWALPageChangesPortion.getIntValue(OWALPageChangesPortion.java:85)
at com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurablePage.getIntValue(ODurablePage.java:117)
at com.orientechnologies.orient.core.storage.impl.local.paginated.OClusterPage.doDefragmentation(OClusterPage.java:501)
at com.orientechnologies.orient.core.storage.impl.local.paginated.OClusterPage.appendRecord(OClusterPage.java:99)
at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.updateRecord(OPaginatedCluster.java:1121)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.doUpdateRecord(OAbstractPaginatedStorage.java:4039)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commitEntry(OAbstractPaginatedStorage
I want to use crontab to run a task that invoke docker with -it options, and that task is run,but run docker is no result.
Crontab 运行任务中使用docker时不能使用交互模式(-ti),开始没有注意到这块,最后查询资料才发现,大意啊。
https://www.reddit.com/r/docker/comments/7nb6c8/crontab_to_run_a_docker_job/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Spring Boot 2.1.2.RELEASE | |
Spring boot App must extends SpringBootServletInitializer | |
so web container can recognize the web config. |
com.alibaba.fastjson.support.config.FastJsonConfig config = new com.alibaba.fastjson.support.config.FastJsonConfig();
config.setSerializerFeatures(SerializerFeature.PrettyFormat, SerializerFeature.WriteMapNullValue);
config.setDateFormat("yyyy-MM-dd HH:mm:ss");
@JSONField(format="yyyy-MM-dd@HH:mm:ss.SSSZ")
public Date getCreateTime() {
return createTime;
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. use git flow init in a exists repo (already has many branches). | |
2. this command done with a message: "Production and integration branches should differ." | |
3. try use "git flow init -d" , "git flow init -f ", or poen .git/config to delete all prefix with "git flow",and retry "git flow init", .problem not resolve. | |
finally,I manual create develop branch(master already exists), and then "git flow init -f -d", then problem resolved. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. mysql create database use utf8mb4 collation utf8mb4_general_ci, and then import tables with charset=utf8mb4 with out setting collation; | |
2. the imported tables has use the default utf8mb4 collation utf8mb4_0900_ai_ci but not the database used; | |
solution: change database collation to utf8mb4_0900_ai_ci, solved the above problem. |
打开windows salver下的jenkins-slaver.xml,寻找下列段落:
...
<arguments>-Xrs -jar "%BASE%\slave.jar" ...
...
添加jvm properties,指定字符集:
-Dfile.encoding=utf-8 -Dsun.jnu.encoding=utf-8
docker run --rm -e JAVA_OPTS='-agentlib:jdwp=transport=dt_socket,address=46029,suspend=n,server=y' -p 46029:46029 containername
注意: 需要把调试端口开放出来.
NewerOlder