`
liushengit
  • 浏览: 36473 次
  • 性别: Icon_minigender_1
  • 来自: 石家庄
社区版块
存档分类
最新评论
文章列表
   cp catalina.out catalina.out.bak_`date +%Y%m%d_%H%M%S` The command above will generate file with format fileName: catalina.out.bak_20200219_215651   Clear the content of log file: echo "" > catalina.out  
  1,打开plsql 帮助-支持信息看看uls_lang是否设置       2,查看服务器端字符集 Select *from V$NLS_PARAMETERS where PARAMETER='NLS_CHARACTERSET'; Select USERENV ('LANGUAGE' ) from DUAL;  3,若是不一致,设置新增环境变量
内存配置 Linux   修改TOMCAT_HOME/bin/catalina.sh   位置cygwin=false前。   JAVA_OPTS="-server -Xms256m -Xmx512m -XX:PermSize=64M -XX:MaxPermSize=128m" windows   修改TOMCAT_HOME/bin/catalina.bat   第一行加上   JAVA_OPTS="-server -Xms256m -Xmx512m -XX:PermSize=64M -XX:MaxPermSize=128m" ...
//String startDateTime = "2019-05-06 08:00"; //String endDateTime = "2019-05-06 18:00"; String startDateTime = params.getStartTime(); String endDateTime = params.getEndTime(); String startDateStr = startDateTime.substring(0,10); String endDateStr = endDateTime.subs ...

Maven打jar包配置

<build> <finalName>GenerateData</finalName> <plugins> <!-- 指定maven的JDK编译版本1.6+ --> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> ...

Linux启动Oracle

    [root@localhost ~]# su - oracle 上一次登录:一 5月 13 12:57:49 CST 2019pts/1 上 [oracle@localhost ~]$ ps -ef | grep smon oracle 2541 2513 0 10:30 pts/0 00:00:00 grep --color=auto smon [oracle@localhost ~]$ echo $ORACLE_SID cssca [oracle@localhost ~]$ sqlplus / as sysdba SQL*Plus: Relea ...
SELECT a.tablespace_name, total, free, total / (1024 * 1024 * 1024) "total", free / (1024 * 1024 * 1024) "free" FROM (SELECT tablespace_name, SUM(bytes) free FROM dba_free_space GROUP BY tablespace_name) a, (SELECT ...
1、在mirrorOf与repositoryId相同的时候优先是使用mirror的地址 2、mirrorOf等于*的时候覆盖所有repository配置 3、存在多个mirror配置的时候mirrorOf等于*放到最后 4、只配置mirrorOf为central的时候可以不用配置repository   <!-- 使用阿里云的镜像作为central中央仓库 --> <mirror> <id>nexus-aliyun</id> <name>Nexus aliyun</name> ...

Sonar多模块配置

reg     m1     m2         mm1         mm2   配置文件如下: sonar.projectKey=regsonar.projectName=regsonar.sourceEncoding=UTF-8sonar.projectVersion=0.0.1sonar.modules=m1,m2m1.sonar.projectName=m1m1.sonar.sources=srcm1.sonar.projectVersion=0.0.1m2.sonar.projectName=m2m2.sonar.modules=mm1,mm2m2.mm1.so ...
-- 删除流程实例(一定要以下表顺序,否则会报键约束错误) delete from act_hi_attachment t where t.proc_inst_id_='7626'; delete from act_hi_comment t where t.proc_inst_id_='7626'; delete from act_hi_actinst t where t.proc_inst_id_='7626'; delete from act_hi_detail t where t.proc_inst_id_='7626'; delete from act_hi_identi ...
首先对象要继承Serializable接口 将字节转换为对象 public static Object ByteToObject(byte[] bytes) { Object obj = null; try { // bytearray to object ByteArrayInputStream bi = new ByteArrayInputStream(bytes); ObjectInputStream oi = new ObjectInputStream(bi); obj = oi.readObject(); ...

Bat 命令传参数

t.bat 文件内容: @echo off echo java -jar F:\modify_version\lib\ProfileUpdater.jar "%~1"  调用结果(传参演示)     所以最终项目上脚本的改成如下: ModifyVersion.bat 文件内容: @echo off title Modify version SET JAVA_HOME=C:\Program Files\Java\jdk1.8.0_144 SET CLASSPATH=%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\t ...
Activity 5.16 查看流程图报错:   java.lang.NullPointerException: null at org.activiti.image.impl.DefaultProcessDiagramGenerator.initProcessDiagramCanvas(DefaultProcessDiagramGenerator.java:729) ~[activiti-image-generator-5.16.3.jar:5.16.3] at org.activiti.image.impl.DefaultProcessDiagramGenerator.gen ...

配置信息备忘

    博客分类:
  • SSH
-Xms256M -Xmx512M -XX:PermSize=256m -XX:MaxPermSize=512m <failOnMissingWebXml>false</failOnMissingWebXml>
public static void main(String[] args) { try { BufferedReader bufr = new BufferedReader(new InputStreamReader(System.in)); BufferedWriter bufw = new BufferedWriter(new OutputStreamWriter(System.out)); bufw.write("请输入以下命令?"); bufw.newLine(); bufw.write("[加密 ...
Global site tag (gtag.js) - Google Analytics