plane
plane · 共 82 篇文章
centos6.3 安装mysql5.5冲突解决方法
centos 安装mysql冲突解决方法: Preparing... ########################################### file /usr/share/mysql/charsets/README from install of MySQL-server-community-5.1.44-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/Index.xml from install of MySQ…
2013-09-12 17:48 · 服务器 · 评论(0)
apache代理出现这个错误
解决:No protocol handler was valid for the URL /img. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule. 用apache配置虚拟主机做代理出现这个错误知道是为什么嘛,是少加了几个module靠 要用apache配置虚拟主机需要加载这几个module LoadModule proxy_module modules/mod_proxy.so Loa…
2013-09-12 13:47 · 服务器 · 评论(0)
apache单独编译添加proxy编译安装
1.进入apache源代码目录的modules目录的proxy目录 运行如下命令进行自动编译、安装、修改httpd.conf文件,激活mod_proxy模块 #/usr/local/apache/bin/apxs -c -i -a mod_proxy.c proxy_util.c 说明: -c 执行编译操作 -i 安装操作,安装一个或多个动态共享对象到服务器的modules目录 -a 自动增加一个LoadModule行道httpd.conf文件,以激活此模块,若此行存在则启用之 -A 与-a类似,但是它增加的LoadModule行钱有井号前缀(#) -e 需要执行编辑操作,可与-a和-A选项…
2013-09-12 13:26 · 服务器 · 评论(0)
java的spring的quartz 时间配置相应字符串的说明与实例
本文源自: http://js.sse6.cn/gzsgfrz/jszj/2010-02-02/1431.html 使用spring的quartz循环任务的时候,有一件事,一直让我很奇怪,哪就是相应的循环设置的字符串,网上收录了以下一篇文章,感觉说得比较清楚,自己记录一下,也方便以后参阅学习。 一个Cron-表达式是一个由六至七个字段组成由空格分隔的字符串,其中6个字段是必须的而一个是可选的,如下: 字段名 允许的值 允许的特殊字符 秒 0-59 , - * / 分 0-59 , - * / 小时 0-23 , - * / 日 1-31 , - * ? / L W C 月 1-12 or J…
2011-12-15 11:19 · java · 评论(0)
Spring事务配置的五种方式
http://www.blogjava.net/robbie/archive/2009/04/05/264003.html
2011-01-19 09:12 · java · 评论(0)
Apache HTTP Server Version 2.2 文档
http://lamp.linux.gov.cn/Apache/ApacheMenu/index.html
2011-01-06 15:10 · 其它 · 评论(0)
转载:JQuery操作表(table)
转载自 http://www.cnblogs.com/pipizhu/archive/2010/09/26/1835314.html 一.数据准备 $("#table1 tr").hover(function(){ $(this).children("td").addClass("hover") },function(){ $(this).children("td").removeClass("hover") }) $("#table2 tr:gt(0)").hover(function() { $(this).children("td").addClass("hover"); }, fun…
2010-11-13 22:51 · 评论(0)
log4j.xml配置 分级打印日志和打印到指定文件中
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <log4j:configuration xmlns:log4j='http://jakarta.apache.org/log4j/'> <!-- appender 部分是可用的日志输出方式定义,可以定义多个 --> <appender name="STDOUT" class="org.apache.log4j.ConsoleAppender"> <layout class="org.apache.log4j.Pa…
2009-11-26 12:50 · java · 评论(0)
Spring启动时出现 ERR=12505 异常
这是由于,spring配置文件中有数据源配置错误,修改后就可以正常启动 java.sql.SQLException: Io 异常: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153 092352)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4)))) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBEr…
2009-11-26 12:47 · java · 评论(0)
用正则表达式替换手机号码前缀86
Pattern p2 = Pattern.compile("^((\\+{0,1}0{0,2}86){0,1})"); Matcher m2 = p2.matcher(phoneNum); StringBuffer sb = new StringBuffer(); while (m2.find()) { m2.appendReplacement(sb, ""); } m2.appendTail(sb); return sb.toString();
2009-11-25 09:24 · java · 评论(0)
div+css 布局
body { font-family: Arial, Helvetica, Verdana, Sans-serif; font-size: 12px; color: #666666; background: #ffffff; } html, body { margin: 0; padding: 0; } .hidden { display: none; } h1 { margin: 0; padding: 0; } #page-container { width: 100%; margin: auto; background: #FFFFFF; } #header { height: 70p…
2009-10-29 17:29 · 从蛋到鸡 · 评论(0)
ibatis sqlMapConfig settings 中属性用法
转自 http://zhangzuanqian.iteye.com/blog/430643 <?xml version ="1.0" encoding="UTF-8"?> <!DOCTYPE sqlMapConfig PUBLIC "-//ibatis.apache.org//DTD SQL Map Config 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-config-2.dtd"> <sqlMapConfig> <settings cacheModelsEnabled="false" enhancementEnabled="true" l…
2009-09-28 14:12 · java · 评论(0)
SqlMapException: There is no statement named解决方法
报如下异常解决方法 sqlMapConfig 里加入 即可解决 com.ibatis.sqlmap.client.SqlMapException: There is no statement named TEST_USER.ibatorgenerated_insert in this SqlMap. com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.getMappedStatement(SqlMapExecutorDelegate.java:293) com.ibatis.sqlmap.engine.impl.SqlMapExecuto…
2009-09-28 12:51 · java · 评论(0)
关于struts2无法加载struts.properties的问题
http://blog.chinaunix.net/u/20045/showart_712429.html 最近整合了struts2和spring的问题,其中看到一个struts2的文档中写得使用struts2的ioc时要在项目下加载struts.properties.它的内容是: struts.objectFactory = spring 但是我加入了该文件之后发现了下面得错误 严重: Exception starting filter struts2 Cannot locate the chosen ObjectFactory implementation: spring - 出现这个错…
2009-09-25 17:52 · java · 评论(0)