刘政道 - 应用程序框架

《31天学会CRM项目开发(C#编程入门及项目实战)》作者,IT经理,程序员
  博客园  :: 新随笔  :: 联系 :: 管理

2010年1月28日

摘要: System.getProperties().put("proxySet","true"); System.getProperties().put("http.proxyHost","192.168.0.1"); System.getProperties().put("http.proxyPort","3228"); 阅读全文

posted @ 2010-01-28 16:44 刘政道 阅读(197) 评论(0) 推荐(0) 编辑

摘要: Calendar cDate = Calendar.getInstance(); cDate.set(2009,12,1); cDate.setTime(date);//这个可能更好用 cDate.getActualMaximum(Calendar.DAY_OF_MONTH); 阅读全文

posted @ 2010-01-28 16:44 刘政道 阅读(386) 评论(0) 推荐(0) 编辑

摘要: Richfaces有Skins: Laguna 、Glass-X、Dark-X、BlueSky、Classic、Ruby、Wine、DeepMarine、EmeraldTown、Sakura、 Plain、Default、等肤色,你可以在web.xml中配置[代码] 阅读全文

posted @ 2010-01-28 16:43 刘政道 阅读(195) 评论(0) 推荐(0) 编辑

摘要: org.hibernate.HibernateException: identifier of an instance of ceapet.jbpm.processInstance was altered from 1 to 1 原来是自己写的processInstance 类和jbpm的ProcessInstance类相冲突。 阅读全文

posted @ 2010-01-28 16:42 刘政道 阅读(3247) 评论(0) 推荐(0) 编辑

摘要: [代码] 阅读全文

posted @ 2010-01-28 16:42 刘政道 阅读(615) 评论(0) 推荐(0) 编辑

摘要: WARN org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog - Narrowing proxy to class org.jbpm.graph.node.TaskNode - this operation breaks ==WARN org.hibernate.engine.StatefulPersistenceContext... 阅读全文

posted @ 2010-01-28 16:40 刘政道 阅读(2214) 评论(1) 推荐(0) 编辑

摘要: 30219 [http-80-4] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 30219 [http-80-4] ERROR org.hibernate.util.JDBCExceptionReporter - You can't operate on a closed Statement!!! org.hibernate.exception.GenericJDBCException: could not execute query 至今尚未解决 原来是Session.close() 阅读全文

posted @ 2010-01-28 16:39 刘政道 阅读(2429) 评论(1) 推荐(0) 编辑

摘要: log4j:WARN Please initialize the log4j system properly 在tomcat启动的时候,出现这个警告: log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax). log4j:WARN Please initialize the log4j system properly. log4j:WARN No appenders could be found for logger (org.ajax4jsf.renderkit. 阅读全文

posted @ 2010-01-28 16:39 刘政道 阅读(796) 评论(1) 推荐(0) 编辑

摘要: 1、Linux下mysql安装完后是默认:区分表名的大小写,不区分列名的大小写; 2、用root帐号登录后,在/etc/my.cnf 中的[mysqld]后添加添加lower_case_table_names=1,重启MYSQL服务,这时已设置成功:不区分表名的大小写; lower_case_table_names参数详解: lower_case_table_names = 0 其中 0:区分大小写,1:不区分大小写 MySQL在Linux下数据库名、表名、列名、别名大小写规则是这样的: 1、数据库名与表名是严格区分大小写的; 2、表的别名是严格区分大小写的; 3、列名与列的别名在所有的情况下 阅读全文

posted @ 2010-01-28 16:39 刘政道 阅读(412) 评论(0) 推荐(0) 编辑

摘要: System.getProperty("user.dir") 阅读全文

posted @ 2010-01-28 16:38 刘政道 阅读(204) 评论(0) 推荐(0) 编辑

摘要: (44480 ms) [http-80-12] ERROR: org.jbpm.jpdl.xml.JpdlXmlReader#readProcessDefinition : couldn't parse process definition org.dom4j.DocumentException: null Nested exception: null 原来使用的是ProcessDefinition pDef = ProcessDefinition.parseXmlResource(xmlPath), 系统就抱这个错,后来将parseXmlResource改成parseXmlString,将x 阅读全文

posted @ 2010-01-28 16:37 刘政道 阅读(2598) 评论(0) 推荐(0) 编辑

摘要: org.dom4j.DocumentException: Error on line 1 of document : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog. at org.dom4j.io.SAXReader.read(SAXReader.java:482) at org.dom4j.DocumentHelper.parseText(DocumentHelper.java:278) 你提交的xml可能是utf-8格式,改成ascii格式。 阅读全文

posted @ 2010-01-28 16:37 刘政道 阅读(4846) 评论(0) 推荐(0) 编辑