`
zistrong
  • 浏览: 17927 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论
文章列表
Could not initialize class sun.awt.X11GraphicsEnviron ment java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment   在java启动参数中增加 -Djava.awt.headless=true参数
 ①    从主干拉出分支B1, 开始在B1上进行需求开发,B1版本进入开发状态,B1版本的里程碑基本确定,包括需求列表, 提测时间,测试进度,封板时间②    B1版本需求开发完成,转测试组测试版本,包括设计文档已经评审 ...

Log4j2使用

 
    Log4j 2 maven依赖jar,Log4j 2 从2.4版本开始使用JDK7编译   <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> <version>2.3</version> </dependency> <dependency> ...
最近在使用启动一个Java进程,然后提供服务:其中程序的启动入口为 log.info("开始启动OI-SOA进程..."); ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext( new String[] { "springapplicationContext-spring.xml" }); context.start(); log.info("启动OI-SOA进程成功..."); while(true){ ...
--参数设置 v_Sql:='select count(1) from '||v_Table||' WHERE staff_id IS NULL AND UPLOAD_PROVINCE_ID=:a AND FILE_ORIG_DATE=:b'; execute immediate v_Sql into v_Count1 using i_ProvinceCode,i_OrigDate; expgtm.sh脚本如下: exp stat/stat@QH_BOSSSTA1 full=N tables=WORK,TASK,ROUTE rows=Y FILE=/ngbss/a.log i ...
#上个月 getLastMonth() { month=`date +%m` year=`date +%Y` month=`expr $month - 1` if [ $month -lt 0 ] then month=12 year=`expr $year - 1` fi month=`printf "%02d" $month` #补零 echo $year$month } #获取昨天的日期 YYYYMMDD getLastDate() { day=`date +%d` day=`expr $day - 1` ...

ORA-17410错误

    博客分类:
  • Java
最近做了一个基于手机客户端webview技术的小项目,项目的架构很简答,就是Spring MVC+Hibernate,后端的数据库为Oracle 10g,项目初期功能非常简单,就是简单的单点登录功能,登录完成之后,就简单的记录一下登录日志。项目在测试环境顺利测试通过,上线到的生产环境,因为是新项目,没有对外发布,只是内部测试使用,访问量非常的小,但是就是这样的情况下,系统竟然报错了,异常如下    Hibernate: insert into T_USER_LOGIN_LOG (LOGIN_TYPE, BAK1, MOBILE, LOGIN_TIME, BAK3, LOGIN_COST_ ...
问题: 在weblogic中基于https访问其他server的时候,可能会报出下面这样的异常,在tomcat下访问正常,而且在同样的主机上使用main方法访问正常        javax.net.ssl.SSLKeyException: [Security:090504]Certificate chain received from clientaccess.aaa.cn - 28.26.19.101 failed hostname verification check. Certificate contained *.xxx.cn but check expected clienta ...
/** * 因式分解,如果为素数则返回“” * * @param num * @return */ public static String factorize(int num) { int m = num = num >= 2 ? num : 2; String factors = ""; for (int i = 2; (m > 1) && (i * i <= num);) { if (m % i != 0) { i++; continue; ...

一些shell

    博客分类:
  • OS
    #在命令上使用vi set -o vi #显示路径 PS1=`hostname`'[$PWD]'# export PS1 #将内容写入到文件中 cat<<EndCfg>$szCfgFile [SYS] EndCfg #格式输出,不足10位,前面补零 file_count=`printf "%010d" $CW` #连接ftp ftp -ivn 130.17.179.71 21 <<-EOF #>ftp.log user spuser sd123# cd ./VAC/billinginfo/req ...

单词个数

    博客分类:
  • Java
/** * 单词个数,单词间用空格分开 * * @param str * @return */ public static int findWords(String str) { int num = 0; boolean flag = false; for (int i = 0; i < str.length(); i++) { char c = str.charAt(i); // 不 ...
1.配置apache: 在%apache%/conf/httpd.conf中 把下面两行的注释去掉 LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_ajp_module modules/mod_proxy_ajp.so 去掉下面的注释 Include conf/extra/httpd-vhosts.conf 这样整个httpd.conf文件配置完毕。 2 下面转到%apache%/conf/extra/httpd-vhosts.conf,在这里面配置虚拟主机: #使用proxy_ajp代理;下面的配置,是把所有目录全 ...
Global site tag (gtag.js) - Google Analytics