一、异常描述 1. 在eclipse中启动tomcat,应用已经启动成功,但是tomcat仍然一直处于starting装填 二、分析原因 1. 更换8080端口为9080,启动tomcat,可以完整启动。证明是8080端口问题; 2. 但是8080端口并没有被占用; 3. 在网上搜索可能原因,可能原 ...
分类:
系统相关 时间:
2016-10-08 02:03:19
阅读次数:
262
多线程 线程和进程的区别 创建线程 通过实现Runnable 接口 When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's r ...
分类:
编程语言 时间:
2016-10-02 06:37:49
阅读次数:
202
You are given a string, s, and a list of words, words, that are all of the same length. Find all starting indices of substring(s) in s that is a conca ...
分类:
其他好文 时间:
2016-09-27 00:25:12
阅读次数:
137
http://blog.csdn.net/niu_hao/article/details/25250213 在写xml的时候又一次总是报cvc-complex-type.2.4.a: Invalid content was found starting with element 错误,还出现小红叉, ...
分类:
其他好文 时间:
2016-09-25 17:32:03
阅读次数:
237
第1节:不可变对象、不可变类;避免多次声明 4. Variable names must be in mixed case starting with lower case. 4. 变量名必须混合大小写且以小写字母开头 例如:line, savingsAccount How to make a cl ...
分类:
编程语言 时间:
2016-09-24 17:27:22
阅读次数:
145
NFS服务器运行原理 实战配置NFS服务器 配置Samba服务器及实现文件共享 (一)NFS器服务端描述 # /etc/init.d/nfs start Starting NFS services: [ OK ]Starting NFS quotas: Cannot register service ...
分类:
其他好文 时间:
2016-09-24 13:25:31
阅读次数:
148
#vi/etc/init.d/haproxy!/bin/bash#chkconfig:-8515#-:表示所有级别,85:表示启动顺序,15:关闭顺序#description:haproxyserverHA_PAT=/usr/local/haproxyHA_NAM=haproxyHA_STA=$(netstat-antup|grep:80)RETUR=0start(){if[-z"$HA_STA"];thenecho-en"Starting$HA_NAM....\t\t..
分类:
其他好文 时间:
2016-09-23 21:46:17
阅读次数:
157
在测试环境使用uwsgi启动flask未成功 正常报错信息: *** Starting uWSGI 2.0.13.1 (64bit) on [Fri Sep 23 09:27:47 2016] ***compiled with version: 4.4.7 20120313 (Red Hat 4.4 ...
分类:
其他好文 时间:
2016-09-23 11:23:28
阅读次数:
745
Given a sorted array of integers, find the starting and ending position of a given target value. Your algorithm's runtime complexity must be in the or ...
分类:
其他好文 时间:
2016-09-22 06:31:31
阅读次数:
145
Write an algorithm to determine if a number is "happy". 写出一个算法确定一个数是不是快乐数。 A happy number is a number defined by the following process: Starting with ...
分类:
编程语言 时间:
2016-09-22 06:25:44
阅读次数:
408