上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: 分析:netstat -an查看到大量的80端口进程僵死,重启tomcat.tomcat启动失败,网页依然无法打开.停止tomcat进程shutdown.sh,停止tomcat后telnet 127.0.0.1 80,发现80端口依然可用。netstat -an|grep 80 查看发现有许多80端... 阅读全文
posted @ 2015-04-29 09:34 Bright Moon ‘ s Blog 阅读(538) 评论(0) 推荐(0) 编辑
摘要: 下载并安装Memcache服务器端服务器端主要是安装memcache服务器端.下载:http://www.danga.com/memcached/dist/memcached-1.2.2.tar.gz另外,Memcache用到了libevent这个库用于Socket的处理,所以还需要安装libeve... 阅读全文
posted @ 2015-04-28 16:54 Bright Moon ‘ s Blog 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 安装过程中指定 ./configure --prefix=/usr/local/memcached-1.4 --with-libevent=/usr/local/libevent-1.4.2/则启动memcached时候#cd /usr/local/bin //进入到该目录# ./memcached... 阅读全文
posted @ 2015-04-28 16:52 Bright Moon ‘ s Blog 阅读(676) 评论(0) 推荐(0) 编辑
摘要: 说明文档:MyEclipse生成注册码 Myeclipse2014激活教程Myeclipse-2014-GA-破解文件1.Windows版myeclipse下载地址MyEclipse2015:myeclipse-2015-2014-07-11-offline-installer-windows.ex... 阅读全文
posted @ 2015-02-26 18:05 Bright Moon ‘ s Blog 阅读(613) 评论(0) 推荐(0) 编辑
摘要: 先去Oracle下载Linux下的JDK压缩包,我下载的是jdk-7u4-linux-i586.tar.gz文件,下好后直接解压Step1:# 将解压好的jdk1.7.0_04文件夹用最高权限复制到/usr/lib/jvm目录里sudo cp -r ~/jdk1.7.0_04/ /usr/lib/j... 阅读全文
posted @ 2015-01-08 15:39 Bright Moon ‘ s Blog 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 官方网站下载最新的tomcat:http://tomcat.apache.org/download-80.cgi在ubuntu上,我们下载zip和tar.gz解压tomcat 8,用下面的命令(我下载的是tar.gz格式的):tar -zxvfapache-tomcat-8.0.12.tar.gz开... 阅读全文
posted @ 2015-01-08 15:11 Bright Moon ‘ s Blog 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 最近做一个web项目中有上传文件的功能,已经写出并在本地和部署到服务器上测试了好几个文件上传都没问题(我用的是tomcat)。后来又上传了一个700多K的文件(前边的都是不足600K的,并且这个word文件用到了vb,比较复杂,可能造成读取较慢),在本地也是可以的,部署到服务器后在服务器上用服务器的... 阅读全文
posted @ 2014-12-07 19:58 Bright Moon ‘ s Blog 阅读(1281) 评论(0) 推荐(0) 编辑
摘要: String targetUrl = "http://localhost:8080/Test"; PostMethod filePost = new PostMethod(targetUrl) {//这个用来中文乱码 public String get... 阅读全文
posted @ 2014-12-06 17:39 Bright Moon ‘ s Blog 阅读(486) 评论(0) 推荐(0) 编辑
摘要: 平时都是直接在action中按照struts2定义的格式来接流,最近看到华为技术人员调用struts2底层方法对文件流做了封装,感觉有用赶紧记了下来Java代码public void preExecute() { if (httpServletRequest instan... 阅读全文
posted @ 2014-12-06 16:30 Bright Moon ‘ s Blog 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 两个人的博客搜索关键词 “upload.parseRequest为空”http://bluthmatter.blog.163.com/blog/static/184294059201273121226377/http://blog.csdn.net/zbz0425/article/details/... 阅读全文
posted @ 2014-12-05 16:39 Bright Moon ‘ s Blog 阅读(136) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页